|Main Archive Page > Month Archives > postfix-users archives|
Le 08/10/2010 21:30, Victor Duchovni a écrit :
> On Fri, Oct 08, 2010 at 05:38:21PM +0200, Olivier BONHOMME wrote:
>> I am writing here because I have an issue trying to use transport_maps with
>> a domain which is declared as VIRTUAL.
> You fail to distinguish between virtual_alias_domains and
> virtual_mailbox_domains. Which is it?
Sorry : it is virtual_mailbox_domain.
>> Now i would want this step : Redirect a specific account email@example.com
>> from the MDA to another SMTP server but this account is not declared on the
> You can rewrite an account in a final (local, or virtual mailbox) domain
> to another domain via virtual_alias_maps. Postfix will then accept mail
> for the domain, and forward to the alternate mailbox.
So I have to create a dummy account to do that in order for the virtual
agent to accept the mail to be delivered ? But in that case, can I
declare a transport map in order to tell another smtp transport for this
account in order to avoid a local delivery ?
>> I wonder if it was possible to do this with the transport maps feature or
>> not. I tried to declare a transport_maps with "firstname.lastname@example.org
>> smtp:<my_other_smtp>" but postfix rejected me the mail telling me this
>> account is not a virtual mailbox (which seems to be logical).
>> The main objective is to redirect a specific address which is a mailing
>> list addres to the mailing list server without using a subdomain.
> To retain the address of the mailbox use "smtp_generic_maps" to undo
> the rewrite, as described in an earlier thread today about LDAP on
> MX hosts.
I am going to look at this setting.