Marcus Bointon:

Checking application/pgp-signature: FAILURE
-- Start of PGP signed section.
> On 3 Feb 2015, at 17:48, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote:
> > 
> > Actually, DO put a space in.  Some day you'll write a shell script
> > of the form:
> > 
> >     /usr/sbin/sendmail -f "$sender" ...
> > 
> > which will work even when the sender address is empty, the non-space
> > variant will break:
> > 
> >     /usr/sbin/sendmail -f"$sender" ...
> 
> This isn't a typical shell script - it's called from PHP internals,

Email sometimes has the null sender address (delivery status notifications,
bounces, delayed mail warnings).  With the form:

    /usr/sbin/sendmail -f"$sender" otherstuff

it is exactly as if Postfix was invoked like this:

    /usr/sbin/sendmail -f otherstuff

And that would be wrong. This is why a space is needed between
the -f and the sender argument.

        Wietse

Reply via email to