[vchkpw] timeout error while connecting to Qmail

2006-08-05 Thread Syed Zafar Hussain Rizvi
Dear All

I am running qmail with VPopmail. In my scenario, I have SMTP gateway which
deliver and receive all mails from outside and deliver all mails to Qmail.
ON my smtp gateway I am running sendmail latest version. All mails are
coming to this smtp gateway and while delivering to qmail, I am getting this
kind of error in my sendmail log.


Aug  5 14:07:09 smtp sendmail[9363]: [ID 801593 mail.info] k754CEwl016328:
to=[EMAIL PROTECTED],[EMAIL PROTECTED], delay=04:54:49,
xdelay=00:00:00, mailer=smtp, pri=2114810, relay=my.testq.com., dsn=4.0.0,
stat=Deferred: Resource temporarily unavailable
Aug  5 14:09:35 smtp sendmail[10816]: [ID 801593 mail.crit] k756calL001730:
SYSERR(root): timeout writing message to my.testq.com.: Resource temporarily
unavailable
Aug  5 14:09:35 smtp sendmail[10816]: [ID 801593 mail.info] k756calL001730:
to=[EMAIL PROTECTED], delay=02:30:51, xdelay=00:06:00, mailer=smtp,
pri=1588799, relay=my.testq.com. [58.65.175.82], dsn=4.0.0, stat=Deferred

Is there any idea?

Regards, 

Zafar Rizvi





-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.7/409 - Release Date: 04-Aug-06
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.7/409 - Release Date: 04-Aug-06
 



[vchkpw] ip After Email

2004-06-01 Thread zafar
Hi All

 I already Posted that Question but can't give any success of any replied
message. Plz give me any solution of that problem. I am making a Application
in .NEt in which i am using pop accounts from Qmail server. When i configure
account for pop mail from Qmails. It gives me error in .NEt like that
Socket Closed and on QMail server i am getting error in that format in the
Maillog.

Jun  1 07:18:07 mail1 vpopmail[28975]: vchkpw: password fail
[EMAIL PROTECTED]:211.114.109.6

its adding Ip after email from where request is generating. How can i remove
that ip after the email.

Have any person any idea of such kind of problem.

with Regards
ZAFAR



[vchkpw] Qmail popmail and relay-ctrl problem

2004-05-07 Thread zafar



Hi All


 I have installed Qmail on linux 7.2 with vpopmail support and relay-ctrl patch. I am 
trying to pop my mails from that qmail mail on other application server through remote 
pop accounts procedure. When i give him user name as email and send password then 
Qmail server reject that password and append the IP after the email, although user 
name and password is correct, i check it manually on telnet.
But giving me error of that kind. 

May 6 07:52:21 mail2 vpopmail[25532]: vchkpw: password fail 
[EMAIL PROTECTED]:211.117.134.11




What's and where it is wrong. bcz of ip concatenating pop server unable to authenticate 
that user. So any solution or setting to remove. There is nothingin application like that 
adding ip after the email.


Waiting for a good reply.
tx.
Zafar




Re: [vchkpw] Qmail popmail and relay-ctrl problem

2004-05-07 Thread zafar
Hi All,
 Thanks for reply. But i am still unable to understand that why vchkpw added ip while 
pop my qmail account from other application, although i am using telnet, in which 
nothing ip added like that.

So plz tell me is it possible that i can remove or handle that. so That ppl can use 
pop 
account from qmail otherwise qmail will be ?


plz reply.

tx.
ZAFar



Send reply to:  [EMAIL PROTECTED]
Date sent:  Fri, 07 May 2004 15:01:58 -0400
From:   X-Istence [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject:Re: [vchkpw] Qmail popmail and relay-ctrl problem

[ Double-click this line for list subscription options ] 

[EMAIL PROTECTED] wrote:
 Hi All
 
 I have installed Qmail on linux 7.2 with vpopmail support and relay-ctrl 
 patch. I am trying to pop my mails from that qmail mail on other 
 application server through remote pop accounts procedure. When i give 
 him user name as email and send password then Qmail server reject that 
 password and append the IP after the email, although user name and 
 password is correct, i check it manually on telnet.
 But giving me error of that kind.
 
 May  6 07:52:21 mail2 vpopmail[25532]: vchkpw: password fail
 [EMAIL PROTECTED]:211.117.134.11_
 
 
 What's and where it is wrong. bcz of ip concatenating pop server unable 
 to authenticate that user. So any solution or setting to remove. There 
 is nothingin application like that adding ip after the email.
 
 Waiting for a good reply.
 tx.
 Zafar


The IP is added by vchkpw itself, and doesnt matter at all. Its for 
administrative purposes only.

X-Istence


[vchkpw] QmailAdmin images

2003-09-10 Thread Zafar Rizvi



Hi 
i am installing qmailadmin-1.0.13 with qmail but no 
images found after installing many times.

Here how i am going to install.

[EMAIL PROTECTED] qmailadmin-1.0.13]# 
./configureloading cache ./config.cachechecking for a BSD compatible 
install... (cached) /usr/bin/install -cchecking whether build environment is 
sane... yeschecking whether make sets ${MAKE}... (cached) yeschecking 
for working aclocal... foundchecking for working autoconf... 
foundchecking for working automake... foundchecking for working 
autoheader... foundchecking for working makeinfo... foundchecking host 
system type... i686-unknown-linuxchecking for gcc... (cached) 
gccchecking whether the C compiler (gcc ) works... yeschecking 
whether the C compiler (gcc ) is a cross-compiler... nochecking 
whether we are using GNU C... (cached) yeschecking whether gcc accepts -g... 
(cached) yeschecking for ranlib... (cached) ranlibchecking for strerror 
in -lcposix... (cached) nochecking how to run the C preprocessor... (cached) 
gcc -Echecking for AIX... nochecking for crypt in -lcrypt... (cached) 
yeschecking for crypt in -lshadow... (cached) nochecking for floor in 
-lm... (cached) yeschecking for gethostbyaddr in -lnsl... (cached) 
yeschecking for getsockname in -lsocket... (cached) nochecking whether 
we should prohibit caching... nochecking whether to require ip 
authentication... yeschecking whether to display user index... 
yeschecking whether to allow admins to modify user quotas... nochecking 
whether to show help pages... nochecking for ezmlm-idx... yeschecking 
for dirent.h that defines DIR... (cached) yeschecking for opendir in 
-ldir... (cached) nochecking for ANSI C header files... (cached) 
yeschecking for unistd.h... (cached) yeschecking for working const... 
(cached) yeschecking for size_t... (cached) yeschecking whether struct 
tm is in sys/time.h or time.h... (cached) time.hchecking for getcwd... 
(cached) yeschecking for mkdir... (cached) yeschecking for strdup... 
(cached) yeschecking for strstr... (cached) yescreating 
./config.statuscreating Makefilecreating config.hconfig.h is 
unchanged

 
Current settings---

 cgi-bin dir = 
/var/www/cgi-bin html 
dir = /var/www/html image 
dir = 
/var/www/html/images/qmailadmin 
image URL = ""> template dir = 
/usr/local/share/qmailadmin/ 
qmail dir = /var/qmail vpopmail dir = 
/home/vpopmail ezmlm dir = 
/usr/local/bin/ezmlm ezmlm 
idx = yes[EMAIL PROTECTED] qmailadmin-1.0.13]# makegcc -I. 
-I/home/vpopmail/include -g -O2 -c 
qmailadmin.cgcc -I. -I/home/vpopmail/include 
-g -O2 -c alias.cgcc -I. 
-I/home/vpopmail/include -g -O2 -c 
autorespond.cgcc -I. -I/home/vpopmail/include 
-g -O2 -c forward.cgcc -I. 
-I/home/vpopmail/include -g -O2 -c 
mailinglist.cgcc -I. -I/home/vpopmail/include 
-g -O2 -c user.cgcc -I. 
-I/home/vpopmail/include -g -O2 -c util.cgcc 
-I. -I/home/vpopmail/include -g -O2 -c 
auth.cgcc -I. -I/home/vpopmail/include -g -O2 
-c template.cgcc -I. -I/home/vpopmail/include 
-g -O2 -c command.cgcc -I. 
-I/home/vpopmail/include -g -O2 -c show.cgcc 
-I. -I/home/vpopmail/include -g -O2 -c 
cgi.cgcc -I. -I/home/vpopmail/include -g -O2 
-c limits.cgcc -I. -I/home/vpopmail/include -g 
-O2 -c dotqmail.cgcc -g -O2 -o qmailadmin qmailadmin.o 
alias.o autorespond.o forward.o mailinglist.o user.o util.o auth.o template.o 
command.o show.o cgi.o limits.o dotqmail.o -L/home/vpopmail/lib -lvpopmail -lnsl 
-lm -lcrypt[EMAIL PROTECTED] qmailadmin-1.0.13]# make install-stripmake 
AM_INSTALL_PROGRAM_FLAGS=-s installmake[1]: Entering directory 
`/usr/local/src/qmailadmin-1.0.13'make[2]: Entering directory 
`/usr/local/src/qmailadmin-1.0.13'/bin/sh ./mkinstalldirs 
/var/www/cgi-bin /usr/bin/install -c -s qmailadmin 
/var/www/cgi-bin/qmailadminchown vpopmail 
/var/www/cgi-bin/qmailadminchgrp vchkpw /var/www/cgi-bin/qmailadminchmod 
u+s,g+s /var/www/cgi-bin/qmailadmin/bin/sh ./mkinstalldirs 
/usr/local/share/qmailadmin//bin/sh ./mkinstalldirs 
/usr/local/share/qmailadmin//htmlcp -R html/* 
/usr/local/share/qmailadmin//html/bin/sh ./mkinstalldirs 
/var/www/html/images/qmailadminmkdir /var/www/html/imagesmkdir 
/var/www/html/images/qmailadmincp -R images/* 
/var/www/html/images/qmailadmincp 
/usr/local/share/qmailadmin//html/en 
/usr/local/share/qmailadmin//html/en-usif test "" = "yes"; then 
\ 
cp html/show_login_help.html /usr/local/share/qmailadmin//html/show_login.html ; 
\fimake[2]: Leaving directory 
`/usr/local/src/qmailadmin-1.0.13'make[1]: Leaving directory 
`/usr/local/src/qmailadmin-1.0.13'

Any suggestion.
Thanks
Zafar



[vchkpw] System virtual User Authentication

2003-09-02 Thread Zafar Rizvi



hi All
I post that questoin many Times but did not get any 
valid reply. 
Theproblem was that i have running some 
virtual domains on linux server with qmail.I have some default linux users and 
many vritual domain users. The virtual domain user successfully authenticated 
with vchkpw but defualt users failed to authenticate himself through pop and 
imap.
As i have done while installing vpopmail , and 
enable-passwed=y but did not get any success.

So my question is that Can i authenticate both 
virtual domain and defualt user with pop3 and imap. ?

ANy Answer/help

Thanks
ZafAr


[vchkpw] Vpopmail Question

2003-08-29 Thread Zafar Rizvi



hi All
Mysql problem is solved with giving 
localhost. But the mail Question was if add a domain on one server with a 
centralized(name as vpopmail)database. it can be accessible on other server from 
same database.
For example i add one domain on Testmail server and 
add one user. These all information stored in mysql vpopmail 
database.

Now on other server where vpopmail is 
alsoinstalled with mysql support running on other abover defined 
server.So Can i accesss/authenticate all user of Server 1 on this second 
server.

Anyidea.


[vchkpw] Vpopmail problem in mysql

2003-08-28 Thread Zafar Rizvi



Hi All
 I am 
installing Qmail on redhat 8 with vpopmail.
I have two server running for qmail.I have one 
server Qmail server and on other Qmail server, database(mysql)  qmail is 
running. Now on both Qmail machine vpopmail is installed with mysql database 
support and it is configured fine till.
One standalone qmail server , if we add a domain it 
successfully created and deleted with other server database support.( means all 
data stored on other qmail server on which mysql is also running).
But on which mysql is running and also on it qmail 
is running and vpopmail in installed with mysql support with same configuration 
as on other qmail standalone server. Now Problem.
when i add any domain on this server, it give me 
error of mysql but creae also. Here is the Error i got.
**
[EMAIL PROTECTED] domains]# 
/home/vpopmail/bin/vadddomain zafar.comPlease enter password for 
postmaster:enter password again:vmysql: sql error[c]: Access denied for 
user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[b]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[3]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[c]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[b]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[3]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'vmysql: sql error[2]: Access denied for user: '[EMAIL PROTECTED]' to database 
'vpopmail1'Error: Unable to chdir to vpopmail/users 
directory
**
Although when i connect database with that username ,host on that sever it 
connecting but with vpopmail it generation error, Anbody has idea about that 
problem.

Waiting for a reply
Thanks
ZAfar


[vchkpw] vpopmail with mysql problem

2003-07-18 Thread zafar rizvi
hi
i am installing vpopmail-5.2.1 with mysql centralized database ports,
I successfully compile everything but when adding the domain it give me
error like that

[EMAIL PROTECTED] vpopmail-5.2.1]# /home/vpopmail/bin/vadddomain example.com
Please enter password for postmaster:
enter password again:
could not connect to mysql update server Access denied for user:
'[EMAIL PROTECTED]' (Using password: YES) with database
could not connect to mysql update server Access denied for user:
'[EMAIL PROTECTED]' (Using password: YES)
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
vmysql: sql error[3]: MySQL server has gone away
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[c]: MySQL server has gone away
vmysql: sql error[b]: MySQL server has gone away
vmysql: sql error[3]: MySQL server has gone away
vmysql: sql error[2]: MySQL server has gone away
Error: Unable to chdir to vpopmail/users directory

Is there anything wrong.

Tx
ZaFAr




Re: [vchkpw] Vpopmail Installation Problem

2003-07-16 Thread zafar rizvi
hi
Its mean mysql client must be installed on the qmail server first.
ok 
I have but still i am getting error.
ERROR 2003: Can't connect to MySQL server on '192.168.0.64' (111)

AND I have my.conf like that
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

[mysql.server]
user=mysql
basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid


Would u tell me what's wrong. or what setting left.

Thanks
ZAfar


- Original Message - 
From: Ajai Khattri [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 9:18 PM
Subject: Re: [vchkpw] Vpopmail Installation Problem


 zafar rizvi wrote:
 
  I am in problem of installing vpopmail with centralized mysql database
  support, and getting error in make command.
  i think its all bcz of disconnection from remote system.
  
  I test the connection with php script and got output like that.
  Error :Lost Connection to mysql server during query.
 
 A basic troubleshooting step would be to check that the MySQL connection 
 with the same username and password actually works. You can probably do 
 this by logging into your mail server and connecting your central 
 database by using the mysql client.
 
 -- 
 Aj.
 Systems Administrator / Developer
 
 
 




[vchkpw] vpopmail with postgres support

2003-07-16 Thread zafar rizvi
hi
i am trying to compile vpopmail with centralized database.
But failed ?
So i decide to leave mysql support
Anyhow now tell me plz how i use postgresql as centerlized database, and how
i will specify as postgresql support in compiling and where i will change in
the vpgsql.h file.

Thanks
ZafAr





[vchkpw] pop3/imap authentication through remote database

2003-07-15 Thread zafar rizvi
hi
i am installing qmail on linux and creating on centrilized mysql server and
one qmail server where user mailbox will reside.

I have two mail-relay servers where i have running pop3/imp,smtp and i want
on relayserver users authenticate himself through centralized mysql
database.
But how ?
mean how pop3/imap will communicate with remote database server for
authentication.


Anyidea about that.

Thanks
Zafar




[vchkpw] vpopmail with mysqlcentralized database

2003-07-15 Thread zafar rizvi
hi
 i am installing vpopmail with mysql support on cnetralized database
system.
i have two system one is mail-relay and other qmail where user mailboxes
resides.
On both of these servers i have running pop3/imap, so i want that pop3/imap
will authenticate the users through centralized database.

BUt when i compile vpopmail with mysql option then it give errrors
vauth.c:1170:subscription value is neither array nor pointer
-same two or three line-
vauth.c:In function 'vcreate_lastauth_table':
make[2]:***[vauth.o]Error 1
make[2]:Leaving directory '/usr/local/src/vpopmail-5.3.14'

so can i compile vpopmail with  (centralized) mysql support on mail-relay
and qmail server. So that on both system pop3 and imp authenticate the user
throuhg that centralized mysql database.

ANy idea.
Thanks
Zafar




[vchkpw] vpopmail with mysql support

2003-07-09 Thread zafar rizvi
hi ppl
i am using qmail on linux with vpopmail(5.3.14) support with mysql. But
getting error like that when using with mysql support.
Any body has idea about that error.

vauth.c: In function `vget_lastauth':
vauth.c:1132: `mysql_update' undeclared (first use in this function)
vauth.c:1139: warning: assignment makes integer from pointer without a cast
vauth.c:1141: warning: passing arg 1 of `mysql_fetch_row' makes pointer from
integer without a cast
vauth.c: In function `vget_lastauthip':
vauth.c:1157: `mysql_update' undeclared (first use in this function)
vauth.c:1164: warning: assignment makes integer from pointer without a cast
vauth.c:1165: warning: passing arg 1 of `mysql_fetch_row' makes pointer from
integer without a cast
vauth.c: In function `vcreate_lastauth_table':
vauth.c:1178: `LASTAUTH_TABLE_LAYOUT' undeclared (first use in this
function)
vauth.c:1179: `mysql_update' undeclared (first use in this function)
vauth.c:1183: warning: assignment makes integer from pointer without a cast
vauth.c: In function `logmysql':
vauth.c:1352: `mysql_update' undeclared (first use in this function)
vauth.c:1359: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vcreate_vlog_table':
vauth.c:1372: `mysql_update' undeclared (first use in this function)
vauth.c:1376: warning: assignment makes integer from pointer without a cast
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2
**

Waiting for a reply
Tx
Zafar




Re: [vchkpw] vpopmail with mysql support

2003-07-09 Thread zafar rizvi
 in this function)
vauth.c:433: warning: assignment makes integer from pointer without a cast
vauth.c:446: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vauth_deluser':
vauth.c:468: `MYSQL_DEFAULT_TABLE' undeclared (first use in this function)
vauth.c:476: `mysql_update' undeclared (first use in this function)
vauth.c:479: warning: assignment makes integer from pointer without a cast
vauth.c:489: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vauth_setquota':
vauth.c:511: `MYSQL_DEFAULT_TABLE' undeclared (first use in this function)
vauth.c:520: `mysql_update' undeclared (first use in this function)
vauth.c:524: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vauth_getall':
vauth.c:539: `MYSQL_DEFAULT_TABLE' undeclared (first use in this function)
vauth.c:557: warning: comparison between pointer and integer
vauth.c:558: warning: assignment makes integer from pointer without a cast
vauth.c:561: `mysql_update' undeclared (first use in this function)
vauth.c: In function `vauth_munch_domain':
vauth.c:630: `MYSQL_DOT_CHAR' undeclared (first use in this function)
vauth.c: In function `vauth_setpw':
vauth.c:660: `MYSQL_DEFAULT_TABLE' undeclared (first use in this function)
vauth.c:686: `mysql_update' undeclared (first use in this function)
vauth.c:691: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vopen_smtp_relay':
vauth.c:725: `mysql_update' undeclared (first use in this function)
vauth.c:731: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vupdate_rules':
vauth.c:741: `mysql_update' undeclared (first use in this function)
vauth.c:748: warning: assignment makes integer from pointer without a cast
vauth.c:752: warning: passing arg 1 of `mysql_fetch_row' makes pointer from
integer without a cast
vauth.c: In function `vclear_open_smtp':
vauth.c:770: `mysql_update' undeclared (first use in this function)
vauth.c: In function `vcreate_relay_table':
vauth.c:780: `RELAY_TABLE_LAYOUT' undeclared (first use in this function)
vauth.c:781: `mysql_update' undeclared (first use in this function)
vauth.c:785: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vclose':
vauth.c:799: `mysql_update' undeclared (first use in this function)
vauth.c: In function `vread_dir_control':
vauth.c:945: `mysql_update' undeclared (first use in this function)
vauth.c:954: warning: assignment makes integer from pointer without a cast
vauth.c:959: warning: passing arg 1 of `mysql_fetch_row' makes pointer from
integer without a cast
vauth.c: In function `vwrite_dir_control':
vauth.c:1028: `mysql_update' undeclared (first use in this function)
vauth.c:1035: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vcreate_dir_control':
vauth.c:1048: `mysql_update' undeclared (first use in this function)
vauth.c:1052: warning: assignment makes integer from pointer without a cast
vauth.c:1075: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vdel_dir_control':
vauth.c:1088: `mysql_update' undeclared (first use in this function)
vauth.c:1095: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vset_lastauth':
vauth.c:: `mysql_update' undeclared (first use in this function)
vauth.c:1117: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vget_lastauth':
vauth.c:1132: `mysql_update' undeclared (first use in this function)
vauth.c:1139: warning: assignment makes integer from pointer without a cast
vauth.c:1141: warning: passing arg 1 of `mysql_fetch_row' makes pointer from
integer without a cast
vauth.c: In function `vget_lastauthip':
vauth.c:1157: `mysql_update' undeclared (first use in this function)
vauth.c:1164: warning: assignment makes integer from pointer without a cast
vauth.c:1165: warning: passing arg 1 of `mysql_fetch_row' makes pointer from
integer without a cast
vauth.c: In function `vcreate_lastauth_table':
vauth.c:1178: `LASTAUTH_TABLE_LAYOUT' undeclared (first use in this
function)
vauth.c:1179: `mysql_update' undeclared (first use in this function)
vauth.c:1183: warning: assignment makes integer from pointer without a cast
vauth.c: In function `logmysql':
vauth.c:1352: `mysql_update' undeclared (first use in this function)
vauth.c:1359: warning: assignment makes integer from pointer without a cast
vauth.c: In function `vcreate_vlog_table':
vauth.c:1372: `mysql_update' undeclared (first use in this function)
vauth.c:1376: warning: assignment makes integer from pointer without a cast
make[2]: *** [vauth.o] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 1



Tx
zafar




Re: [vchkpw] Quota warn messgae

2003-06-30 Thread zafar rizvi
hi ppl
 i got the patch of maildir++ from the
http://www.shupp.org/patches/qmail-maildir++.patch
link. But plz help me in using , how can i use that, how i compile or where
i copy to use itsfunctionality.

Thanks in advance for help.
with regard and waiting for reply.

zafar
- Original Message -
From: Michael Bowe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 10:48 AM
Subject: Re: [vchkpw] Quota warn messgae


 - Original Message -
 From: zafar rizvi [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, June 18, 2003 3:24 PM
 Subject: [vchkpw] Quota warn messgae


  hi ppl
   i m using qmail on redat with vpopmail latest version.
  I set that .quota warn message file for quota warning message, but do't
 know
  why it sending mail when quota limit is near 20 or 15% used.

 To ensure that your quota counts are always accurate, you need to make
 sure that any applications that are involved in the adding/removing of
 messages
 are maildir++ compliant.

 Using a non maildir++ compliant POP3 daemon (such as the one that comes
 with qmail) is the most common cause for the quota system to falsely be
 reporting that a user has hit their quota limit.

 Bill Shupp has a patch for qmail that fixes both the qmail-pop3d
 and the qmail-local programs so that they become maildir++ compliant.
 You can download this patch from here :
 http://www.shupp.org/patches/qmail-maildir++.patch

 I would recommend that you then go and delete all your user's
 quota files (because they contain inaccurate counts). The quota
 files will be automatically recreated and will contain the correct
 totals next time a message is delivered.

 I have used this command in the past on my server to zap all
 the user's quota files :

   find /home/vpopmail/domains -name 'maildirsize' | xargs -i --verbose rm
 '{}' 21 ANd some time i have one or two mails and got quota warn
message,
 why and
  the date it show in the header date field is very far behind the
currrent
  date.why

 This is a limitation of the vpopmail quota warning system. The
 warning message does not contain any date field, which causes
 assorted weird results depending on the mail client that is used
 to read the message. A little more information about this is
 available in the archives here :
 http://bluedot.net/mail/archive/read.php?f=2i=10854t=10851

 Hope that helps!

 Michael.







[vchkpw] Quota warn messgae

2003-06-17 Thread zafar rizvi
hi ppl
 i m using qmail on redat with vpopmail latest version.
I set that .quota warn message file for quota warning message, but do't know
why it sending mail when quota limit is near 20 or 15% used.
ANd some time i have one or two mails and got quota warn message, why and
the date it show in the header date field is very far behind the currrent
date.why

plz tell me on which basis u judge quota warn message to be delivered as i
have 6mb(in bytes 6291456). As i am dividing by 1024 for getting
calculation.
Can Any body tell me what calculation method using vpopmail and what
configuration required for .quotawarng message work properly on time with
date.

thank
zafar




[vchkpw] pop3 not authenticate any users

2003-03-04 Thread zafar rizvi
hi ppl
 i have two virtual domains. i have pop3 and imap installed on my
system.Imap authenticate the all users of both virtual domains .
But pop3 not authenticate the any users
i can't understand why he do that..
here is the error which i get...

telnet 0 110

Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass zafar
-ERR authorization failed
Connection closed by foreign host.

wait for reply
thanks
zafar




[vchkpw] authentication of default and virtual domain users

2003-03-02 Thread zafar rizvi
hi ppl
 i am using qmail on redhat linux.i have one default domain of linux and
other 2 domain as virtual domains through vpopmail.
qmail-pop3d authenticatet the only virtual domain users.
Before installing vpopmail and configuring virtual domains ,it work the
default domain users.
so i want to authenticate both user through qmail-pop3d.
but how...
bcz now after virtual domains ,i have that type of qmail-pop3d run file
***
#!/bin/sh

# Dave Sill, 2001-11-06
# For use with The qmail Handbook, ISBN 1893115402

MAXPOP3D=`head -1 /var/qmail/control/concurrencypop3`
if [ -z $MAXPOP3D ]; then
echo MAXPOP3D is unset in
echo $0
exit 1
fi
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 -x /etc/tcp.pop3.cdb -c
$MAXPOP3D \
   0 110 /var/qmail/bin/qmail-popup FQDN /home/vpopmail/bin/vchkpw  \
/var/qmail/bin/qmail-pop3d Maildir 21

***
so how can i authenticte both users through pop3 and also with courier-imap
too.

thanks
zafar




Re: [vchkpw] Converting mbox to Maildir (in virtual domain)

2003-02-17 Thread zafar rizvi
hi
i think its not working fine...plz give me some detail..

thanks
zafar
- Original Message -
From: Robin Bowes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 17, 2003 4:39 PM
Subject: Re: [vchkpw] Converting mbox to Maildir (in virtual domain)


 Zafar,

 On Mon, February 17, 2003 6:10 am, zafar rizvi said:

  hi sir
  i am using qmail and i have existing users on IMAIL server.
  and i want to convert that users email to qmail and also convert into
  Maildir structure..and i have create a one virtual domain for it...but i
  can't get any converter who convert it into the Maildir structure and
also
  as a virtual domain user...
 Your virutal domain users Maildirs are created under
 /home/vpopmail/domains/your.domain.name/username.

 So, all you need to do to convert a user's mbox to maildir is something
like:

  su - vpopmail -c mbox2mdir /path/to/mbox
 /home/vpopmail/domains/your.domain.name/username/Maildir

 Disclaimer: I've just typed this in off the top of my head; it is probably
 only valid as a concept - you may run into problems that I have not
 thought of! (for example, the vpopmail user may not have a shell set by
 default, in which case the su command won't work!)

 I hope this gives you some ideas.

 R.
 --








[vchkpw] Re: COpy of Mail to every user cc address

2003-02-17 Thread zafar rizvi
hi all
According to some instructions from this mailing list ,i put question on
procmail and get the answer that its all depend upon ur MTAconsultp
support on qmail and vpopmail..
is qmail have that facility..for copy mail on receiving everymail...

thanks
zafar





[vchkpw] Rename User

2003-02-14 Thread zafar rizvi
hi all
 i want to know how i rename the existing user directory in which already
mails are storedand everything keep there
i get no command in /home/vpopmail/bin/
to rename the user account

any help
zafar





[vchkpw] Forward Mails or CC Mail

2003-02-10 Thread zafar rizvi
hi all
i am using qmail on linux with virutal domains.
i have a domain in which i want  to receive mails to the users and also get
the copy of that mail to another user on another domain or same domain.
i have .qmail-default file on specific domain level..only .qmail-default
file
so how i forward that mails or set up that scenario...
and in .qmail-default file that thing working
/home/vpopmain/bin/vdelivermail '' bounce-no-mailbox
its wokring so how i setup for every user set his mail to another
account.

so i hope i will get positive results from ur sides
thanks in advance for cooperation.

hope for the best.
zafar






Re: [vchkpw] Change password

2003-01-08 Thread zafar rizvi
hi ppl
i successfully write a change password script.
but is is the right way or it secure

i set suid of the vpasswd command in vpopmail/bin direct.
then i execute this command with script,it works.
is it correct way.

with regards
thanks
zafar
- Original Message -
From: zafar rizvi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 07, 2003 8:14 PM
Subject: [vchkpw] Change password


 hi ppl
  Any body have some idea about changepassword with virtual domain user
 (vpopmail user).

 Bcz i must need a change password script or idea

 thanks
 zafar








[vchkpw] Change password

2003-01-07 Thread zafar rizvi
hi ppl
 Any body have some idea about changepassword with virtual domain user
(vpopmail user).

Bcz i must need a change password script or idea

thanks
zafar





[vchkpw] Help in vqsignup

2002-12-30 Thread zafar rizvi
hello ppl
 i want to know information about vqsignup.
Modify the Makefile:

which make file i modify i can't understand.

modify the compile line 

in which compile file i write ???

so plz tell me how can i full configure it.

Bcz first two steps are very strange

thanks

zafar






[vchkpw] mail is not going outside

2002-12-23 Thread zafar



hello ppl
i am using qmail on redhat,and using virtual 
domains.
so that why i compile vpopmail with roaming-users=y 
support
but when i send mail to outside from that domain 
then it give me error 
--
Dec 23 11:44:07 mail2 qmail: 1040643847.737084 new 
msg 282Dec 23 11:44:07 mail2 qmail: 1040643847.737211 info msg 282: bytes 
190 from [EMAIL PROTECTED] qp 
19926 uid 507Dec 23 11:44:07 mail2 qmail: 1040643847.787793 starting 
delivery 4: msg 282 to remote [EMAIL PROTECTED]Dec 23 11:44:07 mail2 
qmail: 1040643847.787906 status: local 0/10 remote 1/20Dec 23 11:44:07 mail2 
qmail: 1040643847.792076 delivery 4: deferral: 
Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/Dec 23 
11:44:07 mail2 qmail: 1040643847.792180 status: local 0/10 remote 
0/20
i can't understand this problem bcz mail is sending 
localy very fine..not remote..

plz help me regard this.
zafar


[vchkpw] qmail-pop3d

2002-12-16 Thread zafar




hello ppl
i want to know that how my pop authenticate 
both vpopmail user (virtual users ) and default domain.
bcz i change the authentication file path in 

/var/qmail/supervise/qmail-pop3d/run
#!/bin/sh exec /usr/local/bin/softlimit -m 200 
\ /usr/local/bin/tcpserver -v -R 
-H -l 0 0 110 /var/qmail/bin/qmail-popup 
\ 
FQDN /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 
21

bcz default users are not authenticate through pop 
but virtual user are authenticated.

thanks
zafar



[vchkpw] anonymous user mail

2002-12-16 Thread zafar




hello sir
i am using qmail on redhat with 
vpopmail.
i want to know that my qmail is sending a mail 
after some time to postmaster from [EMAIL PROTECTED]
i can't understand why he do this.
why he send this mail from anonymous user to 
postmaster..
so plz guide me little.

thanks
zafar


[vchkpw] Password not accepted

2002-12-13 Thread zafar
hello sir
 i try many time to login with root but can't

plz check it,i get error of Access denied from window's putty and from
linux machine i get error of permission denied.

so plz check it where is the problem...
thanks





[vchkpw] mail not going outside

2002-12-02 Thread zafar
hello all
  i am using vpopmail,qmail on redhat linux.The mail is going outside domain
but easily send to local domains..
i do everything but can't thing working.
127.0.0.:allow,RELAYCLIENT= in the /etc/tcp.smtp
and /home/vpopmail/etc/tcp.smtp
but all in vain.
sir tell me what i do to remove this err--

The message could not be sent because one of the recipients was rejected by
the server. The rejected e-mail address was '[EMAIL PROTECTED]'.
Subject 'helo mail', Account: 198.101.101.1, Server: 'example.com, Protocol:
SMTP, Server Response: '553 sorry, that domain isn't in my list of allowed
rcpthosts (#5.7.1)', Port: 25, Secure(SSL): No, Server Error: 553, Error
Number: 0x800CCC79





[vchkpw] what the tcprules for global

2002-12-02 Thread zafar
hello all
 thanks for mailing and solving my problem especially
cory wright who give me idea.
but i need some more flexible. i want that anybody can access mail from
anywhere either from outlook or some client.
Then i need a general rule from anywhere mail will be sent.
as now i write in tcp.smtp
127.0.0.:allow,RELAYCLIENT
198.101.100.1:allow,RELAYCLIENT
for example anyperson who is any other state and configure outlook ,in that
case he can't mail sent bcz it give error of invalid rcpthost.
so i need a global ,from anywhere i mail sent.no need to add address or ip
of in tcp.smtp.
thanks

zafar





Re: [vchkpw] what the tcprules for global

2002-12-02 Thread zafar
hello
it already configured with that option.so that mail is come in and out.
i do't think that is the problem..

- Original Message -
From: Cory Wright [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 03, 2002 10:03 AM
Subject: Re: [vchkpw] what the tcprules for global


 On Tue, Dec 03, 2002 at 09:47:31AM +0500, zafar wrote:
  i want that anybody can access mail from
  anywhere either from outlook or some client.

  for example anyperson who is any other state and configure outlook ,in
that
  case he can't mail sent bcz it give error of invalid rcpthost.
  so i need a global ,from anywhere i mail sent.no need to add address or
ip
  of in tcp.smtp.

 You need POP before SMTP.  Be sure vpopmail is compiled with
 --enable-roaming-users=y .

 Cory

 --
 Cory Wright
 Stand Blue Technology
 http://www.standblue.net/







[vchkpw] where is the problem

2002-12-01 Thread zafar
hello all
 i am try to mail send from my domain to outside any domains.but can't
succeed till then i am not enter that domain in the rcphost. i want to send
mail without entering any domain inthe rcpthost.
But i receive the mail from any domains(its work) but can't send.
so what changes,i am using vpopmail for virtual domains.
either i do in the /etc/tcp.smtp file or in the vpopmail
/home/vpopmail/etc/tcp.smtp file.
in which file i change for mail send to outside domains...

guide me
thanks

zafar





[vchkpw] Rcpthost problem (mail is not going outside)

2002-12-01 Thread zafar
hello all
 i am try to mail send from my domain to outside any domains.but can't
succeed till then i am not enter that domain in the rcphost. i want to send
mail without entering any domain inthe rcpthost.
But i receive the mail from any domains(its work) but can't send.
so what changes,i am using vpopmail for virtual domains.
either i do in the /etc/tcp.smtp file or in the vpopmail
/home/vpopmail/etc/tcp.smtp file.
in which file i change for mail send to outside domains...

guide me
thanks






[vchkpw] qmail problem in recpthost

2002-11-30 Thread zafar
hello all
 when i send mail to outside domain,not local domains then mail can't be
forward to that domain.
and it give error that the domain u specified is not a valid rcpthost. so
when i enter that domain then mail will be sent to that domain.
i want to know that how can i send mail to any domain outside local domain
like yahoo,hotmail or anyother domains registered in the world...

thanks.
zafar





[vchkpw] qmail problem

2002-11-30 Thread zafar
hello all
   i am still facing a problem of sending mail to remote site.
what i do to send mail to outside site not local.
like to yahoo or someother worlwide domain.
when i enter any domain in rcpthost it will work.
but i want that user can send mail to any rcpthost.
But i found always error when i send mail

that domain is not my list of valid rcpthosts.

so what changes i do to set it as to send mail to all domains .

thanks
wait for a reply.

zafar





[vchkpw] Quota problem

2002-11-22 Thread zafar
hello all
 i am facing problem from 2 weeks.
the problem is that user is block sending mail after exceding
quota limit.
The other problem is that mail is not bounce back when anyuser quota is
full.
so how can i get it...
thanks

zafar





[vchkpw] change password

2002-11-21 Thread zafar
hello all
   has any one write the change password scripte in php or in someother
language.
or
anyway to change password without using vpopmail commands.

thanks.





[vchkpw] Bug in vqadmin

2002-10-30 Thread zafar
hello all
 i send two question but can't get any reply.
i think that thing has no solution.
Actually i am using qmail on redhat and i use vqadmin to allot quota and i
allot the quota to 3mb per user.
i use imap to read mail and create folders but quota can't work properly on
that maildirectory.
i want to apply quota on all folder which user create and also include INBOX
but vqadmin set quota on only INBOX and sometime mail can be recived after
quota exceeding.
so any solution to this problem.
i think it  must have solution ,i search on many sites but i can't get any
reply or thing which is suitable for that problem.
so guide me how i manage it.
thanks





[vchkpw] how to handle quota

2002-10-29 Thread zafar
helo all
   i already put that question but no answer till i receive.
i want to know how i implement quota on folders in a single INBOX or
Maildir.
When  quota exceed no mail will come.
so plz guide to how implement quota on Maildir
qmailadmin implement but it creates problems.
thanks.
wait for reply.





[vchkpw] Quota problem

2002-10-27 Thread zafar
hello all
i am facing problem in assigning quota through vqadmin.
The Quota is successfully assign to user but user can still receive mail
with high capacity and mail not bounce back to user.
so how can i manage that problem ,when a user mailbox quota is full then his
mail will be bounce back .
The one thing more plz tell me either quota which i allot it only applied to
maildir only or all folder which user create and also include
trash,sent,draft.
So plz guide me in this problem
thanks






[vchkpw] no solution that problem

2002-10-25 Thread zafar
hello all
 i have a problem in using qmail.
i want that qmail generate the auto mail to the respected user when the date
come like birthday event come a happy birthday mail will be sent on that
date.
so how can i do it with qmail or anyother way.

and other problem is i want to change message when mail bounce back to user
,is it possible to change the message.
i want to change  this message

Hi. This is the qmail-send program at bruitus.bravo.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. vpopmail (#5.1.1)

--- Below this line is a copy of the message.

so how can i do it also.
 waiting for a reply.








[vchkpw] qmail send problems

2002-10-25 Thread zafar
hello all
 i have a problem in using qmail.
i want that qmail generate the auto mail to the respected user when the date
come like birthday event come a happy birthday mail will be sent on that
date.
so how can i do it with qmail or anyother way.

and other problem is i want to change message when mail bounce back to user
,is it possible to change the message.
i want to change  this message

Hi. This is the qmail-send program at bruitus.bravo.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. vpopmail (#5.1.1)

--- Below this line is a copy of the message.
so how can i do it also.
 waiting for a reply.







[vchkpw] vqadmin problem

2002-10-24 Thread zafar
hello all
 i am install the vqadmin on redhat.
i successfully install it but when i add any domain or view any domain it
give me error of permission denied .
i can't understand what kind of permission he required.
i give full apache permission but it can't working fine.
help required
with regards.





[vchkpw] strange problem

2002-10-18 Thread zafar
hello all
  i want to know how user mail is bouce back if no mail address exist,it
bouce back to the user who send it.
any option which is left in qmail.
or something do extra work.






[vchkpw] how to return bounce email

2002-10-13 Thread zafar



hello all
i want to know to know how qmail send return 
back the invalid email.
what configuration required.
Sqwebmail is working in this pattern fine but i am 
trying to make a client and i give facility for that thing.
so how can i mail bounce back to user who send 
it.
plz guide me.


[vchkpw] undeliverable mail

2002-10-11 Thread zafar



hello all
 i wan to 
know how a user get bounced mail when not recipient exist 
At that time mail is go to the qmail postmaster 
maildir.
anything possible for that
which user send invalid recipient ,it rebounce and 
recieve by the same user who send it.
give me the idea


[vchkpw] solution

2002-10-11 Thread zafar



hi all
 thanks for giving me suggestion.but 
plz tell sqweb mail is delivering and receiving mail if not delivered to 
respected recipient.
how he do it.
i want that thing same.
or either i must install some patch.
thanks


[vchkpw]problem

2002-09-08 Thread Zafar Rizvi


hi
  my vpopmail is working fine and sqwebmail is also working very fine and read 
mail.but courier imap isnot authenticate the users through php
and
telnet 0 143
ready imap..
a1 login zafar@ zafar
a1 nologin failed.
and now no user can be login in the domain.and courier imap is not 
working properly.
plz suggest me what i do to authenticate it. or i reinstall it.
thanks
with regards and wait for ur reply.
  



[vchkpw]passwrod encrypted method

2002-08-27 Thread zafar



sirplz also tell me in the response mail ,how 
can i fix the SALT with vpopmailSALT,to get same encrypted passwd value 
,like vpopmail.also tell me about " SEGMENTATION FAULT"thankswait 
for ur reply.


[vchkpw]passwrod encrypted method

2002-08-26 Thread zafar



hello i want to know 
that thing ,that when new user add in throughvpopmail in any domain 
,what algorithum vpopmailis use to encrypt password and now i want to 
decrypt itthrough php.plz tell me the encrypted method of 
vpopmail.i install it with clear password option also.wait 
for ur reply.thanks


Re: [vchkpw]passwrod encrypted method

2002-08-26 Thread zafar

sir
thanks for the reply.
i follow ur instructions and generate different encrypted password
values.but that encrypted password is not matched with oldone encrypt by
vpopmail (it is correct or not)tell me about this also,
i try it with this pattern.

$clearpass = 'zafar'
 $crypted = '';
and resulted encrypted passwd paste on the vpasswd file in the respected
domain file.but user login it with the old password i overwrite the
encrypted and clear passwd.but it can't work.
plz tell me which file it use for getting password, and where i change
must,will change confirm.
plz tell me .
thanks for the again reply.
ok wait for ur reply.

- Original Message -
From: Peter Palmreuther [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 26, 2002 3:51 PM
Subject: Re: [vchkpw]passwrod encrypted method


 Hello zafar,

 On Monday, August 26, 2002 at 10:04:27 AM you wrote:

  i want to know that thing ,that when new user add in through vpopmail in
  any domain ,what algorithum vpopmail is use to encrypt password

 crypt with MD5

  and now i want to decrypt it through php.

 Impossible. It's a one way encryption. Decryption is not possible.

   plz tell me the encrypted method of vpopmail.

 To encrypt passwords using PHP, e.g. to write them to a database (like if
 you're using vpopmail w/ MySQL and want users to change the password from
 your web site) you can use the following code:

 ,-= [ adopted from vpopmail-source ] =-
 ?php
 function randltr() {
 $retval = 'a';
 $rand = rand() % 64;
 if ($rand  26) $retval = $rand + 'a';
 if ($rand  25) $retval = $rand - 26 + 'A';
 if ($rand  51) $retval = $rand - 52 + '0';
 if ($rand == 62) $retval = ';';
 if ($rand == 63) $retval = '.';
 return($retval);
 }

 function mkpasswd3($clearpass, $crypted) {
 srand ((double)microtime()*100);

 $salt = '$1$';
 for ($i = 0; $i  5; $i++) $salt .= randltr();
 $salt .= '0';

 $crypted = crypt($clearpass, $salt);

 if (strlen($crypted)  0) return(true);
 return(false);
 }
 ?
 `-=

 and call the functions like in this example:

 ,-= [  ] =-
 $clearpass = 'testtest'
 $crypted = '';

 if (mkpasswd3($clearpass, $crypted)) printf(%s - %s\n, $clearpass,
$crypted);
 else echo(Ohoh);
 `-=

 To figure out if MD5-support is compiled into your PHP execute this code:

 ,-= [ test for MD5 encryption support ] =-
 ?php
 printf('CRYPT_MD5: %s%s', CRYPT_MD5, \n);
 ?
 `-=

   i install it with clear password option also.

 You won't need to decrypt if clear-password is enabled. The clear password
 then will be already present.
 But you'll have to remember updating encrypted _AND_ clear password if you
 use above PHP functions!!!
 --
 Best regards
 Peter Palmreuthermailto:[EMAIL PROTECTED]






Re: [vchkpw]passwrod encrypted method

2002-08-26 Thread zafar

hello
i change in the vpasswd file and try to check it without
handling vpasswd.cdb file,
r i remove it first and then change it.
or something else i do.
thanks for the command but i want that i read this file and
change the passwd in this file.
tell me little detail for doing,
i have some confusion
thanks for the cooperation.
wait for ur reply.
- Original Message -
From: Peter Palmreuther [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 26, 2002 6:21 PM
Subject: Re: [vchkpw]passwrod encrypted method


 Hello zafar,

 On Monday, August 26, 2002 at 3:16:32 PM you wrote:

  i follow ur instructions and generate different encrypted password
  values.but that encrypted password is not matched with oldone encrypt by
  vpopmail (it is correct or not)

 Yes, this is correct.
 Encrypted passwords will differ each time, as the 'SALT' is different each
 time.
 Encrypting the password with same SALT will produce same encrypted string.
 But as salt is chosen (more or less) randomly each time you call the
 functions this will produce different output patterns.

  and resulted encrypted passwd paste on the vpasswd file in the respected
  domain file.but user login it with the old password i overwrite the
  encrypted and clear passwd.but it can't work.

 Than the new password ain't used.
 If something would be wrong with encryption functions the user would _not_
 be able to log in, neither with new nor with old password.
 If user can still log in after you've tried to set the new password you
 were not successful in setting the new password.
 Did you only set the password in 'vpasswd' file or did you recreate
 'vpasswd.cdb' after changing the password?

 vmkpasswd $domain

 should be your command.
 --
 Best regards
 Peter Palmreuthermailto:[EMAIL PROTECTED]






Re: [vchkpw]passwrod encrypted method

2002-08-26 Thread zafar

hello sir
thanks for mailing.
sir i do everything according to ur instruction.i found a error when i run
vmkpasswd command of segmentation fault.i do't understand that error.
 r u have any information about that error.
plz tell me the solution of this error.
thanks with regards

- Original Message -
From: Peter Palmreuther [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 26, 2002 7:18 PM
Subject: Re: [vchkpw]passwrod encrypted method


 Hello zafar,

 On Monday, August 26, 2002 at 4:48:52 PM you wrote:

  i change in the vpasswd file and try to check it without
  handling vpasswd.cdb file,
  r i remove it first and then change it.
  or something else i do.
  thanks for the command but i want that i read this file and
  change the passwd in this file.

 'Something else' is the wrong doing.
 You should do exactly what vpopmail expects you to do:

 - change the (encrypted and plain text) password in 'vpasswd'.
 - run vmkpasswd $domain (substitute '$domain' with name of the domain
   you're processing the vpasswd file for)

 The former will make changes in the file readable by human beings like
you,
 the latter will transport the changes to binary file (vpasswd.cdb) used
 by 'vchkpw' for authenticating user.

 You will _have to_ do both steps, unless you're familiar with using
 cdb library and changing vpasswd.cdb directly by yourself (I assume you're
 not).

 So again: assuming domain name is 'test.com' and username to change the
 password for is 'user' you'll have to change the line corresponding to
 'user' in file '~vpopmail/domains/test.com/vpasswd' and set the new
 password, both encrypted and plain text.
 Then you'll have to execute 'vmkpasswd test.com' for changes getting
 manifested in '~vpopmail/domains/vpasswd.cdb' which is used by 'vchkpw' to
 do (normal) POP3 authentication.
 --
 Best regards
 Peter Palmreuthermailto:[EMAIL PROTECTED]