RE: [vchkpw] Recovering mail accounts

2002-11-11 Thread Tun Gnergun
Hi,


1 )Check the .qmail-default file in directory in 
/home/vpopmail/domains/.com

2) Check in mysql database default domain table

3)Check the directory permission and also files in /var/qmail/users





Sayglarmla

Tun Gnergun

System/Network Administrator

[EMAIL PROTECTED]

 

Takm Bilgi letiim ve Proje

Ynetim Hizmetleri Ltd. ti.
Tel:  212 274 77 79

Fax: 212 274 77 63

Dahili:  119 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Monday, November 11, 2002 9:16 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Recovering mail accounts

Hi List,

I'm just starting with vpopmail and I made an entire
restore of my mail server red hat 7.1 + vpopmail +
sqwebmail + mysql  from a backup created on oct. I have
a second backup created on nov, of user info from
vpopmail directories.

I made a restore of this second backup, and I have now
these problems:

1) Accounts created after oct , can't be accessed. It
seems as if the account was not  ever created.

2) If I try to create them all again a message says
that directory already exists, If I try to delete
them the message says the user does not exist.

Any ideas? What should I do?

Thanks for your time,

Francisco Ortega







[vchkpw] Upgrades fine except no .qmail files created.

2002-11-11 Thread Markt
I've tracked down pretty much everything having upgraded all the 
packages.

Impressive.

Though when I try to create a new user, there is no .qmail file created.

I've reset permissions to vpopmail vchkpw 0770 on the directories under 
/domains

I've checked my versions, vpopmail 5.2.1 as per reported by vqadmin 
(2.3.2)

Same behavior with qmailadmin  vqadmin, so I suspect there is 
permission problem as opposed to a build to a previous lib?

Regs, Mark Turner




Re: [vchkpw] Problem restated - vpopmail/qmail and root emails

2002-11-11 Thread David Phillips
[EMAIL PROTECTED] writes:
 In any case I first tried creating a .qmail-root file in the
 /var/qmail/alias directory and I got a bounce error stating that
 machine.domain.com was not in locals, blah,blah,blah.  So I added the
 machine name to locals and I didn't get a bounce error, but I also
 didnt' get the email in the forwarded account.

Where did the mail end up?  What do the logs say?

 I tried editing
 .qmail-root using vdelivermail (was wondering if it needed to use
 this file for proper delivery) and still no luck.

That will not help things.

 In my testing I also noticed that no aliasing seemed to be working
 for me for the domain.com domain.  For example, I have a real user of
 [EMAIL PROTECTED], this user has a .qmail-user file in
 /usr/local/vpopmail/domains/domain directory that has a command of
 /usr/local/bin/maildrop ./jr/Maildir/mailfilter and it works fine.
 But if I
 add a .qmail-useralias file with the same directive no email is
 forwarded.

By ``real user'', I assume that you mean a vpopmail user created with
vadduser.  If you create .qmail files in a vpopmail domain directory, they
will be interpreted by qmail, not vdelivermail.  Thus a .qmail-user file
overrides the vpopmail user.  If .qmail files are not working in a vpopmail
domain directory, then that is a qmail problem, not a vpopmail problem.

 Perhaps this is a separate issue, but just trying to include all
 pertinent info.  Sorry for the long email - I think I'm just missing
 something basic here...

You are missing your log files.  They should tell you exactly what is
happening (or not happening, as the case may be).

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





Re: [vchkpw] Ldap problem

2002-11-11 Thread Matteo Ridolfi
On Mon, 11 Nov 2002 10:25:28 +0900
Sunagawa Koji / º½Àî ¹§»ù [EMAIL PROTECTED] wrote:

 
 Hi Matteo,
 
 
 Matteo Ridolfi [EMAIL PROTECTED] wrote:
 after a while, here's the make problem.
 gcc  -I/home/vpopmail/include -g -O2 -Wall -I.. -I./..   -o authvchkpw 
 modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a
 ../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail -L
 -lldap -llber -lresolv -lm -lcrypt 
 
 please chech your /home/vpopmail/etc/* .
 maybe, you should fix the file.
 `-L/home/vpopmail/lib -lvpopmail -L -lldap -llber -lresolv -lm -lcrypt'
 - `-L/home/vpopmail/lib -lvpopmail -L/usr/local/lib -lldap -llber -lresolv -lm 
-lcrypt'
 
 

Thanks a lot, that was the real problem I suspected that was a libraries problem...


 /speza

--Linux segfault 2.4.19-grsec--
home: http://speza.com  icq#: 11471656
 10:33am  up 6 min,  1 user,  load average: 0.77, 0.22, 0.07 




[vchkpw] valias questions

2002-11-11 Thread Ron Culler
Has valias (mysql) be integrated with qmailadmin yet?

I know its the wrong list but I'm posting to both to get a response..

Sorry 
Ron 



**
The Firelan(tm) Virus Scanning Service has scanned this email for viruses, vandals 
and malicious content.
http://www.firelan.net
**





[vchkpw] Exit Codes

2002-11-11 Thread Miranda Gomez Miguel Angel
Hi list,
I'm writing a php script to create vpopmail (Ver 5.3.6 with mysql) accounts,
but the function always return 1, doesnt matter if the user was succefully
created or not, ie:

$cmd = /email/vpopmail/bin/vaddsuer -c $name  $user$domain $password;
exec($cmd, $dat,$code);
return $code;

$code always return 1, so a cant check if the user exists ( return code -2,
according to http://www.inter7.com/vpopmail/vpopmail-new.html) or not, etc.
Am i doing it wrong?

ITOH, can i only populate the vpopmail table to create the new users instead
of using the vpopmail executables?
Thanks in advance
--
Miguel
 




[vchkpw] Killing messages caught in queue?

2002-11-11 Thread Jeremy Oddo
Quick question

I've got a message that's stuck in the queue.  It is _trying_ to be
delivered but the mailbox doesn't exist.  I'm using
qmail+vpopmail+qmail-scanner.

Is there an easy way to track down the message and purge it from the
system so I don't get a bunch of errors mailed to postmaster?


Thanks!
Jeremy







Re: [vchkpw] Killing messages caught in queue?

2002-11-11 Thread Rick Macdougall
Hi,

Google for qmhandle

Regards,

Rick

- Original Message - 
From: Jeremy Oddo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 11, 2002 8:15 PM
Subject: [vchkpw] Killing messages caught in queue?


Quick question

I've got a message that's stuck in the queue.  It is _trying_ to be
delivered but the mailbox doesn't exist.  I'm using
qmail+vpopmail+qmail-scanner.

Is there an easy way to track down the message and purge it from the
system so I don't get a bunch of errors mailed to postmaster?


Thanks!
Jeremy









RE: [vchkpw] Exit Codes

2002-11-11 Thread Michael Bowe
 One thing to note about this is that the user's mailbox will 
 not get created on the disk until their first bit of mail arrives...

Another thing of note about this is that if you try to vdeluser
a user that does not have a mailbox dir, vdeluser spits out an
error to the screen.

However, the user does still get deleted out of SQL so the
vdeluser has actually worked, even though you receive an
error.

Michael. 




Re: [vchkpw] Killing messages caught in queue?

2002-11-11 Thread Jeremy Oddo

 Google for qmhandle

Just what I needed.  Thanks!

Jeremy






Re: [vchkpw] Documentation (was: Exit Codes)

2002-11-11 Thread David Phillips
Michael Bowe writes:
 ITOH, can i only populate the vpopmail table to create the
 new users instead of using the vpopmail executables?

 Yes you can

This is an excellent feature and should really be documented.  It would have
saved us a ton of implementation time.

Speaking of documentation, is there any work being done on new
documentation?  vpopmail is excellent software, but the documentation is
not.  Is anyone interested in working on rewriting it, say in DocBook
format?

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





[vchkpw] finding include directory

2002-11-11 Thread tripnkid



hello,
 i absolutely cannot find my 
include directory (for mysql). is it possible that i have a working installation 
of mysql without the requisite include files? i'm running mandrake 8.2 by the 
way. if someone could tell me how i can locate my include directory that would 
be very greatly appreciated.

thank you,
brendan


Re: [vchkpw] finding include directory

2002-11-11 Thread Bill Shupp
On Monday, November 11, 2002, at 07:49  PM, tripnkid wrote:


hello,
    i absolutely cannot find my include directory (for mysql). is it 
possible that i have a working installation of mysql without the 
requisite include files? i'm running mandrake 8.2 by the way. if 
someone could tell me how i can locate my include directory that would 
be very greatly appreciated.


Make sure you have mysql-devel installed.

Bill





RE: [vchkpw] finding include directory

2002-11-11 Thread John Johnson
 If he go's to www.rpmfind.net he can find them or if he go's to 
ftp://ftp.cs.ucr.edu/pub/mirrors/mandrake-old  I think those are
The directories, he can find it there as well..

-John


 -Original Message-
 From: Bill Shupp [mailto:hostmaster;shupp.org] 
 Sent: Monday, November 11, 2002 7:54 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] finding include directory
 
 
 On Monday, November 11, 2002, at 07:49  PM, tripnkid wrote:
 
  hello,
      i absolutely cannot find my include directory (for mysql). is it
  possible that i have a working installation of mysql without the 
  requisite include files? i'm running mandrake 8.2 by the way. if 
  someone could tell me how i can locate my include directory 
 that would 
  be very greatly appreciated.
 
 
 Make sure you have mysql-devel installed.
 
 Bill