-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

he who pops his mail using fetchmail and doeseth not want to download spam
from known sources in the control/badmailfrom file may use this patch to
qmail-smtpd.c:

*** qmail-smtpd.c.orig  Mon Jun 15 12:53:16 1998
- --- qmail-smtpd.c     Wed May 24 05:08:52 2000
***************
*** 241,246 ****
- --- 241,250 ----
  {
    if (!addrparse(arg)) { err_syntax(); return; }
    flagbarf = bmfcheck();
+   // changed Wed-24.05.00-03:29 -ino: because fetchmail hickups when 553
+   // arrives out-of-band after recipient has been checked!
+   // following line moved up from it's place in smtp_rcpt
+   if (flagbarf) { err_bmf(); return; }
    seenmail = 1;
    if (!stralloc_copys(&rcptto,"")) die_nomem();
    if (!stralloc_copys(&mailfrom,addr.s)) die_nomem();
***************
*** 250,256 ****
  void smtp_rcpt(arg) char *arg; {
    if (!seenmail) { err_wantmail(); return; }
    if (!addrparse(arg)) { err_syntax(); return; }
!   if (flagbarf) { err_bmf(); return; }
    if (relayclient) {
      --addr.len;
      if (!stralloc_cats(&addr,relayclient)) die_nomem();
- --- 254,263 ----
  void smtp_rcpt(arg) char *arg; {
    if (!seenmail) { err_wantmail(); return; }
    if (!addrparse(arg)) { err_syntax(); return; }
!   // changed Wed-24.05.00-03:29 -ino: because fetchmail hickups when 553
!   // arrives out-of-band after recipient has been checked!
!   // following line moved up to it's place in smtp_mail
!   // if (flagbarf) { err_bmf(); return; }
    if (relayclient) {
      --addr.len;
      if (!stralloc_cats(&addr,relayclient)) die_nomem();

- -- 
clemens                                              [EMAIL PROTECTED]
        do                                              D4685B884894C483
-----BEGIN PGP SIGNATURE-----
Comment: gpg 1.0.1

iD8DBQE5K1kq1GhbiEiUxIMRAmPAAKDqh7YAL54RNH3RJ6S+2d170rfRoQCgr+6k
M7EJ0wsv+D8s0rd2CgptHPw=
=tRch
-----END PGP SIGNATURE-----

Reply via email to