Re: Betr.: Re: Betr.: Re: Trim part of the header with header rewriting ?

2009-11-17 Thread Arjan Melein
Op 12-11-2009 om 21:35 is door Wietse Venema wie...@porcupine.org geschreven: As shown below, Postfix 2.7 can fix commands from remote SMTP clients. Meanwhile, I am adding a similar feature to fix replies from remote SMTP servers. In your case the regexp could look like:

Re: Betr.: Re: Betr.: Re: Trim part of the header with header rewriting ?

2009-11-17 Thread Wietse Venema
Arjan Melein: It's been a few days but i just ran into a little bump in the road.. It looks like the ;1:1 actually changes depending on the number of recipients. How would I change '/^RCPT\s+TO:(.*);1:1$/ RCPT TO:$1' into matching 'domain.tld;#:#' and put the domain.tld back without the

Re: Betr.: Re: Betr.: Re: Trim part of the header with header rewriting ?

2009-11-17 Thread Arjan Melein
Op 17-11-2009 om 12:48 is door Wietse Venema wie...@porcupine.org geschreven: Arjan Melein: It's been a few days but i just ran into a little bump in the road.. It looks like the ;1:1 actually changes depending on the number of recipients. How would I change '/^RCPT\s+TO:(.*);1:1$/ RCPT

Re: Trim part of the header with header rewriting ?

2009-11-17 Thread Rakotomandimby Mihamina
11/13/2009 11:11 AM, Arjan Melein: First, Sorry for the top posting before. Client default puts replies on top. You are wrong. The cursor has to start blinking somewhere, it starts at the beginning. You have to make the effort to move it down. Secondly, you also MUST trim the message, as I

Re: Betr.: Re: Betr.: Re: Trim part of the header with header rewriting ?

2009-11-13 Thread Arjan Melein
Op 12-11-2009 om 21:35 is door Wietse Venema wie...@porcupine.org geschreven: Noel Jones: On 11/12/2009 12:28 PM, Arjan Melein wrote: Yea I just found that out when I just tried to sed the queue file :-) Any way to limit it to only take out the line on domain X Y and Z ? On a sidenote,

Re: Betr.: Re: Betr.: Re: Trim part of the header with header rewriting ?

2009-11-13 Thread Arjan Melein
Op 12-11-2009 om 21:35 is door Wietse Venema wie...@porcupine.org geschreven: Noel Jones: On 11/12/2009 12:28 PM, Arjan Melein wrote: Yea I just found that out when I just tried to sed the queue file :-) Any way to limit it to only take out the line on domain X Y and Z ? On a sidenote,

Trim part of the header with header rewriting ?

2009-11-12 Thread Arjan Melein
Hello, I am currently having an issue where our enterprise mail system is bugged(groupwise8sp1) and for some unknown reason, even for Novell, it is adding ;1:1 to the end of the TO: line and this is causing e-mails to bounce with a certain ISP who has very strict header checking. I'm using

Re: Trim part of the header with header rewriting ?

2009-11-12 Thread Noel Jones
On 11/12/2009 3:50 AM, Arjan Melein wrote: Hello, I am currently having an issue where our enterprise mail system is bugged(groupwise8sp1) and for some unknown reason, even for Novell, it is adding ;1:1 to the end of the TO: line and this is causing e-mails to bounce with a certain ISP who

Re: Betr.: Re: Trim part of the header with header rewriting ?

2009-11-12 Thread Noel Jones
The emergency workaround is to remove the offending header. If you try to rewrite it, you're likely to break it in new and interesting ways. -- Noel Jones On 11/12/2009 7:51 AM, Arjan Melein wrote: Is there no way to somehow rewrite it instead of removing it fully ? I know its better to

Re: Betr.: Re: Betr.: Re: Trim part of the header with header rewriting ?

2009-11-12 Thread Noel Jones
On 11/12/2009 12:28 PM, Arjan Melein wrote: Yea I just found that out when I just tried to sed the queue file :-) Any way to limit it to only take out the line on domain X Y and Z ? On a sidenote, its actually the RCPT TO: line and not the normal TO: line ... not sure if that's going to be a

Re: Betr.: Re: Betr.: Re: Trim part of the header with header rewriting ?

2009-11-12 Thread Wietse Venema
Noel Jones: On 11/12/2009 12:28 PM, Arjan Melein wrote: Yea I just found that out when I just tried to sed the queue file :-) Any way to limit it to only take out the line on domain X Y and Z ? On a sidenote, its actually the RCPT TO: line and not the normal TO: line ... not sure if

Re: Betr.: Re: Betr.: Re: Trim part of the header with header rewriting ?

2009-11-12 Thread LuKreme
On 12-Nov-2009, at 13:35, Wietse Venema wrote: This an incredibly unsafe tool. Ooo, those are my favorite kinds! -- The very existence of flame-throwers proves that some time, somewhere, someone said to themselves, You know, I want to set those people over there on fire, but