List Info

Thread: Re: AW: AW: HMM got lmtp dupicate entries HOW and WHY?




Re: AW: AW: HMM got lmtp dupicate entries HOW and WHY?
country flaguser name
United States
2008-03-05 10:54:33
John Fawcett wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Peter Rabbitson wrote:
>> John Fawcett wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Peter Rabbitson wrote:
>>>
>>>> Ah, I just wrote about this in another
message. So to confirm - when
>>>> displaying in a MUA a message retrieved
from dbmail, I see no return
>>>> path header (unless I add it at my MTA).
>>> Peter
>>> that's exactly what I get.
>>>
>>> However, if I do a select on
dbmail_headervalues table, I find the
>>> Return-PAth value stored there.
>>>
>>> I'm not sure where MUAs are expecting to get
this,
>>> from the message header or from the imap server
directly, but I
>>> think it should go into the message header
too.
>>>
>> So what is the verdict on this? Should I be adding
a RP just before
>> handing email to dbmail, or should dbmail append it
both in the headers
>> and physmessage, or does it matter at all?
> 
> with the patch applied I could not find issues whether
you add
> RP in the MTA or not.
> 

My question was was about the fact that currently dbmail
does not record the 
RP in the body of the message. I reviewed the patchset and
don't see this 
addressed. The bug indicated that OE discards information
from the IMAP server 
and reads the message body to get whatever it needs. So my
question is more 
like: will dbmail be adjusted in future version to insert RP
in the message 
body as well, or is this something in violation of the
protocols?
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: AW: AW: HMM got lmtp dupicate entries HOW and WHY?
country flaguser name
Italy
2008-03-05 11:27:35
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Rabbitson wrote:

> 
> My question was was about the fact that currently
dbmail does not record
> the RP in the body of the message. I reviewed the
patchset and don't see
> this addressed. The bug indicated that OE discards
information from the
> IMAP server and reads the message body to get whatever
it needs. So my
> question is more like: will dbmail be adjusted in
future version to
> insert RP in the message body as well, or is this
something in violation
> of the protocols?

I am getting RP header recorded now in the message body even
when the
message itself did not have a RP specified, so as far as I
can see
it is fixed. Here is the test I was using:

cat /tmp/test | dbmail-smtp -d testgufonero.com

where /tmp/test is:
- ---------------start---------------
Received: by mail.gufonero.com (Postfix, from userid 0)
    id 8DB13AFB94; Tue,  4 Mar 2008 03:39:04 -0500 (EST)
Received: by xxxx.gufonero.com (Postfix, from userid 0)
    id 8DB13AFB94; Tue,  4 Mar 2008 03:39:03 -0500 (EST)
To: testgufonero.com
Subject: Test
Message-Id: <20080304083904.8DB13AFB94mail.gufonero.com>
Date: Tue,  4 Mar 2008 03:39:04 -0500 (EST)
From: xxxxgufonero.com
Content-Type: text/plain; charset=us-ascii

Simple test

- ----------------end----------------

in squirrelmail I see:

- ---------------start---------------
Received: by mail.gufonero.com (Postfix, from userid 0) id
8DB13AFB94;
     Tue, 4 Mar 2008 03:39:04 -0500 (EST)
Received: by xxxx.gufonero.com (Postfix, from userid 0) id
8DB13AFB94;
     Tue, 4 Mar 2008 03:39:03 -0500 (EST)
To: testgufonero.com
Subject: Test
Message-Id: <20080304083904.8DB13AFB94mail.gufonero.com>
Date: Tue, 4 Mar 2008 03:39:04 -0500 (EST)
From: xxxxgufonero.com
Return-Path: xxxxgufonero.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
- ----------------end----------------

So in the absence of the -r parameter and of an existing RP
header, dbmail has added it's own (taken from the From:
header).

John

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org


iD8DBQFHztgHd4I3jTtt9EIRAtG+AKCowCtTfmy7/dRVtBvtqaLzq/0eWgCf
QV3n
JgFx7hwsPguZNYMoPQgH4D4=
=AWkZ
-----END PGP SIGNATURE-----
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: AW: AW: HMM got lmtp dupicate entries HOW and WHY?
country flaguser name
Netherlands
2008-03-05 15:24:11
Peter Rabbitson wrote:

> My question was was about the fact that currently
dbmail does not record
> the RP in the body of the message. I reviewed the
patchset and don't see
> this addressed. The bug indicated that OE discards
information from the
> IMAP server and reads the message body to get whatever
it needs. So my
> question is more like: will dbmail be adjusted in
future version to
> insert RP in the message body as well, or is this
something in violation
> of the protocols?

For the record: the smtp rfc (2821) specifies that email
leaving the MTA
should insert a return-path header to record the envelope
sender.

Dbmail did not do this in the past, but has begun doing so
recently
(havent looked up the exact change).

The bug in question was triggered by dbmail doing the right
thing
(inserting the return-path header) the wrong way - leading
to a stack
corruption which was visible as a key collision.

-- 
 
____________________________________________________________
____
  Paul Stevens                                      paul at
nfg.nl
  NET FACILITIES GROUP                     GPG/PGP:
1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )