
Hello,
I need some help here. I am building a new mail server to replace our old one. I installed postfix, courier, MailScanner on the Centos 6.4. The last I installed mailman v3 and I'm having trouble to make it work.
Our old email server has almost same setup, only that server is built 3 years ago with mailman v2.
On the new server, I setup some mail list, and transfer subscriber account from our old server. The I test it sending a email to the list. Here is the maillog onthe new server:
Jun 21 16:32:47 szeta postfix/smtpd[29323]: connect from localhost[127.0.0.1] Jun 21 16:32:47 szeta postfix/smtpd[29323]: 7D76E825BA: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=jgao@my-domain.com Jun 21 16:32:47 szeta postfix/cleanup[29334]: 7D76E825BA: hold: header Received: from szeta.my-domain.co (localhost [127.0.0.1])??by szeta.my-domain.com (Postfix) with ESMTPA id 7D76E825BA??for <sjv-dev@my-domain.com>; Fri, 21 Jun 2013 16:32:47 -0700 (PDT) from localhost[127.0.0.1]; from=<jgao@my-domain.com> to=<sjv-dev@my-domain.com> proto=ESMTP helo=<szeta.my-domain.com> Jun 21 16:32:47 szeta postfix/cleanup[29334]: 7D76E825BA: message-id=<446473f75a3499b515b007856debce2b@my-domain.com> Jun 21 16:32:49 szeta MailScanner[29315]: New Batch: Scanning 1 messages, 1277 bytes Jun 21 16:32:49 szeta MailScanner[29315]: Virus and Content Scanning: Starting Jun 21 16:32:50 szeta MailScanner[29315]: Spam Checks: Starting Jun 21 16:32:53 szeta MailScanner[29315]: Requeue: 7D76E825BA.A7BE0 to 7DAA4825BE Jun 21 16:32:53 szeta MailScanner[29315]: Uninfected: Delivered 1 messages Jun 21 16:32:53 szeta postfix/qmgr[29297]: 7DAA4825BE: from=<jgao@my-domain.com>, size=577, nrcpt=1 (queue active) Jun 21 16:32:53 szeta MailScanner[29315]: Deleted 1 messages from processing-database Jun 21 16:32:53 szeta postfix/virtual[29352]: 7DAA4825BE: to=<sjv-dev@my-domain.com>, relay=virtual, delay=6.2, delays=6.1/0.06/0/0.08, dsn=5.1.1, status=bounced (unknown user: "sjv-dev@my-domain.com") Jun 21 16:32:53 szeta postfix/cleanup[29334]: B3566825BB: message-id=<20130621233253.B3566825BB@szeta.my-domain.com> Jun 21 16:32:53 szeta postfix/qmgr[29297]: B3566825BB: from=<>, size=2859, nrcpt=1 (queue active) Jun 21 16:32:53 szeta postfix/bounce[29354]: 7DAA4825BE: sender non-delivery notification: B3566825BB Jun 21 16:32:53 szeta postfix/qmgr[29297]: 7DAA4825BE: removed
I see here: Jun 21 16:32:53 szeta *postfix/virtual*[29352]: 7DAA4825BE: to=<sjv-dev@my-domain.com>, relay=virtual, delay=6.2, delays=6.1/0.06/0/0.08, dsn=5.1.1, status=bounced (*unknown user: "sjv-dev@my-domain.com"*)
Then I got a auto response from mailman say the deliver is failed.
When I compare with the old server. I see it looks different when postfix relay the mail: [root@zeta log]# grep 04CD480D3 maillog Jun 21 10:00:05 zeta MailScanner[30548]: Requeue: B8C218070.A97C1 to 04CD480D3 Jun 21 10:00:05 zeta postfix/qmgr[24123]: 04CD480D3: from=<jgao@my-domain.com>, size=1102, nrcpt=1 (queue active) Jun 21 10:00:06 zeta *postfix/local*[1633]: 04CD480D3: to=<sjv-dev@zeta.my-domain.com>, orig_to=<sjv-dev@my-domain.com>, relay=local, delay=4.6, delays=4.3/0.01/0/0.28, dsn=2.0.0, status=sent *(delivered to command: /usr/lib/mailman/mail/mailman post *
=============================================== Here is some of the settings related: (I'm using virtual domain/users with mysql)
/etc/postfix/main.cf: virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf,mysql:/etc/postfix/mysql-virtual_aliases.cf
/etc/postfix/mysql-virtual_aliases.cf: user = mail_admin password = my_passwd dbname = mail query = SELECT forw_addr FROM mxaliases WHERE alias='%s' hosts = 127.0.0.1
/etc/aliases: # STANZA START: sjv-dev # CREATED: Wed Aug 11 09:10:34 2010 sjv-dev: "|/usr/lib/mailman/mail/mailman post sjv-dev" sjv-dev-admin: "|/usr/lib/mailman/mail/mailman admin sjv-dev" sjv-dev-bounces: "|/usr/lib/mailman/mail/mailman bounces sjv-dev" sjv-dev-confirm: "|/usr/lib/mailman/mail/mailman confirm sjv-dev" sjv-dev-join: "|/usr/lib/mailman/mail/mailman join sjv-dev" sjv-dev-leave: "|/usr/lib/mailman/mail/mailman leave sjv-dev" sjv-dev-owner: "|/usr/lib/mailman/mail/mailman owner sjv-dev" sjv-dev-request: "|/usr/lib/mailman/mail/mailman request sjv-dev" sjv-dev-subscribe: "|/usr/lib/mailman/mail/mailman subscribe sjv-dev" sjv-dev-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe sjv-dev" # STANZA END: sjv-dev
mysql> select * from mxaliases; +---------------------------------------------+---------------------------------------------------+ | alias | forw_addr | +---------------------------------------------+---------------------------------------------------+ | mailman@my-domain.com | mailman@szeta.my-domain.com | | mailman-admin@my-domain.com | mailman-admin@szeta.my-domain.com | | mailman-bounces@my-domain.com | mailman-bounces@szeta.my-domain.com | | mailman-confirm@my-domain.com | mailman-confirmt@szeta.my-domain.com | | mailman-join@my-domain.com | mailman-join@szeta.my-domain.com | | mailman-leave@my-domain.com | mailman-leave@szeta.my-domain.com | | mailman-owner@my-domain.com | mailman-owner@szeta.my-domain.com | | mailman-request@my-domain.com | mailman-request@szeta.my-domain.com | | mailman-subscribe@my-domain.com | mailman-subscribe@szeta.my-domain.com | | mailman-unsubscribe@my-domain.com | mailman-unsubscribe@szeta.my-domain.com | | sjv-dev@my-domain.com | sjv-dev@szeta.my-domain.com | | sjv-dev-admin@my-domain.com | sjv-dev-admin@szeta.my-domain.com | | sjv-dev-bounces@my-domain.com | sjv-dev-bounces@szeta.my-domain.com | | sjv-dev-confirm@my-domain.com | sjv-dev-confirmt@szeta.my-domain.com | | sjv-dev-join@my-domain.com | sjv-dev-join@szeta.my-domain.com | | sjv-dev-leave@my-domain.com | sjv-dev-leave@szeta.my-domain.com | | sjv-dev-owner@my-domain.com | sjv-dev-owner@szeta.my-domain.com | | sjv-dev-request@my-domain.com | sjv-dev-request@szeta.my-domain.com | | sjv-dev-subscribe@my-domain.com | sjv-dev-subscribe@szeta.my-domain.com | | sjv-dev-unsubscribe@my-domain.com | sjv-dev-unsubscribe@szeta.my-domain.com | +---------------------------------------------+---------------------------------------------------+
I'm not sure what cause the mail delivery failed. Please help.
Thanks a lot.
J Gao
-- __ _|==|_ ('')__/
--(
^^') (
^'^')
======'

On 06/24/2013 09:31 AM, J Gao wrote:
Mailman 3 core is still in beta. Mailman 3 web UI (Postorius) is still in alpha. You shouild probably be installing Mailman 2.1./15 or the head of the 2.1 branch at <https://code.launchpad.net/~mailman-coders/mailman/2.1>
Our old email server has almost same setup, only that server is built 3 years ago with mailman v2.
And Mailman 2.1 is a lot different from Mailman 3.
From Mailman or from Postfix?
[...]
I'm not sure what cause the mail delivery failed. Please help.
Mailman 3 does not do delivery to a Mailman wrapper via aliases like Mailman 2.1 does. It is designed to use LMTP to deliver from Postfix to Mailman.
Remove Mailman 3; install Mailman 2.1.15 or later, and come back if you still have trouble.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On 06/24/2013 09:31 AM, J Gao wrote:
Mailman 3 core is still in beta. Mailman 3 web UI (Postorius) is still in alpha. You shouild probably be installing Mailman 2.1./15 or the head of the 2.1 branch at <https://code.launchpad.net/~mailman-coders/mailman/2.1>
Our old email server has almost same setup, only that server is built 3 years ago with mailman v2.
And Mailman 2.1 is a lot different from Mailman 3.
From Mailman or from Postfix?
[...]
I'm not sure what cause the mail delivery failed. Please help.
Mailman 3 does not do delivery to a Mailman wrapper via aliases like Mailman 2.1 does. It is designed to use LMTP to deliver from Postfix to Mailman.
Remove Mailman 3; install Mailman 2.1.15 or later, and come back if you still have trouble.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
J Gao
-
Mark Sapiro