[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



There's a bug in the current fetchmail (6.2.5) that might be the 
cause of your problem.  The antispam feature should properly match 
responses to the "MAIL FROM" SMTP command.  And although it's 
supposed to also match responses to the "RCPT TO" SMTP command, the 
bug prevents any matches.

However, there is a question of whether this bug is the root of your 
problem.  Your sendmail is complaining about a sender address, and 
such a complaint would normally be raised in response to a "MAIL 
FROM" command (where the fetchmail bug doesn't apply).  On the other 
hand, there is a sendmail config option FEATURE(`delay_checks') 
which, when combined with the fetchmail bug, WOULD cause your 
problem.

You might try the following patch (which fixes the bug) and see if it 
solves your problem.

--Joe

--- fetchmail-6.2.5/sink.c	Wed Jan  5 17:39:00 2005
+++ fetchmail-6.2.5-new/sink.c	Wed Jan  5 17:41:08 2005
@@ -594,9 +594,18 @@
  * no PS_TRANSIENT, atleast one PS_SUCCESS: send the bounce mail, delete the mail;
  * no PS_TRANSIENT, no PS_SUCCESS: do not send the bounce mail, delete the mail */
 {
+    struct idlist *walk;
+    int found = 0;
     int smtperr = atoi(smtp_response);
+    for( walk = ctl->antispam; walk; walk = walk->next )
+        if ( walk->val.status.num == smtperr ) 
+	{ 
+		found=1;
+		break;
+	}
 
-    if (str_find(&ctl->antispam, smtperr))
+    /* if (str_find(&ctl->antispam, smtperr)) */
+    if ( found )
     {
 	if (run.spambounce)
 	 return(PS_SUCCESS);




</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00212" href="msg00212.html">[ale] fetchmail --antispam</a></strong>
<ul><li><em>From:</em> deepbsd at earthlink.net (David S. Jackson)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00164.html">[ale] Problems w/ (VERY) new hardware...</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00166.html">[ale] Get this, guys...</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00172.html">[ale] fetchmail --antispam</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00212.html">[ale] fetchmail --antispam</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00165"><strong>Date</strong></a></li>
<li><a href="threads.html#00165"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>