[Dovecot] LMTP-Server: missing headers

Andreas Schulze andreas.schulze at datev.de
Mon Feb 1 08:38:21 EET 2010


Hello,

I just installed dovecot2-beta2 and configured the lmtp-server + postfix (no virtual users)

postfix:
mail_version = 2.7-20100117
mailbox_transport = lmtp:unix:lmtp-server
lmtp_assume_final = yes

dovecot:
service lmtp {
  executable = lmtp
  protocol = lmtp
  unix_listener /var/spool/postfix/lmtp-server {
    group = postfix
    mode = 0660
    user = postfix
  }
}

Mail gets delivered to ~user/Maildir/
Feb  1 06:57:39 testhost dovecot: lmtp(8238): Connect from local
Feb  1 06:57:39 testhost postfix/lmtp[8237]: 07108A3608: to=<sca at testhost.example.org>, orig_to=<root>, relay=testhost.example.org[lmtp-server], delay=0.67, delays=0.22/0.03/0.22/0.2, dsn=2.0.0, status=sent (250 2.0.0 <sca at testhost.example.org> lwjfEVNtZksuIAAA4eG3hw Saved)
Feb  1 06:57:39 testhost dovecot: lmtp(8238, sca at testhost.example.org): lwjfEVNtZksuIAAA4eG3hw: msgid=<20100201055739.07108A3608 at testhost.example.org>: saved mail to INBOX

Second try: postfix using deliver
postfix:
mailbox_command = /usr/lib/dovecot/deliver

log:
Feb  1 07:21:08 testhost dovecot: lda(sca): msgid=<20100201062108.0D6D6A3608 at testhost.example.org>: saved mail to INBOX
Feb  1 07:21:08 testhost postfix/local[10039]: 0D6D6A3608: to=<sca at testhost.example.org>, orig_to=<sca>, relay=local, delay=0.13, delays=0.04/0.01/0/0.08, dsn=2.0.0, status=sent (delivered to command: /usr/lib/dovecot/deliver)

In the first case there are *no* Return-Path and Delivered-To Headers.
In the (most common) second case the *are* present.
Why these Headers are not included while using the LMTP-Server?

-- 
Andreas Schulze
Internetdienste | P532

DATEV eG
90329 Nürnberg | Telefon +49 911 319-0 | Telefax +49 911 319-3196
E-Mail info @datev.de | Internet www.datev.de
Sitz: 90429 Nürnberg, Paumgartnerstr. 6-14 | Registergericht Nürnberg, GenReg Nr.70
Vorstand
Prof. Dieter Kempf (Vorsitzender)
Dipl.-Kfm. Wolfgang Stegmann (stellvertretender Vorsitzender)
Dipl.-Kfm. Michael Leistenschneider
Jörg Rabe v. Pappenheim
Dipl.-Vw. Eckhard Schwarzer
Vorsitzender des Aufsichtsrates: Reinhard Verholen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: digitale Signatur dieser Nachricht von Andreas Schulze
Url : http://dovecot.org/pipermail/dovecot/attachments/20100201/392752e8/attachment.bin 


More information about the dovecot mailing list