Sendmail smarthost not working
Posted: Tue Aug 16, 2011 7:52 pm
Hello,
i have installed OpenEMM 2011 successfully and it works well. However when i tried to configure smarthost with smtp auth in sendmail, something gone wrong.
If i'm testing sendmail directly via console, emails goes through smtp provider:
However, when i'm sending emails via OpenEMM it tries directly from server:
Sendmail configuration in sendmail.mc is following:
Sendmail is installed and configured as described in documentation for OpenEMM 2011. Why OpenEMM is ignoring sendmail settings?
i have installed OpenEMM 2011 successfully and it works well. However when i tried to configure smarthost with smtp auth in sendmail, something gone wrong.
If i'm testing sendmail directly via console, emails goes through smtp provider:
Code: Select all
Aug 16 21:40:01 pegasus sm-mta[14226]: STARTTLS=client, relay=smtp.provider.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Aug 16 21:40:02 pegasus sm-mta[14226]: p7GIe0Sa014223: to=<my@email.com>, ctladdr=<user@localhost.localdomain> (1000/1000), delay=00:00:02, xdelay=00:00:02, mailer=relay, pri=120344, relay=smtp.provider.com. [72.4.117.23], dsn=2.0.0, stat=Sent (Ok: queued as AC9FDE8473)
Code: Select all
Aug 16 21:02:12 pegasus sendmail[14041]: 00000B00000000003: to=<my@email.com>, delay=00:00:36, xdelay=00:00:00, mailer=esmtp, pri=0, relay=email.com, dsn=4.0.0, stat=Deferred: Connection timed out with email.com
Code: Select all
define(`SMART_HOST',`smtp.provider.com')dnl
FEATURE(`authinfo',`Hash -o /etc/mail/authinfo.db')dnl
LOCAL_DOMAIN(`localhost.localdomain')dnl
INPUT_MAIL_FILTER(`bav', `S=unix:/home/openemm/var/run/bav.sock, F=T')dnl