Re: Two problems with ASK

Marco Paganini <[email protected]>
Newsgroups gmane.mail.spam.active-spam-killer.general
Message-ID <[email protected]>
Hi Artur,

On Sun, Jan 11, 2004 at 10:09:01PM +0100, Artur Meski wrote:
> I've just installed ASK. I really like it's options, features, etc,
> but I've got also a little problems with it. :-(
> 
> I use it with Exim (FreeBSD 4) and I've found the following log lines:
> 
> 2004-01-11 00:27:24 1AfSVo-00060I-DO <= [email protected] U=romek
> P=local S=437 [email protected]
> 
> 2004-01-11 00:56:34 1AfSVo-00060I-DO Spool file is locked (another
> process is handling this message)
> 2004-01-11 01:26:34 1AfSVo-00060I-DO Spool file is locked (another
> process is handling this message)

Hmmm... Curious. ASK should be the only one handling your mail spool but
it seems that exim is also trying to write there?

> 2004-01-11 01:27:24 1AfSVo-00060I-DO ** |/usr/nopkg/bin/ask.py
> --loglevel=3 --logfile=/home/users/apm/.ask/ask.log
> --home=/home/users/apm <[email protected]> R=userforward T=address_pipe:
> pipe delivery process timed out
> 
> 2004-01-11 01:27:24 1AfTRs-00067B-G0 <= <> R=1AfSVo-00060I-DO U=exim
> P=local S=1371
> 2004-01-11 01:27:24 1AfSVo-00060I-DO Completed

Weird! It's as if ASK is timing out for something? Not a usual behavior
at all.

> What's going on? How can I fix it? Similiar log lines appeared 4
> times (excluding this one).
> 
> I also did a little high-load test. I sent about 300 messages in a few
> seconds and I've received many error messages:
> 
> Traceback (most recent call last):
>   File "/usr/nopkg/bin/ask.py", line 71, in ?
>     rc = ask.filter(sys.stdin)
>   File "/usr/nopkg/lib/ask/askmain.py", line 113, in filter
>     self.msg.deliver_mail("Whitelist match [%s]" % self.msg.list_match)
>   File "/usr/nopkg/lib/ask/askmessage.py", line 455, in deliver_mail
>     self.mail.deliver_mail(self.config.rc_mymailbox, self.tmpfile, custom_header)
>   File "/usr/nopkg/lib/ask/askmail.py", line 178, in deliver_mail
>     os.rename(maildir_file, maildir_file_new)
> OSError: [Errno 2] No such file or directory
> Wasn't it caused by heavy load?

What version of ASK are you using? Older versions had issues with Maildir
delivery, locking and whatnot, but this has been fixed in more recent
versions.

Regards,
Paga

-- 
Marco Paganini          | UNIX / Linux / Networking
[email protected]   | PGP: http://www.paganini.net/pgp/
http://www.paganini.net | Magnus Frater te spectat...


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.