I'm having difficulty getting mailman with sendmail to work on a RedHat 5 box.

First, I check that sendmail's prog mailer is working. I add an alias

test: "|/bin/logger -i -p local3.info test"

to my aliases file, restart sendmail, and send test an email

Mar 24 14:26:06 wwwtest sendmail[12555]: o2OEQ6Bi012555: from=root, size=48, class=0, nrcpts=1, msgid=<[email protected]>, relay=r...@localhost

Mar 24 14:26:06 wwwtest sendmail[12556]: o2OEQ6AN012556: from=<[email protected]>, size=358, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]Mar 24 14:26:06 wwwtest sendmail[12555]: o2OEQ6Bi012555: [email protected], ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30048, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o2OEQ6AN012556 Message accepted for delivery)

Mar 24 14:26:06 wwwtest sendmail[12557]: o2OEQ6AN012556: to="|/bin/logger -i -p local3.info test", ctladdr=<[email protected]> (51/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30599, dsn=2.0.0, stat=Sent


Syslog contains

Mar 24 14:26:06 wwwtest logger[12558]: test

So it worked.


/usr/local/mailman/Mailman/mm_cfg.py contains

DEFAULT_URL_HOST = "wwwtest.xxx.uk"

DEFAULT_EMAIL_HOST = "wwwtest.xxx.uk"

DEFAULT_URL_PATTERN = 'http://%s/mailman/'

#add_virtualhost('wwwtest.xxx.uk')

add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

[r...@wwwtest mail]#


I've a mailman list set up, with a few members, and the appropriate aliases are there.


mail -s test [email protected]


/var/log/maillog contains


Mar 24 14:27:13 wwwtest sendmail[12565]: o2OERDl0012565: from=root, size=51, class=0, nrcpts=1, msgid=<[email protected]>, relay=r...@localhost

Mar 24 14:27:13 wwwtest sendmail[12566]: o2OERDDM012566: from=<[email protected]>, size=364, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]Mar 24 14:27:13 wwwtest sendmail[12565]: o2OERDl0012565: [email protected], ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30051, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (o2OERDDM012566 Message accepted for delivery)

Mar 24 14:27:13 wwwtest sendmail[12567]: o2OERDDM012566: to="|/usr/local/mailman/mail/mailman post mailman", ctladdr=<[email protected]> (51/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30608, dsn=2.0.0, stat=Sent


Now things go wrong, mailman (or sendmail) forwards the mail to the site relay, mercury, which rejects it, user unknown. I _think_ it is mailman forwarding the mail because if it were sendmail, there would be a log entry of sendmail talking to the site relay.


Mar 24 14:27:14 wwwtest sendmail[12569]: o2OEREo5012569: from=<[email protected]>, size=1084, class=-60, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]

Mar 24 14:27:14 wwwtest sendmail[12570]: o2OEREo5012569: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=139300, dsn=2.0.0, stat=Sent

Mar 24 14:27:14 wwwtest sendmail[12572]: o2OERET3012572: from=<[email protected]>, size=2625, class=-60, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]

Mar 24 14:27:14 wwwtest sendmail[12574]: o2OERET3012572: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=230625, relay=mercury.xxx.uk. [xxx.xxx.240.183], dsn=5.1.1, stat=User unknown

Mar 24 14:27:14 wwwtest sendmail[12574]: o2OERET3012572: o2OERET3012574: DSN: User unknown

Mar 24 14:27:14 wwwtest sendmail[12574]: o2OERET3012574: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30000, relay=mercury.xxx.uk. [xxx.xxx.240.183], dsn=5.1.1, stat=User unknown

Mar 24 14:27:14 wwwtest sendmail[12574]: o2OERET3012574: o2OERET4012574: return to sender: User unknown

Mar 24 14:27:14 wwwtest sendmail[12574]: o2OERET4012574: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30000, dsn=2.0.0, stat=Sent


This appears in the relay logs at the same time.


Mar 24 14:27:14 mercury sendmail[19882]: o2OEREiM019882: <[email protected]>... User unknown

Mar 24 14:27:14 mercury sendmail[19882]: o2OEREiM019882: from=<[email protected]>, size=2851, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=wwwtest [xxx.xxx.240.139]

Mar 24 14:27:14 mercury sendmail[19882]: o2OEREiO019882: <[email protected]>... User unknown

Mar 24 14:27:14 mercury sendmail[19882]: o2OEREiO019882: from=<>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=wwwtest [xxx.xxx.240.139]


the site relay is configured in sendmail.cf in the DS parameter (smart host).


Anyone got an idea of what I'm doing wrong?


tia, Dick

--
Richard Gillman
IST UNIX Systems Group, Maclean Building, Wallingford OX10 8BB
Tel: 01491 - 692 339
Fax: 01491 - 692 424

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to