Difference between revisions of "Amavis"

From ArchWiki
Jump to: navigation, search
(starting the daemon)
(some style fixes, see Help:Style)
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:Mail Server]]
 
[[Category:Mail Server]]
 
+
{{Stub}}
 
Amavis gives you an interface between mail servers (MTAs such as Postfix or DoveCot) and mail filters (ClamAV, SpamAssassin). In many cases it is more efficient than running separate daemons like spamd.
 
Amavis gives you an interface between mail servers (MTAs such as Postfix or DoveCot) and mail filters (ClamAV, SpamAssassin). In many cases it is more efficient than running separate daemons like spamd.
  
==Install==
+
==Install & Setup==
  
Build {{AUR|amavisd-new}} from the AUR and install it with pacman. You'd be wise to also install optdepends such as {{Pkg|p7zip}} and {{Pkg|unrar}} so your filters can actually see inside compressed files.
+
Install {{AUR|amavisd-new}} from the [[AUR]]. You'd be wise to also install optdepends such as {{Pkg|p7zip}} and {{Pkg|unrar}} so your filters can actually see inside compressed files.
  
sudo pacman -Syu amavisd-new p7zip unrar
+
If your hostname is not a FQDN, you must set {{ic|$myhostname}} in {{ic|/etc/amavisd/amavisd.conf}}. You probably want to set {{ic|$mydomain}} too.
  
If your hostname is not a FQDN, you must set $myhostname in /etc/amavisd/amavisd.conf. You probably want to set $mydomain too. After that, you should be able to start the service:
+
After that, you can start the {{ic|amavisd}} service with [[systemctl]] and possibly enable it.
  
sudo systemctl start amavisd
+
Some ways to check for errors:
 
+
Check for any errors with:
+
  
 
  systemctl status amavisd
 
  systemctl status amavisd
 +
journalctl -xbo short -u amavisd
  
The daemon can be quite verbose, so the curious may want a complete log:
+
==Postfix==
  
journalctl -xbo short -u amavisd
+
Digest of the excellent [http://www.ijs.si/software/amavisd/README.postfix.html upstream README].
 +
 
 +
==SpamAssassin==
 +
 
 +
{{Expansion|todo}}
  
If all seems well, make the service permanent:
+
==ClamAV==
  
sudo systemctl enable amavisd
+
{{Expansion|todo}}

Revision as of 03:42, 15 December 2013

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Amavis#)

Amavis gives you an interface between mail servers (MTAs such as Postfix or DoveCot) and mail filters (ClamAV, SpamAssassin). In many cases it is more efficient than running separate daemons like spamd.

Install & Setup

Install amavisd-newAUR from the AUR. You'd be wise to also install optdepends such as p7zip and unrar so your filters can actually see inside compressed files.

If your hostname is not a FQDN, you must set $myhostname in /etc/amavisd/amavisd.conf. You probably want to set $mydomain too.

After that, you can start the amavisd service with systemctl and possibly enable it.

Some ways to check for errors:

systemctl status amavisd
journalctl -xbo short -u amavisd

Postfix

Digest of the excellent upstream README.

SpamAssassin

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: todo (Discuss in Talk:Amavis#)

ClamAV

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: todo (Discuss in Talk:Amavis#)