Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
spamassassin and qmail, somethings broken
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
wizy
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 133

PostPosted: Mon Aug 18, 2003 6:59 pm    Post subject: spamassassin and qmail, somethings broken Reply with quote

I can see that its using spamd just fine. Sees clean and bad ones:

spamd[17412]: [info] setuid to qmailq succeeded
spamd[17412]: [checking message <20030818195207.8558.qmail@sc.am> for qmailq] 204.
spamd[17412]: [clean message (0.0/5.0) for qmailq] 204 in 0.1 seconds, 280 bytes.
spamd[6149]: [info] setuid to qmailq succeeded
spamd[6149]: [checking message <9PS291LhupY> for qmailq] 204.
spamd[6149]: [identified spam (15.8/5.0) for qmailq] 204 in 1.1 seconds, 1552 bytes.

This is in my local.cf

Code:

required_hits 5
rewrite_subject 1
report_header 1
subject_tag "[spam]"



It still isnt changing the subject at all in qmail, but if I put a spam in a text file and do:
spamassassin < bademail.txt
It sees it and i can see it change it.

Anyone have any ideas?
Back to top
View user's profile Send private message
wizy
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 133

PostPosted: Mon Aug 18, 2003 7:11 pm    Post subject: Reply with quote

I needed to change the qmail-scanner's perl script to have it work right.
Back to top
View user's profile Send private message
rjreb
n00b
n00b


Joined: 19 Aug 2003
Posts: 40

PostPosted: Sat Aug 23, 2003 6:57 pm    Post subject: Reply with quote

wizy wrote:
I needed to change the qmail-scanner's perl script to have it work right.


I'd appreciate knowing what it is you modified. I'm having the same problem.
Back to top
View user's profile Send private message
wizy
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 133

PostPosted: Sat Aug 23, 2003 7:09 pm    Post subject: Reply with quote

I stopped trying to get SA to do it.

In the qmail scanner perl script there is actually a little section of options for SA. It has a subject variable, set what you want to appear on the subject line of spams there and it gets inserted at the beginning.
Back to top
View user's profile Send private message
rjreb
n00b
n00b


Joined: 19 Aug 2003
Posts: 40

PostPosted: Sat Aug 23, 2003 7:28 pm    Post subject: Reply with quote

That's the ticket. Thanks.
Back to top
View user's profile Send private message
wizy
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 133

PostPosted: Sat Aug 23, 2003 7:36 pm    Post subject: Reply with quote

no problem, glad I found it. and glad I could help someone else out.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum