Mark Martinec wrote:
> Jona,
> 
>> I'm planning to set up a personal spam filtering gateway. It should
>> collect mail from several remote POP servers, scan them through amavis
>> and make them available through an IMAP server.
>> I managed to figure out how to configure every piece of software
>> involved, there is only one step that causes a bit of trouble. In fact
>> there is no need for any MTA in this setup. Amavis will get the mail
>> from fetchmail using plain SMTP and should pass it to dovecot.
> 
> What Gary suggested would be a preferred setup.
> 
> Its benefits are:
> - fetchmail is decoupled from content filtering, mail gets brough-in
>   even when amavisd is down or in trouble for some reason;
>   fetchmail retries (which may be problematic) are avoided;
> - amavisd is able to send notifications (DSN, admin notifications)
>   to a local MTA which is always available (otherwise the mail fetching
>   would need to be re-tried);
> - if mailbox is in trouble (e.g. disk full, over quota), mail stays
>   in local MTA queue, no need for repeated fetchmail attempts.

I hadn't thought about fetching failures. I wanted the whole thing to be
lightweight because it should run on a 300MHz Pentium II with limited RAM.
On top of that I wanted to avoid a complex postfix setup because I don't
have a lot of experience in configuring it. Postfix will have to do 3
different tasks: receive mail from fetchmail and transmit it to amavis,
receive scanned mail by amavis and store it in MailDir, and transmit
outgoing mail to the ISP mail server. If postfix stores mail in the
MailDir format there is no need for procmail but I will have to teach it
to store mail from different accounts to one single place.
I will have to add some RAM to the machine and study the postfix
documentation a bit more.

Thanks for your answers!

Jona

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to