Drop all mails to a specific address

Discussion in 'ISPConfig 3 Priority Support' started by Robert Heessels, Apr 1, 2019.

  1. Robert Heessels

    Robert Heessels New Member HowtoForge Supporter

    Is it possible to automatically drop/delete all mails send to a specific mail-address while having a catch-all at the same domain?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Should be possible by using a postfix header filter in ISPConfig and a mailbox filter in the mailbox should work as well.
     
  3. Robert Heessels

    Robert Heessels New Member HowtoForge Supporter

    In de Ispconfig manual, under Postfix blacklist (Email blacklist) it says:

    "
    smtpd_recipient_restrictions: SMTPD recipient restrictions will put restrictions on what messages will be rejected based on the recipient email address (RCPT TO:). Postfix will check whether the message sender (email address, domain, mail server) is included in the blacklist table
    "

    This is confusing. if I select "Recipient", does it reject all mails send to the addresses?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Not quite sure, you might want to try it. If not, use the methods I mentioned in my previous answer.
     

Share This Page