Outgoing spam filtering issue

Discussion in 'Installation/Configuration' started by MisterRichard, Aug 30, 2021.

  1. MisterRichard

    MisterRichard Member

    Hi Everyone,
    Recently, my outgoing spam filter has decided that the invoices I send out of MYOB (pdf attachments) are above the spam threshold and are deleting about half of them before they get sent.

    Delving into the spam filtering, under 'spamfilter -> whitelist'
    It appears I can only whitelist emails being sent to addresses on my own ispconfig system.

    How can I whitelist an email address for any outgoing email address ?
    Can I disable outgoing spamfilter per domain ?
    Can I disable outgoing spamfilter altogether ?

    Thanks in advance,

    Richard
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Put the sender email address (your (from) address that you use to send the emails) in the whitelist.
     
  3. MisterRichard

    MisterRichard Member

    Hey Till,
    Thanks for your response :)
    We are talking about the spamfilter -> whitelist ?
    If so,
    There is a pull down menu (user) with a list of email 'users' on the system, then in the next row below , an 'email' row.
    Which was what I exptected, however it worked opposite to what I thought.
    Watching the logs, I need to have the 'user' (me the sender) in the 'email' row with @mydomain.com.au
    then above that, the person I am sending to, (on my system, but I am thinking there should be some for this to be a wildcard ?) for amavis to show a '-' (meaning unscanned) in the logs.
     
    Last edited: Aug 30, 2021
  4. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    I believe you can add a Spamfilter user for the recipient email or domain, and set Local to No, then you'll be able to add a whitelist entry for them. So that could potentially be a lot of whitelist entries, or just one for the recipient domain. I don't believe you can just whitelist a sender outright in amavis.

    With rspamd I think you can add a "postfix whitelist" entry of type sender and it will also whitelist in rspamd. If not, it's working in a merge request and will make it into main ISPConfig soon, but it might already be supported.
     
  5. recin

    recin Member

    But does spamfilter black/whitelists work at all? They doesn't work for me in 2 servers since rspamd is working, and I found some threads with same problem.
    Postfix global filters works but postfix whitelist is useless because, yes, postfix lets you send or receive the mail, but it goes to your rspamd, who marks it as spam anyway.
    I have to config rspamd multimap module in order to have working black and white lists, but I have to use it from rspamd GUI.
     
  6. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Just a note to watch release notes in future version update, as ispconfig will configure the multimap module and you could lose customizations to your multimap config file.
     
  7. recin

    recin Member

    Does this mean we will can set white/blacklist to rspamd through ispconfig GUI instead of rspamd?
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If the next version release notes so state, then yes.
     
  9. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    From memory, I think the Postfix white/black lists are also added in rspamd in current nightly builds, and the spamfilter white/blacklists will be added via the multimap module in the future.
     

Share This Page