Mail Delivery / Amavis / Spamassassin etc
Mario Guerra
guerramarioalberto at gmail.com
Mon Nov 7 01:09:16 UTC 2005
It's a pleasure to help ypu about this. I've been installing a
Postfix/Spamassassin/Clamav/Amavisd-new in a number of servers and it
work great. Let's see:
2005/11/6, Steven Heimann <steven at heimann.com.au>:
> On Friday I took the leap and replaced our firewall at work based on
> RedHat 9.0? with Ubuntu 5.10. It went surprisingly smoothly.
>
> I seem to have postfix on the firewall working as a relay to our
> internal mail server (Lotus Domino) and Amavis-new working with Clamav
> and Spamassassin. Over the next few months I plan to migrate all the
> mail off the Domino server and onto Linux . (Domino is actually running
> on Linux but it is still proprietary and getting in the way of plans for
> improvement)
>
> In the past, although I have run Spamassassin on the firewall its
> effectiveness has been limited. I think this was because I didn't have
> the ability to integrate any sort of Bayesian analysis into the system
> because I couldn't get Spamassassin access to the Domino store. I
> simply took the delete any mail with a score over 7 strategy and used
> rules du jour occasionally.
>
> On the new mail server this shouldn't be a problem. I will transfer the
> spamassassin functionality from the firewall to the mail server so I can
> have users file the spam into local folders and run the Bayesian
> analysis. At the moment I have Spamassassin tagging the subjects of the
> email. I think this is a bad idea because that will affect the
> Spamassassin analysis.
>
> I have a number of questions.
>
> I haven't yet worked out how to integrate this analysis into the server.
> It appears Evolution is set up with this integrated. Is it better to
> let Evolution handle it? However, because I still have some Lotus
> clients I think I want to try to integrate this into the mail server.
>
1. As I said, the aforementioned combination works really great.
2. Regarding the Lotus clients, I undesrtand that they can access
directly an SMTP server. Configure them that way.
> I can't seem to find how the Ubuntu mail is delivered from postfix to
> the user. Is procmail used? How would I arrange for identified spam to
> be delivered to a separate folder in each users mail store?
>
1. The amavisd-new agent, which can be used by Postfix as a filter,
stores viruses and spam in a directory like
/var/lib/amavis/virusmails. Procmail is not used for this, amavisd-new
in in charge of this. If you want to manage this, I'd suggest to
change that directory to something in your home directory in your
amavisd-new configuration.
2. Another possibility is to use SpamAssassin as a local user and
store it somewhere in your home directory. In this case, you can use
Procmail, which is used for distribute local mail.
--
Mario A. Guerra
San José, Costa RIca
More information about the ubuntu-users
mailing list