[aklug] Re: sendmail replacing recipient's address with user@interfacename

From: David M. Syzdek <david@syzdek.net>
Date: Wed Sep 15 2010 - 21:20:33 AKDT

Hi All,
I found the problem this afternoon shortly before having to run out for a
few hours (so I'm just now getting this out to the list). The problem was
not a sendmail issue per se, rather it was a DNS issue.

In my various zone files, I had the equivalent of the following

support.bindlebinaries.com. IN A 208.110.88.26
lists.bindlebinaries.com. IN CNAME support.bindlebinaries.com.
lists.hfcyoungadults.com. IN CNAME lists.bindlebinaries.com.

I usually only host web services my self and use Google's hosted services
for mail and jabber. Since I do not usually host mail on subdomains, this
did not raise any flags when I did a cursory check to make sure the hosts
pointed to the correct place.

Sendmail was looking up the domain @lists.hfcyoungadults.com in DNS and
mapping it to the real host name @support.bindlebinaries.com.

I updated the zone records to reflect the following:

support.bindlebinaries.com. IN A 208.110.88.26
lists.bindlebinaries.com. IN A 208.110.88.26
lists.bindlebinaries.com. IN MX 10 support.bindlebinaries.com.
lists.hfcyoungadults.com. IN A 208.110.88.26
lists.hfcyoungadults.com. IN MX 10 support.bindlebinaries.com.

This resolved the issue. I didn't catch it initially (okay, for the first
three days) because the mail was making its way to the correct server and
the change in domain name was occurring somewhere in the pipeline from
Sendmail to the mail spool. Since it was making it to the server, I did not
think to double check my DNS for rookie mistakes.

If anyone would like, I can provide a more detailed explanation of why the
CNAME records caused this issue.

Thank you Royce, Arthur, Mike, and Kevin for trying to help me out with this
issue.

--David Syzdek

On Wed, Sep 15, 2010 at 7:00 PM, barsalou <barjunk@attglobal.net> wrote:

> Quoting "David M. Syzdek" <david@syzdek.net>:
>
> > It has been a while since I have configured Sendmail to receive mail for
> > local deliver, more common for me is to use sendmail to route mail to the
> > appropriate backend server. I am however in a situation where I need to
> u=
> se
> > send mail to receive local mail for mailing lists on four separate
> domains=
> .
> > I am finding that sendmail is changing the recipient's e-mail address
> from
> > `user@domain` to `user@interface` before delivering the mail to a user's
> > mail spool. I've been pouring over the documentation trying to find a
> > solution, but I've not been able to find one.
> > The exact problem is that I send an e-mail to "
> > syzdek@lists.hfcyoungadults.com" from Gmail or from telnet on localhost
> an=
> d
> > the message arrives as being addressed to
> "syzdek@support.bindlebinaries.c=
> om
> > ".
> >
>
> You've probably already done this, but I found this link:
>
> http://www.redhat.com/support/resources/howto/RH-sendmail-HOWTO/c420.html
>
> It has been a while since I've had to do any troubleshooting on a =20
> sendmail box, but in the "Bat Book" there are some good steps on =20
> troubleshooting rule sets.
>
> I noticed a couple of references that might be useful as well from the =20
> link above.
>
> Folks seem to be moving to postfix, but I'm still using sendmail on my =20
> local server.
>
> Mike B.
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> ---------
> To unsubscribe, send email to <aklug-request@aklug.org>
> with 'unsubscribe' in the message body.
>
>

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Sep 15 21:20:43 2010

This archive was generated by hypermail 2.1.8 : Wed Sep 15 2010 - 21:20:43 AKDT