Re: [Exim] lmtp transport: verifying address (LMTP callout)

Pàgina inicial
Delete this message
Reply to this message
Autor: Matt Bernstein
Data:  
A: Andrzej Filip
CC: exim-users
Assumpte: Re: [Exim] lmtp transport: verifying address (LMTP callout)
At 08:11 +0100 Matt Bernstein wrote:

>On Apr 24 Andrzej Filip wrote:
>
>>Is it possible to make exim verify recipient addresses delivered via
>>lmtp (socket) transport ? [LMTP callout]
>
>Kind of. Something like (RCPT ACL):
>


Oops:

   deny    domains = +local_domains

>          !verify = recipient/callout=10s,defer_ok
>          message = local recipient failed to verify


I forgot the other magic (namely to use manualroute rather than accept):

[routers]

lmtp:
driver = manualroute
domains = localimap
transport = lmtpsock
route_list = * localhost # but irrelevant if you're using a socket!
log_as_local

local_user:
  driver = redirect
  domains = +local_domains
  check_local_user        # if you like
  data = $local_part@localimap
  redirect_router = lmtp


[transports]

lmtpsock:
driver = lmtp
socket = /var/lib/imap/socket/lmtp
batch_max = 1000
user = cyrus


Having thought about this a little more, I'm not sure this does exactly
what you want. Hope it's at least a start though!