[solved] How to configure mail alert ?

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Oleev
Posts: 10
Joined: Fri May 18, 2012 9:01 am
Location: Caen, France
Contact:

[solved] How to configure mail alert ?

Post by Oleev »

I guys,

I need ton configure mail alert.
In Mail/DNS tab i see an error under Sendmail Path (/usr/sbin/sendmail [ERROR : FILE NOT FOUND])
This is a Linux path, where can i find path for Windows in cacti folder ? First, does it exist ?

I tried to Send a Test Email with PHP Mail() Function but i got this error :
Error : Unable to send email with php mail function, check your system logs

No say !

I tried to Send a Test Email with SMTP but follows this error :

ERROR: Unable to connect to SMTP Host 'smtp.(...).fr': (10061) Aucune connexion n'a pu être établie car l'ordinateur cible l'a expressément refusée ( :o some French in Cacti !!)

My question : Mail/DNS tab is it the only "place" to configure mail alert ?
Did I need to edit some conf file ?

SMTP is active, should I edit it ?

Please Help !

have a nice day

Best Regards, Oleev

Operating System: win32 Windows XP Professional SP3 i586
Webserver: IIS
Cacti: 0.8.8a
Spine: 0.8.8a
MySQL: 5.5
PHP: 5.3.10
RRDTool (Cygwin or Win32 build): 1.4x
Net-SNMP: 5.6.1.1
Cygwin (cygwin1.dll version):
Plugin Architecture: 3.1 (include in last release)
Best Regards, Oleev

Operating System: win32 Windows XP Professional SP3 i586
Webserver: IIS
Cacti: 0.8.8a
Spine: 0.8.8a
MySQL: 5.5
PHP: 5.3.10
RRDTool (Cygwin or Win32 build): 1.4x
Net-SNMP: 5.6.1.1
Cygwin (cygwin1.dll version):
Plugin Architecture: 3.1 (include in last release)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: How to configure mail alert ?

Post by BSOD2600 »

sendmail is a linux only tool, I believe.

phpmail and SMTP require additional configuration in php.ini and/or your smtp server for the correct settings.
Oleev
Posts: 10
Joined: Fri May 18, 2012 9:01 am
Location: Caen, France
Contact:

Re: How to configure mail alert ?

Post by Oleev »

Hi guys,

Problem solved !

McAfee prevents the use of the function for sending mail (PHP-CGI.exe).

I hope this will help someone.

Have a nice day

Best Regards, Oleev

Operating System: win32 Windows XP Professional SP3 i586
Webserver: IIS
Cacti: 0.8.8a
Spine: 0.8.8a
MySQL: 5.5
PHP: 5.3.10
RRDTool (Cygwin or Win32 build): 1.4x
Net-SNMP: 5.6.1.1
Cygwin (cygwin1.dll version):
Plugin Architecture: 3.1 (include in last release)
Best Regards, Oleev

Operating System: win32 Windows XP Professional SP3 i586
Webserver: IIS
Cacti: 0.8.8a
Spine: 0.8.8a
MySQL: 5.5
PHP: 5.3.10
RRDTool (Cygwin or Win32 build): 1.4x
Net-SNMP: 5.6.1.1
Cygwin (cygwin1.dll version):
Plugin Architecture: 3.1 (include in last release)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest