understanding e-mail server amavis
Hi,
I'm trying to understand how to set up an e-mail server. I did it, to some extent. Someone told me to install postfix, dovecot, amavis, spamassassin and clamav. But I still don't understand what amavis does exactly, or to be more specific, what it does and spamassassin + clamav doesn't. Could you explain and/or point me to some references? It seems awfully complicated, given how many daemons are involved in setting up an e-mail server. Following a tutorial, I also installed procmail, which I'm not even sure it does its job of moving mail automatically to the Spam folder. I created the recipe and when sending a spam test, it didn't seem to work (checked in the linux cli, without dovecot basically), but when I connected through an e-mail client (having configured dovecot), the mail was automatically moved to a spam folder. I'm not even sure if the e-mail client or procmail did that :) |
Quote:
Quote:
It uses postfix and amavisd, along with other tools that makes administration easy through a web interface Regards |
Well, I wanted first to understand how things work at a 'basic' level, as it were. The classical way, as it were. Even if it's harder, I want to see how it behaves exactly, the logs and so on.
I know amavis is not an e-mail server, never thought it was. But I don't understand exactly the relationship between amavis and spamassassin + clamav. When I read about amavis, it says that it filters spams, viruses and so on. Then my obvious question is, what do the other daemons to, then? |
Quote:
In a default setup it accepts mail and after doing its tests it passes it to the real MTA To check email for viruses it connects to the socket of a running clamd instance (this is done for speed). If mail is infected it goes to quarantine, else it goes to the next step (spam check or delivery) Spam filtering is not mandatory, but if you enable it, amavisd will use spamassassin for this You may see the diagram here to better understand the email flow in a mailserver using amavisd Regards |
Quote:
|
Quote:
Besides while spamassassin is designed to be used by an email system, clamav is an antivirus, so it needs some more things to work with emails (like a milter or something). Amavisd is doing this transparently, so you don't need to bother. Regards |
All times are GMT -5. The time now is 09:20 AM. |