On 12/21/2015 11:38 AM, Alex wrote: > Hi, > I have a postfix-2.10 fedora22 system and having trouble with my > sender checks. I have a domain that is sending mail with an invalid > hostname. The temporary solution is to add a check_sender_access > entry, but I must be doing something wrong. > > Dec 21 12:30:16 mail02 postfix/smtpd[1560]: NOQUEUE: reject: RCPT from > mailout.example.com[64.123.123.200]: 450 4.1.8 > <u...@invalid.example.com>: Sender address rejected: Domain not found; > from=<u...@invalid.example.com> to=<notificat...@mydomain.com> > proto=ESMTP helo=<mailout.example.com> >
First, sending mail with an invalid envelope sender is a very bad idea. Much better to either fix the domain name or fix the sender. > I had previously had the following: > > *@invalid.example.com OK For hash: access tables, the correct line is (assuming the default value of parent_domain_matches_subdomains): invalid.example.com OK See the access table documentation, pattern search order section for details. http://www.postfix.org/access.5.html -- Noel Jones