Actions
Bug #5975
closedIf mailer.conf is missing mailwrapper should not forget to add arguments to the default sendmail
Start date:
2015-05-31
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
Description
If /etc/mailer.conf is missing mailwrapper will default to call /usr/lib/smtp/sendmail/sendmail.
Currently in that case it forgets to pass the arguments the wrapper was called with.
Steps to reproduce:¶
With default mailer.conf:
$ echo test | sendmail -t test@example.com $
Without:
$ sudo mv /etc/mailer.conf{,.bak} $ echo test | sendmail -t test@example.com Recipient names must be specified
Expected would be the same behaviour as without the default config.
I have a fix for this which I will submit for review after a ticket number is assigned.
Updated by Electric Monk almost 7 years ago
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
git commit 53f6595f69361f7ab8b35a984dbf237ec111cdd9
commit 53f6595f69361f7ab8b35a984dbf237ec111cdd9 Author: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net> Date: 2015-06-01T17:27:40.000Z 5975 If mailer.conf is missing mailwrapper should not forget to add arguments to the default sendmail Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Josef Sipek <jeffpc@josefsipek.net> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Dan McDonald <danmcd@omniti.com>
Actions