Sendmail

From Bashlinux
Revision as of 17:13, 18 May 2012 by (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Sendmail

  1. Install sendmail and configure it to use Gmail as SMTP output mail server
  2. Setup provider
 apt-get -y install sendmail sendmail-bin sendmail-cf bind9
 sed -i -e /SMART_HOST/s/mail/smtp/ /etc/mail/peers/provider
 sed -i -e s/mindspring/bashlinux/g /etc/mail/peers/provider
 


ERROR: socket bind() to port 25 for address 127.0.0.1 failed: Address already in use

FIX: Bind to only one port by setting on /etc/eximf.conf.template

 local_interfaces = 
 only 1 address