
Originally Posted by
makfinsky
I am pretty sure that logwatch won't resolve the * character in the path.
Logwatch parses the asterisk just fine. Again, mine looks like this:
Code:
mine:
$ ll /opt/zimbra/postfix-2.6.7.2z/sbin/sendmail
-rwxr-xr-x 1 root root 751331 Jun 30 13:50 /opt/zimbra/postfix-2.6.7.2z/sbin/sendmail
yours:
$ ll /opt/zimbra/postfix/sbin/sendmail
-rwxr-xr-x 1 root root 751331 Jun 30 13:50 /opt/zimbra/postfix/sbin/sendmail
/usr/share/logwatch/default.conf/logwatch.conf
mailer = "/opt/zimbra/postfix-*/sbin/sendmail -t"
The asterisk (*) was there to prevent against breaks when upgrading versions. Somehow I missed the soft link to the postfix directory. All things being equal, yours achieves the same requirement and its simpler; I like yours better. Making the change now...