dnscheck-12hourmailer man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

DNSCHECK-12HOURMAILER(User Contributed Perl DocumentatDNSCHECK-12HOURMAILER(1)

NAME
       dnscheck-12hourmailer - email registrars about problems in their
       domains

DESCRIPTION
       This script will look through the "tests" table in the DNSCheck
       database, pick out the ones that resulted in problems classified at
       level "CRITICAL" or "ERROR", group the domains thus found by registrar
       and send each registrar an email listing the problematic zones and some
       basic information on the problems.

       The registrar data is taken from the REGGIE database for the ".se"
       domain, and thus the script will probably be of limited use to other
       organisations as is. Other users will almost certainly need to write
       their own version of the get_registrar_info function. It expects a
       single domain name as its input, and returns "undef" (if no registrar
       could be found) or a two-element list with the contact email address
       for and name of the relevant registrar (in that order).

       It might be useful to simply make the function return a fixed list with
       an email address and a name string, in which case single email with all
       problems will be sent to the address given.

CONFIGURATION
       This script uses the same YAML files as the rest of the DNSCheck
       system. It looks for its information under the key "12hour". The
       subkeys it uses are the following.

       smtphost
	   The full name of the SMTP server to use for sending emails.

       from
	   The string to put in the "From" line of the sent emails.

       subject
	   The string to put in the "subject" line of the sent emails.

       timespan
	   How far into the past the script should look for tests. The value
	   should be a string that will be understood as a time value by MySQL
	   (for example, "12:00:00" is twelve hours, zero minutes and zero
	   seconds).

       debug
	   A Perl boolean value. If it is true, emails will be printed to
	   standard output instead of sent.

       sourcestring
	   The string identifying the source of the tests to consider mailing
	   about.

perl v5.20.2			  2015-08-30	      DNSCHECK-12HOURMAILER(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net