![](https://secure.gravatar.com/avatar/d296f9354ba360c36edcf2fe90977985.jpg?s=120&d=mm&r=g)
Thanks so much for your clues. I've replied in-line
On Sat, May 21, 2011 at 1:12 AM, Mark Sapiro <mark@msapiro.net> wrote:
Don't assume that your HTML markup will pass through a list's content filtering.
Noted.
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.
http://paste.ubuntu.com/611943/
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= mail-ey0-f179.google.com[209.85.215.179] May 19 15:18:45 hotdog postfix/cleanup[23878]: 957453430E4B: message-id=< BANLkTikskn_wNtvGjbKypcq7gNbBUAUfuQ@mail.gmail.com> May 19 15:18:46 hotdog postfix/qmgr[5173]: 957453430E4B: from=< michael.c.soh@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@mikesoh.com>, orig_to=< epicfail@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@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: http://paste.ubuntu.com/611944/
Thanks again for the help!