LMTP proxying

Ralf Hildebrandt r at sys4.de
Wed Sep 24 11:35:36 UTC 2014


How exactly is LMTP proxying supposed to work?

According to the example on
http://wiki2.dovecot.org/PasswordDatabase/ExtraFields/Proxy

I'm only seeing "proxy" in the password_query statements.

But LMTP never sends a password.


IMAP Proxying is working OK:

Sep 24 12:51:09 imap-login: Info: proxy(ralf.hildebrandt at charite.de): started proxying to dovecot.charite.de:993: user=<ralf.hildebrandt at charite.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 24 12:51:13 imap-login: Info: proxy(ralf.hildebrandt at charite.de): disconnecting 127.0.0.1 (Disconnected by server): user=<ralf.hildebrandt at charite.de>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured

But LMTP is logging this:

Sep 24 13:13:25 lmtp(17727): Info: Connect from 127.0.0.1
Sep 24 13:13:51 auth-worker(19603): Info: mysql(sql.posteo.local): Connected to database mailservice
Sep 24 13:14:11 lmtp(17727, ralf.hildebrandt at charite.de): Info: save: box=INBOX, uid=1, msgid=, size=304
Sep 24 13:14:11 lmtp(17727, ralf.hildebrandt at charite.de): Info: pH2yN1WnIlQ/RQAAoQzodQ: msgid=unspecified: saved mail to INBOX
Sep 24 13:14:11 dict: Info: mysql(sql.charite.de): Connected to database mailservice
Sep 24 13:14:13 lmtp(17727): Info: Disconnect from 127.0.0.1: Client quit (in reset)
Sep 24 13:15:29 master: Warning: Killed with signal 15 (by pid=25892 uid=0 code=kill)

I read that there's no "default port for LMTP", but how can I adapt
the query in such a way that the default port 24 is being used ONLY
FOR LMTP?

I'm using (snippet):

  ...
  NULL AS password, \
  'Y' AS nopassword, \
  'Y' AS proxy, 'dovecot.charite.de' AS host, 'any-cert' AS 'ssl', \
  ...
  
-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein


More information about the dovecot mailing list