Hi there again.

I use qmail-scanner and qmail-qfilter on my FreeBSD box. I change qmail-scanner-queue.pl script and set:

--
my $qmailqueue  = '/var/qmail/bin/qfilter';
--

this scripts looks like:

---

#!/bin/sh

exec /var/qmail/bin/qmail-qfilter /var/qmail/bin/qmail-myownfilter
---

I compiled qmail-qfilter in order to use: "/var/qmail/bin/qmail-queue" as qmail-queue program.

My "qmail-myownfilter" script, read the file you pass to it, or the standard input, and show it in the standard output; and, finally, ends with a 0 (if the message is OK, if not, it uses 31 or 99).

The problem is that message sent by users from the same machine (i.e. one account to itself) appear ok. But external messages don't arrive to the mailbox.

In the "maillog" logs I see the message and the scan:

--
maillog.debug:Mar 17 14:16:38 mymachine qmail-scanner[6749]: Clear:RC:0(213.4.129.48):SA:0(-1.9/5.0): 0.144169 804 [EMAIL PROTECTED] [EMAIL PROTECTED] test <[EMAIL PROTECTED]> 1111065398.6751-0.mymachine.mydomain.com:3 orig-mymachine.mydonain.com11110653987636749:804
---


in qmail-scanner, log I see:

--
Thu, 17 Mar 2005 14:16:38 CET:6749: +++ starting debugging for process 6749 by uid=1011
Thu, 17 Mar 2005 14:16:38 CET:6749: w_c: elapsed time from start 0.002172 secs
Thu, 17 Mar 2005 14:16:38 CET:6749: return-path='[EMAIL PROTECTED]', recips='[EMAIL PROTECTED]'
Thu, 17 Mar 2005 14:16:38 CET:6749: from='xxx <[EMAIL PROTECTED]>', subj='test', via SMTP from 213.4.129.48
Thu, 17 Mar 2005 14:16:38 CET:6749: clamdscan: finished scan in 0.008601 secs
Thu, 17 Mar 2005 14:16:38 CET:6749: SA: finished scan in 0.111263 secs - hits=-1.9
Thu, 17 Mar 2005 14:16:38 CET:6749: p_s: finished scan in 0.014226 secs
Thu, 17 Mar 2005 14:16:38 CET:6749: ini_sc: finished scan of "/var/spool/qmailscan/tmp/mymachine.mydomain.com11110653987636749"...
Thu, 17 Mar 2005 14:16:38 CET:6749: ------ Process 6749 finished. Total of 0.16594 secs
---



But I don't see the message on my mailbox nor on the queue with qmHandle.

If I put:

---
my $qmailqueue  = '/var/qmail/bin/qmail-queue';
---

on qmail-scanner-queue.pl everythings works fine

Any suggestions or idea?

Thanks in advance


Jesus Arnaiz



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to