Hi,
whilst checking for an smtp auht failure i 'happened' to look at the procmail log.
several times, when a valid user mail is received, there are the following two lines:-
Insecure dependency in exec while running with -T switch at /etc/webmin/virtual-server/lookup-domain.pl line 19.
procmail: Program failure (255) of "/etc/webmin/virtual-server/lookup-domain.pl"
procmail config is
LOGFILE=/var/log/procmail.log
TRAP=/etc/webmin/virtual-server/procmail-logger.pl
:0wi
VIRTUALMIN=|/etc/webmin/virtual-server/lookup-domain.pl --exitcode 75 $LOGNAME
EXITCODE=$?
:0
* ?/bin/test "$EXITCODE" = "75"
/dev/null
EXITCODE=0
:0
* ?/bin/test "$VIRTUALMIN" != ""
{
INCLUDERC=/etc/webmin/virtual-server/procmail/$VIRTUALMIN
}
ORGMAIL=/var/mail/$LOGNAME
DEFAULT=/var/mail/$LOGNAME
DROPPRIVS=yes
:0wf
| /usr/bin/spamassassin
The mail is delivered to the recipients mail box (Spam asssin tests are passed ok)
Shouldn't I be worried about this ?
d.
doh !
forgot to add CentOS Linux 7.8.2003, Virtualmin version 6.08 and Webmin version 1.955
d
That's an odd error. What does
/etc/webmin/virtual-server/lookup-domain.plcontain on your system?Jamie, Hi.
perl 5, version 16, subversion 3 (v5.16.3)
Last edit: rj elleray 2020-10-03
That looks fine to me.
What are the permissions on the
/usr/bin/procmailcommand on your system?Jamie
-rwsr-sr-x 1 root root 107984 Nov 28 2017 /usr/bin/procmail
d
Also, what output do you get from
grep mailbox_command /etc/postfix/main.cfIt should be like :
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAMEJames
mailbox_command = /usr/bin/procmail
not changed by me from original.
d
Ok, that's the probem. Assuming that
/usr/bin/procmail-wrapperexists, try changing that line to what I suggested, then restarting Postfix.it may be but no /usr/bin/procmail-wrapper !
These are not standard permissions for
/usr/bin/procmail. I think it was set by Perl and should not break anything. Nevertheless, you can fix it by runningchmod 0755 /usr/bin/procmailor better reinstalling it withyum reinstall procmailcommand.You can grab it from here:
.. however, I would rather checked that
/etc/yum.repos.d/virtualmin.repofile exists and configured correctly, like:.. and then run
yum install procmail-wrapper.I would recommend installing Virtualmin with official install script.
Last edit: Ilia 2020-10-05
Ilia/Jamie
done most of the above and will await it arising again..
will close in 5 days if it doesn't re-occur.
thanks
D
ps for those who only use the virtualmin module (as I have done for over a decade), not the full enchilda virtualmin install from scratch, as opposed to adding the virtualmin module to websmin
you won't get httpd updates flagged if you use this...
I didn't find the gpg key for the second section ...
We have a custom httpd builds for CentOS 6/7 (not 8). You can exclude httpd from being installed from Virtualmin repo and stay on mainstream version with:
https://software.virtualmin.com/vm/6/gpl/centos/7/x86_64/virtualmin-release-latest.noarch.rpm
tks for the key for the second bit, and the other (for other people) ?
well I live and learn YUM repos settings after decades.. but I'm not a linux expert in any fashion, just a practitioner.
thanks
also needs exclude=httpd-tools so exclude=httpd,httpd-tools
or perhaps instead exclude-httpd* ????
Last edit: rj elleray 2020-10-07
Yes, go with:
that showed no httpd updates from webmin :-)
Clearing package caches ..
.. done
Re-fetching available packages ..
.. found 0 possible updates
thanks
at the moment not seeing any procmail log errors but will review on Monday :-)
so flag as closed in the interim
Last edit: rj elleray 2020-10-08