[Mailman-Users] trouble to send out emails

J Gao jgao at veecall.com
Mon Jun 24 18:31:35 CEST 2013


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 at 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 at my-domain.com>; Fri, 21 Jun 2013 16:32:47 -0700 (PDT) from 
localhost[127.0.0.1]; from=<jgao at my-domain.com> 
to=<sjv-dev at my-domain.com> proto=ESMTP helo=<szeta.my-domain.com>
Jun 21 16:32:47 szeta postfix/cleanup[29334]: 7D76E825BA: 
message-id=<446473f75a3499b515b007856debce2b at 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 at 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 at 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 at my-domain.com")
Jun 21 16:32:53 szeta postfix/cleanup[29334]: B3566825BB: 
message-id=<20130621233253.B3566825BB at 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 at 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 at 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 at 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 at my-domain.com>, size=1102, nrcpt=1 (queue active)
Jun 21 10:00:06 zeta *postfix/local*[1633]: 04CD480D3: 
to=<sjv-dev at zeta.my-domain.com>, orig_to=<sjv-dev at 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 at my-domain.com                    | 
mailman at szeta.my-domain.com                    |
| mailman-admin at my-domain.com              | 
mailman-admin at szeta.my-domain.com              |
| mailman-bounces at my-domain.com            | 
mailman-bounces at szeta.my-domain.com            |
| mailman-confirm at my-domain.com            | 
mailman-confirmt at szeta.my-domain.com           |
| mailman-join at my-domain.com               | 
mailman-join at szeta.my-domain.com               |
| mailman-leave at my-domain.com              | 
mailman-leave at szeta.my-domain.com              |
| mailman-owner at my-domain.com              | 
mailman-owner at szeta.my-domain.com              |
| mailman-request at my-domain.com            | 
mailman-request at szeta.my-domain.com            |
| mailman-subscribe at my-domain.com          | 
mailman-subscribe at szeta.my-domain.com          |
| mailman-unsubscribe at my-domain.com        | 
mailman-unsubscribe at szeta.my-domain.com        |
| sjv-dev at my-domain.com                    | 
sjv-dev at szeta.my-domain.com                    |
| sjv-dev-admin at my-domain.com              | 
sjv-dev-admin at szeta.my-domain.com              |
| sjv-dev-bounces at my-domain.com            | 
sjv-dev-bounces at szeta.my-domain.com            |
| sjv-dev-confirm at my-domain.com            | 
sjv-dev-confirmt at szeta.my-domain.com           |
| sjv-dev-join at my-domain.com               | 
sjv-dev-join at szeta.my-domain.com               |
| sjv-dev-leave at my-domain.com              | 
sjv-dev-leave at szeta.my-domain.com              |
| sjv-dev-owner at my-domain.com              | 
sjv-dev-owner at szeta.my-domain.com              |
| sjv-dev-request at my-domain.com            | 
sjv-dev-request at szeta.my-domain.com            |
| sjv-dev-subscribe at my-domain.com          | 
sjv-dev-subscribe at szeta.my-domain.com          |
| sjv-dev-unsubscribe at my-domain.com        | 
sjv-dev-unsubscribe at szeta.my-domain.com        |
+---------------------------------------------+---------------------------------------------------+


I'm not sure what cause the mail delivery failed. Please help.

Thanks a lot.

J Gao

-- 
      __
    _|==|_
     ('')__/
>--(`^^')
   (`^'^'`)
   `======'



More information about the Mailman-Users mailing list