Hi, I followed http://www.howtoforge.com/virtual-users-and-domains-with-postfix-ubuntu-7.10 this how to create a mail server (without amavisd-new, SpamAssassin, and ClamAV) and it works great! What I'd like to do is, to add the functionality to REJECT mail from specific e-mail adddresses. Is there an easy way to add a table to existing mysql database with e-mail addresses so that postfix rejects as soon as it see it? Thanks much!
Take a look here: http://www.akadia.com/services/postfix_uce.html http://www.postfix.org/uce.html http://www.postfix.org/header_checks.5.html
Actually, the functionality that I'm looking for is: Current setup: I have setup virtual mail system for the domain example.com following your guide. I have also registered domain1.com, domain2.com and aliased all the users on domain.com to domain1.com, domain2.com etc using the forwarding table: source destination ------- ---------- @domain1.com @domain.com @domain2.com @domain.com @domain3.com @domain.com so if I send a mail to [email protected] it is delivered to [email protected] and so on. The functionality I'm looking for is, if any one sends an e-mail to [email protected], I'd like to REJECT the e-mail but accept [email protected] to be delivered. How can I accomplish this... Thanks much