|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: postfix, cyrus, mailman, virtual domains
From: Dwight Tovey (dwight
dtovey.net)
Date: Sun Apr 02 2006 - 18:27:11 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
mouss said:
> Matt Fretwell wrote:
>> On Sun, 02 Apr 2006 11:25:45 -0600
>> Dwight Tovey wrote:
>>
>>> Note that Postfix is trying to use lmtp to hand the message off to
>>> cyrus, which doesn't have a mailbox for 'mailman' (the test list I'm
>>> trying to send to). I need the message to not go to lmtp/cyrus at
>>> all, but just use the alias map to pass it through the pipe to the
>>> 'mailman post' command.
>>
>>
>> Use a transport entry with something along the lines of:
>>
>> mailman
example.com local:
>>
>
> or virtual aliases:
> #replace example.com by dtovey.net
> mailman
example.com mailman
localhost.example.com
> ...
>
> since he has localhost.example.com in mydestination.
>
Bingo. I knew it had to be something simple that I was missing.
I made one change to main.cf:
Old:
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
New:
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf,
hash:/usr/local/mailman/data/virtual-mailman
I then created /usr/local/mailman/data/virtual-mailman with the following:
mailman mailman
localhost.dtovey.net
mailman-admin mailman-admin
localhost.dtovey.net
mailman-bounces mailman-bounces
localhost.dtovey.net
mailman-confirm mailman-confirm
localhost.dtovey.net
mailman-join mailman-join
localhost.dtovey.net
mailman-leave mailman-leave
localhost.dtovey.net
mailman-owner mailman-owner
localhost.dtovey.net
mailman-request mailman-reques
localhost.dtovey.net
mailman-subscribe mailman-subscribe
localhost.dtovey.net
mailman-unsubscribe mailman-unsubscribe
localhost.dtovey.net
I ran postmap on that, reloaded postfix, and everything works again. I'll
have to update virtual-mailman whenever I add a new list, but that
shouldn't be a problem.
Thanks for pointing me in the right direction.
/dwight
--
Dwight N. Tovey
email: dwight
dtovey.net
web: http://www.dtovey.net/~dwight
-----------
Cthulu For President-Why Choose The Lesser Evil?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]