Postfix, Spamassan, RoundCube - Per Domain Rules & Filtering


SpamAssassin is setup and things are marked as *****SPAM***** based on filter settings.

We want the following solutions:


We've got to get rid of the obvious spam upfront, before it hits the client:


1) Filter using SpamAssassin on a light setting such as 10, that deposits anything returned as *****SPAM***** in a mysql database.

2) The SPAM messages saved in step 1) must be able to be viewed via a login of their email address and password. This will allow an account holder to see if their message was filtered in advance by our server. We must use the same authentification used by Postfix so we know we've got someone allowed to view this. They may then see if we've filtered their legit message as spam.

This solution is needed for two reasons. First it gets rid of spam BEFORE the client has down download it. This will reduce bandwidth needs. Second, if a customer complains of not getting a specific message, we can if needed, verify if we've filtered it.

Whatever is used here, there must be a superadmin variable that allows our admin to set 'Purge Spam Older Than' setting to stop the database from getting clogged with spam. Perhaps even a 'Purge if more than XXX Records' is important in case we get a flood of spam in a short period of time that is pre-filtered using this solution.

This purge could be run from a cron job or a button within that php file.

3) Any time a new email account is created, a folder called SPAM should be created in addition to their normal inbox, drafts, sent and trash. This will be used in the ROUNDCUBE solution below.



1) Every RoundCube client will already have a folder called SPAM created in step 3 above. Spam that makes it past the admin postfix spam filtering will go here.

2) Any email that comes in marked *****SPAM***** should automatically be sent to that SPAM folder.

3) Any email in any account holders SPAM box that is older than 30 days old should be automatically purged. This is separate from the 30 day setting in the Postfix area.


If you are not an expert in postfix, roundcube and spamassassin with a good feedback score, do not respond to this posting as I cannot consider you further



Jay Lepore


Skills: Apache, Linux, PHP

See more: spamassan, postfix filter per domain, roundcube superadmin, filter rules roundcube, we ve sent you an email, spam button, server domain, roundcube admin, old second, inbox login, got light, get more hits, postfix spam filter roundcube, roundcube rules, postfix filtering per domain, using spamassassin roundcube, respond to feedback, old messages, rules, roundcube, postfix, old domain, JAY, flood, domain email

About the Employer:
( 57 reviews ) Anacortes, United States

Project ID: #556762

9 freelancers are bidding on average $411 for this job


please check PMB for details.

$450 USD in 10 days
(70 Reviews)

We are your guys, PHP experts and lot of years of experience in network administration. Postfix as MTA, RoundCube as webmail, etc. We are seriously people that like project like this one, with a little of research befo More

$350 USD in 15 days
(19 Reviews)

Hi, i have seen all the details of the project.i can do this project very [url removed, login to view] more details you can see the PM. Thanks Regards WebMedia Experts

$300 USD in 4 days
(16 Reviews)

Hi, i have more than 8 years of linux/apache experience, i manage many email servers, all of them with postfix, also i manage a couple of roundcube installs. thanks!

$400 USD in 5 days
(4 Reviews)

Please check PM.

$400 USD in 0 days
(8 Reviews)

Hi..I can setup a Mail server of this nature in no time. I have experience in Ubuntu/Debian Server setups.

$600 USD in 1 day
(2 Reviews)

hey there, please check your pm

$400 USD in 5 days
(0 Reviews)

I could provide you with a very clever and light solution about this. I have many e-mail servers hosted like this and they work just fine with spamassassin and roundcube. It does not matter if it is postfix or whatever More

$300 USD in 4 days
(0 Reviews)

Hi, I am system [url removed, login to view] complete your request.

$500 USD in 7 days
(0 Reviews)