Difference between revisions of "Amavis"

From ArchWiki
Jump to: navigation, search
m (Add stub flag.)
(some style fixes, see Help:Style)
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
==Install & Setup==
 
==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 -U amavisd-new-*-any.pkg.tar.xz
+
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.
sudo pacman -Syu p7zip unrar
+
  
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 probably want to start it like this:
+
After that, you can start the {{ic|amavisd}} service with [[systemctl]] and possibly enable it.
 
+
sudo systemctl enable amavisd
+
sudo systemctl start amavisd
+
  
 
Some ways to check for errors:
 
Some ways to check for errors:
Line 22: Line 18:
 
==Postfix==
 
==Postfix==
  
digest of the excellent [http://www.ijs.si/software/amavisd/README.postfix.html upstream README]
+
Digest of the excellent [http://www.ijs.si/software/amavisd/README.postfix.html upstream README].
  
 
==SpamAssassin==
 
==SpamAssassin==
  
todo
+
{{Expansion|todo}}
  
 
==ClamAV==
 
==ClamAV==
  
todo
+
{{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#)