Minor issue with email

Discussion in 'Installation/Configuration' started by rabrol, Nov 14, 2007.

  1. rabrol

    rabrol New Member

    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.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    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
     
  3. rabrol

    rabrol New Member

    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
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, pw2userdb is missing.

    Instead of restoring the file, it migh be easier to install just the missing pw2userdb command.
     

Share This Page