I have a very generic, stock installation, CentOS5, and Virtualmin with all the updates. None of my domains are receiving email. I think it has to do with lookup-domain.pl. I searched the forums, and found what the script should be, and created it, but I think it needs to exist other places than /etc/webmin/virtual-server/lookup-domain.pl.
For that matter, it is no where on the system, not even in /usr/share, or /usr/lib. So I think something didn't install right, but I can't figure out what.
Here is a sample log entry for an email that isn't getting delivered: (domains obfuscated) [code:1]May 25 18:17:00 www postfix/local: 0CD2D1398017: to=<email@example.com_est_cdocum_nt_.com>, orig_to=<rwood@fron_line_er_sp_ce.com>, relay=local, delay=0.25, delays=0.24/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)[/code:1]
However it seems that the script isn't working right.
[code:1] > ls /var/mail/rwood.fron_line_er_sp_ce /var/mail/rwood.fron_line_er_sp_ce
> /etc/webmin/virtual-server/lookup-domain.pl rwood.fron_line_er_sp_ce <no output>[/code:1]
Debugging lookup-domain.sh leads me to "/etc/webmin/miniserv.conf", and the root entry, which is "/usr/libexec/webmin", so according to the script, it is looking for "/usr/libexec/webmin/virtual-server/lookup-domain.pl", and it doesn't exist.
So I think something didn't happen right during setup. I'd appreciate any help in troubleshooting this, or finding out the contents of "/usr/libexec/webmin/virtual-server/lookup-domain.pl", as that might fix everything.