On 12/6/2019 10:27 AM, Peter Fraser wrote:
Hi All

I finally found some information and I admit I am wondering how to get all the features I want working. I saw a response that suggested that recipient_restrictions will only work when the email goes through the smtpd daemon since the *reject_unverified_recipient* setting is found in the *smtpd_recipient_restrictions*. That does seem to make sense. I have mailman on the box and opendkim both working and I would love if I could also get recipient verification working. Not sure what else to do. Really would appreciate some assistance. Thanks in advance.

Regards

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

*From: *Software Info <mailto:softwareinfo...@gmail.com>
*Sent: *Monday, December 2, 2019 5:55 PM
*To: *postfix-users@postfix.org <mailto:postfix-users@postfix.org>
*Subject: *Unverified Recipients

Hi All

I am trying to set up Unverified Recipients on Postfix postfix-3.4.8,1 on FreeBSD. I configured a cache file for the unverified addresses. I reloaded postfix but I am not seeing any file in the location I specified in the address_verify_map parameter. I cannot seem to figure out why. Please note my relevant settings below. Any help would be appreciated.

#Verify Settings
address_verify_map = btree:/var/db/postfix/verify
unverified_recipient_reject_reason = Address lookup failure

smtpd_recipient_restrictions =
    reject_non_fqdn_recipient,
    reject_unknown_recipient_domain,

    check_client_access hash:/usr/local/etc/postfix/internal_networks,

What does this map do?

   check_sender_access hash:/usr/local/etc/postfix/not_our_domain_as_sender,

What does this map do?

    permit_mynetworks,

Is all mail from $mynetworks? ie. no outside mail?


    reject_unauth_destination,

Is there any mail left here? ie. did it all get rejected or permitted by the above rules?


    reject_unknown_client_hostname,

Careful; the above is a very strict rule and likely to reject legit mail.

    reject_unknown_reverse_client_hostname,
    reject_rbl_client zen.spamhaus.org <http://zen.spamhaus.org>,
    reject_rbl_client cbl.abuseat.org <http://cbl.abuseat.org>,
    reject_rbl_client dul.dnsbl.sorbs.net <http://dul.dnsbl.sorbs.net>,

Please send plain text so the html markup doesn't bugger up the message as above.

    reject_unverified_recipient,

I'm guessing no mail makes it this far.

    permit







  -- Noel Jones

Reply via email to