> -----Original Message----- > From: Jari Fredriksson [mailto:[EMAIL PROTECTED] > Sent: Friday, 23 May 2008 3:29 PM > To: Anthony Kamau; users@spamassassin.apache.org > Subject: Re: Temp fail not working... > > > Do you have -x in your call to spamc? > >
Thanks for that. I added that option to the startup script and restarted spamc (service spamass-milter restart) then killed spamd (service spamassassin stop). Oddly enough, messages are still being delivered by sendmail!!! I then checked the process list and saw the following: /usr/bin/spamd -d -c -m5 -H -x -q -u spambucket -r /var/run/spamd.pid spamass-milter -p /var/run/spamass.sock -f -x Further reading of `man spamc' revealed that option `-f' is non-existent (at least not mentioned in my spamc man pages); there's only a `-F' option - so why do I have this option that appears to do nothing for me? Could it be that it was meant to be `-F'? Well, I removed that option from the startup script and on trying to start the service, it hang indefinitely! I then added `-F' in its place and I got the following output: ########################################################### [EMAIL PROTECTED] ~]# sudo /sbin/service spamass-milter start Starting spamass-milter: spamass-milter: invalid option -- F spamass-milter - Version 0.3.1 SpamAssassin Sendmail Milter Plugin Usage: spamass-milter -p socket [-b|-B bucket] [-d xx[,yy...]] [-D host] [-e defaultdomain] [-f] [-i networks] [-m] [-M] [-P pidfile] [-r nn] [-u defaultuser] [-x] [-- spamc args ] -p socket: path to create socket -b bucket: redirect spam to this mail address. The orignal recipient(s) will not receive anything. -B bucket: add this mail address as a BCC recipient of spam. -d xx[,yy ...]: set debug flags. Logs to syslog -D host: connect to spamd at remote host (deprecated) -e defaultdomain: pass full email address to spamc instead of just username. Uses 'defaultdomain' if there was none -f: fork into background -i: skip (ignore) checks from these IPs or netblocks example: -i 192.168.12.5,10.0.0.0/8,172.16.0.0/255.255.0.0 -m: don't modify body, Content-type: or Subject: -M: don't modify the message at all -P pidfile: Put processid in pidfile -r nn: reject messages with a score >= nn with an SMTP error. use -1 to reject any messages tagged by SA. -u defaultuser: pass the recipient's username to spamc. Uses 'defaultuser' if there are multiple recipients. -x: pass email address through alias and virtusertable expansion. -- spamc args: pass the remaining flags to spamc. [FAILED] [EMAIL PROTECTED] ~]# ########################################################### This is when I realized that the man page falsely states what the `-x' option does, and as seen above, there isn't even a -F option as stated in the man pages. From the above, it is clear what `-x' does: -x: pass email address through alias and virtusertable expansion. I also understand why when I killed the Ctrl-C'd from the hang session, I got the [OK] message; the process was not forking to the background! So, is it that I have a real old version of spamass-milter? Odd thing is that I cannot find a newer version!!! Puzzled, AK.