NOQUEUE: reject: RCPT from unknown

mailscanner at barendse.to mailscanner at barendse.to
Thu Aug 19 09:16:58 UTC 2021


I'm trying to figure out why some cannot send email.

In my postfix main.cf I have :

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated 
defer_unauth_destination

smtpd_helo_required = yes
smtpd_helo_restrictions =
     permit_mynetworks
     permit_sasl_authenticated
     check_helo_access hash:/etc/postfix/helo_access
     reject_invalid_helo_hostname
     reject_non_fqdn_helo_hostname
     reject_unknown_helo_hostname

smtpd_sender_restrictions =
    permit_mynetworks
    permit_sasl_authenticated
    reject_unknown_sender_domain
    reject_unknown_client_hostname
    reject_unknown_reverse_client_hostname

Some mail gets rejected with :

Aug 18 14:01:26 gw1 postfix/smtpd[171903]: NOQUEUE: reject: RCPT from 
unknown[95.97.58.162]: 450 4.7.25 Client host rejected: cannot find your 
hostname, [95.97.58.162]; from=<xxxxxxx at mijnders-transport.nl> 
to=<xxxxxxxx at xxxx.com> proto=ESMTP helo=<mijnders-transport.nl>

But then when I do :
host 95.97.58.162 
162.58.97.95.in-addr.arpa domain name pointer smtp.mijnders-transport.nl.

I already added the domain to helo_access, where am I going wrong?


More information about the MailScanner mailing list