Documentation clearly says

-- Example (setting two mail servers for failover):
set mailserver smtp.gmail.com, smtp.other.host

So it's probably

set mailserver smtp.domain1.com port 587, smtp.domain2.com port 465
etcetera


On Tue, May 29, 2018 at 5:55 PM, AJ Weber <[email protected]> wrote:

> I am attempting to configure multiple (backup) mailserver's. Each has a
> unique username and password, and in fact, each has different ports,
> protocols, etc.
>
> I have tried this:
>
> set mailserver smtp.domain1.com port 587
> username [email protected] password "xxxxxxxxxx"
> with timeout 30 seconds,
> smtp.domain2.com port 465
> username otheruser password "yyyyyyyyyyyyyyyyyy"
> using SSL with timeout 30 seconds
>
> This results in a configuration syntax error.
>
> Can someone help me figure out how to configure my mailservers?
>
> Thanks!
>
> -AJ
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>
-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to