Fwd: multiple email addresses
"Kirk Bauer" <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
Any takers? I never do anything fancy with the emailing myself. ---------- Forwarded message ---------- From: Gabor Adam TOTH <[email protected]> Date: Sun, 13 May 2007 02:01:48 +0200 Subject: multiple email addresses To: [email protected] Hi, I have to send reports to different email addresses for each host so I made this small patch. It uses MailTo_host config options to set To: headers and falls back to MailTo if no such option found. Multiple email addresses can be seperated by spaces. It also fixes a bug, multiple MIME headers were written to emails if MultiEmail was set. Usage: logwatch.conf: SplitHosts = Yes MultiEmail = Yes MailTo = [email protected] MailTo_host1 = [email protected] MailTo_host2 = [email protected] [email protected] -- Regards, Gabor Adam TOTH -- Kirk Bauer <[email protected]> http://linux.kaybee.org | www.autorpm.org | www.logwatch.org