Re: [exim] Sender callouts [PATCH]

Pàgina inicial
Delete this message
Reply to this message
Autor: Ian FREISLICH
Data:  
CC: exim-users
Assumptes vells: Re: [exim] Sender callouts
Assumpte: Re: [exim] Sender callouts [PATCH]
Ian FREISLICH wrote:
> Ian FREISLICH wrote:
> > I use acl_m0 as a temporary variable for adjacent ACL blocks.
> > USE_SENDER_VERIFY_CALLBACK is a configuration knob that is set to
> > yes or no to turn this feature on ar off. This should exclude hosts
> > and domains in the whitelist and that are known to be RFC ignorant.
> > If the <> callout fails, try the sender. If the sender works, then
> > the host is RFC ignorant and log it.
> >
> > I should point out that this ACL fragment is untested and I'm not
> > sure what the side effects of these timeouts will be.
>
> Well, it seems after checking that this is impossible to do. You
> cannot set the MAIL FROM for verify=sender/callout which is a bummer.
> Can this be added to the wishlist? It will be very helpful in
> finding, logging and excluding RFC ignorant sites as above.


This is a simple patch (whitespace mangled):

--- acl.c.orig  Thu Apr  7 08:43:37 2005
+++ acl.c       Thu Apr  7 08:46:02 2005
@@ -1240,7 +1240,7 @@


 else if (verify_sender_address != NULL)
   {
-  if ((verify_options & (vopt_callout_recipsender|vopt_callout_recippmaster))
+  if ((verify_options & (vopt_callout_recippmaster))
        != 0)
     {
     *log_msgptr = US"use_sender or use_postmaster cannot be used for a "


Ian

--
Ian Freislich