On October 26, 2006 10:54:39 AM -0500 Steven F Siirila sfs@tc.umn.edu wrote:
On Tue, Oct 17, 2006 at 05:19:40PM -0500, Steven F Siirila wrote:
I just upgraded our test server from rc6 to rc10...
ISSUE #1
I noticed that we no longer are getting two "From_" lines. However, the one that was good (had the original sender e-mail address) is now gone. The one with "dovecot.deliver" remains.
I attempted to add "-d test" to the mailbox_command line in main.cf as follows:
mailbox_command = /opt/dovecot/libexec/dovecot/deliver -d test
and things turned ugly and caused Postfix to defer messages:
Oct 17 16:31:50 hostname postfix/local[7230]: D14632C9C: to=someuser@somehost, relay=local, delay=3.6, delays=3/0.02/0/0.62, dsn=4.3.0, status=deferred (temporary failure)
I removed the "-d test" from the Postfix main.cf and the problem went away. So, how do I fix the "From_" lines?
The final resolution for #1 was to use this in the Postfix main.cf file:
mailbox_command = /opt/dovecot/libexec/dovecot/deliver -f "$SENDER"
If you recall, I replied to this thread earlier saying I had no problems with beta8 -- deliver (lda from cvs, for sieve) wrote a single From line into Maildir files and it was the envelope sender. That was with postfix-2.3.2 and mailbox_command = /path/to/deliver. (no options)
I just upgraded to rc15 and deliver (now from dovecot itself but with sieve plugin) with postfix-2.3.3 acts identically -- no problems.
-frank