You could use procmail to call spamc, eg. .qmail-user files look like this:

| preline procmail -t -p ./the_users_name_here/Maildir/procmailrc

....and the user's procmailrc:


LOGFILE=/var/log/procmail VERBOSE=ON

### Spam Assassin
:0fw
* < 256000
| /usr/bin/spamc -u the_users_name_here -f

:0
*
./the_users_name_here/Maildir/

Terry....

[EMAIL PROTECTED] wrote:
Hi.

I've tried to run Spamassassin (spamc/spamd) with vpopmail on a per-user
basis by adding the following line to the .qmail-<user> file:



| spamc | /var/vmail/bin/vdelivermail '' bounce-no-mailbox



but unfortunately qmail refused to deliver any messages complaining in the
log:



qmail: 1071234685.463734 new msg 3008884

qmail: 1071234685.463901 info msg 3008884: bytes 586 from <[EMAIL PROTECTED]> qp
26793 uid 498

qmail: 1071234685.472147 starting delivery 157196: msg 3008884 to local
[EMAIL PROTECTED]

qmail: 1071234685.472268 status: local 1/10 remote 0/20

spamd[12313]: connection from xxx.pl [127.0.0.1] at port 3218

spamd[26800]: processing message <[EMAIL PROTECTED]> for
vmail:99.

spamd[26800]: clean message (0.3/5.0) for vmail:99 in 1.0 seconds, 586
bytes.

qmail: 1071234686.043211 delivery 157196: failure:
lseek_error_29/lseek_errno=29/

qmail: 1071234686.054378 status: local 0/10 remote 0/20

qmail: 1071234686.061768 bounce msg 3008884 qp 26801

qmail: 1071234686.065414 end msg 3008884





What is the lseek error 29 and why it doesn't work?



Thanks for any info.

Regards,



Marek



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk






------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to