Re: [exim] How to do callout to specific address?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marcin Mirosław
Date:  
À: exim-users
Sujet: Re: [exim] How to do callout to specific address?
W dniu 2012-10-01 20:26, Jeremy Harris pisze:

Hello Jeremy,
> On 10/01/2012 02:55 PM, Marcin Mirosław wrote:
>> I'd like to use exim to callout senders mta and check if given users
>> exists[1]. In doc I can see callout is only doing for checking if sender
>> or postmaster exists. So I assume it needs some more configuration that
>> adding one word to verify=sender/callout line.
>> I'd like to ask for some advice.
>
> There's no particularly convenient way of doing what you want
> (verifying if abuse@$sender_address_domain exists). You could
> raise a wishlist item at http://bugs.exim.org/enter_bug.cgi?product=Exim


I'll try. In meanwhile I've found idea I can run swaks ( --quit-after
RCPT) from exim with simple sh wrapper.

>> Second quuestion is can I modify behavior of verify=reverse_host_lookup?
>> I'd like to set acl_m_xxx depending on success or failure of
>> verification. Problem appers when dns server doesn't respond (e.g. PTR
>> record for 117.18.231.4). Acl:
>> warn verify=reverse_host_lookup
>> throws warning (no problem) but exim responds 4xx to the client (this is
>> not ok in this case). Is it possible to catch such cases, set acl_m_xxx
>> to proper value (e.g. "unknown") and pass to next acl?
>
> Does the method mentioned in http://bugs.exim.org/show_bug.cgi?id=251
> work for you, modified for your case?


Yes, thanks! It works as I wish.
Thanks for tips!
Marcin