exim4 with smtp googlemail on Debian Squeeze
Tags debian, exim4, googlemail, smtp, squeeze
Send a test mail
Mail will be From: [username on localhost] <googleusername@googlemail.com>
Mail will often be dumped, if recipient is not googleusername@googlemail.com
Configuration
Code:
$ mail test@example.com [...] .
Mail will often be dumped, if recipient is not googleusername@googlemail.com
Code:
$ dpkg -l "exim4*"|grep ^ii ii exim4 4.72-1 metapackage to ease Exim MTA (v4) installation ii exim4-base 4.72-1 support files for all Exim MTA (v4) packages ii exim4-config 4.72-1 configuration for the Exim MTA (v4) ii exim4-daemon-light 4.72-1 lightweight Exim MTA (v4) daemon
Code:
sudo dpkg-reconfigure exim4-config
Code:
General type of configuration: mail sent by smarthost; received by SMTP or fetchmail System mail name: bastard.fritz.box IP-addresses to listen on for incoming SMTP connections: 127.0.0.1 ; ::1 Other destinations for which mail is accepted: [leave blank] Machines to relay mail for: [leave blank] IP address or hostname of the outgoing smarthost: smtp.gmail.com::587 (not 465!) Hide local mail name in outgoing mail? NO Keep number of DNS-queries minimal (Dial-on-Demand)? NO Delivery method for local mail: mbox format in /var/mail/ Split configuration into small files? NO
Code:
sudo editor /etc/exim4/passwd.client
Code:
*.google.com:googleusername@googlemail.com:PASSWORD
Code:
sudo update-exim4.conf
Total Comments 0