[freeside] Email account exports via ssh for vpopmail (password problem)

Rick Harby rharby at caarnet.com
Sun Mar 7 06:20:10 PST 2004


What exact command are you using for the export? Here is what we use and it
works perfectly:

Insert Command:/home/vpopmail/bin/vadduser $username\@$domain
$quoted_password

Delete Command: /home/vpopmail/bin/vdeluser $username\@$domain

Modify Command: /home/vpopmail/bin/vpasswd $new_username\@$new_domain
$new_quoted_password


-----Original Message-----
From: Mike O'Connor [mailto:freeside at pineview.net] 
Sent: Sunday, March 07, 2004 1:49 AM
To: ivan-freeside at sisd.com
Subject: [freeside] Email account exports via ssh for vpopmail (password
problem)

Hi all

I have freeside 1.4.1 configure to export vpopmail commands via ssh.

It creates the account and also seems to do the password updates, but the
password transferred is garbage.

I wrote a small bash script to act as an wrapper to vpasswd and as you can
see the password transferred is not test1234.

vmail1:/usr/local/bin# cat /tmp/log
mattw@<withheld>-j622!D4U

vmail1:/usr/local/bin# cat setpassword.sh
#!/bin/sh
echo $1-$2 >> /tmp/log
/usr/sbin/vpasswd $1 $2


I found an option to turn off hidden password within freeside and found that
the password stored there was also incorrect.

Does any one have any idea why this is ?

Thanks
 Mike O'C


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.602 / Virus Database: 383 - Release Date: 3/1/2004
 




More information about the freeside-users mailing list