Hrmm, I built an rpm package out of the new courier release, yet I'm not
finding anything about bofh. Is this option not available with rpm
builds, or do I need to modify the spec file? Any input?
Sam Varshavchik wrote:
Roland Schneider writes:
Whenever a comment appears in etc/bofh (line starting with #)
no mail is accepted at all:
Remote_host_said:_432_Service_temporarily_unavailable./
Oops. Apply the following patch.
I also miss some logging at the receiving end, nothing shows
up in the logs if one (or even all...) mail is rejected.
All rejects are regular SMTP errors, so they should be logged like any
SMTP error.
The options badfrom, badmx, freemail and spamtrap seem to work,
but I find the term 'spamtrap' misleading because a spamtrap is
expected to do more than silently discharge anything sent there
(submit DCC checksums, add sender to badfrom, auto-lart etc).
Could this option be renamed to 'badrcpt' or similar ?
Hitting a spamtrap account will result in the DATA being rejected,
which will be logged.
------------------------------------------------------------------------
Index: courier/bofh.c
===================================================================
RCS file: /cvsroot/courier/courier/courier/courier/bofh.c,v
retrieving revision 1.2
diff -U3 -r1.2 bofh.c
--- courier/bofh.c 2001/10/14 19:50:09 1.2
+++ courier/bofh.c 2001/10/15 11:53:00
@@ -96,6 +96,9 @@
p=strtok(buf, " \t\r");
+ if (!p)
+ continue;
+
if (strcasecmp(p, "freemail") == 0)
{
addbofh(&freemailp, &strlower);