View Single Post

  #5 (permalink)  
Old 11-22-2006
Greg Hackney
 
Posts: n/a
Default Re: Postfix and sasl-auth causing problems

Andreas Stallmann wrote:
> Hi!
>
> Greg Hackney wrote:
>> smtpd_recipient_restrictions =
>> reject_non_fqdn_recipient,
>> permit_mynetworks,
>> permit_sasl_authenticated,
>> reject_unauth_destination
>> smtpd_sasl_exceptions_networks = $mynetworks

>
> That fixed it! Thanx a lot,
>
> Andreas
>



You are confusing "canonical" with "alias".

canonical maps are used to rewrite individual recipient
addresses one by one, in the email headers, in order to make
the address syntax correct (address mapping). Examples:

canonical_maps:
@olddomain.com @newdomain.com

sender_canonical_maps:
user@machine.corp.mydomain.com user@mydomain.com

recipient_canonical_maps:
user@mydomain.com user@machine.corp.mydomain.com


Alias maps are used to redirect mail to one or more recipients.

More specifically, alias_maps are used when the domain name of
the original recipient is local, and virtual_alias_maps used
when the original recipient domain is either local or remote.

References:

man 5 canonical
man 5 aliases
man 5 postconf

--
Greg







Reply With Quote