All of lore.kernel.org
 help / color / mirror / Atom feed
* [Fwd: Re: [Fwd: Re: Mails in incoming cause of "invalid from"]]
@ 2006-09-16 18:06 Sven 'Darkman' Michels
  2006-09-17 20:55 ` Sven 'Darkman' Michels
  2006-09-17 21:05 ` Mads Martin Joergensen
  0 siblings, 2 replies; 3+ messages in thread
From: Sven 'Darkman' Michels @ 2006-09-16 18:06 UTC (permalink / raw)
  To: mlmmj

-----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 <sven@darkman.de>
To: Mads Martin Joergensen <mmj@mmj.dk>
References: <450B2711.4030008@darkman.de> <20060916171821.GF14637@mmj.dk>

Hi,

Mads Martin Joergensen wrote:
> 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] = my@benjamin-oette.de :
Bad file descriptor
Sep 16 19:55:58 pamphlet /usr/bin/mlmmj-process[7818]:
mlmmj-process.c:644: fromemails.emaillist[1] = Adnan Vatandas
[mailto:vatandas@rz.uni-frankfurt.de]  : 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-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Fwd: Re: [Fwd: Re: Mails in incoming cause of "invalid from"]]
  2006-09-16 18:06 [Fwd: Re: [Fwd: Re: Mails in incoming cause of "invalid from"]] Sven 'Darkman' Michels
@ 2006-09-17 20:55 ` Sven 'Darkman' Michels
  2006-09-17 21:05 ` Mads Martin Joergensen
  1 sibling, 0 replies; 3+ messages in thread
From: Sven 'Darkman' Michels @ 2006-09-17 20:55 UTC (permalink / raw)
  To: mlmmj

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

-----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-----

[-- Attachment #2: Re: [Fwd: Re: Mails in incoming cause of "invalid from"] --]
[-- Type: message/rfc822, Size: 1943 bytes --]

From: Sven 'Darkman' Michels <sven@darkman.de>
To: Mads Martin Joergensen <mmj@mmj.dk>
Subject: Re: [Fwd: Re: Mails in incoming cause of "invalid from"]
Date: Sun, 17 Sep 2006 22:53:07 +0200
Message-ID: <450DB5B3.7050006@darkman.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mads Martin Joergensen wrote:
> 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...?


> 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.
> 
>> I also tested this with thunderbird: when i add some
>> "fake headers", it works with the following "code":
>>   bla fasel
> 
> Well, 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: test+help@c3f2m.de [mailto:test+help@c3f2m.de]

looks like:
  bla fasel

  bla
From: test+help@c3f2m.de [mailto:test+help@c3f2m.de]

Does that help?

Regards,
Sven

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFFDbWyQoCguWUBzBwRAiBUAJ9X2rrMewvoxmv6DkJmwcB/kdZHqACeL9b0
+O+hYWPYYEkXYEWuKOExPWY=
=atrz
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Fwd: Re: [Fwd: Re: Mails in incoming cause of "invalid from"]]
  2006-09-16 18:06 [Fwd: Re: [Fwd: Re: Mails in incoming cause of "invalid from"]] Sven 'Darkman' Michels
  2006-09-17 20:55 ` Sven 'Darkman' Michels
@ 2006-09-17 21:05 ` Mads Martin Joergensen
  1 sibling, 0 replies; 3+ messages in thread
From: Mads Martin Joergensen @ 2006-09-17 21:05 UTC (permalink / raw)
  To: mlmmj

* Sven 'Darkman' Michels <sven@darkman.de> [Sep 17. 2006 22:55]:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> shame 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: mlmmj@mmj.dk"

-- 
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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-17 21:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-16 18:06 [Fwd: Re: [Fwd: Re: Mails in incoming cause of "invalid from"]] Sven 'Darkman' Michels
2006-09-17 20:55 ` Sven 'Darkman' Michels
2006-09-17 21:05 ` Mads Martin Joergensen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.