Virtual Users and Domains With Postfix...forwarded messages and spam filtering
I've set up a Debian Sarge server using the famous how-to. It works correctly.
I have some users that want their mail forwarded to another address, like comcast or aol or verizon.
So, I would just put the needed info into the MySQL forward table.
joeshmoe@domain_I_am_hosting gets forwarded to firstname.lastname@example.org
When mail is sent to joeshmoe@domain_I_am_hosting
will it be processed by spamassassin? Or will it be immediately forwarded?
My guess is it will be immediately forwarded.
The spam gets forwarded as well and comcast will blacklist my server because it looks like my server is sending spam.
If this is the case, it looks like I may need to do the Mailfilter how-to:
But I'm not sure how to force forwarded emails to be processed by spamassassin.
I'm totally unfamiliar with MailDrop.
I currently run an Ensim server with about 50 domains and 400 users and I really want to get away from Ensim. I want to have email and web hosting on separate servers. I got blacklisted twice this month by comcast, because many users forward their email to their comcast accounts. I was able to work around this by modifying .procmailrc files, to force spamassassin to process the emails before being forwarded.
You can run
OK I tested it today.
There's an example of a Maildrop filter near the end.
I think I can tweak this filter to suit my needs.
Now I just need scripts to easily setup + remove users...
I think you can configure this in the amavisd.conf file and dont have to switch to maildrop.
Have a look here for example:
I think amavisd.conf operates globally.
I need to do this only for a few users.
For other reasons, I think I need MailDrop.
1. Spam settings on a per user basis. Some users do better with a spamassassin score of 3.0 versus the default 5.0.
2. Some users want spam to go to /dev/null and not clutter their inbox.
3. But others want it the way it works by default:
* Deliver everything to the inbox
* Mark spam with ***SPAM***
* Spamassassin at default 5.0
4. Users can manage their own spam settings, with SquirrelMail plugins.
So I think I need to go with maildrop unless there is a way to configure the postfix virtual delivery transport to do this.
Take a look here: http://www.howtoforge.com/postfix_mailfilter
|All times are GMT +2. The time now is 18:12.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.