Brian Evans - Postfix List a écrit :
> Giuseppe De Nicolo' wrote:
>> Brian Evans - Postfix List wrote:
>>> What you must understand is that the virutal(8) delivery agent will not
>>> run commands.  It simply delivers mail.
>>> Other delivery agents outside of Postfix may or may not use them, but
>>> they do not use the Postfix config files by default.
>>>
>>> The only delivery agent included with Postfix that will run commands is
>>> local(8) .
>>> local(8) delivers mail in for domains listed in mydestination.
>>> The mailman domain MUST NOT be listed in virtual_mailbox_maps.
>>>
>>> Brian
>>    First of thanks for taking the time to answer , no the mailman
>> domain is not listed in virtual_mailbox_maps but IT IS listed in
>> virtual_mailbox_domains.. to my understanding after reading the afore
>> mentioned manual, I guess I m wrong ? wil delete from domains and
>> retry though  I m not totally sure I got you statement about Virtual
>> Delivery Agent, though as said I m using Dovecot with cyrus-sasl for
>> delivery.
>>
>>    Instead the part about the local delivery is interesting so
>> basically, I could have the "mymlistdomain.com" included to
>> mydestination (considering I ll only use this domain for mailman ) 
>> and configure mailman as local delivery and not interact with virtual
>> domains at all ??
>>
>> Sincerely
> This is correct.  mailman must be delivered using a domain in
> mydestination OR listed in virtual_alias_maps to a destination in
> mydestination.

An alternative is to use a dedicated transport in master.cf:

mailman ..... pipe
        ... =/path/to/mailman.sh ...

and use transport_maps
lists.example.com       mailman:

If you only have one domain (lists.example.com) and there is no risk
that j...@lists.example.com would be confused with some "joe" user on the
machine, mydestination with alias_maps is probably the simplest way.


> The easiest way is to use the first method.
> mailman cannot interact with Postfix and a domain listed in
> virutal_MAILBOX_domains. Though, you MAY use a subdomain listed in
> mydestination.
> 
> Brian

Reply via email to