diff options
author | edwin <edwin@FreeBSD.org> | 2003-01-16 05:07:07 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-01-16 05:07:07 +0000 |
commit | cc140326f1fda26fe372936a553379468938333f (patch) | |
tree | ea2110727a197e2a3af24f1141c8a082e5d201b5 /security/drweb-postfix/pkg-message | |
parent | a6c2a5e9ff0daf50a131526476c4f1edb051b267 (diff) | |
download | FreeBSD-ports-cc140326f1fda26fe372936a553379468938333f.zip FreeBSD-ports-cc140326f1fda26fe372936a553379468938333f.tar.gz |
New port: drweb-postfix antivirus checking backend
PR: ports/46496
Submitted by: zhuravlev alexander <zaa@ulstu.ru>
Diffstat (limited to 'security/drweb-postfix/pkg-message')
-rw-r--r-- | security/drweb-postfix/pkg-message | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/security/drweb-postfix/pkg-message b/security/drweb-postfix/pkg-message new file mode 100644 index 0000000..822ae63 --- /dev/null +++ b/security/drweb-postfix/pkg-message @@ -0,0 +1,21 @@ +1. Add the following lines into Postfix master file (master.cf). + +filter unix - n n - - pipe + flags=R user=drweb argv={drweb-directory}/drweb-postfix -f ${sender} -- ${recipient} + + or + +filter unix - n n - - pipe + flags=R user=drweb argv={drweb-directory}/drweb-postfix --conf={/path/to/your/conf/file} -f ${sender} -- ${recipient} + + attention: {path/to/conf/file} should contain filename too + +2. Give Postfix a direction to check all the letters incoming through SMTP. +For that you should find the following record in Postfix master file +(parameters n - n - - may be different): + +smtp inet n - n - - smtpd + +and change it into: + +smtp inet n - n - - smtpd -o content_filter=filter:dummy |