David Cottle wrote:
If I move my check_xxx routines to the smtpd_data_restrictions, is this still called up as a check_sender_access?

Yes, it's still using the sender address for the lookup, so it still needs to be check_sender_access.


So I also assume that smtpd_data_ restrictions does what it does now in smtpd_client_restrictions with the additional sender verification callbacks?

No, it just delays that check until the connecting client sends the DATA command. Clients that do sender verification will disconnect before they send the DATA command, so they will still be able to verify your senders.


Also no need running a whitelist in smptd_data_restrictions as my routines only look for <>, postmaster and MAILER_DAEMON

You may still need a whitelist; just reuse the same one.

--
Noel Jones

Reply via email to