[Mailman-Users] Mailman not delivering mail back to Postfix

Jamie Penman-Smithson jamie at silverdream.org
Fri Dec 26 03:48:28 CET 2003

Hey all,

I've got postfix{-tls,-mysql}, Mailman, and postfix-to-mailman 2.1 (http://www.gurulabs.com/files/postfix-to-mailman-2.1.py) setup on Debian Sid (unstable):

lorien:~# dpkg -l postfix* | grep ^ii
ii  postfix        2.0.16-4       A high-performance mail transport agent
ii  postfix-ldap   2.0.16-4       LDAP map support for Postfix
ii  postfix-mysql  2.0.16-4       MYSQL map support for Postfix
ii  postfix-pcre   2.0.16-4       PCRE map support for Postfix
ii  postfix-tls    2.0.16-4       TLS and SASL support for Postfix

lorien:~# dpkg -l mailman* | grep ^ii
ii  mailman        2.1.3-2        Powerful, web-based mailing list manager

I've setup a list using the web interface, and it's been added successfully:

lorien:/var/lib/mailman/bin# ./list_lists
2 matching mailing lists found:
        Mailman - [no description available]
    sd-announce - Silverdream IS news
lorien:/var/lib/mailman/bin# ./list_admins sd-announce
List: sd-announce,      Owners: root at silverdream.org

Postfix shows that the mail has been sent to postfix-to-mailman:

Dec 26 01:47:25 lorien amavis[2532]: (02532-02) Passed, <jamie at silverdream.org> -> <sd-announce-subscribe at lists.silverdream.org>, Message-ID: <2003122614544.831792 at oasis>, Hits: 0.048
Dec 26 01:47:26 lorien postfix/smtp[2786]: 376707846: to=<sd-announce-subscribe at lists.silverdream.org>, relay=[], delay=101, status=sent (250 2.6.0 Ok, id=02532-02, from MTA: 250 Ok: queued as 5175F7849)
Dec 26 01:47:26 lorien amavis[2532]: (02532-02) ESMTP: NOTICE: client broke the connection without a QUIT
Dec 26 01:47:29 lorien postfix/pipe[2799]: 5175F7849: to=<sd-announce-subscribe at lists.silverdream.org>, relay=mailman, delay=6, status=sent (lists.silverdream.org)

Dec 26 02:33:39 lorien postfix/qmgr[2879]: E6558785E: from=<jamie at silverdream.org>, size=1374, nrcpt=1 (queue active)
Dec 26 02:33:44 lorien amavis[2387]: (02387-05) Passed, <jamie at silverdream.org> -> <sd-announce-subscribe at lists.silverdream.org>, Message-ID: <2003122623310.760467 at oasis>, Hits: 0.051
Dec 26 02:33:45 lorien postfix/pipe[3122]: E6558785E: to=<sd-announce-subscribe at lists.silverdream.org>, relay=mailman, delay=7, status=sent (lists.silverdream.org)
Dec 26 02:33:45 lorien postfix/smtp[3119]: 9FB6C7849: to=<sd-announce-subscribe at lists.silverdream.org>, relay=[], delay=36, status=sent (250 2.6.0 Ok, id=02387-05, from MTA: 250 Ok: queued as E6558785E)
Dec 26 02:33:53 lorien cyrus/master[17529]: process 3108 exited, status 0

...and all the mail is sitting in Mailman's queue:

From: Jamie Penman-Smithson <jamie at silverdream.org>
To: <sd-announce-subscribe at lists.silverdream.org>
X-Mailer: PocoMail 3.03 (1740) - EVALUATION VERSION
X-URL: http://www.pocomail.com/
Date: Fri, 26 Dec 2003 02:33:10 GMT
Message-ID: <2003122623310.760467 at oasis>
Subject: subscribe

It appears the mail is getting delivered to postfix-to-mailman.py and then to mailman, but after that nothing appears to happen. I've checked /var/log/mailman/errors, and it's empty.

I did show-qfiles on the qfiles/virgin directory and it shows two outbound messages:

====================> /var/lib/mailman/qfiles/virgin/1072096291.5388401+f84a04ab843bf8cd7c1dca80b94fe25fc58b3b4f.pck
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: Your new mailing list: mailman
From: mailman-admin at lorien.silverdream.org
To: jamie at silverdream.org
Message-ID: <mailman.0.1072096291.4898.mailman at lorien.silverdream.org>
Date: Mon, 22 Dec 2003 12:31:31 +0000
Precedence: bulk

====================> /var/lib/mailman/qfiles/virgin/1072401079.214362+11df5743f51e4cdca44869ec30d1dfde28869388.pck
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: Your new mailing list: sd-announce
From: mailman-admin at lists.silverdream.org
To: root at silverdream.org
Message-ID: <mailman.0.1072401079.2554.sd-announce at lists.silverdream.org>
Date: Fri, 26 Dec 2003 01:11:19 +0000
Precedence: bulk

But none of it is ever getting back to postfix. I've checked my settings in /etc/mailman/mm_cfg.py

# Use Postfix as the MTA
MTA = 'Postfix'
# How to deliver mail

# Deliver to mailhost on port 25
SMTPHOST = 'lorien.silverdream.hq'
SMTPPORT = 25                                      # default from smtplib

I double-checked that my DNS was still okay (just to rule it out):
lorien:/var/lib/mailman/bin# host lorien.silverdream.hq
lorien.silverdream.hq has address

In case it was a permissions problem I ran check_perms:

lorien:/var/lib/mailman/bin# ./check_perms
/var/lib/mailman/data/aliases.db owned by www-data (must be owned by list

Problems found: 1
Re-run as list (or root) with -f flag to fix

AFAIK this shouldn't stop mail from being delivered?
Can anyone offer any suggestions? Help would be appreciated - I'm running out of ideas(!)

Thanks in advance

Happy Holidays,


-jamie <jamie at silverdream.org>
w: http://silverdream.org | p: sms at silverdream.org
Support The Blue Ribbon Campaign - http://eff.org/brl

More information about the Mailman-Users mailing list