To enable easier email login I made the mod mentioned on the following threads : http://www.howtoforge.com/forums/showthread.php?t=7880 & http://www.howtoforge.com/forums/showthread.php?t=7881 When I run the script manually I receive a permission error (even when running it as root) : /home/rabrol/email_conv.sh: line 24: /usr/sbin/pw2userdb: Permission denied However I notice that the script is not functioning correctly. Cron calls the script every 5 minutes OK, but I get the following error : /home/rabrol/email_conv.sh: line 24: pw2userdb: command not found This appears in my mail log every 5 minutes. There is a file called ps2userdb in /usr/sbin, although it appears in grey when most files are listed in green or blue. I AM able to log in to email with the new format though ([email protected], username test, passwrd xxxxxxxxxx). How can I resolve this issue? Anyone else seen it? I didn't notice anything about this mentioned in the threads.
If you're using Debian/Ubuntu, you can use apt-file to find the package that contains that tool: http://www.howtoforge.com/apt_file_debian_ubuntu
Does that mean the tool is missing then? I do have a backup of the original file (before I modified it as per instructions on the aforementioned threads). If I renew the original, unmodified file, will it still work? I need not to take chances now as the server went production yesterday. Robin
Yes, pw2userdb is missing. Instead of restoring the file, it migh be easier to install just the missing pw2userdb command.