Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with procmail calling spamassassin
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
pogopope
n00b
n00b


Joined: 05 Oct 2003
Posts: 11
Location: http://popecore.ath.cx/

PostPosted: Wed Nov 12, 2003 8:12 am    Post subject: problems with procmail calling spamassassin Reply with quote

i've been working quite dilligently to get postfix working in conjunction with getmail, spamassassin, and procmail. I got everything set up but now for some reason when getmail queries procmail its looking for spamassassin in /usr/local/bin/spamassassin. this is a problem because spamassassin is residing in /usr/bin/spamassassin. Obviously this doesn't take much to fix but i cannot find for the life of me what conf file is looking for spamassassin to ed it. Here's what getmail is spitting out.

Code:

msg #1/3 : len 17265 ... retrieved ... failed delivering message (command "/usr/bin/procmail -d pogopope" exited 0 but wrote to stderr (/usr/local/bin/spamassassin: /usr/local/bin/spamassassin: No such file or directory
procmail: Error while writing to "/usr/local/bin/spamassassin"
procmail: Rescue of unfiltered data succeeded)), skipping

So my question is, what file is causing procmail to look for spamassassin in the wrong dir?
Back to top
View user's profile Send private message
nordic bro
Guru
Guru


Joined: 25 Oct 2003
Posts: 585

PostPosted: Wed Nov 12, 2003 10:12 am    Post subject: Reply with quote

I don't know how to call SA from anything but procmailrc. So I hope it's not too obvious of an answer but have you checked ~/.procmailrc or /etc/procmailrc?
Back to top
View user's profile Send private message
pogopope
n00b
n00b


Joined: 05 Oct 2003
Posts: 11
Location: http://popecore.ath.cx/

PostPosted: Wed Nov 12, 2003 10:25 am    Post subject: Reply with quote

found the problem. though i had checked my /etc/procmailrc and ~/.procmailrc, I didn't notice that my ~/.procmailrc had a link to a config file in my squirrelmail dir, put there by a spamfilter plugin i was using along with squirrelmail. After looking into that file I found that it was the culprit referrencing /usr/local/bin/spamassassin.
Back to top
View user's profile Send private message
lucindrea
n00b
n00b


Joined: 09 Nov 2003
Posts: 50

PostPosted: Wed Nov 12, 2003 11:13 am    Post subject: Reply with quote

well before the act of starting postfix cauzed my server to reboot ( why? i have no idea ) i was useing anomy .. i like the soultion a bit more than procmail as it seems a little more effeicent when running both a virus filter ( f-prot is free for non commercial use ) and spamd.

edit cauz the whole point of this was to give ya the link :oops:
http://mailtools.anomy.net/
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