Hello,
Configuring tmail as a transport in postfix will allow you to alter
how postfix outputs eol.
main.cf:
mailbox_transport = tmail
# Don't run tmail with multiple recipients
tmail_destination_recipient_limit = 1
master.cf:
tmail unix - n n - - pipe
flags=R eol=\r\n user=nobody argv=/usr/local/libexec/tmail ${user}
On 8. nov. 2006, at 17.53, Michael Cashwell wrote:
Greetings,
I'm considering switching local delivery to go directly to users'
inboxes via tmail but am having trouble finding information about
this for Postfix.
My issue is that I make extensive use of alias databases (directly
and for Mailman). This means I must use Postfix's "local" delivery
service as that's where aliases are resolved. However, unlike its
"pipe" service, the "local" service has no option to emit CRLF. Its
messages will reach tmail as LF-delimited.
The Postfix author has tersely said, "To make tmail work in a UNIX
environment, I recommend that it understand the native UNIX text
format."
Well that's strange. Postfix (running on Unix) seems fine with
CRLFs in mbox files and supports them "on the wire" but denies
other processes the same luxury. Instead, tmail is expected to
accept non-RFC822 compliant messages. Despite this hypocrisy, I am
quite sure there will be no convincing the staunchly opinionated
core Postfix folks of ANYTHING.
A subsequent post to the Postfix thread quoted above said one could
"Reconfigure tmail instead, it does understand LF-formatted mail
too" but (in sadly typical fashion for that crowd) they provided no
supporting details at all.
I looked at the tmail source and it would appear that just
commenting out the mm_log line would eliminate the logging but that
seems really ugly to me. I also don't see how deleting source code
could be called "reconfiguring" though that may just be the
poster's imprecise language.
Does anyone have any thoughts or experience in making Postfix and
tmail play nice?
And finally, in trying to answer my question myself before
pestering others, I visited this list's archives (via <https://
mailman1.u.washington.edu/mailman/listinfo/imap-uw>) to look for
"tmail" and "CRLF" but I don't see any way to actually _search_ the
archives. Am I just in the wrong place or am I expecting too much?
Thanks,
Mike
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw
--
Frode Nordahl
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw