Re: multiple email servers with authentication

Gee Fitz <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <CAH7tWOaipM3yt6EOJP1=8-jK1UmG1BB1JSNpyCx6vuRQ_gBd4Q@mail.gmail.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.