block outgoing domain

Discussion in 'General' started by xzibiz, May 6, 2015.

  1. xzibiz

    xzibiz New Member

    Hi
    i have an ispconfig 3 server running with mail, web and sql.
    Today I got an mail delivery failure from one of my clients. And my server is blocked by spamhaus.org.
    there is one email domain that is in use to spam to many email adresses. How can i block this domain from being used?
    I've tried blacklist domain (client and sender), and inserted the domain in /etc/postfix/sender_access. But no luck. There is no email sent now, everything goes into mailque. 10 emails every minute.

    What to do?
     
  2. florian030

    florian030 Well-Known Member HowtoForge Supporter

    Normaly create a file with "domain.com REJECT", insert this file to smtpd_recipient_restrictions, postmap the file and reload postfix.
     

Share This Page