Dear List, can someone explain this two files for me on the exim4u web interface: Spamassassin tag score: Spamassassin discard score: Am not exactly sure how they affect my spam checks on my server. my question is how is this value calculated and highly or lower values which has the potential to stop more spam? Thanks Kebba On Sat, 2011-02-19 at 12:00 -0500, users-request(a)exim4u.org wrote:
Send users mailing list submissions to users(a)exim4u.org
To subscribe or unsubscribe via the World Wide Web, visit https://exim4u.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to users-request(a)exim4u.org
You can reach the person managing the list at users-owner(a)exim4u.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of users digest..."
Today's Topics:
1. Re: malware acl condition: clamd: ClamAV returned /var/spool/exim4/scan/XXXX.eml: Can't create temporary directory ERROR (Odhiambo Washington) 2. Re: exim as a backup MX (Gordon Dickens) 3. Re: malware acl condition: clamd: ClamAV returned /var/spool/exim4/scan/XXXX.eml: Can't create temporary directory ERROR (Gordon Dickens)
----------------------------------------------------------------------
Message: 1 Date: Fri, 18 Feb 2011 20:24:35 +0300 From: Odhiambo Washington <odhiambo(a)gmail.com> Subject: Re: [Exim4U] malware acl condition: clamd: ClamAV returned /var/spool/exim4/scan/XXXX.eml: Can't create temporary directory ERROR To: Exim4U General Discussion <users(a)exim4u.org> Message-ID: <AANLkTimrdtT8o308sH6nbatEb6Y=iLGvfoQh11tHytHw(a)mail.gmail.com> Content-Type: text/plain; charset="utf-8"
On Fri, Feb 18, 2011 at 6:52 PM, Udo Hortian <udo_hortian(a)web.de> wrote:
Hello Gordon,
On Fri, Feb 18, 2011 at 10:07:31AM -0500, Gordon Dickens wrote:
That is quite strange especially since it only occurs sometimes. I can't say for sure but I suspect that this is most probably a ClamAV problem. Check to see if the clamd logs have any related entries that might yield a clue. I checked the clamav.log and when the error occurs I find lines like:
Tue Feb 15 22:20:42 2011 -> /var/spool/exim4/scan/XXXX/XXXX.eml: Can't create temporary directory ERROR
Just like in exim's paniclog.
I realize this is obvious but make sure that the Debian-exim user and clamav user both have read/write permission to the /var/spool/exim4/scan directory. In fact the permissions to this directory are as follows:
ls -l /var/spool/exim4/ | grep scan drwxr-x--- 2 Debian-exim Debian-exim 4096 Feb 18 12:54 scan
Before I checked this, but somehow was not noting the missing w for the group.
So the Debian-exim group has NO write-permission. On another system running exim4u (which I use as the primary MX) the permissions are identical and I do not have any errors of this kind there.
Probably here lies the problem. But since I do not have any problems on the other system, I would like to understand first, why I really need write access here. How does virus scanning actually works? Which process really needs access to this directory?
Then I would like to understand why there are no problems on my other system.
Things to check:::
I run clamd as mailnull (the same user Exim runs as). Afterall, they both process the same mail.
(20:20:25 <~>) 0 $ grep User /usr/local/etc/clamd.conf User mailnull (20:20:35 <~>) 0 $ exim -bP | grep exim_user exim_user = mailnull (20:20:49 <~>) 0 $
(20:20:49 <~>) 0 $ ls -al /var/spool/exim/ total 24 drwxr-x--- 7 mailnull mailnull 512 Oct 26 2009 . drwxr-xr-x 15 root wheel 512 Dec 27 15:17 .. drwxr-x--- 2 mailnull mailnull 512 Feb 18 18:18 db drwxr-x--- 13 mailnull mailnull 7680 Feb 18 20:13 input drwxr-x--- 2 mailnull mailnull 512 Oct 26 2009 log drwxr-x--- 17 mailnull mailnull 4096 Feb 18 20:13 msglog drwxr-x--- 3 mailnull mailnull 512 Feb 18 20:13 scan (20:21:16 <~>) 0 $
In clamd.conf:
TemporaryDirectory /var/tmp
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!!