Re: [exim] Exim 4, lmtp, xinetd and imapd

Top Pagina
Delete this message
Reply to this message
Auteur: Andreas Steinmetz
Datum:  
Aan: Frank Brodbeck
CC: exim-users
Onderwerp: Re: [exim] Exim 4, lmtp, xinetd and imapd
Frank Brodbeck wrote:
> Hi list,
>
> I'm stuck here with teaching exim to lmtp messages to $imapd. I tried
> cyrus, binc and uw-imap. Host system is debian sarge.
>
> Well, the problem seems to be - as far as I understand the circumstances
> - that I can't access the imap daemon via sockets because the daemon
> will be invoked by xinetd and I can't tell exim to start the deliver
> command (e.g. cyrdeliver which seems to be the cyrus deliver renamed by
> the debian package maintainer) because it resided within /usr/sbin.
>
> Searching the web just gave me a bunch of appendfile stuff from exim 3.x
> but I would love to use lmtp.
>
> So, is there a way to pass messages to e.g. cyrus with lmtp in this
> environment?
>
> Here's my current transport, but it's just leading to a timeout due to
> the /usr/sbin/ problem...
>
> imap:
> driver = lmtp
> user = cyrus
> command = /usr/sbin/cyrdeliver ${local_part}
>


Try something like (adapt to your requirements):

cyrus_imap:
user = imap
transport_filter = /usr/bin/tr -d \\000
.ifdef LMTPUNIX
driver = lmtp
socket = LMTPUNIX
batch_max = 20
timeout = 1m
.else
driver = pipe
message_prefix =
command = "/usr/cyrus/bin/deliver -r ${return_path} ${local_part}"
ignore_status = false
temp_errors = 73 : 75
.endif

-- 
Andreas Steinmetz                       SPAMmers use robotrap@???