On Wed, 10 Mar 2021, Wietse Venema wrote:

Markus E.:
Hello!

I just noticed my servers replies with a 454 (instead of 554) when a bot
checks for an open relay. Here's one exameple:

Mar 10 08:53:46 mx1 postfix/smtpd[16747]: connect from 
xxx.fesersglobal.com[45.85.90.xxx]
Mar 10 08:53:51 mx1 postfix/smtpd[16747]: NOQUEUE: reject: RCPT from 
xxx.fesersglobal.com[45.85.90.xxx]: 454 4.7.1 <spam...@tiscali.it>: Relay access denied; 
from=<spam...@tiscali.it> to=<spam...@tiscali.it> proto=ESMTP helo=<WIN-CLJ1B0GQ6JP>
Mar 10 08:53:52 mx1 postfix/smtpd[16747]: disconnect from 
xxx.fesersglobal.com[45.85.90.xxx] ehlo=1 mail=1 rcpt=0/1 rset=1 quit=1 
commands=4/5


smtpd_relay_restrictions, I presume?

        Wietse


Hi Wietse and others,

smtpd_relay_restrictions is emty, i.e. using the defaults.

From the manual "Either the smtpd_relay_restrictions or the
smtpd_recipient_restrictions parameter must specify at least one of the following restrictions. Otherwise Postfix will refuse to receive mail: reject, reject_unauth_destination defer, defer_if_permit, defer_unauth_destination"

I do have reject_unauth_destination in smtpd_recipient_restrictions, and relay_domains_reject_code is not set, so default code would be 554?

I'm a bit lost here to be honest. Any more clues?

-me

Reply via email to