On 6/28/2012 10:18 AM, James B. Byrne wrote:
> 
> On Thu, June 28, 2012 13:41, Noel Jones wrote:
> 
>> cyrus_destination_recipient_limit=1 means deliver a maximum of one
>> recipient to each "cyrus" transport defined in master.cf, which
>> pipes to the cyrus "deliver" program; there may be multiple
>> processes running in parallel.
>>
>> Apparently some versions of cyrus "deliver" program are unable to
>> properly handle more than one recipient at a time.  I don't know
>> which versions this limitation may apply to.
>>
>> It appears to me that lmtp, rather than pipe, is the preferred
>> transport for modern cyrus installations, so this is likely an
>> ancient example still hanging around in master.cf.  Treat this entry
>> as a sample rather than as "this is how you do it".
> 
> That is how I was treating it, up to the point that it was suggested
> cyrus deliver was necessary to handle delivery to virtual_mailboxes.

One example configuration does not exclude other possible
configurations.


> 
>>
>> The choice of lmtp vs. pipe as a delivery transport has no direct
>> effect on the choice of a local domain vs. a virtual mailbox domain.
>>

> To clarify this for me.  Given that I am constrained to use cyrus-imap
> for final delivery to the users' mailbox, if lmtp is the desired value
> for mailbox_transport when using cyrus then does this extend to
> virtual_transport as well?  In other words, if using cryus-imapd
> should virtual_transport = lmtp as well?  If not then why not?

A postfix "transport" is simply an entry in master.cf.  Several are
provided in the default master.cf and you're free to define other
transports as needed.

The main.cf virtual_transport parameter specifies which transport --
which entry in master.cf -- should be the default delivery mechanism
for virtual_mailbox_domains.  It can be anything that makes sense in
your situation.

Assuming your cyrus lmpt is listening on a unix socket
/some/where/lmtp and a virtual mailbox domain, you would use
virtual_transport = lmtp:unix:/some/where/lmtp

http://www.postfix.org/postconf.5.html#virtual_transport
http://www.postfix.org/smtp.8.html
(the postfix lmtp transport is implemented within the smtp(8) program)



  -- Noel Jones

Reply via email to