# Postfix: ciekawy problem z smtpd\_delay\_reject i permit\_sasl\_authenticated

DevFeed: [Postfix: ciekawy problem z smtpd\_delay\_reject i permit\_sasl\_authenticated](<https://devfeed.tech/articles/postfix-ciekawy-problem-z-smtpd-delay-reject-i-permit-sasl-authenticated-27584.md>)

Original publisher: [Read original article](<https://gagor.pro/2013/10/postfix-ciekawy-problem-z-smtpd_delay_reject-i-permit_sasl_authenticated/>)

Author: Tom

Published: 2013-10-08T00:00:00Z

Content type: tutorial

Language: pl

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [SSL](<https://devfeed.tech/topics/ssl.md>), [client](<https://devfeed.tech/topics/client.md>)

Tags: [debug](<https://devfeed.tech/tags/debug.md>), [linux](<https://devfeed.tech/tags/linux.md>), [postfix](<https://devfeed.tech/tags/postfix.md>), [sasl](<https://devfeed.tech/tags/sasl.md>), [smtp](<https://devfeed.tech/tags/smtp.md>), [ssl](<https://devfeed.tech/tags/ssl.md>)

## AI overview

A troubleshooting article about a Postfix configuration problem involving smtpd_delay_reject and permit_sasl_authenticated. Changing the restriction ordering resolved authentication failures for SSL SMTP submissions, and the author also addressed a user-spoofing issue.

## Source excerpt

Trafił mi się ostatnio ciekawy problem - otóż standardowo przed końcem roku poprawiałem filtry antyspamowe i optymalizowałem konfigurację Postfix'a. Chciałem zmienić domyślną wartość smtpd_delay_reject=yes na smtpd_delay_reject=no by odrzucać spamerów najwcześniej jak to możliwe. I ciekawe kuku, które sobie zrobiłem polegało na tym że sam nie mogłem wysyłać poczty po logowaniu SSL'em... Dostawałem przy tym bardzo wymowną odpowiedź: Oct 8 16:30:39 tyr postfix/smtpd[21039]: NOQUEUE: reject: CONNECT from unknown[67.x.x.x]: 554 5.7.1 <unknown [67.x.x.x]>: Client host rejected: Access denied; proto=SMTP</unknown> Więc wrzuciłem debug_peer_list = 67.x.x.x do main.cf by zobaczyć dokładniej o co biega: