You should check master.cf, maybe you have some commands below services which overrides main.cf.

W dniu 2016-11-21 o 21:17, Wietse Venema pisze:
Gerben Wierda:
On 21 Nov 2016, at 17:33, Wietse Venema <wie...@porcupine.org> wrote:

Gerben Wierda:
smtpd_recipient_restrictions =
        permit_sasl_authenticated
        permit_mynetworks
        reject_unauth_destination
        reject_unknown_recipient_domain
        reject_unverified_recipient
You may want to look at these settings (defaults shown):

    unverified_recipient_defer_code = 450
    unverified_recipient_reject_code = 450
    unverified_recipient_reject_reason =
    unverified_recipient_tempfail_action = $reject_tempfail_action
    reject_tempfail_action = defer_if_permit
from postconf:

address_verify_map = btree:$data_directory/verify_cache
unverified_recipient_defer_code = 450
unverified_recipient_reject_code = 450
unverified_recipient_reject_reason =
unverified_recipient_tempfail_action = $reject_tempfail_action
reject_tempfail_action = defer_if_permit

I suspect that you're hitting a cached defer_if_permit response.
Actually, the stored info is one of {accepted, deferred, rejected}.
I cannot quickly locate the code that uses the
unverified_recipient_tempfail_action setting.

Or should I just have to add to main.cf:
unverified_recipient_reject_code = 550
and do a reload?
Yes, you probably want to reject mail immediately.

Another question. The phrase ?Reject the request when mail to the
RCPT TO address is known to bounce, or when the recipient address
destination is not reachable.? leads to some confusion for me.
Does ?not reachable? also include temporary failures?
Temporary failure means that the answer is not known. When making
an irreversible decision (like permanently rejecting mail), Postfix
is quite insistent on making the distinction between having and not
having authoritative information.

        Wietse



--
Pozdrawiam
[name] Mariusz Piasecki
[job] System Administrator
[e-mail] mariusz.piase...@extranet.pl
[office] +48 56 61-97-520
[fax] +48 56 56 61-97-518
[www] http://www.extranet.pl


===============================
Jeżeli nie jest Pani/Pan adresatem tej wiadomości prosimy o poinformowanie 
nadawcy o jej otrzymaniu oraz niezwłoczne usunięcie treści wiadomości.   Ta 
wiadomość może zawierać informacje poufne.
Uprzejmie informujemy, iż kopiowanie, ujawnianie, dystrybuowanie, udostępnianie 
lub inne wykorzystywanie wiadomości jest zabronione i może rodzić konsekwencje 
prawne dla osoby naruszającej zakaz.

Reply via email to