Re: postfix, cyrus, mailman, virtual domains
- mouss said:
> Matt Fretwell wrote:Bingo. I knew it had to be something simple that I was missing.
>> 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@... local:
> or virtual aliases:
> #replace example.com by dtovey.net
> mailman@... mailman@...
> since he has localhost.example.com in mydestination.
I made one change to main.cf:
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf,
I then created /usr/local/mailman/data/virtual-mailman with the following:
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 N. Tovey
Cthulu For President-Why Choose The Lesser Evil?