Postfix BlackList - Added and still being delivered, work around?

Discussion in 'Installation/Configuration' started by DDArt, Mar 24, 2023.

  1. DDArt

    DDArt Member

    I have the following scenario.
    Single server.
    ISPConfig -> Email -> Postfix Blacklist -> added domain there.
    I even tried 3 entries.
    1. [email protected]
    2. [email protected]
    3. domain.tld
    They are all marked as sender, email still come in 2 days after.

    I checked /etc/postfix/main.cf for, smtpd_recipient_restrictions
    Code:
    "smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_recipient_domain, reject_unlisted_recipient, permit_sasl_authenticated, reject_non_fqdn_recipient,>"
    I ran, postconf smtpd_sender_restrictions
    Code:
    smtpd_sender_restrictions = permit_mynetworks, check_sender_access proxy:mysql:/etc/postfix/mysql-virtual_sender.cf, permit_sasl_authenticated, reject_non_fqdn_sender, reject_unlisted_sender
    Is there anything I can check why it's not working or add something to check or can I do manually add a reject list like
    Code:
    smtpd_recipient_restrictions =
        check_recipient_access hash:/etc/postfix/recipient_access
    Create a new file called /etc/postfix/recipient_access and add the domain I want to block to the file in the following format,
    With, postmap /etc/postfix/recipient_access, postconf smtpd_recipient_restrictions, and finally with, service postfix restart.

    I would rather do it Out of Box and not have to go this route.

    Thanks,
     

Share This Page