# send mail through spamassassin :0fw | /usr/bin/spamc
This works and I get a nice log in /var/log/maillog that I can produce reports on.
The other server has never been setup for spamc, so I changed it to the above today so I could get some logging, but it fails. It has run fine for a long time with the normal:
# send mail through spamassassin :0fw | /usr/bin/spamassassin
So, I verified that spamd was running:
[EMAIL PROTECTED] mail]# ps ax --snip-- 5537 ? S 0:01 /usr/bin/spamd -d -c -a -m5 -H
At this point I installed the latest release just to rule out any odd issue (2.63). Make and install went fine.
However, when calling spamc, procmail just hangs:
[EMAIL PROTECTED] Procmail]# tail log
procmail: No match on "^Content-(Type|Disposition):.*name=.*\.\/(html|htm|vir|asx|avi|mp3|wav|lnk|bat|pif|exe|com|vbs|shs|hta|scr|chm|zip)"
procmail: Assigning "INCLUDERC=/etc/Procmail/spamassassin.rc"
procmail: Executing "/usr/bin/spamc"
It hangs here unitl procmail times out and then simply delivers the message with no spamassassin headers.
Any insight as to why spamc simply hangs? Is there any way to debug it? I would be happy without it if I could get logging accomplished.
Eventually, it just bogs down the server:
2603 root 9 0 20132 19M 1812 S 0.0 15.9 0:01 spamd 2647 root 9 0 2280 2116 1432 S 0.0 1.6 0:00 sendmail 2648 root 9 0 728 728 620 S 0.0 0.5 0:00 procmail 2661 root 9 0 728 728 620 S 0.0 0.5 0:00 procmail 2662 root 9 0 588 588 488 S 0.0 0.4 0:00 spamc 2663 root 9 0 2284 2120 1424 S 0.0 1.6 0:00 sendmail 2665 root 9 0 716 716 620 S 0.0 0.5 0:00 procmail 2678 root 9 0 716 716 620 S 0.0 0.5 0:00 procmail 2679 root 9 0 572 572 488 S 0.0 0.4 0:00 spamc 2708 root 9 0 2232 2056 1428 S 0.0 1.6 0:00 sendmail 2709 root 9 0 724 724 620 S 0.0 0.5 0:00 procmail 2722 root 9 0 724 724 620 S 0.0 0.5 0:00 procmail 2723 root 9 0 576 576 488 S 0.0 0.4 0:00 spamc 2728 root 9 0 2232 2056 1428 S 0.0 1.6 0:00 sendmail 2729 root 9 0 724 724 620 S 0.0 0.5 0:00 procmail 2742 root 9 0 724 724 620 S 0.0 0.5 0:00 procmail 2743 root 9 0 584 584 488 S 0.0 0.4 0:00 spamc 2781 root 9 0 2204 2052 1428 S 0.0 1.6 0:00 sendmail 2782 root 9 0 708 708 620 S 0.0 0.5 0:00 procmail 2795 root 9 0 708 708 620 S 0.0 0.5 0:00 procmail 2796 root 9 0 576 576 488 S 0.0 0.4 0:00 spamc 2802 root 9 0 2268 2152 1428 S 0.0 1.7 0:00 sendmail 2803 root 9 0 720 720 620 S 0.0 0.5 0:00 procmail 2819 root 9 0 720 720 620 S 0.0 0.5 0:00 procmail 2820 root 9 0 512 512 428 S 0.0 0.4 0:00 spamc 2821 root 9 0 2296 2180 1428 S 0.0 1.7 0:00 sendmail 2822 root 9 0 724 724 620 S 0.0 0.5 0:00 procmail 2835 root 9 0 724 724 620 S 0.0 0.5 0:00 procmail 2836 root 9 0 508 508 428 S 0.0 0.4 0:00 spamc
________________________________________________________________ James Ervin City of Bedford Box 807 Bedford, VA 24523 [EMAIL PROTECTED] Office: (540)587-6040 Cell: (540)875-7526 Fax: (540)587-6145
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk