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

Michael Soh michael.c.soh at gmail.com
Mon May 23 21:52:10 CEST 2011


On Mon, May 23, 2011 at 3:39 PM, Mark Sapiro <mark at msapiro.net> wrote:

> add_virtualhost is not mentioned in the postfix section because it's
> not a postfix related setting per se.
>
> Section 7 Review your site defaults urges you to read Defaults.py
>

Good to know.


> You don't have to reload Postfix after changing aliases and/or
> virtual-mailman. The commands defined in POSTFIX_ALIAS_CMD and
> POSTFIX_MAP_CMD are run automatically and update the .db files and
> Postfix will notice they've changed.
>

The documentation:
http://www.list.org/mailman-install/postfix-integration.html

says:

One caveat: when you add or remove a list, the aliases.db file will updated,
but it will not automatically run *postfix reload*. This is because you need
to be root to run this and suid-root scripts are not secure. The only effect
of this is that it will take about a minute for Postfix to notice the change
to the aliases.db file and update its tables.

I assumed that this applied to virtual domains as well.  I guess it doesn't.


> What's in the postfix log?
>

I guess these e-mails are getting out of order.  I'll post the log for
posterity:

May 23 14:57:03 hotdog postfix/smtpd[19500]: connect from
mail-ey0-f181.google.com[209.85.215.181]
May 23 14:57:03 hotdog postfix/smtpd[19500]: setting up TLS connection from
mail-ey0-f181.google.com[209.85.215.181]
May 23 14:57:04 hotdog postfix/smtpd[19500]: Anonymous TLS connection
established from mail-ey0-f181.google.com[209.85.215.181]: TLSv1 with cipher
RC4-SHA (128/128 bits)
May 23 14:57:04 hotdog postfix/smtpd[19500]: 5AAE1518820E: client=
mail-ey0-f181.google.com[209.85.215.181]
May 23 14:57:04 hotdog postfix/cleanup[26459]: 5AAE1518820E:
message-id=<BANLkTi=d2yytsqkTnaxLzK5PRr+2+S9_UA at mail.gmail.com>
May 23 14:57:04 hotdog postfix/qmgr[1375]: 5AAE1518820E: from=<
michael.c.soh at gmail.com>, size=1995, nrcpt=1 (queue active)
May 23 14:57:04 hotdog postfix/error[29964]: 5AAE1518820E: to=<
epicfail at mikesoh.com>, orig_to=<epicfail at linuslive.com>, relay=none,
delay=0.44, delays=0.42/0/0/0.02, dsn=5.0.0, status=bounced (User unknown i
n virtual alias table)
May 23 14:57:04 hotdog postfix/cleanup[26459]: AA043518820F: message-id=<
20110523185704.AA043518820F at hotdog.mikesoh.com>
May 23 14:57:04 hotdog postfix/bounce[29979]: 5AAE1518820E: sender
non-delivery notification: AA043518820F
May 23 14:57:04 hotdog postfix/qmgr[1375]: AA043518820F: from=<>, size=3885,
nrcpt=1 (queue active)
May 23 14:57:04 hotdog postfix/qmgr[1375]: 5AAE1518820E: removed

May 23 15:02:03 hotdog postfix/smtpd[9810]: connect from
mail-ew0-f53.google.com[209.85.215.53]
May 23 15:02:04 hotdog postfix/smtpd[9810]: setting up TLS connection from
mail-ew0-f53.google.com[209.85.215.53]
May 23 15:02:04 hotdog postfix/smtpd[9810]: Anonymous TLS connection
established from mail-ew0-f53.google.com[209.85.215.53]: TLSv1 with cipher
RC4-SHA (128/128 bits)
May 23 15:02:04 hotdog postfix/smtpd[9810]: AB276518820E: client=
mail-ew0-f53.google.com[209.85.215.53]
May 23 15:02:04 hotdog postfix/cleanup[19618]: AB276518820E:
message-id=<BANLkTi=L3E=G=7wiH7JioVYR547hsnhnAQ at mail.gmail.com>
May 23 15:02:04 hotdog postfix/qmgr[23652]: AB276518820E: from=<
michael.c.soh at gmail.com>, size=1989, nrcpt=1 (queue active)
May 23 15:02:04 hotdog postfix/error[23679]: AB276518820E: to=<
epicfail at mikesoh.com>, orig_to=<epicfail at linuslive.com>, relay=none,
delay=0.53, delays=0.51/0/0/0.01, dsn=5.0.0, status=bounced (User unknown in
virtual alias table)
May 23 15:02:05 hotdog postfix/cleanup[19618]: 003A3518820F: message-id=<
20110523190205.003A3518820F at hotdog.mikesoh.com>
May 23 15:02:05 hotdog postfix/bounce[23696]: AB276518820E: sender
non-delivery notification: 003A3518820F
May 23 15:02:05 hotdog postfix/qmgr[23652]: 003A3518820F: from=<>,
size=3879, nrcpt=1 (queue active)
May 23 15:02:05 hotdog postfix/qmgr[23652]: AB276518820E: removed



> >If worse comes to worse, I can just host all of my mailman lists on the
> >lists.mikesoh.com subdomain but would like to be able to use all of my
> >domains to create mailing lists.
>
> Do all your  email domains use the same web domain?
>

Yes.


> Do you care if list mail from the list at example.net list refers to the
> example.com domain in web URLs?
>

No, as long as it does within e-mails.  For example, on the list page, I
don't care if it says foobar.tld when it really is mikesoh.com but I DO care
if list at foobar.tld resolves to list at mikesoh.com.

Thanks again for all of your help!


More information about the Mailman-Users mailing list