On Tue, Feb 03, 2015 at 11:53:55AM +0100, Marcus Bointon wrote: > On 3 Feb 2015, at 11:25, Christian R??ner > <c...@roessner-network-solutions.com> wrote: > > > > php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f > > foo...@example.org > > Don't put a space between the `-f` and the address, it should be like > `-ffoo...@example.org`.
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" ... -- Viktor.