From Bashlinux
Revision as of 02:11, 10 June 2015 by Manpaz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to send email through gmail using Sendmail

  • Install sendmail and configure it to use Gmail as SMTP output mail server
  • 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


socket bind() to port 25 for address failed: Address already in use
Bind to only one IP address by setting on /etc/eximf.conf.template
local_interfaces = 
only 1 address