On Wed, 25 Mar 2009, Roderick A. Anderson wrote:
> Where is TMPDIR and TMPEXE set? Earlier in the 1pflogsumm script? If
> they are not set _correctly_, ie. empty then you end up with a '/' instead
> of a /path/to/tmpdir/tmpexe.
Rod,
Yes, earlier in the script:
#!/bin/sh
# Default location of the log file, if not learnt from LOGFILE
[ -z "${LOGFILE}" ] && [ -f /var/log/maillog ] && LOGFILE=/var/log/maillog
EXECUTABLE=/usr/local/bin/pflogsumm
TMPDIR=/etc/postfix # default directory for temporary executable, better
than /tmp
TMPEXE=pfls.tmp.$$ # name of executable if Date::Calc module not available
Obviously, /etc/postfix is no empty. And, this is the way it's been set for
years.
Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug