[Mailman-Users] Postfix & Mailman not playing well together

Michael Soh michael.c.soh at gmail.com
Mon May 23 19:17:29 CEST 2011

Thanks so much for your clues.  I've replied in-line

On Sat, May 21, 2011 at 1:12 AM, Mark Sapiro <mark at msapiro.net> wrote:

> Don't assume that your HTML markup will pass through a list's content
> filtering.


> The problem is that mail to the lists.mikesoh.com domain is delivered
> by a relay other than Postfix's 'local' delivery and that relay
> doesn't understand 'pipe' delivery so the string
> "|/var/lib/mailman/mail/mailman post somelist" in the alias is
> interpreted as a 'local' address rather than a pipe and thus gets
> appended with $mydomain.

> Right, and if Postfix is using the 'local' relay for this domain, it
> will run the correct command too.

So how do I get Postfix to correctly run the command?

>I can't seem to figure out why this is.  I've posted my postfix config on a
> >pastebin:
> >http://paste.ubuntu.com/610641/
> If you want someone to actually look at your Postfix configuration,
> paste the output from 'postconf -n' rather than the entire 643 line
> 'postconf' configuration.


In addition to the above clues, look in the Postfix log (maillog) to
> see what 'relay' is being used for this mail and figure out why it is
> what it is rather than 'local'. This may require looking at
> transport_maps and/or master.cf.

Here is the output from the mail.log:

May 19 15:18:45 hotdog postfix/smtpd[9652]: 957453430E4B: client=
May 19 15:18:45 hotdog postfix/cleanup[23878]: 957453430E4B: message-id=<
BANLkTikskn_wNtvGjbKypcq7gNbBUAUfuQ at mail.gmail.com>
May 19 15:18:46 hotdog postfix/qmgr[5173]: 957453430E4B: from=<
michael.c.soh at gmail.com>, size=1994, nrcpt=1 (queue active)
May 19 15:18:46 hotdog postfix/error[28625]: 957453430E4B:
to=<|/var/lib/mailman/mail/mailman post epicfail at mikesoh.com>, orig_to=<
epicfail at lists.mikesoh.com>, relay=none, delay=1, delays=0.9/0.07/0/0.05,
dsn=5.0.0, status=bounced (User unknown in virtual alias table)
May 19 15:18:46 hotdog postfix/cleanup[23878]: 47DAA3430E51: message-id=<
20110519191846.47DAA3430E51 at hotdog.mikesoh.com>
May 19 15:18:46 hotdog postfix/bounce[30003]: 957453430E4B: sender
non-delivery notification: 47DAA3430E51
May 19 15:18:46 hotdog postfix/qmgr[5173]: 47DAA3430E51: from=<>, size=3968,
nrcpt=1 (queue active)

And here is my master.cf:

Thanks again for the help!

More information about the Mailman-Users mailing list