This is a discussion on Re: sub_doms rejected by reject_unknown_sender_domain ? within the mailing.postfix.users forums, part of the Mail Servers and Related category; Voytek wrote: > I just noticed that my smtpd_recipient_restrictions is rejecting valid > senders when the sender is a sub ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Voytek wrote:
> I just noticed that my smtpd_recipient_restrictions is rejecting valid > senders when the sender is a sub domain of a proper domain, so, mail from > ve@domain.tld is accepted, yet, mail from ve@a_host.domain.tld is knocked > back with > 'Sender address rejected: Domain not found' > > smtpd_recipient_restrictions = > ... > reject_invalid_hostname, > reject_non_fqdn_hostname, > reject_non_fqdn_sender, > reject_non_fqdn_recipient, > reject_unknown_sender_domain, > reject_unknown_recipient_domain, > ... > > what am I missing ? > Then please stop adding restrictions you don't need. reject_unknown_sender_domain means what it says. if you don't need it, don't use it. don't think that aligning all the access(5) keywords is gonna help you get safe. btw, there's rarely any valid reason to use reject_unknown_recipient_domain. This was explained in recent threads for the one who can follow:) Some of the restrictions are for special use, and shouldn't be added unless you really need them. so start with a simple set and add restrictions step by step. Of course, always keep relay controlled. that's the only thing you need to keep in mind. good luck. |