[Nagiosplug-devel] [ nagiosplug-New Plugins-1187892 ] check_mail.pl \ check mails server
SourceForge.net
noreply at sourceforge.net
Mon Oct 31 10:43:09 CET 2005
New Plugins item #1187892, was opened at 2005-04-22 03:56
Message generated for change (Comment added) made by rouilj
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1187892&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Perl plugin
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: bledi51 (bledi51)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_mail.pl \ check mails server
Initial Comment:
Send mails to specified server, check them, and delete them
check_mail.pl -H host -f addsender -t addrecpt -u user
-p poppass -n nbrmail -w warningvalue [-v]
check_mail.pl --version
check_mail.pl --help
Required Arguments:
-H, --host=HOST
The name or address of the mail server.
-f, --from
The sender address
-t, --to
The recipient address
-u, --user
The user
-p, --pass
The pop password
-w, --warning
The warning value < number of mail send
-n; --mailnbr
The number of mail send to the server
-v; --verbose
Verbose, more informations
-T; --timeout
Number of seconds to wait for a response
----------------------------------------------------------------------
Comment By: John Rouillard (rouilj)
Date: 2005-10-31 13:41
Message:
Logged In: YES
user_id=707416
Just out of curiosity how does this differ from
contrib/check_email_loop.pl? Help for check_email_loop is:
This script sends a mail with a specific id in the subject
via an
given smtp-server to a given email-adress. When the script
is run
again, it checks for this Email (with its unique id) on a
given pop3
account and sends another mail.
The following options are available:
-from=text email adress of send (for mail returnr on
errors)
-to=text email adress to which the mails should send to
-pophost=text IP or name of the POP3-host to be checked
-popuser=text Username of the POP3-account
-passwd=text Password for the POP3-user
-poptimeout=num Timeout in seconds for the POP3-server
-smtphost=text IP oder name of the SMTP host
-smtptimeout=num Timeout in seconds for the SMTP-server
-statfile=text File to save ids of messages
(check_email_loop.stat)
-interval=num Time (in minutes) that must pass by before
sending another Ping-mail (gibe a new try);
-lostwarn=num WARNING-state if more than num lost emails
-lostcrit=num CRITICAL
-pendwarn=num WARNING-state if more than num pending
emails
-pendcrit=num CRITICAL
-maxmsg=num WARNING if more than num emails on
POP3 (default 50)
-keeporphaned Set this to NOT delete orphaned E-Mail
Ping msg from POP3
-debug send SMTP tranaction info to stderr
Options may abbreviated!
LOST mails are mails, being sent before the last mail arrived
back. PENDING mails are those, which are not. (supposed to be
on the way)
Example:
BUILD/nagios-plugins-1.4.2/contrib/check_email_loop.pl
-poph=host -pa=pw -popu=popts -smtph=host
-from=root at me.com -to=remailer at testxy.com -lostc=0
-pendc=2
----------------------------------------------------------------------
Comment By: Jonathan Buhacoff (jbuhacoff)
Date: 2005-10-29 21:28
Message:
Logged In: YES
user_id=1370225
I wish I had seen this before!!!
----------------------------------------------------------------------
Comment By: Jonathan Buhacoff (jbuhacoff)
Date: 2005-10-29 21:27
Message:
Logged In: YES
user_id=1370225
I wish I had seen this before!!!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=1187892&group_id=29880
More information about the Devel
mailing list