[Bug 297929] [NEW] Allow forwarding to multiple "root" recipients
Daniel Richard G.
skunk at iskunk.org
Fri Nov 14 04:59:28 UTC 2008
Public bug reported:
Binary package hint: ssmtp
I use sSMTP in a corporate environment, thanks to the feature of
rewriting/forwarding mail that would go to system users to an external
address instead. This is much simpler than configuring all the various
daemons, etc. with the appropriate mail address.
Recently, I've wanted the ability to say e.g.
root=hostname-admin at example.com,site-admin at example.com
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-
variable warnings. The patch is attached below.
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.)
** Affects: ssmtp (Ubuntu)
Importance: Undecided
Status: New
--
Allow forwarding to multiple "root" recipients
https://bugs.launchpad.net/bugs/297929
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list