[Blackholespam-general] Configuration question with installation on Sendmail - Redhat
Brought to you by:
phillyz,
the_systech
From: <go...@dy...> - 2003-01-28 15:38:59
|
Hello, I hate to ask the obvious questions, but I am new to the Blackhole filter and have managed to hit a few problems with the installation on Redhat Linux running Sendmail. I have created a very simple "blackhole.conf" file with the basic configuration options and I have set it up to work with a ".forward" file for a specific user in order to test the functionality and settings. First I had set it with the configuration setting so that the "Inbox.Spam" and "Inbox.Virus" would be used. I first ran the simple "test_msg_spam" and it gave me the following results: ------- bash-2.04$ cat test_msg_spam | /usr/blackhole/bin/blackhole -debug 4330: $Id: blackhole.c,v 1.418 2003/01/07 19:45:57 bitbytebit Exp $ ERROR(1)! 4330: $Id: blackhole.c,v 1.418 2003/01/07 19:45:57 bitbytebit Exp $ ERROR(1)! 3647: $Id: blackhole.c,v 1.418 2003/01/07 19:45:57 bitbytebit Exp $ ERROR(1)! -------- This is not what I was expecting to see. I had a different result when I installed and ran this same test script on another Redhat server. Any ideas on the problems? Then I tried to send an email to this account and I notice that no emails are received and that in the /var/log/maillog I see this: ----------------- Jan 27 14:46:38 www sendmail[27321]: h0RJkcU27321: from=<go...@dy...>, size=1005, class=0, nrcpts=1, msgid=<OFF...@dy...>, proto=ESMTP, daemon=MTA, relay=166.83.95.15.nw.att.net [166.83.95.15] Jan 27 14:46:38 www BlackHole: gomez DEFER Jan 27 14:46:38 www sendmail[27322]: h0RJkcU27321: to=|/usr/blackhole/bin/blackhole , ctladdr=<go...@gn...> (500/200), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30509, dsn=4.0.0, stat=Deferred ------------------ I also noticed that the Sendmail Queue looks like this now: ------------------ bash-2.04$ /usr/sbin/sendmail -bp /var/spool/mqueue (14 requests) ----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient------------ h0RJkcU27321 497 Mon Jan 27 14:46 <go...@dy...> (Deferred) |/usr/blackhole/bin/blackhole h0R00nU24872 497 Sun Jan 26 19:00 <go...@dy...> (Deferred) |/usr/blackhole/bin/blackhole h0R032U24890 497 Sun Jan 26 19:03 <go...@dy...> (Deferred) |/usr/blackhole/bin/blackhole h0QNSZU24757 497 Sun Jan 26 18:28 <go...@dy...> (Deferred) --------------- Any ideas on what I have set up incorrectly? Thanks in advance... Javier |