Quoting Jason Parsons <[EMAIL PROTECTED]>:

> I am trying to "alias" one domain to another.  That is, any mail sent
> to [EMAIL PROTECTED] will be delivered instead to [EMAIL PROTECTED]
> 
> I have tried following the instructions from lifewithqmail-ldap,
> converting to ldap-control syntax.  I haven't been quite successful at
> this point.
> 
> The instructions say to set up virtualdomains like
> 
>    example.com:example.com
> 
> Then, add a file alias/.qmail-mail:domain:com-default containing
> 
>    |/var/qmail/bin/forward $[EMAIL PROTECTED]
> 
> I'm not quite sure how to best do this under qmail-ldap-control.

Enter the domain name (example.com in this case) in the 'locals' 
(and maybe 'rcptHosts') attributes. Then add 

        mailAlternateAddress: [EMAIL PROTECTED]

to the user that's to have all mail's to example.com...
-- 
Iran critical explosion Legion of Doom pits NSA SEAL Team 6 ammonium
tritium bomb assassination Ft. Meade Soviet AK-47 Rule Psix
[See http://www.aclu.org/echelonwatch/index.html for more about this]

Reply via email to