Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

config error: mail loops back to me (MX problem?)

736 views
Skip to first unread message

koso...@gmail.com

unread,
Nov 21, 2013, 11:33:31 PM11/21/13
to
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

Andrzej Adam Filip

unread,
Nov 22, 2013, 2:41:09 AM11/22/13
to
Are you sure you have recompiled your sendmail.mc into sendmail.cf
and restarted/HUPed sendmail daemon?

It seems to be the simplest explanation/cause. It is worth to be
checked before more complicated possible causes.

--
[Andrew] Andrzej A. Filip - https://www.linkedin.com/in/andfil

koso...@gmail.com

unread,
Nov 22, 2013, 3:12:19 PM11/22/13
to
On Friday, November 22, 2013 2:41:09 AM UTC-5, Andrzej Adam Filip wrote:

> Are you sure you have recompiled your sendmail.mc into sendmail.cf
>
> and restarted/HUPed sendmail daemon?
>
>
>
> It seems to be the simplest explanation/cause. It is worth to be
>
> checked before more complicated possible causes.

I did... but I figured out the problem...
I noticed that despite recompiling, my sendmail.cf file was unchanged other than the comment line for the compile date.

Turns out, I had put the definition of RELAY_MAIL_ARGS *after* the MAILER(smtp) line so the macro translation was never inserted. DOH!

Thanks for encouraging to investigate my sendmail.cf
0 new messages