I run sendmail 8.14.4 on my Fedora 12 linux machine and relay outgoing mail to my verizon fios account.
Previously, I used port 587 with SASL/authinfo, but Verizon is switching to SSL/smtps [465]. After receiving my 3rd "warning" from Verizon, I tried switching to SSL/stunnel/smtps.
However, whenever I send an email, it bounces back with the error message:
553 5.3.5 mycomputer.mydomain. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error
I made the following changes to setup SSL/smtps:
sendmail.mc: I added:
define(`confRELAY_MAILER', `esmtp')
define(`RELAY_MAILER_ARGS', `TCP $h 10025')
NOTE: previously, I had:
define(`RELAY_MAILER_ARGS', `TCP $h 587')
mailertable:
relay:localhost.localdomain
NOTE: previously I had:
relay:
outgoing.verizon.net
authinfo:
AuthInfo:localhost.localdomain "
U:myn...@verizon.net" "P:xxxxx"
NOTE: previously, I had:
AuthInfo:
outgoing.verizon.net "
U:myn...@verizon.net" "P:xxxxx"
stunnel.conf:
client = yes
foreground = no
libwrap = no
[smtps]
accept=10025
connect = smtp.verizon.net:smtps
I tested my stunnel setup using 'telnet localhost 10025' and all worked fine.
So, somehow sendmail seems to be causing the mail to loop back on itself.
Any idea what might be going wrong and how to fix?
Thanks