Postfix blacklist not working?

Discussion in 'Installation/Configuration' started by Thommy, Dec 22, 2024.

  1. Thommy

    Thommy New Member

    Hi there,
    I´m running ISPConfig latest version on a Debian 12 VPS, hosted by Hetzner. The machine got installed with the howto of the perfect server method. After setup I did a migration, using the ISPConfig migration tool.
    (Hint @till : Using the migration tool does not migrate old blacklist entries. Bug or feature?)

    Since there´s a couple of spammers I intentionally blacklisted using the postfix blacklist, I´m currently wondering why the blacklist isn´t working at all: Emails are still accepted from senders which are blacklisted. At least my Thunderbird marks them spam and sorts them to Junk. However: I thought the blacklist will cause any kind of "friendly" hardbounce from postfix, telling the sender "you´re not welcome here".

    So what I did in ISPConfig is, to put the senders mailaddress to the list of postfix-blacklisted senders. Am I wrong with this? Are there any logfiles I can check why blacklists are not used?

    Thanks for any hints.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Postfix blacklist works fine here, so there is no general issue with that. Have you double-checked that you used the right from address (check the mail header of the received email to be sure) and that you selected "sender" in the type field?
     
    ahrasis likes this.
  3. Thommy

    Thommy New Member

    yes I did. copied the address from thunderbird mail, put it to the field, selected "sender" and hit "save": address is already active at postfix blacklist.

    maybe my expectations are wrong, whereas the sender will recieve a bounce message from my mailserver?!

    Are such emails still accepted, but then delivered to the recipient as spam? as mentioned: I expect any kind of bounce message.
     
  4. wayose

    wayose New Member

    Ensure that the blacklisted senders are correctly added to the Postfix Blacklist in ISPConfig. Double-check that Postfix is configured to reject blacklisted senders and check the mail logs (/var/log/mail.log) for any errors or misconfigurations. If the blacklist isn’t being triggered, it could be due to an issue in the Postfix configuration or because Thunderbird is marking the emails as spam locally rather than Postfix rejecting them outright. Check the logs for any rejection entries to confirm that Postfix is properly handling the blacklist.
     

Share This Page