Posts tagged as:

exim

Nagios NRPE Command for checking exim queue count

by Perk1z on April 20, 2008

Nagios NRPE Command for checking exim queue count
Written by Sayid Munawar <ayik@freebsd.or.id>
script skeleteon based on check_log written by Ethan Galstad (nagios@nagios.org)
Last Modified: August 5, 2006

Usage: ./check_eximq [-w count_warn] -c [count_crit]

Description:
This plugin will get output from exim -bpc. That is the count for current exim queue
if output is below count_warn then will return OK,
if output is between count_warn and count_crit it will return WARN
if output is larger than count_crit it will return CRIT.

Success tested on :

  • CENTOS Enterprise 5 (nagios-plugins 1.4.10)
  • Freebsd 6.2 (nagios-plugins 1.4.10, NRPE Plugin Version: 2.11)
  • REDHAT Enterprise 3 (nagios-plugins 1.4.10)

Nagios NRPE Command for checking exim queue count

Popularity: 24% [?]

{ 0 comments }

Exim Error log : Gid 99 is not permitted to relay mail

by Perk1z on February 14, 2008

Exim Error Log :

2008-02-12 14:37:04 1JOphQ-0007td-6w <= nobody@titik.org U=nobody P=local S=629 T=”Testing Kirim Email”
2008-02-12 14:37:04 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1JOphQ-0007td-6w
2008-02-12 14:37:04 1JOphQ-0007td-6w ** me@titik.org R=checkspam2: Gid 99 is not permitted to relay mail, or has directly called /usr/sbin/exim instead of /usr/sbin/sendmail.
2008-02-12 14:37:04 1JOphQ-0007td-6w ** me@titik.org R=checkspam2: Gid 99 is not permitted to relay mail, or has directly called /usr/sbin/exim instead of /usr/sbin/sendmail.
2008-02-12 14:37:04 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1JOphQ-0007td-6w

Try :

1. Check in WHM under Tweak Settings(under Email) if the box for “Prevent the user “nobody” from sending out mail to remote addresses ” is checked, if it is uncheck that box and click save at the bottom of the page.

GID 99 is for apache(username=nobody) .

2. check and make sure that you have the domain name listed in the file “/etc/localdomains ” to allow relaying of mails.

Popularity: 53% [?]

{ 0 comments }