Monday, September 03, 2018

Re: Issue with OpenSMTPD, procmail and comsat

On Mon, Sep 03, 2018 at 12:25:55PM +0200, d.rauschenb@gmail.com wrote:
> Hi Gilles,
>
> On Sun, Sep 02, 2018 at 01:25:46PM +0200, Gilles Chehade wrote:
> > Can you provide me with the corrupt line procmail includes so I can
> > check if it is invalid indeed ?
>
> The corrput line:
>
> From dra@ws.lan Mon Sep 3 12:12:34 2018
>
> The differenc I encountered is with .forward to procmail there are
> TWO spaces between the email address and the date, without .forward to
> procmail there is only ONE space.
>
> If I edit such a two spaced mail with vi(1) and concat it to
> /var/mail/$USER comsat(8) is silenced. No error message but ksh
> reports "you have mail in /var/mail/dra" as it should.
>

interesting, it's not clear to me how this can happen but at least this
means the fix will not be a special case.

can you try:

procmail -f %{mbox.from} --

i'll try to reproduce the bug at home but I'm unable before tonight.



--
Gilles Chehade

https://www.poolp.org @poolpOrg

No comments:

Post a Comment