Monit supports plain authentication with the SMTP server ... it seems that your SMTP server doesn't support it. You can get the list of the authentication types on your SMTP server this way:
$ telnet <your mail server> 25 EHLO <hostname> ... the server will respond with something like this: 250-foo.bar ESMTP 250-AUTH LOGIN PLAIN ... You can try to use some other SMTP server (for example Gmail SMTP servers support the plain authentication). Regards, Martin On May 18, 2011, at 7:08 AM, Nguyen Viet Ha wrote: > Dear all! > > Now I'm building one monitor system for our linux server with munin, > munin-node and monit. With monit, I wanna configure it to sent mail alert > whenever one problem occured but till now I got stuck in this configuration. > Let me explain more detail about my case: > We got one exchange server for acting mail server roles. > Now I wanna configure monit use one user account of exchange server for sent > mail. > I've done this configuration > -------------------------------------------------------------------- > [root@web ~]# vim /etc/monit.d/apache > set mailserver mail.domain.com port 25 username "[email protected]" password > "P@ssw0rd" > set alert [email protected] > set mail-format { > from: [email protected] > subject: $HOST got Physical Interface Eth1 in Down state > message: Something's wrong with your server at physical network > Your faithful employee, > } > check host web-poc.physical with address 192.168.1.1 > if failed icmp type echo with timeout 15 second then alert > > -------------------------------------------------------------------- > But I have no email alert in mail box of [email protected] > > Tracert log i got > ------------------------------------------------------------------- > [root@web~]# tail -f /var/log/monit > [ICT May 18 18:02:48] error : Sendmail error: 504 5.7.4 Unrecognized > authentication type > > What should I got to do now. > > Thank and brg! > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
