RBL lookup error

2006-07-08 Thread John Ackley

new to spamassassin
installed three weeks ago v. 3.1.3  on FC5  (domain server)
works great! catches 99+% of spam

ran without errors but now getting many error messages in log file like

49.187.163.66.bl.spamcop.net: RBL lookup error: Host or domain name not found. 
Name service error for name=149.187.163.66.bl.spamcop.net type=A: Host not 
found, try again : 4 Time(s)

I assume it is a complaint about a response from spamcop.net
What is the error?
How do I fix?
TIA



Re: Postfix/spamassassin loop

2006-06-14 Thread John Ackley



Justin Cook wrote:

Oops.

I'm a bit of a novice user and I'm setting up SA under Postfix for the 
first time.


Mail sent while SpamAssassin is running delivers fine, but anything 
inbound (or mail sent to a local address from a local IP) fails with a 
"max hops reached" error. It turns out Spamassassin is calling 
postfix's Sendmail bin, which calls spamassassin, and so on.


What should I be looking for here?

Cheers!


Had the same problem.  My error was using sendmail.sendmail and not 
sendmail.postfix.
Using sendmail.postfix solved the problem.  Check which version of 
"sendmail" you are using.





Going in circles with Postfix

2006-06-13 Thread John Ackley

Stuck in a loop.

New to SpamAssassin
Installed per
http://www.geekly.com/entries/archives/0155.htm
   steps 1 through 8

(at step 3 I was confused about the use of sendmail which was moved to 
sendmail.sendmail
when postfix was installed and also installed was sendmail.postfix - I 
chose sendmail.sendmail

because sendmail.postfix resulted in an error message)
(at step 7 I do not understand the ":" (colon)- no reference to ";" in 
man 5 master - tried with and without

the ":" in step 7 - same results
# 
---

smtp inet n - n - - smtpd
 -o content_filter=spamfilter:
# 
---)


apparently I am stuck in a never ending loop as shown in maillog
(and a complaint from sendmail about use of -f)

Jun 13 22:47:50 kp2a postfix/postfix-script: starting the Postfix mail 
system
Jun 13 22:47:50 kp2a postfix/master[19055]: daemon started -- version 
2.2.8, configuration /etc/postfix


Jun 13 22:47:50 kp2a postfix/qmgr[19058]: A998F10C8CAE: from=<>, 
size=122823, nrcpt=1 (queue active)
Jun 13 22:47:50 kp2a spamd[17507]: spamd: connection from kp2a.vi 
[127.0.0.1] at port 48988

Jun 13 22:47:50 kp2a spamd[17507]: spamd: setuid to spamfilter succeeded
Jun 13 22:47:50 kp2a spamd[17507]: spamd: processing message 
<[EMAIL PROTECTED]> for spamfilter:509
Jun 13 22:47:51 kp2a sendmail[19063]: k5E2lpPd019063: 
Authentication-Warning: kp2a.vi: spamfilter set sender to 
[EMAIL PROTECTED] using -f
Jun 13 22:47:51 kp2a spamd[17507]: spamd: clean message (-1.4/5.0) for 
spamfilter:509 in 0.8 seconds, 120383 bytes.
Jun 13 22:47:51 kp2a spamd[17507]: spamd: result: . -1 - 
ALL_TRUSTED,AWL,SPF_HELO_PASS 
scantime=0.8,size=120383,user=spamfilter,uid=509,required_score=5.0,rhost=kp2a.vi,raddr=127.0.0.1,rport=48988,mid=<[EMAIL PROTECTED]>,autolearn=unavailable

Jun 13 22:47:51 kp2a spamd[17504]: prefork: child states: II
Jun 13 22:47:51 kp2a sendmail[19063]: k5E2lpPd019063: 
[EMAIL PROTECTED], size=120387, class=0, nrcpts=1, 
msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED]

Jun 13 22:47:51 kp2a postfix/smtpd[19064]: connect from kp2a.vi[127.0.0.1]
Jun 13 22:47:51 kp2a postfix/smtpd[19064]: 9B1E810C8CAC: 
client=kp2a.vi[127.0.0.1]
Jun 13 22:47:51 kp2a postfix/cleanup[19066]: 9B1E810C8CAC: 
message-id=<[EMAIL PROTECTED]>


Jun 13 22:47:51 kp2a postfix/qmgr[19058]: 9B1E810C8CAC: from=<>, 
size=123238, nrcpt=1 (queue active)
this last entry is the start of an identical cycle - except file is 
bigger now?


help!

Versions:
Linux kp2a.vi 2.6.16-1.2122_FC5smp #1 SMP i686 athlon i386 
GNU/Linux 
Mail-SpamAssassin-3.1.3 [EMAIL PROTECTED] ~]$ perl -v

This is perl, v5.8.8 built for i386-linux-thread-multi
postfix.i386  2:2.2.8-1.2 installed

Running processes:
[EMAIL PROTECTED] postfix]# ps auxw | grep spam*
root 17504  0.0  2.4  30416 25124 ?Ss   20:04   0:01 
/usr/bin/spamd -d -c -m5 -H -

r /var/run/spamd.pid
509  17507  0.5  4.2  49488 44072 ?R20:04   1:01 spamd child
root 18818  0.0  2.2  30416 23424 ?S22:43   0:00 spamd child
postfix  19388  0.0  0.1   6176  1780 ?S23:01   0:00 pipe -n 
spamfilter -t unix fl
ags=Rq user=spamfilter argv=/usr/bin/postfixfilter -f${sender} -- 
${recipient}
postfix  19393  0.5  0.2   6324  2284 ?S23:01   0:00 smtpd 
-n smtp -t inet -u -s 2

-o content_filter spamfilter:
postfix  19396  0.0  0.1   6176  1776 ?S23:01   0:00 pipe -n 
spamfilter -t unix fl
ags=Rq user=spamfilter argv=/usr/bin/postfixfilter -f${sender} -- 
${recipient}
509  19403  0.0  0.1   4596  1280 ?R23:01   0:00 
/usr/bin/spamc