[Mimedefang] action_notify_administrator

Will McCorkle WMcCorkle at dgsystems.com
Thu Feb 20 16:44:00 EST 2003


Alan,

Thanks for the tips, I will look into the security issue on the file, I
found the problem in Syslog.pm. There is a & in the following line that is
causing the problem. 
my $syslog = &_PATH_LOG  || croke.....
I removed the & and everything works fine.

Thanks again for the tips
Will

-----Original Message-----
From: alan premselaar [mailto:alien at 12inch.com]
Sent: Thursday, February 20, 2003 3:35 PM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang] action_notify_administrator


Will,

 the first thing you want to do (which doesn't appear to be the cause of
your problems, but should be done anyways) is set the permissions on
/var/spool/clientmqueue according to the sendmail install docs (possibly
sendmail/SECURITY from the src tree)

I don't remember off the top of my head what they should be, but you want it
to be set with the appropriate security.

it appears that your problem is related to the Sys::Syslog call in your
script. you should try running the filter thru perl (i.e. perl -w <name of
the filter>) to see if it gets any errors.  if so, it'll cause the slave
process to die, and based on your milter settings it'll return a "Try again
later" error.

I know this answer is a little vague, but hopefully it's at least a little
helpful anyways.

alan 

On 2/21/03 4:01 AM, "Will McCorkle" <WMcCorkle at dgsystems.com> wrote:

> and this is the message I am getting in the log file from Sendmail.
> 
> Feb 20 12:43:24 CTDWeb01 sm-mta[27291]: h1KIhOv8027291:
> from=<wmccorkle at mydomain1.com>, size=344, class=0, nrcpts=1,
> msgid=<200302201848.h1KIm7h06910 at mydomail1.com>, proto=ESMTP, daemon=MTA,
> relay=mydomain1.com [10.3.1.90]
> Feb 20 12:43:25 CTDWeb01 sendmail[27293]: dangerous permissions=40755 on
> queue directory /var/spool/clientmqueue/
> Feb 20 12:43:25 CTDWeb01 sendmail[27293]: h1KIhPhX027293:
> Authentication-Warning: mydomain.com: defang set sender to
> mailer-daemon at localhost using -f
> Feb 20 12:43:25 CTDWeb01 sendmail[27293]: h1KIhPhX027293:
> from=mailer-daemon at localhost, size=218, class=0, nrcpts=1,
> msgid=<200302201843.h1KIhPhX027293 at mydomain.com>, relay=defang at localhost
> Feb 20 12:43:25 CTDWeb01 sendmail[27293]: h1KIhPhX027293:
> to=wmccorkle at mydomain.com, delay=00:00:00, mailer=local, pri=30186,
> dsn=4.4.3, stat=queued
> Feb 20 12:43:25 CTDWeb01 mimedefang-multiplexor: Slave 0 stderr: Usage:
> Sys::Syslog::_PATH_LOG() at /usr/lib/perl5/5.6.0/i386-linux/Sys/Syslog.pm
> line 277. 
> Feb 20 12:43:25 CTDWeb01 mimedefang-multiplexor: Slave 0 died prematurely
--
> check your filter rules
> Feb 20 12:43:25 CTDWeb01 mimedefang-multiplexor: Reap: Idle slave 0 (pid
> 27244) exited normally with status 255 (SLAVE DIED UNEXPECTEDLY)
> Feb 20 12:43:25 CTDWeb01 mimedefang-multiplexor: Slave 0 resource usage:
> req=1, scans=1, user=1.720, sys=0.100, nswap=0, majflt=760, minflt=4424,
> maxrss=0, bi=0, bo=0
> Feb 20 12:43:25 CTDWeb01 mimedefang[27292]: Error from multiplexor: ERR No
> response from slave
> Feb 20 12:43:25 CTDWeb01 sm-mta[27291]: h1KIhOv8027291: Milter: data,
> reject=451 4.7.1 Please try again later
> Feb 20 12:43:25 CTDWeb01 sm-mta[27291]: h1KIhOv8027291:
> to=<wmccorkle at mydomain.com>, delay=00:00:01, pri=30328, stat=Please try
> again later
> Feb 20 12:43:28 CTDWeb01 mimedefang-multiplexor: Starting slave 0 (pid
> 27294) (2 running): Bringing slaves up to minSlaves (2)
> Will McCorkle

_______________________________________________
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang



More information about the MIMEDefang mailing list