Kevin,
dig comes up empty because lists is not listed as a mail exchanger, it is just a host running sendmail and mailman.
It is my understanding that by adding the address to the directory using:
Code: Select all
omaddent -e "S=List/G=Mailman/OU1=internet/IA=mailman@lists.company.com=mailman@company.com"
that sendmail shouldn't be involved. However, that proving to be false, sendmail does know what to do with the e-mail if I send it from the command line on the scalix server (company name replaced with 'company'):
[root@postal sys]# mail -v
mailman@lists.company.com
Subject: test
test
.
Cc:
mailman@lists.company.com... Connecting to [127.0.0.1] via relay...
220 postal.company.com ESMTP Sendmail 8.13.1/8.13.1; Mon, 18 Jun 2007 12:45:18 -0400
>>> EHLO postal.company.com
250-postal.company.com Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> MAIL From:<root@postal.company.com> SIZE=48 AUTH=root@postal.company.com
250 2.1.0 <root@postal.company.com>... Sender ok
>>> RCPT To:<mailman@lists.company.com>
>>> DATA
250 2.1.5 <mailman@lists.company.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 l5IGjI9v025088 Message accepted for delivery
mailman@lists.company.com... Sent (l5IGjI9v025088 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 postal.company.com closing connection
Also works for mail sent to mailman without the hostname/fqdn:
[root@postal sys]# mail -v mailman
Subject: test2
test2
.
Cc:
mailman... Connecting to [127.0.0.1] via relay...
220 postal.company.com ESMTP Sendmail 8.13.1/8.13.1; Mon, 18 Jun 2007 12:54:17 -0400
>>> EHLO postal.company.com
250-postal.company.com Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> MAIL From:<root@postal.company.com> SIZE=34 AUTH=root@postal.company.com
250 2.1.0 <root@postal.company.com>... Sender ok
>>> RCPT To:<mailman@postal.company.com>
>>> DATA
250 2.1.5 <mailman@postal.company.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 l5IGsHpu026842 Message accepted for delivery
mailman... Sent (l5IGsHpu026842 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 postal.company.com closing connection
and the accompanying mail.log entry:
Jun 18 12:54:17 postal sendmail[26842]: l5IGsHpu026842: from=<root@postal.company.com>, size=323, class=0, nrcpts=1, msgid=<200706181654.l5IGsHiq026841@postal.company.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun 18 12:54:17 postal sendmail[26841]: l5IGsHiq026841: to=mailman, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30034, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l5IGsHpu026842 Message accepted for delivery)
Jun 18 12:54:18 postal sendmail[26847]: l5IGsHpu026842: to=mailman@lists.company.com, ctladdr=<root@postal.compnay.com> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30548, relay=lists.company.com. [10.0.0.20], dsn=2.0.0, stat=Sent (l5IGp6Ir014128 Message accepted for delivery)
The problem seems to be somewhere in the handoff from Scalix to sendmail. Scalix accepts the mail, but it's not finding the directory entry that should be converting
mailman@company.com to
mailman@lists.company.com. I have tried adding an entry in /etc/aliases as well, and that doesn't work, either if the mail comes through Scalix first (works correctly from the command line as seen above). Whenever I send from the outside, it goes right through Scalix to sendmail, and it gets deferred:
l5IGUdcX023708 5 Mon Jun 18 12:30 <klussier@<email redacted>.net>
(Deferred: Connection timed out with company.com.)
<mailman@company.com>
Thanks,
Kenny