qmail-scanner path error

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
zeki
Forum Regular
Forum Regular
Posts: 120
Joined: Sat Aug 12, 2006 8:14 am

qmail-scanner path error

Unread post by zeki »

hello,

since any days i get :

Nov 3 18:44:14 star X-Qmail-Scanner-2.08st: [domain.tld 125727025079015125] cannot create /var/spool/qscan/quarantine//var/spool/qscan/quarantine/spam - No such file or directory

here the path's configured:

QMAILSCANNERHOME="/usr/share/qmail-scanner"
SPOOLDIR="/var/spool/qscan"
SPAMDIR="/var/spool/qscan/quarantine/spam"



any idea?

thanks
zeki
zeki
Forum Regular
Forum Regular
Posts: 120
Joined: Sat Aug 12, 2006 8:14 am

Re: qmail-scanner path error

Unread post by zeki »

additional info:

this error i have only when a users ip address is blacklisted (dome dialup ips are always blacklisted) and try to send emails via smtp (with auth)

greets
zeki
Kalimari
Forum Regular
Forum Regular
Posts: 526
Joined: Wed Jan 02, 2008 3:21 pm
Location: United Kingdom

Re: qmail-scanner path error

Unread post by Kalimari »

Change the SPAMDIR= setting in /etc/qmail-scanner.ini
On our RHEL4 box it needs to be set to: SPAMDIR="/spam", the default is SPAMDIR="/var/spool/qscan/quarantine/spam" which gives an incorrect path.

Edit: if you still have a problem, try SPAMDIR="spam" (sans leading slash)

You'll need to run qmail-scanner-reconfigure afterwards.
zeki
Forum Regular
Forum Regular
Posts: 120
Joined: Sat Aug 12, 2006 8:14 am

Re: qmail-scanner path error

Unread post by zeki »

hello
it works, spams get in quarantine now ;)

thanks
zeki
Post Reply