On 3/12/2015 5:50 PM, Rod K wrote:
> On 3/12/2015 6:35 PM, Noel Jones wrote:
>> On 3/12/2015 5:28 PM, Rod K wrote:
>>> I'm currently configuring a new server using Postfix/Dovecot.  My
>>> previous experience is with Courier and I've been using Postfix's
>>> virtual lda.  I want to start using dovecot-lda.
>>>
>>> Here's the issue, I have several external forwards such as
>>> joeb...@internal.tld > joeb...@external.tld where external.tld is
>>> NOT hosted by me obviously.  Of course, I also have internal
>>> aliases/forwards as well (janeb...@internal.tld >
>>> someonee...@internal.tld and joe...@internal.tld >
>>> joe...@anotherinternal.tld)  Utilizing postfix virtual lda this
>>> wasn't an issue, both internal and external forwards/aliases worked
>>> fine.
>>>
>>> If I understand Dovecot lda correctly, I need to rewrite internal
>>> forwards/aliases before sending to Dovecot AND I need to have
>>> external forwards sent to Postfix virtual and this is the part I'm
>>> not clear on.  Unless I've missed something there doesn't seem to be
>>> a way to define transport on a per address basis.  Or am I totally
>>> thinking about this the wrong way?
>>>
>>> Thanks
>> Put your local and external aliases in virtual_alias_maps (*NOT*
>> virtual_alias_domains) and it will work fine.  No need to muck
>> around with the postfix virtual transport.
>>
>>
>>
>>    -- Noel Jones
> That's what I initially thought.  However, wouldn't external
> forwards still get passed to Dovecot which then couldn't deliver?

No, of course not.  External domains are delivered via the smtp
transport.

This assumes a fairly normal postfix installation, with dovecot
domains listed in virtual_alias_domains, and valid users in
virtual_mailbox_maps.
http://www.postfix.org/ADDRESS_CLASS_README.html




  -- Noel Jones

Reply via email to