On Feb 21, 2011, at 8:30 PM, Kevin Chadwick wrote: > set alert root@localdomain > set alert addr...@yahoo.co.uk > > set mailserver localhost port 70, localhost port 70, smtp.yahoo.co.uk > port 465 username "name" password "pass" using tlsv1 with timeout 20 > seconds > ______________________________________________________________________ > > > Is there already a way to tie one alert address to the first server in > the set mailserver statement and the other alert address to the yahoo > server?
No > Currently I get two emails sent to the first tried server, with yahoos > obviously dropped. The first server in your 'set mailserver' statement is the default server. The other server(s) are only tried if the first one fails. Monit will deliver mail to all 'set alert' defined addresses using this server. _______________________________________________ monit-dev mailing list monit-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/monit-dev