Eric Cunningham a écrit :
> Thanks Victor.  Ok, so I:
> 
>     - removed .$mydomain from $mydestination
>     - have set relay_domains = $mydestination, $mynetworks

do not do that. mydestination is for domains that should be delivered
locally. mynetworks have nothing to do with reception domains.


>     - have set parent_domain_matches_subdomains to it's default
>     - have added permit_mx_backup to smtpd_recipient_restrictions
>     - set permit_mx_backup_networks = $mynetworks
> 
> but I'm still unable to have email accepted for MX'ed hosts or those
> hosts listed in my transport file due to "Relay access denied." 

you must understand that transport_maps is for routing. this doesn't
make mail acceptable.

for postfix to accept mail for a domain (from anywhere), the domain
needs to be found in one (and only one of):
- mydestination  (this is for mail delivered to a unix account)
- relay_domains  (this is for mail passed to another MTA)
- virtual_mailbox_domains  (this is for mail delivered to a "virtual" user)
- virtual_alias_domains (this is for mail rewritten to another address
in another domain)



> Which,
> of these, or any other parameters, should I focus on to correct the
> denial?  I've attached a fresh postconf -n for a more detailed & updated
> picture.
> 
>[snip]

Reply via email to