I'm using Postfix and Dovecot 2.0.19 and Virtual domains & users (mysql). Incoming mail is handled by Postfix and then handed off to Dovecot LMTP for delivery. However, the Sender and Date are essentially null when viewing the email with either the POP3 or IMAP client. The logs (below) show this. I changed the sender and recipient addresses for privacy. Jan 23 08:41:48 klsrv postfix/smtpd[10836]: 1F907F00276: client=unknown[10.0.0.19] Jan 23 08:42:07 klsrv postfix/cleanup[10842]: 1F907F00276: message-id=<> Jan 23 08:42:07 klsrv postfix/qmgr[4889]: 1F907F00276: from=<sender at example.com>, size=217, nrcpt=1 (queue active) Jan 23 08:42:07 klsrv dovecot: lmtp(10845): Connect from local Jan 23 08:42:07 klsrv dovecot: lmtp(10845, recipient at example.net): wvU2Gq9PwlRdKgAAjuDoqw: subject=test to client: from=: msgid=unspecified: status=saved mail to INBOX: Jan 23 08:42:07 klsrv postfix/lmtp[10844]: 1F907F00276: to=<recipient at example.net>, relay=klsrv.airhop.net[private/dovecot-lmtp], delay=28, delays=28/0.01/0.01/0.01, dsn=2.0.0, status=sent (250 2.0.0 <recipient at example.net> wvU2Gq9PwlRdKgAAjuDoqw Saved) Jan 23 08:42:07 klsrv dovecot: lmtp(10845): Disconnect from local: Client quit (in reset) Jan 23 08:42:07 klsrv postfix/qmgr[4889]: 1F907F00276: removed You can see that Postfix accepts the incoming mail (from sender at example.com) and then the message is handed to Dovecot LMTP. But the from=: should be "from=sender at example.com:". Postfix / qmgr has the sender listed (from=<sender at example.com>) but no sender (from=) is seen in LMTP log output. My LMTP is setup to use UNIX sockets, not the INET socket. Any help is appreciated.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 23 Jan 2015, John Hendrich wrote:> I'm using Postfix and Dovecot 2.0.19 and Virtual domains & users > (mysql). Incoming mail is handled by Postfix and then handed off to > Dovecot LMTP for delivery. However, the Sender and Date are essentially > null when viewing the email with either the POP3 or IMAP client. The > logs (below) show this. I changed the sender and recipient addresses > for privacy. > > Jan 23 08:41:48 klsrv postfix/smtpd[10836]: 1F907F00276: > client=unknown[10.0.0.19] > Jan 23 08:42:07 klsrv postfix/cleanup[10842]: 1F907F00276: message-id=<> > Jan 23 08:42:07 klsrv postfix/qmgr[4889]: 1F907F00276: > from=<sender at example.com>, size=217, nrcpt=1 (queue active) > Jan 23 08:42:07 klsrv dovecot: lmtp(10845): Connect from local > Jan 23 08:42:07 klsrv dovecot: lmtp(10845, recipient at example.net): > wvU2Gq9PwlRdKgAAjuDoqw: subject=test to client: from=: > msgid=unspecified: status=saved mail to INBOX: > Jan 23 08:42:07 klsrv postfix/lmtp[10844]: 1F907F00276: > to=<recipient at example.net>, > relay=klsrv.airhop.net[private/dovecot-lmtp], delay=28, > delays=28/0.01/0.01/0.01, dsn=2.0.0, status=sent (250 2.0.0 > <recipient at example.net> wvU2Gq9PwlRdKgAAjuDoqw Saved) > Jan 23 08:42:07 klsrv dovecot: lmtp(10845): Disconnect from local: > Client quit (in reset) > Jan 23 08:42:07 klsrv postfix/qmgr[4889]: 1F907F00276: removed > > You can see that Postfix accepts the incoming mail (from > sender at example.com) and then the message is handed to Dovecot LMTP. But > the from=: should be "from=sender at example.com:". > > Postfix / qmgr has the sender listed (from=<sender at example.com>) but no > sender (from=) is seen in LMTP log output. My LMTP is setup to use UNIX > sockets, not the INET socket. > > Any help is appreciated.1) Where is your Postfix conf, one can comment on? 2) The message-id is empty or absent, did you _verified_, that the message contains "From" and "Date" headers at all? I guess it does not contain them either. So, no client can display missing information. Postfix's "from" is the envelope from, that is storred in the Return-Path header in the message the client retrieves. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBVMJmS3z1H7kL/d9rAQJg/Qf9EOuwdzwfJrJZ2qqUhFHiq5PlbHoi8N4m 88LH3YrSsGFc30xZ6BCEPywdRJHDOtOkd8GiiV4q+T+wLopSrLpVqCUBgJaSsKsJ 2wMD7Nx4QYQZz8PHalhwR9Tnl5m9A6w8j8gemJnhvweLKFQyxLw0Z6NIzQEUNo14 XFTeJVeTHGBNC6BviX+PgAVQkk50gQd/ZH9FVB5FiNnE0TJWcm5Y1nMg1vzWZpBy IvfAPzgXDnwkAocKAhqjxPTlLkg4JQ7vDcG4w3BQPQj9EeMT8bm3lDix0juLznvX hu5sE3LJY6JDiBogAplR+TwDe7GXg+ndYKsIzUrIdxVYsROc46vf+g==M+qD -----END PGP SIGNATURE-----
Am 23.01.2015 um 16:06 schrieb John Hendrich:> I'm using Postfix and Dovecot 2.0.19 and Virtual domains & users > (mysql). Incoming mail is handled by Postfix and then handed off to > Dovecot LMTP for delivery. However, the Sender and Date are essentially > null when viewing the email with either the POP3 or IMAP client. The > logs (below) show this. I changed the sender and recipient addresses > for privacy. > > Jan 23 08:42:07 klsrv postfix/cleanup[10842]: 1F907F00276: message-id=<> > Jan 23 08:42:07 klsrv postfix/qmgr[4889]: 1F907F00276: > from=<sender at example.com>, size=217, nrcpt=1 (queue active) > > You can see that Postfix accepts the incoming mail (from > sender at example.com) and then the message is handed to Dovecot LMTP. But > the from=: should be "from=sender at example.com:". > > Postfix / qmgr has the sender listed (from=<sender at example.com>) but no > sender (from=) is seen in LMTP log output. My LMTP is setup to use UNIX > sockets, not the INET socketyou need to understand e-mail basics what you see in the postfix logs is the *envelope sender* what you miss in the message is the non-existent To-HEADER -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150123/6149c994/attachment.sig>