Re: Mail settings in monitrc

SZÉPE Viktor <[email protected]> Mon, 19 Jul 2021 03:56:27 +0200
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
In the documentation things in [brackets] are optional.
So it would be: SET MAILSERVER mail.example.com USERNAME me
but there is no such a thing as username-only authentication for SMTP.
So
SET MAILSERVER mail.example.com
or
SET MAILSERVER mail.example.com USERNAME me PASSWORD ""


Idézem/Quoting Uma Shanmuganathan <[email protected]>:

> Thank you. But in this case there is no password and no certificate.
> Should I remove and leave as blank or configure [password ""]
>
> Regards
> Uma S
>
> On Sun, 18 Jul 2021, 22:11 Lutz Mader, <[email protected]> wrote:
>
>> Hello Uma,
>> you can use the following, see
>>
>> https://mmonit.com/monit/documentation/monit.html#Setting-a-mail-server-for-alert-delivery
>>
>> To add a propper setting to your monitrc.
>>
>> With regards,
>> Lutz
>>
>> > I have email account without password and certificate, what is the syntax
>> > to set alert mails.
>> >
>> > Regards
>> > Uma S
>> >
>>
>>
>>



SZÉPE Viktor, webes alkalmazás üzemeltetés / Running your application
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
~~~
ügyelet 🌶️ hotline: +36-20-4242498  [email protected]  skype: szepe.viktor
Budapest, III. kerület
smime.p7s (application/pkcs7-signature, 6 KB) - not displayed