[PLUG] Postfix & Mailman
Zot O'Connor
zot at whiteknighthackers.com
Mon Apr 22 16:40:44 UTC 2002
Mine is setup a bit different
In main.cf I point to a local file for domains (like sendmail.cw)
main.cf:mydestination=$myhostname, localhost.$mydomain, $mydomain,
/etc/postfix/domains.
domains then list the domains I accept mail for, one domain per line.
I then have a user "lists" that alias adds to:
main.cf:alias_maps = hash:/home/lists/aliases, hash:/etc/postfix/aliases
So in this all mailing lists become valid at all domains. If I wanted
to fix that I would use virtual:
main.cf:virtual_maps = hash:/etc/postfix/virtual.postfix
And add to that
listnam at list.domain |blah
On Sun, 2002-04-21 at 23:27, Rob Hudson wrote:
> It's been a while since I've been on the list, but I remembered there
> were many Postfix users here, so I'm joining again.
>
> I'm setting up Mailman on a debian machine, with Postfix as it's MTA.
> I've got most of it set up, I created a list, and subscribed myself to
> it via the web interface. I cannot get Postfix to accept the mail to
> the listname-request@ address.
>
> I've tried the following:
>
> /etc/postfix/virtuals.proto:
> # Beer
> beer at euglug.org beer
> beer-admin at euglug.org beer-admin
> beer-request at euglug.org beer-request
> beer-owner at euglug.org beer-owner
>
> /etc/aliases:
> ## beer mailing list
> ## created: 19-Apr-2002 root
> beer: "|/var/lib/mailman/mail/wrapper post beer"
> beer-admin: "|/var/lib/mailman/mail/wrapper mailowner beer"
> beer-request: "|/var/lib/mailman/mail/wrapper mailcmd beer"
> beer-owner: beer-admin
>
> I found a website that recommends this:
>
> You need to setup another name for the same machine, say,
> lists.domain.com, and use Postfix's transport maps to use "local" for
> that. Once that's done you're good to go, since local will process your
> aliases just fine.
>
> Can anyone explain how to do this?
>
> Also, with the above setup (virtuals/aliases), sending to
> beer-request at euglug.org shows this in the mail.log:
>
> Apr 21 23:26:36 tux postfix/smtp[13443]: EB072BD:
> to=<beer-request at euglug.net>, relay=mail.euglug.net[207.189.131.4],
> delay=12, status=sent (250 ok 1019456438 qp 11886)
>
> I'm not sure why it changes the .org to a .net. My postfix server shows
> it going to the correct address:
>
> Apr 21 23:20:30 saaz postfix/smtp[32911]: 721CE1A1BD:
> to=<beer-request at euglug.org>, relay=mail.euglug.org[207.189.137.45],
> delay=1, status=sent (250 Ok: queued as EB072BD)
>
> Tips, advice, links, etc are much appreciated.
>
> Thanks,
> Rob
>
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
--
Zot O'Connor
http://www.ZotConsulting.com
http://www.WhiteKnightHackers.com
More information about the PLUG
mailing list