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=<[email protected]>, 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 <[email protected]> 
lwjfEVNtZksuIAAA4eG3hw Saved)
Feb  1 06:57:39 testhost dovecot: lmtp(8238, [email protected]): 
lwjfEVNtZksuIAAA4eG3hw: msgid=<[email protected]>: 
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=<[email protected]>: saved mail to INBOX
Feb  1 07:21:08 testhost postfix/local[10039]: 0D6D6A3608: 
to=<[email protected]>, 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

Attachment: GnuPG-Signatur.asc
Description: digitale Signatur dieser Nachricht von Andreas Schulze

Reply via email to