[Exim] callout to cryus / lmtp over tcp

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: emfau
Dátum:  
Címzett: exim-users
Tárgy: [Exim] callout to cryus / lmtp over tcp
(exim 4.34/cyrus 2.2.5/FreeBSD 4.10)

It seems that I can't get this to work...
I have a setup where cyrus runs on one box and exim on another. Currently LMTP
requires TLS and authentication and the delivery just works fine.
Whenn adding
     verify = recipient/callout,defer_ok
to the corresponding ACL I can still see the message delivered, the callout
does not work, though (which is ok because of defer_ok). The relevant parts of
the debug output are below.


Searching the web/list archive gave me a few hits related to the topic - but
none of them really matches my configuration (from what I understand they
differ in using lmtp over the loopback without LMPT AUTH but preauthentication
based on the id of the connecting user which is not working for me because of
the different boxes).
In "38.21 Callout verification" it can be found that exim will send the following
     HELO <primary host name>
     MAIL FROM:<>
     RCPT TO:<the address to be tested>
     QUIT
to verify an address.
Does this mean that extra information given in the router are ignored in this
context, i.e. those lines (<==) in my lmtp router


lmtp_delivery:
   driver = smtp
   protocol = lmtp
   authenticated_sender = $authenticated_id
   hosts_require_auth = lmtp.domain.org        <==
   hosts_require_tls = lmtp.domain.org        <==
   hosts = lmtp.domain.org
   hosts_override
   delivery_date_add


have no effect when doing a callout?

Thanks
    Michael



(Output of exim -d -bd)
.
..
53001   SMTP<< 220 lmtp.domain.org LMTP Cyrus v2.2.5 ready
53001   SMTP>> LHLO mail.domain.org
53001   SMTP<< 250-lmtp.domain.org
53001          250-8BITMIME
53001          250-ENHANCEDSTATUSCODES
53001          250-PIPELINING
53001          250-SIZE
53001          250-STARTTLS
53001          250-AUTH LOGIN PLAIN
53001          250 IGNOREQUOTA
53001   SMTP>> MAIL FROM:<>
53001   SMTP<< 430 Authentication required
53001   SMTP>> QUIT
..
.
.
..
53026   SMTP<< 220 lmtp.domain.org LMTP Cyrus v2.2.5 ready
53026   SMTP>> LHLO mail.domain.org
53026   SMTP<< 250-lmtp.domain.org
53026          250-8BITMIME
53026          250-ENHANCEDSTATUSCODES
53026          250-PIPELINING
53026          250-SIZE
53026          250-STARTTLS
53026          250-AUTH LOGIN PLAIN
53026          250 IGNOREQUOTA
53026   SMTP>> STARTTLS
53026   SMTP<< 220 Begin TLS negotiation now
...
53026   SMTP>> LHLO mail.domain.org
53026   SMTP<< 250-lmtp.domain.org
53026          250-8BITMIME
53026          250-ENHANCEDSTATUSCODES
53026          250-PIPELINING
53026          250-SIZE
53026          250-AUTH LOGIN PLAIN
53026          250 IGNOREQUOTA
53026   SMTP>> AUTH PLAIN ****************
53026   SMTP<< 235 Authenticated!
53026   SMTP>> MAIL FROM:<xxx@???> SIZE=1866
53026   SMTP>> RCPT TO:<xxx@???>
53026   SMTP>> DATA
53026   SMTP<< 250 2.1.0 ok
53026   SMTP<< 250 2.1.5 ok
53026   SMTP<< 354 go ahead
53026   SMTP>> writing message and terminating "."
53026   SMTP<< 250 2.1.5 Ok
53026   SMTP>> QUIT
..
.