Dear Postfix Group,

we have the problem that some Microsoft applications supply an empty sender. Given that the client is SMTP authenticated we would like to allow empty senders (mail from: <>).

Here are our restrictions:

smtpd_sender_restrictions =
        #check_sender_access mysql:...,
        check_client_access hash:...,
        check_recipient_access hash:...,
        check_sender_access mysql:...,
        permit_mynetworks,
        reject

smtpd_recipient_restrictions =
        #check_sender_access mysql:...,
        check_client_access hash:...,
        check_recipient_access hash:...,
        reject_non_fqdn_recipient,
        permit_mynetworks,
        check_client_access hash:...,
        permit_sasl_authenticated,
        reject


As you can see there are some mysql queries. The query that was commented out returned "PERMIT" for empty senders, but still Postfix rejected when using those rules.

The funny thing is that from localhost, supplying an empty sender is no problem at any time, while from external clients it seems to be impossible...


Best regards,



Eddy

Reply via email to