Re: Add a header line with postfix
- From: Mark Lijftogt <mark@xxxxxxxxxx>
- Date: Mon, 16 Jan 2006 11:23:54 +0100
Thx for your reply,Date: Fri, 13 Jan 2006 20:21:50 +0100 From: Mark Lijftogt <mark@xxxxxxxxxx>
I'm in the unlucky position to be searching for a possible solution for a header issue that a java application is giving me. This java application POP's it's email to distribute it later on. Now, in most cases this goes without a hitch, except when the adress on which the java application checks is bcc'ed.
For this reason the coders decided it was a wise step to push the issue forward to the admins, requestion for every e-mail that passes on thrue a X-evelope-to: header, with the recepient after that.
Now, I'm unsure how to approach this.. or how I could approach this, but more important.. how I should approach this. header_checks and UCE rules alike, in the duration that I was reading I'm unsure if that would be the road to take (and a "deadline" is coming insight rather quickly).
Any pcre or other regex option availible that ADD's a headerline?
Unfortunately it is not clear from your description how the mail is being handled. When you say "This java application POP's it's email", is it always POPing from a single mailbox, or could it POP from various mailboxes? Anyway, if you just want to add a header when you know the envelope recipient, just pipe the message through this filter:
formail -A "X-envelope-to: $recipient"
If the recipient is not defined then that is another story . . .
I should have stuck to the question, and not make it a blurry episode describing what the application does
in a sense.
What is needed is quite simple, but I still don't know enough about postfix to get it done (right).
The mail handling is unchanged, looking at it from a default postfix install, but it needs to get an extra header
line: x-envelope-to: $recipient
the $recipient must be the recipient, so that the application can treat the mailbox as something like an
ETRN account.
Thx, ,Mark
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Re: Add a header line with postfix
- From: Jim Holland
- Re: Add a header line with postfix
- Prev by Date: Re: Kickstart floppy Debian
- Next by Date: Re: video conference
- Previous by thread: Re: Add a header line with postfix
- Next by thread: Error inserting genrtc
- Index(es):
Relevant Pages
|
Loading