User Tools

Site Tools


doc:appunti:linux:sa:postfix_spamassassin_clamav_dovecot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
doc:appunti:linux:sa:postfix_spamassassin_clamav_dovecot [2019/01/21 12:06] – [Dovecot Authentication] niccolodoc:appunti:linux:sa:postfix_spamassassin_clamav_dovecot [2019/04/05 10:09] – [Sanitizer/ClamAV Filter] niccolo
Line 213: Line 213:
 cat message.txt | /usr/bin/sanitizer /etc/sanitizer.cfg cat message.txt | /usr/bin/sanitizer /etc/sanitizer.cfg
 </code> </code>
 +
 +Beware that the **clamd** daemon runs per default with the **clamav user**, if you want regular users to scan their files (e.g. their mail attachments) you have to use the **%%--fdpass%%** argument when invoking the **clamdscan** client, otherwise you will get the error message:
 +
 +<code>
 +eicar-antivirus.com: lstat() failed: Permission denied. ERROR
 +</code>
 +
 +The ''%%--fdpass%%'' option works only if ''clamdscan'' connects to ''clamd'' via the Unix socket.
 ===== Dovecot Local Delivery Agent ===== ===== Dovecot Local Delivery Agent =====
  
doc/appunti/linux/sa/postfix_spamassassin_clamav_dovecot.txt · Last modified: 2023/10/30 11:09 by niccolo