[PLUG] Identifying Shell Script Error

Rich Shepard rshepard at appl-ecosys.com
Wed May 20 17:30:42 UTC 2009


On Wed, 20 May 2009, Joe Pruett wrote:

> send the script log again now that you've fixed the error.

   Here it is, Joe:

+ '[' -z '' ']'
+ '[' -f /var/log/maillog ']'
+ LOGFILE=/var/log/maillog
+ EXECUTABLE=/usr/local/bin/pflogsumm
+ TMPDIR=/etc/postfix
+ TMPEXE=pfls.tmp.19894
+ OPTIONS='--verp_mung=2 --problems_first --iso_date_time  -q -u 10 -h 10'
++ hostname
++ LC_TIME=C
++ date '+%A, %d %B %Y'
+ SUBJECT='salmo Daily Mail Report for Wednesday, 20 May 2009'
+ '[' -z '' ']'
+ REPORT_TO=rshepard at appl-ecosys.com
+ SENDMAIL=/usr/sbin/sendmail
+ SENDMAIL_OPTS='-oi -t'
+ POSTFIX=/usr/sbin/postfix
+ trap 'test -r /etc/postfix/pfls.tmp.19894 && rm -f
/etc/postfix/pfls.tmp.19894' 0 1 2 3 15
+ '[' '!' -r /var/log/maillog ']'
+ '[' '!' -r /var/log/maillog ']'
++ id -u
+ '[' 0 = 0 ']'
+ '[' -r /usr/local/bin/pflogsumm ']'
+ '[' -d /etc/postfix ']'
+ perl -e 'use Date::Calc;'
+ '[' -x /usr/local/bin/pflogsumm ']'
+ '[' -x /usr/sbin/sendmail ']'
+ cat
To: rshepard at appl-ecosys.com
Subject: salmo Daily Mail Report for Wednesday, 20 May 2009

Report based on information in /var/log/maillog
+ test -r /etc/postfix/pfls.tmp.19894

   Looks just fine; nothing shows up in my inbox.

   I wonder if this is related to the apparent procmail issue I'm still
fighting: postfix reports it handed off an incoming message to procmail,
procmail has nothing in its log, the message is not delivered ... Apparently
not. I see no message from root to me since 06:09am today.

Rich



More information about the PLUG mailing list