i have a Postfix 2.0.18 default Installation from Fedora Core 2 here.
When i deliver the Mails via lmtp (over TCP) to a Cyrus Server, postfix
doesn't add an X-Original-To Header. How can i enable adding the
X-Original-to Header when mailbox_transport ist lmtp?
Thanks in advance.
P.S:
mailbox_transport =3D lmtp:inet:mail.xxx.de:24
-- Markus
> Hi,
>
> i have a Postfix 2.0.18 default Installation from Fedora Core 2 here.
>
> When i deliver the Mails via lmtp (over TCP) to a Cyrus Server, postfix
> doesn't add an X-Original-To Header. How can i enable adding the
> X-Original-to Header when mailbox_transport ist lmtp?
>
Sorry, this is not possible at this time. Only the pipe(8), virtual(8)
and local(8) (when performing delivery to mailbox or command) add
X-Original-To. If you must have X-Original-To, you may need to use
a pipe(8) based mailbox_transport, that runs a command to inject the
mail via LMTP, rather than the built-in LMTP delivery agent. Set the
"O" flag, see pipe(8) for details.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majo...@postfix.org?body=unsubscribe%20postfix-users>
> Sorry, this is not possible at this time. Only the pipe(8), virtual(8)
> and local(8) (when performing delivery to mailbox or command) add
> X-Original-To.
is it planned for the near future?
It would be a really helpfull feature for me.
> If you must have X-Original-To, you may need to use
> a pipe(8) based mailbox_transport, that runs a command to inject the
> mail via LMTP, rather than the built-in LMTP delivery agent. Set the
> "O" flag, see pipe(8) for details.
Hmm.
I can use for example procmail and invoke deliver from then.
But my problem is that deliver support lmtp only with unix socket and not
tcp. (My cyrus is on another server, therefore i need TCP lmtp)
Well, but this is then an cyrus and not a postfix problem :)
Does anyone know a program which inject mails via lmtp over tcp?
Best regards,
Markus
> Hi Viktor,
>
> > Sorry, this is not possible at this time. Only the pipe(8), virtual(8)
> > and local(8) (when performing delivery to mailbox or command) add
> > X-Original-To.
>
> is it planned for the near future?
No. Someone suitably motivated would have to contribute a suitable patch
for the smtp(8) and lmtp(8) delivery agents (lmtp(8) will eventually be
built from the smtp(8) source, so the smtp patch is more important).
The pipe(8) daemon has an extensive list of delivery options, many
of which exist as hard-coded features in the local(8) daemon.
In order to preserve the sanity of us all, these options should
also be configurable in local(8) and other applicable delivery
agents, and preferably with the same user interface.
This means ripping out some code and replacing it by something that
can be used everywhere in Postfix, much like the way MIME parser
engine was added.
That's a bit more work than can be done before Postfix 2.2.
Wietse