]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
oops, i did it again.. sorry ;) Post to the list..
- -------- Original Message --------
Subject: Re: [Fwd: Re: Mails in incoming cause of "invalid from"]
Date: Sat, 16 Sep 2006 19:58:26 +0200
From: Sven 'Darkman' Michels <[email protected]>
To: Mads Martin Joergensen <[email protected]>
References: <[email protected]> <[email protected]>
Hi,
Quoted 1 line · Mads Martin Joergensen
Just tried to reproduce, and cannot. Can you reproduce with 1.2.12-RC2?
Yep. I updated to rc2 and did:
cat incoming/5dc2658876e70a91 | /usr/bin/mlmmj-recieve -L /var/spool/mlmmj/test/
With 1.2.11 i saw output on the shell, now i don't. But: i see logs from mlmmj-process.c which told me that the mail was discarded, and with RC2 the mail now is put into the discard dir, not left in incoming anymore.
Log:
Sep 16 19:55:58 pamphlet /usr/bin/mlmmj-process[7818]: mlmmj-process.c:641: Discarding /var/spool/mlmmj/test//incoming/2d1420e3163f055e due to invalid From:: Bad file descriptor Sep 16 19:55:58 pamphlet /usr/bin/mlmmj-process[7818]: mlmmj-process.c:644: fromemails.emaillist[0] = [email protected] : Bad file descriptor Sep 16 19:55:58 pamphlet /usr/bin/mlmmj-process[7818]:
mlmmj-process.c:644: fromemails.emaillist[1] = Adnan Vatandas [mailto:[email protected]] : Bad file descriptor
Regards,
Sven
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD4DBQFFDD0oQoCguWUBzBwRAjDrAKCvkPCME2HiHVTs4n54XihrPvkucgCWKd8c SHITieuop8pw2OM2yPDPsQ=
=jrMG
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
shame on me... maybe we could force reply-to? (i know, bad thing etc..)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFFDbZUQoCguWUBzBwRAsvoAJsGQ3lBnn63fddlvq/7Uni4T4Yh7wCggnQt Be50f7nFlcGto6l/BXPWAJA=
=e7Og
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 2 lines · Mads Martin Joergensen
mlmmj should stop parsing headers when two newlines are met like the spec claims.
ahem? 2? maybe i'm missunderstand you, but i thought header ends when one empty line shows up...?
Quoted 7 lines
That's why when I add a From: on the beginning of a line after a newline, that From: isn't picked up.
Could you look in a hex editor or such, to see if there's something making mlmmj believe there's more headers? Space or tab is enough to make it continue.
Quoted 6 lines
Quoted 3 lines
I also tested this with thunderbird: when i add some "fake headers", it works with the following "code":
bla faselWell, can you trigger it with Thunderbird, by writing From: somewhere after a newline?
No, couldn't. But i played around with, the following did trigger it:
<space><space>text\n
\n
<space><space>text\n
From: [email protected] [mailto:[email protected]]
looks like:
bla fasel
bla
From: [email protected] [mailto:[email protected]]
Does that help?
Regards,
Sven
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFFDbWyQoCguWUBzBwRAiBUAJ9X2rrMewvoxmv6DkJmwcB/kdZHqACeL9b0 +O+hYWPYYEkXYEWuKOExPWY=
=atrz
-----END PGP SIGNATURE-----
Quoted 5 lines · Sven 'Darkman' Michels
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1shame on me... maybe we could force reply-to? (i know, bad thing etc..)
Maybe the following in your .procmailrc (untested):
:0 fhw
* Retun-Path: mlmmj+bounces-
| formail -i "Reply-To: [email protected]"
Signature · 4 lines
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogical, with just a little bit more effort?"
-- A. P. J.