monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple email servers with authentication


From: Paul Theodoropoulos
Subject: Re: multiple email servers with authentication
Date: Tue, 29 May 2018 18:04:43 -0700
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0

The 'howto' page suggests that the username needs to be in quotes as well, in case you haven't tried that structure. It also appears to be version sensitive, which also plays into the problem, since you're using a very old version, but using current options.

https://mmonit.com/wiki/Monit/Gmail

On 5/29/2018 17:51 PM, address@hidden wrote:
I tried something similar (I moved the timeout to the one clause at the end). That didn't work. So it's not only "probably" not that syntax, it's definitely not that syntax.

And I read the docs. As you noticed, it does NOT document how to supply the auth and protocol per server, which is a very common requirement.

I should have commented that I'm currently running v5.14.


-----Original Message-----
From: Gee Fitz <address@hidden>
To: This is the general mailing list for monit <address@hidden>
Sent: Tue, 29 May 2018 8:37 PM
Subject: Re: multiple email servers with authentication

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 <address@hidden> 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 address@hidden 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



-- 
Paul Theodoropoulos
www.anastrophe.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]