[PATCH] Fix code extracting the MTA from Received: headers

2010-04-13 Thread Dirk Hohndel
On Tue, 13 Apr 2010 10:37:49 -0700, Carl Worth wrote: > On Thu, 08 Apr 2010 08:07:48 -0700, Dirk Hohndel > wrote: > > Right now my plan is to do something like this: > > > > 1) look for my email address in To/Cc > > 2) look for my email in "for " in Received headers > > 3) look for my email in

[PATCH] Fix code extracting the MTA from Received: headers

2010-04-13 Thread Carl Worth
On Thu, 08 Apr 2010 08:07:48 -0700, Dirk Hohndel wrote: > Right now my plan is to do something like this: > > 1) look for my email address in To/Cc > 2) look for my email in "for " in Received headers > 3) look for my email in X-Original-To > 4) look for the domain of my email in Received

Re: [PATCH] Fix code extracting the MTA from Received: headers

2010-04-13 Thread Carl Worth
On Thu, 08 Apr 2010 08:07:48 -0700, Dirk Hohndel hohn...@infradead.org wrote: Right now my plan is to do something like this: 1) look for my email address in To/Cc 2) look for my email in for em...@add.res in Received headers 3) look for my email in X-Original-To 4) look for the domain of

Re: [PATCH] Fix code extracting the MTA from Received: headers

2010-04-13 Thread Dirk Hohndel
On Tue, 13 Apr 2010 10:37:49 -0700, Carl Worth cwo...@cworth.org wrote: On Thu, 08 Apr 2010 08:07:48 -0700, Dirk Hohndel hohn...@infradead.org wrote: Right now my plan is to do something like this: 1) look for my email address in To/Cc 2) look for my email in for em...@add.res in

[PATCH] Fix code extracting the MTA from Received: headers

2010-04-08 Thread Sebastian Spaeth
On 2010-04-07, Dirk Hohndel wrote: > > The previous code made too many assumptions about the (sadly not > standardized) format of the Received headers. This version should > be more robust to deal with different variations. This code might be useful for some, but I know it is not being useful

[PATCH] Fix code extracting the MTA from Received: headers

2010-04-08 Thread Dirk Hohndel
On Thu, 08 Apr 2010 09:59:14 +0200, "Sebastian Spaeth" wrote: > On 2010-04-07, Dirk Hohndel wrote: > > > > The previous code made too many assumptions about the (sadly not > > standardized) format of the Received headers. This version should > > be more robust to deal with different variations.

[PATCH] Fix code extracting the MTA from Received: headers

2010-04-07 Thread Carl Worth
On Wed, 07 Apr 2010 13:38:29 -0700, Dirk Hohndel wrote: > The previous code made too many assumptions about the (sadly not > standardized) format of the Received headers. This version should > be more robust to deal with different variations. Thanks for maintaining this. I'll have to fiddle

[PATCH] Fix code extracting the MTA from Received: headers

2010-04-07 Thread Dirk Hohndel
The previous code made too many assumptions about the (sadly not standardized) format of the Received headers. This version should be more robust to deal with different variations. Signed-off-by: Dirk Hohndel --- notmuch-reply.c | 23 +-- 1 files changed, 9 insertions(+),

[PATCH] Fix code extracting the MTA from Received: headers

2010-04-07 Thread Dirk Hohndel
The previous code made too many assumptions about the (sadly not standardized) format of the Received headers. This version should be more robust to deal with different variations. Signed-off-by: Dirk Hohndel hohn...@infradead.org --- notmuch-reply.c | 23 +-- 1 files

Re: [PATCH] Fix code extracting the MTA from Received: headers

2010-04-07 Thread Carl Worth
On Wed, 07 Apr 2010 13:38:29 -0700, Dirk Hohndel hohn...@infradead.org wrote: The previous code made too many assumptions about the (sadly not standardized) format of the Received headers. This version should be more robust to deal with different variations. Thanks for maintaining this. I'll