# aptitude install exim4
# dpkg-reconfigure exim4-config
- Choose mail sent by SMARTHOST; received via SMTP or fetchmail
- Type System Mail Name: e.g. company.com
- Type IP Adresses to listen on for incoming SMTP connections: 127.0.0.1
- Leave Other destinations for which mail is accepted blank
- Leave Machines to relay mail for: blank
- Type Machine handling outgoing mail for this host (smarthost): smtp.gmail.com::587
- Choose NO, don't hide local mail name in outgoing mail.
- Chose NO, don't keep number of DNS-queries minimal (Dial-on-Demand).
- Choose YES, split configuration into small files
以下の記述を追加
gmail-smtp.l.google.com:yourAccountName@gmail.com:y0uRpaSsw0RD
*.google.com:yourAccountName@gmail.com:y0uRpaSsw0RD
smtp.gmail.com:yourAccountName@gmail.com:y0uRpaSsw0RD
# update-exim4.conf
メールコマンドで送信テスト
gmailで、専用のアドレスを作成してしまった。成功!
参照サイト:
http://wiki.debian.org/GmailAndExim4
0 件のコメント:
コメントを投稿