Home Tag : fetchmail
fetchmail - 複数アカウント用.fetchmailrc
- 2006-12-07 (Thu)
- Debian
複数メアド用に少し変更
$ ~/.fetchmailrcの内容
# ログファイル保存先 (適宜変更) set logfile "/home/[ユーザ名]/fetchmail.log" # fetchmail のエラー送信先 set postmaster [ユーザ名もしくはroot] set no bouncemail //これをしておかないと大変なことになるっぽ defaults //共通設定だぜ、っていう宣言 protocol pop3 flush //keepにすると鯖にメールを残す no mimedecode smtphost localhost #protocol pop3 //上で共通宣言してるからいらぬ。 poll [外部POP3メールサーバ名(mail.hogehoge.com等)] user [外部POP3メールサーバユーザ名] password [外部POP3メールサーバパスワード] user [外部POP3メールサーバユーザ名] password [外部POP3メールサーバパスワード]
userとpass加えただけ、pop3も違うとこならpollから追加。
- Comments: 0
- TrackBack (Close): -
Debianでfetchmail
- 2006-12-06 (Wed)
- Debian
POP3クライアントのfetchmailを使ってみる
インストール
aptitude install fetchmailrc
設定
ユーザーごとにメールを設定
postfixをmaildir形式にしてあるので
$cd ~ $ vi ~/.fetchmailrc
(関連記事)注:↓の.fetchmailrcと同じ内容ですfetchmail - 複数アカウント用.fetchmailrc - Not renewal
# ログファイル保存先 (適宜変更) set logfile "/home/[ユーザ名]/fetchmail.log" # fetchmail のエラー送信先 set postmaster [ユーザ名もしくはroot] set no bouncemail //これをしておかないと大変なことになるっぽ defaults //共通設定だぜ、っていう宣言 protocol pop3 flush //keepにすると鯖にメールを残す no mimedecode smtphost localhost #protocol pop3 //上で共通宣言してるからいらぬ。 poll [外部POP3メールサーバ名(mail.hogehoge.com等)] user [外部POP3メールサーバユーザ名] password [外部POP3メールサーバパスワード] user [外部POP3メールサーバユーザ名] password [外部POP3メールサーバパスワード]
.fetchmailrcはパスワードが書かれてるので
# chmod 600 .fetchmailrc
しておく
受信
受信コマンド
$ su user name $ fetchmail
参考
適当メモ - maple4estry - >> Fedora CORE (2) + postfix + dovecot + fetchmail で メール処理用IMAPサーバを作る- Comments: 0
- TrackBack (Close): -
«Prev || 1 || Next»


