[vchkpw] autorespond

2002-10-26 Thread Michael Christie



Hi all ,
 
Thank you all for the response I got from 
you last time , your input helped . As you might have worked out I am new 
to vpopmail.  I am having the following config error when I do a "make" on 
autorespond  I have read the man page I did not think I needed to change 
any thing in the Makefile as I am using /var/qmail as my qmail dir 
.
 
I am getting the following message , what am I 
doing wrong ?
 
 makegcc -Wall -o autorespond 
autorespond.cautorespond.c: In function 
`send_message':autorespond.c:260: warning: passing arg 1 of `gmtime' from 
incompatible pointer type
 
 
Thank you all
 
Michael


Re: [vchkpw] IP-based vhosting

2002-10-26 Thread Brandon Ramirez
Courier-imap (as of today, latest version) is the pop server. I am using
Ximian Evolution as my client.

- Brandon Ramirez

On Sat, 2002-10-26 at 20:14, Rick Macdougall wrote:
> Hi,
> 
> What are you using as your pop client?  Courier-imap or qmail-pop3d?
> 
> Regards,
> 
> Rick
> 
> - Original Message - 
> From: "Brandon Ramirez" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, October 26, 2002 5:16 PM
> Subject: [vchkpw] IP-based vhosting
> 
> 
> Yesterday I moved 2 of my virtual hosts to their own IP addresses. Since
> my version of vpopmail was at least 6 months out of date, I upgraded it
> and compiled in support for IP-based vhosting. I have reverse DNS setup
> correctly locally (isp won't let me configure it Internet-wide). But it
> won't let me authenticate with just my username. I have to use my full
> email address, even when connecting to the correct server name.
> 
> Is there anything else I need to configure for it to work properly? Or
> is IP-based vhosting broken in 5.3? Any help would be appreciated.
> 
> - Brandon Ramirez
> 
> 
> 






Re: [vchkpw]

2002-10-26 Thread Michael Bowe



Hi Michael
 
I have a basic vpopmail w/mysql guide 
at
http://www.pipeline.com.au/staff/mbowe/isp/vpopmail-mysql.htm
Maybe the info there will help you sort out your 
problem..
 
Michael.
- Original Message - 

  From: 
  Michael Christie 
  
  To: [EMAIL PROTECTED] 
  Sent: Sunday, October 27, 2002 12:45 
  AM
  Subject: [vchkpw] 
  
  
  
  Hi there,
   
  For some time now I have been trying to get this 
  toaster to work , I have installed all that is needed , but when I try to add 
  a domain I get this
   
  ./vadddomain example.comPlease enter password 
  for postmaster: 1234enter password again: 1234could not connect to 
  mysql update server Access denied for user: 'root@localhost' (Using 
  password: YES) with databasecould not connect to mysql update server 
  Access denied for user: 'root@localhost' (Using password: YES)vmysql: 
  sql error[c]: MySQL server has gone awayvmysql: sql error[b]: MySQL server 
  has gone awayvmysql: sql error[3]: MySQL server has gone awayvmysql: 
  sql error[c]: MySQL server has gone awayvmysql: sql error[c]: MySQL server 
  has gone awayvmysql: sql error[b]: MySQL server has gone awayvmysql: 
  sql error[3]: MySQL server has gone awayvmysql: sql error[2]: MySQL server 
  has gone awayError: Unable to chdir to vpopmail/users 
  directory
  Can some one please help me with this and tell me 
  what is going wrong and how to fix it ... 
   
  Thank you all
   


[vchkpw] vpopmail 5.2.1

2002-10-26 Thread escher
Hi, I'm sorry, maybe this is a faq but I can't find the response of my 
problem.

I installed qmail and other from apt tools, no for vpopmail. I compiled it.
Now, I added one virtualdomain and user and I have found 2 directories 
domains, first under /home/vpopmail, second under /var and my user and 
virtualdomain are on the second.

When I try to login on 110 port I get this messages:

Connected to wk1.
Escape character is '^]'.
+OK <3464.1035668485@wk1.>
user user@domain
+OK
pass mypass
-ERR authorization failed
Connection closed by foreign host.


If I try send email from port 25

Connected to wk1.
Escape character is '^]'.
220 domain ESMTP
helo
250 domain
mail from [EMAIL PROTECTED]
250 ok
rcpt to:user@domain
250 ok
data
354 go ahead

.
250 ok 1035668406 qp 3455
quit
221 domain
Connection closed by foreign host.


Now, I have received on my account used on mail from field  with failure 
notice:

Hi. This is the qmail-send program at domain.
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.

:
Sorry, no mailbox here by that name. (#5.1.1)


So, any idea?
Thx.







[vchkpw] IP-based vhosting

2002-10-26 Thread Brandon Ramirez
Yesterday I moved 2 of my virtual hosts to their own IP addresses. Since
my version of vpopmail was at least 6 months out of date, I upgraded it
and compiled in support for IP-based vhosting. I have reverse DNS setup
correctly locally (isp won't let me configure it Internet-wide). But it
won't let me authenticate with just my username. I have to use my full
email address, even when connecting to the correct server name.

Is there anything else I need to configure for it to work properly? Or
is IP-based vhosting broken in 5.3? Any help would be appreciated.

- Brandon Ramirez





Re: [vchkpw] no solution that problem

2002-10-26 Thread David Phillips
zafar writes:
>  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.

This isn't a qmail problem.  Nor is it a vchkpw problem.  How would you do
it with any other MTA?

--
David Phillips <[EMAIL PROTECTED]>
http://david.acz.org/





[vchkpw] Re: How to change the password with SQL command?

2002-10-26 Thread Peter Palmreuther
Hello Jason,

On Saturday, October 26, 2002 at 8:54:20 PM you wrote:

>>> It appears that passing RAND() with no arguments to the pw_passwd field
>>> breaks mysql replication.

>> 1.) Anybody who can verify this? I don't run vpopmail on MySQL for
>> myself, so I can'T tell anything about this replication stuff.

> a query such as the one below:

> update your_domain_com set pw_passwd = ENCRYPT("anyvaluehere",CONCAT("$1
> $",SUBSTRING(MD5("anyvaluehere"),ROUND(RAND()*10),5),"0")) where 
> pw_name='your_name_here'

> This does produce an encrypted entry that can be authenticated against, but 
> when replicating this table, mysql replication errors occur and replication 
> dies. Simply by removing the usage of RAND(), replication is not affected.

So it seems MySQL has a problem. Would be interesting to know which
MySQL version (if they differ between the servers both of course) and
if MySQL developers already know about this problem.

MySQL shouldn't replicate the RAND() but it's result.

But as a work around for all those that would be affected one will in
fact have to use the function modified (albeit less secure!), by
exchanging 'ROUND(RAND()*10)' with any number from 1 to 28.
-- 
Best regards
Peter Palmreuther





Re: [vchkpw] Re: How to change the password with SQL command?

2002-10-26 Thread Federico Voges
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I'm pretty sure you're generating this query from some script/program.
So, why don't you generate the random number in it?? That way, you
shouldn't have any problems with replication.

Just my $0.02.

Bye!

On 26 Oct 2002 18:54:20 -, Jason Smith wrote:

>Peter,
>
>a query such as the one below:
>
>update your_domain_com set pw_passwd = ENCRYPT("anyvaluehere",CONCAT("$1
>$",SUBSTRING(MD5("anyvaluehere"),ROUND(RAND()*10),5),"0")) where 
>pw_name='your_name_here'
>
>This does produce an encrypted entry that can be authenticated against, but 
>when replicating this table, mysql replication errors occur and replication 
>dies. Simply by removing the usage of RAND(), replication is not affected.
>
>
>On Sat, 26 Oct 2002 10:45:32 +0200, Peter Palmreuther <[EMAIL PROTECTED]> 
>wrote :
>
>> Hello Jason,
>> 
>> On Friday, October 25, 2002 at 10:02:53 PM Jason wrote:
>> 
>> > On Friday, October 11, 2002 at 10:38:04 AM Peter wrote:
>> 
>> >> ENCRYPT("",CONCAT("$1$",SUBSTRING(MD5(""), \
>> >>   ROUND(RAND()*10),5),"0"))
>> 
>> > It appears that passing RAND() with no arguments to the pw_passwd field
>> > breaks mysql replication.
>> 
>> 1.) Anybody who can verify this? I don't run vpopmail on MySQL for
>> myself, so I can'T tell anything about this replication stuff.
>> 
>> 2.) Jason: are you sure you used and understood the SQL command
>> correctly? You should _NOT_ pass the value of RAND(), nor the
>> value of RAND()*10 to "pw_passwd" field.
>> The RAND() function is _ONLY_ used to pick a (more or less) random
>> substring (for creating the salt).
>> Therefor RAND() must be called w/o arguments, else it will produce
>> the same value over and over again. (BTW: I've never seen the sense
>> in a rand() function that produces the same value again and again,
>> anybody who can explain the deeper thought behind this idea?)
>> -- 
>> Best regards
>> Peter Palmreuther
>> 
>> 
>> 
>> 
>> 
>

Federico Voges
Socio gerente

Intrasoft
Malabia 2137 14 A
(1425) Buenos Aires
Argentina

Te/Fax: 54-11-4833-5182
e-mail: [EMAIL PROTECTED]
Web: http://www.intrasoft.com.ar

PGP Public Key Fingerprint: A536 4595 EB6F D197  FBC1 5C3A 145C 2516

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its 
affiliated companies.

iQA/AwUBPbryPRRcJRaVKt4XEQL95wCeJEykyCssIQAeKUKBPQdQx7itTP8AniCU
5UpMO4hDcYFfT4Y+JA8Ih+Hw
=Jbii
-END PGP SIGNATURE-






Re: [vchkpw] Re: How to change the password with SQL command?

2002-10-26 Thread Jason Smith
Peter,

a query such as the one below:

update your_domain_com set pw_passwd = ENCRYPT("anyvaluehere",CONCAT("$1
$",SUBSTRING(MD5("anyvaluehere"),ROUND(RAND()*10),5),"0")) where 
pw_name='your_name_here'

This does produce an encrypted entry that can be authenticated against, but 
when replicating this table, mysql replication errors occur and replication 
dies. Simply by removing the usage of RAND(), replication is not affected.


On Sat, 26 Oct 2002 10:45:32 +0200, Peter Palmreuther <[EMAIL PROTECTED]> 
wrote :

> Hello Jason,
> 
> On Friday, October 25, 2002 at 10:02:53 PM Jason wrote:
> 
> > On Friday, October 11, 2002 at 10:38:04 AM Peter wrote:
> 
> >> ENCRYPT("",CONCAT("$1$",SUBSTRING(MD5(""), \
> >>   ROUND(RAND()*10),5),"0"))
> 
> > It appears that passing RAND() with no arguments to the pw_passwd field
> > breaks mysql replication.
> 
> 1.) Anybody who can verify this? I don't run vpopmail on MySQL for
> myself, so I can'T tell anything about this replication stuff.
> 
> 2.) Jason: are you sure you used and understood the SQL command
> correctly? You should _NOT_ pass the value of RAND(), nor the
> value of RAND()*10 to "pw_passwd" field.
> The RAND() function is _ONLY_ used to pick a (more or less) random
> substring (for creating the salt).
> Therefor RAND() must be called w/o arguments, else it will produce
> the same value over and over again. (BTW: I've never seen the sense
> in a rand() function that produces the same value again and again,
> anybody who can explain the deeper thought behind this idea?)
> -- 
> Best regards
> Peter Palmreuther
> 
> 
> 
> 
> 




Re: [vchkpw]

2002-10-26 Thread H. D. Lee
On 2002.10.26_23:45:42_+, Michael Christie wrote:
> Hi there,
> 

Hi Michael,

> For some time now I have been trying to get this toaster to work , I have installed 
>all that is needed , but when I try to add a domain I get this
> 
> ./vadddomain example.com
> Please enter password for postmaster: 1234
> enter password again: 1234
> could not connect to mysql update server Access denied for user: 'root@localhost
> ' (Using password: YES) with database
> could not connect to mysql update server Access denied for user: 'root@localhost
> ' (Using password: YES)
> vmysql: sql error[c]: MySQL server has gone away

There is a big chance that you didn't configuree definition in vmysql.h
before configure and compile. Please tell us exactly how you compile
vpopmail. 

> Can some one please help me with this and tell me what is going wrong and how to fix 
>it ... 
>  

Yes, it is in the documentation that comes with vpopmail package.

> Thank you all
>  

You're welcome.

-- 
H. D. Lee




RE: [vchkpw]

2002-10-26 Thread John Johnson
Title: Message



You 
have it seutp for mysql and don't have the mysql settings correct. the mysql 
settings are in
vmysql.h  you need to edit with the user and password you want to 
use.. Example user vpopmail
password vpopmail you will have to recompile after fixing 
vmysql.h
 
mysql 
-uroot -p
 
mysql>GRANT select, alter, drop, delete, insert
>ON 
vpopmail.*
>TO 
vpopmail@localhost
>IDENTIFIED BY
> 
'vpopmail';
 

  
  -Original Message-From: Michael Christie 
  [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 26, 2002 6:46 
  AMTo: [EMAIL PROTECTED]Subject: [vchkpw] 
  
  
  
  Hi there,
   
  For some time now I have been trying to get this 
  toaster to work , I have installed all that is needed , but when I try to add 
  a domain I get this
   
  ./vadddomain example.comPlease enter password 
  for postmaster: 1234enter password again: 1234could not connect to 
  mysql update server Access denied for user: 'root@localhost' (Using 
  password: YES) with databasecould not connect to mysql update server 
  Access denied for user: 'root@localhost' (Using password: YES)vmysql: 
  sql error[c]: MySQL server has gone awayvmysql: sql error[b]: MySQL server 
  has gone awayvmysql: sql error[3]: MySQL server has gone awayvmysql: 
  sql error[c]: MySQL server has gone awayvmysql: sql error[c]: MySQL server 
  has gone awayvmysql: sql error[b]: MySQL server has gone awayvmysql: 
  sql error[3]: MySQL server has gone awayvmysql: sql error[2]: MySQL server 
  has gone awayError: Unable to chdir to vpopmail/users 
  directory
  Can some one please help me with this and tell me 
  what is going wrong and how to fix it ... 
   
  Thank you all
   


[vchkpw]

2002-10-26 Thread Michael Christie





Hi there,
 
For some time now I have been trying to get this 
toaster to work , I have installed all that is needed , but when I try to add a 
domain I get this
 
./vadddomain example.comPlease enter password 
for postmaster: 1234enter password again: 1234could not connect to mysql 
update server Access denied for user: 'root@localhost' (Using password: YES) 
with databasecould not connect to mysql update server Access denied for 
user: 'root@localhost' (Using password: YES)vmysql: sql error[c]: MySQL 
server has gone awayvmysql: sql error[b]: MySQL server has gone 
awayvmysql: sql error[3]: MySQL server has gone awayvmysql: sql 
error[c]: MySQL server has gone awayvmysql: sql error[c]: MySQL server has 
gone awayvmysql: sql error[b]: MySQL server has gone awayvmysql: sql 
error[3]: MySQL server has gone awayvmysql: sql error[2]: MySQL server has 
gone awayError: Unable to chdir to vpopmail/users directory
Can some one please help me with this and tell me 
what is going wrong and how to fix it ... 
 
Thank you all
 


[vchkpw] Need Help for Vpopmail-5.3.11

2002-10-26 Thread administrator
Hi There!

  I want to install Inter7's Vpopmail-5.3.11 software for virtual
hosting. question that i want to ask that do i need to patch qmail
with Bill Shupp's (Large Qmai Patch) qmail-toaster-0.4.2.patch, coz
on the web site it's been recomended for vpopmail-5.3.6. So what
about vpopmail-5.3.11.

Waiting for ur Warm & Quick Reply

Thanx.

--Regards
   Zaman.






[vchkpw] vpopmail & qmail

2002-10-26 Thread Joeffrey Betita
Hi Peter

 i inserted this on my inetd.conf

pop3 stream tcp nowait root \
/var/qmail/bin/qmail/qmail-popup \
qmail-popup mail.stilen.com \
/home/vpopmail/bin/vchkpw \
/var/qmail/bin/qmail-pop3d \
Maildir

after restarting the inetd service. this error message came up.

Oct 26 16:35:39 gw inetd[1692]: pop3/tcp: bind: Address already in use
Oct 26 16:35:39 gw inetd[1692]: Bad config for
/var/qmail/bin/qmail/qmail-popup: Incomplete config entry (skipped)
Oct 26 16:35:39 gw inetd[1692]: Bad config for qmail-popup: Incomplete
config entry (skipped)
Oct 26 16:35:39 gw inetd[1692]: Bad config for /home/vpopmail/bin/vchkpw:
Incomplete config entry (skipped)
Oct 26 16:35:39 gw inetd[1692]: Bad config for /var/qmail/bin/qmail-pop3d:
Incomplete config entry (skipped)
Oct 26 16:35:39 gw inetd[1692]: Bad config for Maildir: Incomplete config
entry (skipped)

i don't know what to do next. pls help me.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.408 / Virus Database: 230 - Release Date: 10/24/2002





[vchkpw] Re: How to change the password with SQL command?

2002-10-26 Thread Peter Palmreuther
Hello Jason,

On Friday, October 25, 2002 at 10:02:53 PM Jason wrote:

> On Friday, October 11, 2002 at 10:38:04 AM Peter wrote:

>> ENCRYPT("",CONCAT("$1$",SUBSTRING(MD5(""), \
>>   ROUND(RAND()*10),5),"0"))

> It appears that passing RAND() with no arguments to the pw_passwd field
> breaks mysql replication.

1.) Anybody who can verify this? I don't run vpopmail on MySQL for
myself, so I can'T tell anything about this replication stuff.

2.) Jason: are you sure you used and understood the SQL command
correctly? You should _NOT_ pass the value of RAND(), nor the
value of RAND()*10 to "pw_passwd" field.
The RAND() function is _ONLY_ used to pick a (more or less) random
substring (for creating the salt).
Therefor RAND() must be called w/o arguments, else it will produce
the same value over and over again. (BTW: I've never seen the sense
in a rand() function that produces the same value again and again,
anybody who can explain the deeper thought behind this idea?)
-- 
Best regards
Peter Palmreuther