Allow forwarding to multiple "root" recipients
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ssmtp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ssmtp
I use sSMTP in a corporate environment, thanks to the feature of rewriting/
Recently, I've wanted the ability to say e.g.
<email address hidden>,<email address hidden>
That is, to have system mail be forwarded to more than one external address. My use case is, for systems (usually desktops) that are administered by their users, I want system messages to go to them, but I also want those messages to go to a central mailbox where they can be monitored. For example, if a user leaves the company, this will ensure that system messages don't just vanish into a defunct inbox.
I've put together a patch against ssmtp 2.62. It's very simple, basically doing an extra round of strtok() after the rcpt_remap() calls in ssmtp(). For good measure, I also fixed a couple of uninitialized-
The ssmtp.conf(5) man page description for the "Root" keyword might have the following two sentences tacked on:
Multiple users may be specifed, separated by commas. (White space is not allowed following a comma, nor anywhere else in the argument.)
Status changed to 'Confirmed' because the bug affects multiple users.