#1  
Old 14th November 2007, 17:53
rabrol rabrol is offline
Junior Member
 
Join Date: Sep 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Minor issue with email

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 (test@domain.com, 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.
Reply With Quote
Sponsored Links
  #2  
Old 15th November 2007, 15:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Quote:
Originally Posted by rabrol
/home/rabrol/email_conv.sh: line 24: pw2userdb: command not found
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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 15th November 2007, 18:50
rabrol rabrol is offline
Junior Member
 
Join Date: Sep 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
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
Reply With Quote
  #4  
Old 16th November 2007, 09:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,500 Times in 4,329 Posts
 
Default

Quote:
Does that mean the tool is missing then?
Yes, pw2userdb is missing.

Instead of restoring the file, it migh be easier to install just the missing pw2userdb command.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Email Delivery Problem sedat1903 HOWTO-Related Questions 2 22nd December 2008 11:19
CacheALL email problem no.2 Snowman General 2 2nd August 2007 09:45
Problem with 'CC' & 'BCC' email not being delivered. snowfly HOWTO-Related Questions 10 20th July 2006 12:36
Multiple MySQL Queries - with Postfix-mysql, courier-authmysql, maildrop-mysql... snowfly HOWTO-Related Questions 4 7th July 2006 04:19
email forwarding locally consumes all resources rdells General 20 1st May 2006 19:43


All times are GMT +2. The time now is 08:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.