Hi, I am using ISPConfig as my email server and ftp in production right now. Using version 2.1.2. Thinking on upgrading to 2.3.1 but later on. What i would like to know is how to block certain domains using spamassassin. I followed the setup for the perfect fedora core 4 with ISPConfig. I would appreciate help in how to do this, thanks. Luis
you could change the recipient restrictions in the postfix config to and add this: Code: check_sender_access hash:/etc/postfix/sender_checks, The sender_checks file could look like this: Code: # This file must be "compiled" with "postmap" # Using a domain name example.tld 554 Spam not tolerated here discardmail.com 554 Spam not tolerated here izmail.serveftp.net 554 Spam not tolerated here [email protected] REJECT # Maybe example2.tld is on a DNSbl, but we want to let their # email in anyway. example2.tld OK # We get lots of spam from example3.tld, but we have somebody # there from which we do want to hear [email protected] OK example3.tld REJECT and when you have the file the you need to "convert" it do a db --> postmap sender_checks
But will this still work with this version of ISPConfig or do i see myself upgrading? Is there another way that it needs to be done in ISPConfig?? Thx.
As bschultz said, the new ISPConfig version allows you to do it through the web interface. So upgrade to 2.2.6, and don't change anything on the command line.