[vchkpw] when vpopmail create mysql tables?

2003-07-24 Thread sss
Hello!
I need to re-install vpopmail without touching qmail, and have some
troubles.
I delete /home/vpopmail dir, drop mysql vpopmail database, then (all
as root)

tar -zxvf vpopmail-5.2.1.tar.gz
groupadd -g 83 vchkpw
useradd -c VMail Server -g 83 -s /bin/false -u 88 vpopmail
mkdir -p /home/vpopmail
chown 88.83 /home/vpopmail
cd vpopmail-5.2.1
vi vmysql.h and set two namespw, the same

./configure --enable-learn-passwords=y --enable-auth-logging=y \
  --enable-logging=p \
  --enable-default-domain=do.main.com \
  --enable-incdir=/usr/include/mysql \
  --enable-libdir=/usr/lib/mysql \
  --enable-mysql=y \
  --enable-valias=y \
  --enable-defaultquota=1500S
  
make
make install-strip

Haven't any errors when ./conf  make*.

after this no databases was created, and some strange things:
cd /home/vpopmail/bin
 ./vdominfo
(none)
 ./vadddomain do.main.com
Please enter password for postmaster:
enter password again:
Error: Domain already exists
./vdeldomain do.main.com
Error: Domain does not exist
 ./vadduser [EMAIL PROTECTED]
Please enter password for [EMAIL PROTECTED]:
enter password again:
could not connect to mysql update server Unknown database 'vpopmail' with database
vmysql: sql error[3]: Table 'vpopmail.vpopmail' doesn't exist
Error: Unable to chdir to vpopmail/domains directory

last strong is mostly un-understable:
ls -l /home/vpopmail/
...
drwx--2 vpopmail vchkpw   4096  24 09:53 domains
...

help, please
Thank you!
-- 
Best regards,
Sandy  mailto:[EMAIL PROTECTED]





[vchkpw] error:domain already exsits

2003-07-24 Thread lixiang



hi,list:
 
 i use vpopmail-5.3.20, openldap-2.0.27 and enable 
--ldap=y.
 i added a domain for example: test.com, 
it's normal, then i delete this domain, it reports:error: success. it 
seems strange? and i find that this domain's directory has been deleted in 
~vpopmail/domains . but when i add this domain test.com again, then it 
reports:
domain already exsits. if i ./vdeldomain test.com, 
it then reports: error: Domain does not exist.

 some ideas ? thanks a lot.




[vchkpw] error:domain already exsits

2003-07-24 Thread lixiang



hi,list:
 sry, i didn't clearly describe my 
problem.

 
 i use vpopmail-5.3.20, openldap-2.0.27 and enable 
--ldap=y.
 i added a domain for example: test.com, 
it's normal, then i delete this domain, it reports:error: success. it 
seems strange? and i find that this domain's directory has been deleted in 
~vpopmail/domains . but when i add this domain test.com again, then it 
reports:
domain already exsits. if i ./vdeldomain test.com, 
it then reports: error: Domain does not exist. if i execute ./vdominfo, i can 
find this domain's info. 

 some ideas ? thanks a lot.




[vchkpw] create group of users

2003-07-24 Thread sss
Hello!
I created some alias:
[EMAIL PROTECTED] - [EMAIL PROTECTED]
[EMAIL PROTECTED] - [EMAIL PROTECTED]
[EMAIL PROTECTED] - [EMAIL PROTECTED]
...
When i email to group-alias, users receive next:

Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 26833 invoked by uid 88); 24 Jul 2003 14:59:39 +0300
Date: 24 Jul 2003 14:59:39 +0300
Message-ID: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Cc: recipient list not shown: ;
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 26826 invoked by uid 88); 24 Jul 2003 14:59:34 +0300
Received: from unknown (HELO **) (*.*.*.*)
  by localhost with SMTP; 24 Jul 2003 14:59:34 +0300


(real sender email is in Return-Path, but users see only from)
What can i fix it?

Thanks!
-- 
Best regards,
Sandy  mailto:[EMAIL PROTECTED]





Re: [vchkpw] error:domain already exsits

2003-07-24 Thread Tom Collins
On Thursday, July 24, 2003, at 06:47  AM, Jens Jahr wrote:
this is a known bug in vpopmail.c which doesnot check if deletetion 
has been
finished. I posted a patch for that half a year ago, but it has been 
refused !
I've added your patch to 5.3.22 which will be released later today.  
Thanks for addressing this problem, which affects more than just LDAP 
installs.  I had been wondering about how vpopmail added/deleted 
domains, since we see this type of error report (can't add because it 
exists, can't delete because it doesn't exist) often on the list.

If others have patches that have not been accepted to the vpopmail 
source, please send them to me or post them to the Patch Tracker on 
SourceForge http://sourceforge.net/projects/vpopmail/.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



[vchkpw] diskquota

2003-07-24 Thread Widmer Hannes
Hi all


Question, I have to set the diskquotas for hole domain, the maximum size

of one maildir and the maximum size of a email witch can be sent.


Now, my questions are:

1.) This size, is thois in MB od in Kb or in Byte?
2.) the max space for one domain is in mysql the field diskquotas 

What is it for the mailbox sizedefaultquota ?
And for the max size of a attachement witch can be sent ?


Thanks a lot for your Help

Greetings Hannes

  \|||/ 
  (@ @) 
---o00-(_)-00o--- Cybernet (Schweiz) AG

Hannes Widmer

Junior System Engineer
Cybernet Hostmaster
Schaffhauserstrasse 560
Postfach 
CH-8052 Zuerich

Tel. +41 (0)1 306'46'46
Fax. +41 (0)1 306'95'96

email [EMAIL PROTECTED]

http://www.cybernet.ch





Re: [vchkpw] create group of users

2003-07-24 Thread Tom Collins
On Thursday, July 24, 2003, at 07:22  AM, sss wrote:
(real sender email is in Return-Path, but users see only from)
What can i fix it?
You can't.  The From header is set by the sender's email program, and 
the Return-Path is typically set from the SMTP envelope of the message. 
 If the From isn't correct, then it's the fault of the sender.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



Re: [vchkpw] 1 domain on 3 different location problem

2003-07-24 Thread Tom Collins
On Thursday, July 24, 2003, at 03:56  AM, Peter Mikeska wrote:
|-d1.company.com (smith, 
neo)
---internetcompany.com(main)---
|-d2.company.com (trinity)

Main Server has primary mailboxes for neo, trinity, smith. and it has 
setup
to forward these adreses to [EMAIL PROTECTED], [EMAIL PROTECTED] 

but how setup server d1.company.com to send mail between
[EMAIL PROTECTED] and [EMAIL PROTECTED] without message traveling
to main server and back. i need save traffic ;((
I try vaddaliasdomain to setup alias for d1.company.com but it works
only on local users, if i send mail from d1.company.com to regular
user on main server, it wont work.
It isn't going to be fun, but it would probably go like this.

Set up virtual domain company.com on main, d1 and d2.  Set up aliases 
to company.com called d1.company.com (on d1) and d2.company.com (on d2).

On main, have the following files:

.qmail-smith forward to [EMAIL PROTECTED]
.qmail-neo forward to [EMAIL PROTECTED]
.qmail-trinity forward to [EMAIL PROTECTED]
On d1, have mailboxes for smith and neo, and .qmail-trinity as a 
forward to [EMAIL PROTECTED]
On d2, have a mailbox for trinity and have .qmail-smith and .qmail-neo 
as forwards to [EMAIL PROTECTED] and [EMAIL PROTECTED]

When you add a new account, you'll have to create the POP/IMAP mailbox 
on d1 or d2, and then add an alias on the other dx machine plus the 
main machine to forward mail to the appropriate dx.

Nothing automated about it unless you code up some shell scripts and 
use ssh to run programs remotely on d1 and d2.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



Re: [vchkpw] Re: maildrop account on Virtual Domains

2003-07-24 Thread Dorneles Treméa
Hi Rudi,

 Would you mind explaining to me what Top Post is?

sure.. :-)

Take a look at this[1,2,3,4] top-postings links.

[1] http://catb.org/~esr/jargon/html/T/top-post.html
[2] http://www.dickalba.demon.co.uk/usenet/guide/faq_topp.html
[3] http://www.caliburn.nl/topposting.html
[4] http://www.faqs.org/rfcs/rfc1855.html

Kindly regards,

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology http://www.x3ng.com.br

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:-: a24 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G e++ h r+++ y+++**
--END GEEK CODE BLOCK--



pgp0.pgp
Description: PGP signature


Re: [vchkpw] error:domain already exsits

2003-07-24 Thread Charles Sprickman
On Thu, 24 Jul 2003, Tom Collins wrote:

 If others have patches that have not been accepted to the vpopmail
 source, please send them to me or post them to the Patch Tracker on
 SourceForge http://sourceforge.net/projects/vpopmail/.

Just checking, is the SF stuff in full effect at this point for qmailadmin
and vpopmail?  Should all patches, bugs, etc. be posted there?  Will that
make it easier for you and the other developers to track things?

Thanks,

Charles

 --
 Tom Collins
 [EMAIL PROTECTED]
 http://sniffter.com/ - info on the Sniffter hand-held Network Tester






Re: [vchkpw] error:domain already exsits

2003-07-24 Thread Tom Collins
On Thursday, July 24, 2003, at 12:28  PM, Charles Sprickman wrote:
Just checking, is the SF stuff in full effect at this point for 
qmailadmin
and vpopmail?  Should all patches, bugs, etc. be posted there?  Will 
that
make it easier for you and the other developers to track things?
Yes, we are making full use of SourceForge for both projects.  It will 
be helpful to have you post Bug Reports, Feature Requests and Patches 
there for our review.

I also recommend logging in if at all possible.  That way, if we 
followup on your tracker item, SF will automatically email you with the 
followup.

SF automatically emails me copies of every new item posted to both 
projects.  There's no need to assign an entry to me -- leaving it as 
nobody is best, because then we'll know that no one has claimed it yet. 
 Eventually, I hope to assign bug reports and feature requests to 
different developers to spread the load.

I guess now is as good an opportunity as any to announce that I will be 
on vacation from July 25 through August 1.  I will be releasing 
QmailAdmin 1.0.25 and Vpopmail 5.3.22 before the end of the day, and 
following up on any bugs found when I return.

--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester



Re: [vchkpw] error:domain already exsits

2003-07-24 Thread Dorneles Treméa
Hi Charles,

 Just checking, is the SF stuff in full effect at this point for qmailadmin
 and vpopmail?  Should all patches, bugs, etc. be posted there?  Will that
 make it easier for you and the other developers to track things?

yep... go on! ;-)

Regards,

-- 

Dorneles Treméa
Caxias do Sul - RS - Brasil
+55 54 9114 9312 - UIN: 2413568
X3ng Web Technology http://www.x3ng.com.br

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/IT d- s:-: a24 C+++ UBL$ P--- L++ E-- W+++
N++ o? K? w+ O M+ V-- PS+ PE- Y-- PGP++ t+ 5 X++ R+
tv+ b(++) DI+ D++ G e++ h r+++ y+++**
--END GEEK CODE BLOCK--



pgp0.pgp
Description: PGP signature


Re: [vchkpw] domain quotas query

2003-07-24 Thread Jesse Guardiani
On Saturday 19 July 2003 12:01, Paul Theodoropoulos wrote:
 so gee, did i really stump the stars on this one? nobody out there has
 converted to domain quotas?

Very few, I'd bet.

I took a look at the new domain soft quota code a few months ago (you
might remember the heated discussion I had with the author), and finally
came to the conclusion that this code is definately NOT ready for prime
time.

It's a valiant attempt, but it is buggy and fatally flawed in that it won't play
nicely with maildir++ applications like sqwebmail, Courier-IMAP, or maildrop.

Stick with hard filesystem domain quotas, install that qmailadmin patch
that was floating around last year (it gave qmailadmin domain admins
the ability to reconfigure user quotas under a set domain limit), or
forget it.

That's MHO, and I'm sticking to it.

I think that if we really want domain quotas (and I, for one, do!) then we
need to get together with Sam of Courier IMAP fame and create a new
maildir+++ specification that will accomodate domain quotas. That way
everyone can continue playing nice together.

HTH.




 At 11:42 AM 7/18/2003, Paul Theodoropoulos wrote:
 i'm about to upgrade from vpopmail 5.3.18 to 5.3.20. i'm also going to
 upgrade qmailadmin to the latest dev version.
 
 i have until now been running with user quotas set via vqadmin, so for
 example in vqadmin for domain example.com, i would fill in the quota field
  with
 
 5000S,5000C
 
 and that would automatically set the quota that each user within that
 domain gets when the customer creates a new account.
 
 i now want to convert to domain quotas, wherein i give the domain a 'bulk'
 quota, then the customer can allocate individual user quotas within that
 total. but i'm a little confused about a couple of things:
 
 1. if i upgrade vpopmail with the --enable-domainquotas=y setting, will
 that then cause all already existing domains to 'break' - that is, will
 the existing per-user quota that's already in place suddenly become the
 domain quota, rendering the existing users quotas as consuming more than
 the global quota causing mail to bounce until i can update them by hand?
 (hope that makes sense)
 
 2. when setting the new domainquota, does it accept the quota value
 identically to the user quotas? the example in README.quotas simply says
 to add for example
  quota 50
 
 to .qmailadmin-limits. if i have a domain with 20 users, 50meg quota per
 user, and 5000 message quota per user, would that mean i'd enter
 
  quota 10S,10C
 
 ?? i presume that's not right (the math notwithstanding!) - i would
 presume that the domain quota is only for disk usage, not message counts.
  true?
 
 3. when implementing domain quotas - does it automatically change how the
 domain quota is interpreted in vqadmin? if i set the quota there, will
 that then become the domain quota, or is that field interpreted only as
 the user's default quota?
 
 4. the example shown from README.quota also differs from the format of an
 existing .qmailadmin-limits file on my system, e.g.
 
 cat .qmailadmin-limits
 maxpopaccounts: 51
 maxaliases: 51
 maxforwards: 51
 maxautoresponders: 51
 maxmailinglists: 51
 default_quota: 1S,5000C
 
 is it true i'd add the domain quota as
 
  quota xxx
 
 rather than
 
  quota: xxx
 
 ?
 
 lots of questions. sorry. hope i'm not retreading already answered stuff,
 but i'm a continuous subscriber for a long time, and i don't recall seeing
 these issues brought up.
 
 thanks.
 
 
 
 Paul Theodoropoulos
 http://www.anastrophe.com

 Paul Theodoropoulos
 http://www.anastrophe.com

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net





Re: [vchkpw] maildrop config

2003-07-24 Thread Jesse Guardiani
On Sunday 20 July 2003 09:06, Rudi Ahlers wrote:
 Does anyone know if maildrop can be used to filter mail for all virtual
 users on a domain?
 I have a dialup account, which I download all-addresses@domain for, but
 now I want to filter it, so that user@domain will point to
 [EMAIL PROTECTED], and user2@domain will point to [EMAIL PROTECTED]

 Can this be done?

Have you tried a simple vpopmail domain alias?
Or are you wanting to actually COPY mail
between the two domains?

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net





Re: [vchkpw] error:domain already exsits

2003-07-24 Thread lixiang
hi, Pretchieo:
thank you for your help.
i deleted the domain in /var/qmail/user/assign and 
/var/qmail/control/virtualdomains,rcphosts.  restart all the qmail services.   then i 
run  ./vdominfo, it list no domains.
   but when i ./vadddomain  test.com, it still reports:  already exsits.
   what still make vpopmail think this?  



- Original Message - 
From: Pretchie [EMAIL PROTECTED]
To: lixiang [EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 7:09 PM
Subject: Re: [vchkpw] error:domain already exsits


 Make sure that the domain you have deleted is no
 longer in the /var/qmail/users/assign and
 /var/qmail/control/virtualdomains files. 
 
  --- lixiang [EMAIL PROTECTED] wrote:  hi,list:
  sry, i didn't clearly describe my problem.
  

 i use vpopmail-5.3.20, openldap-2.0.27 and enable
  --ldap=y.
 i added a domain for example: test.com,  it's
  normal, then i delete this domain, it reports:error:
  success.  it seems strange? and i find that this
  domain's directory has been deleted  in
  ~vpopmail/domains .  but when i add this domain
  test.com again, then it reports:
  domain already exsits.   if i ./vdeldomain test.com,
  it then reports: error: Domain does not exist. if i
  execute ./vdominfo, i can find this domain's info. 
  
 some ideas ?  thanks a lot.
   
  
   
 
 
 Want to chat instantly with your online friends?  Get the FREE Yahoo!
 Messenger http://uk.messenger.yahoo.com/
 


Re: [vchkpw] a problem about vpopmail+ldap

2003-07-24 Thread Michael Bowe


- Original Message - 
From: zhang jun [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 29, 2002 10:15 PM
Subject: [vchkpw] a problem about vpopmail+ldap


 I have installed qmail+vpopmail+qmailadmin+sqwebmail. Recently , I
transfered
 user accounts from cdb to open-ldap. Then , I found that  the new user
account
 would always be the last one, user account do no longer been sorted
automaticly
 in qmailadmin.

What version of qmailadmin are you using?

In qmailadmin 1.0.6, only cdb backend had alpha-sorted userlists throughout
qmailadmin.
qmailadmin 1.0.7 and later contains modifications that allow for sorted
userlists for all backends.

Also, what version of vpopmail do you have?
Versions prior to 5.3.12 were known to be pretty buggy for the ldap backend

Michael.




Re: [vchkpw] error:domain already exsits

2003-07-24 Thread lixiang
hi, Pretchieo:
thank you for your help.
i deleted the domain in /var/qmail/user/assign and 
/var/qmail/control/virtualdomains,rcphosts.  restart all the qmail services.   then i 
run  ./vdominfo, it list no domains.
   but when i ./vadddomain  test.com, it still reports:  already exsits.
   what still make vpopmail think this?  



- Original Message - 
From: Pretchie [EMAIL PROTECTED]
To: lixiang [EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 7:09 PM
Subject: Re: [vchkpw] error:domain already exsits


 Make sure that the domain you have deleted is no
 longer in the /var/qmail/users/assign and
 /var/qmail/control/virtualdomains files. 
 
  --- lixiang [EMAIL PROTECTED] wrote:  hi,list:
  sry, i didn't clearly describe my problem.
  

 i use vpopmail-5.3.20, openldap-2.0.27 and enable
  --ldap=y.
 i added a domain for example: test.com,  it's
  normal, then i delete this domain, it reports:error:
  success.  it seems strange? and i find that this
  domain's directory has been deleted  in
  ~vpopmail/domains .  but when i add this domain
  test.com again, then it reports:
  domain already exsits.   if i ./vdeldomain test.com,
  it then reports: error: Domain does not exist. if i
  execute ./vdominfo, i can find this domain's info. 
  
 some ideas ?  thanks a lot.
   
  
   
 
 
 Want to chat instantly with your online friends?  Get the FREE Yahoo!
 Messenger http://uk.messenger.yahoo.com/