Greetings:
My problem is that I have installed the spamcontrol patch but badrcptto
is not stopping incoming mails as I expected. Here are the details:
I am on OpenBSD 2.8. I have downloaded the spamcontrol patch and
successfully patched ./qmail-1.03 with only the following error
message:
--------- excerpt spamcontrol.log -------------
Hmm... Looks like a normal diff to me...
The text leading up to this was:
--------------------------
|--- qmail-smtpd.c.orig 1998-06-15
|+++ qmail-smtpd.c 2000-11-26
--------------------------
Patching file qmail-smtpd.c using Plan A...
Hunk #1 succeeded at 26.
Hunk #2 succeeded at 32.
Hunk #3 failed at 61.
Hunk #4 succeeded at 111.
Hunk #5 succeeded at 130.
Hunk #6 succeeded at 170.
Hunk #7 succeeded at 181.
Hunk #8 succeeded at 198.
Hunk #9 succeeded at 208.
Hunk #10 succeeded at 247 (offset 9 lines).
Hunk #11 succeeded at 359 (offset 9 lines).
Hunk #12 succeeded at 397 (offset 9 lines).
Hunk #13 succeeded at 399 (offset 9 lines).
Hunk #14 succeeded at 408 (offset 9 lines).
Hunk #15 succeeded at 507 (offset 9 lines).
Hunk #16 succeeded at 510 (offset 9 lines).
Hunk #17 succeeded at 517 (offset 11 lines).
Hunk #18 succeeded at 525 (offset 9 lines).
patch: **** misordered hunks! output would be garbled
--> qmail-smtpd.8 copied to qmail-smtpd.8.142
-----------------------------------------
However, I went ahead and stopped qmail, did `make setup check` and
restarted qmail with the following rc script:
-----------
/usr/local/bin/tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb -u
1006 -g 1002 0 smtp /var/qmail/bin/qmail\
-smtpd 2>&1 | /var/qmail/bin/splogger smtpd &
/usr/local/bin/tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup
visca-server.com /home/vpopmail/bin/vchkpw /\
var/qmail/bin/qmail-pop3d Maildir &
------------
Doing ./qmail-showctl shows the following for badrcptto:
-------------
badrcptto:
[EMAIL PROTECTED] not accepted in RCPT TO.
---------------
But when I send a message to [EMAIL PROTECTED] it is accepted:
-------
Jul 18 12:50:23 visca-server qmail: 995460623.194943 new msg 264383
Jul 18 12:50:23 visca-server qmail: 995460623.195484 info msg 264383:
bytes 652 from <[EMAIL PROTECTED]> qp 27804\
uid 1006
Jul 18 12:50:23 visca-server qmail: 995460623.230268 starting delivery
2: msg 264383 to local visca.com-bad@v\
isca.com
Jul 18 12:50:23 visca-server qmail: 995460623.230988 status: local 1/10
remote 0/20
Jul 18 12:50:23 visca-server qmail: 995460623.265772 delivery 2:
success: POP_user_does_not_exist,_but_will_d\
eliver_to_./junk/did_0+0+1/
Jul 18 12:50:23 visca-server qmail: 995460623.290211 status: local 0/10
remote 0/20
Jul 18 12:50:23 visca-server qmail: 995460623.290696 end msg 264383
--------
Is this because I'm using vpopmail? ./badmailfrom works as expected.
Thank you.
--
All the best (Ad�u-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com