On Aug 24, 2004, at 6:19 AM, Maurice Snellen wrote:
Have you thought of writing a script in perl and run it in the crontab?

I have (although not specifically in perl), but that would require directly interfacing with MySQL and thus exposing the user/password combination in yet another place.

If the script is owned by vpopmail (or root), and run in the vpopmail (or root) crontab, then it would have permissions to read the ~vpopmail/etc/vpopmail.mysql file to get the password information.


Even if you embedded it in the script, you could make the file readable only by root.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Reply via email to