RE: [vchkpw] Domain does not exist

2011-05-22 Thread Salman Riaz

Dear All,

The Problem is solved.. SELINUX is causing problem I have disabled it 
and run the following command

echo 0  /selinux/enforce

Regards,
Salman...




From: salmanriaz...@hotmail.com
To: vchkpw@inter7.com
Date: Sun, 22 May 2011 21:25:09 +0600
Subject: [vchkpw] Domain does not exist








Dear All,

I have successfully install Qmail but qmailadmin is not working fine. Following 
is the error:
[Sun May 22 20:19:39 2011] [error] [client IP] Error. Domain salman.com was not 
found in the assign file, referer: http://domain-name/cgi-bin/qmailadmin

Following are the permissions of vpopmail/user directory

drwxr-xr-x  2 root qmail 4.0K May 22 19:56 .
drwxr-xr-x 12 root qmail 4.0K May 21 12:17 ..
-rw-r--r--  1 root root75 May 22 19:56 assign
-rw---  1 root root 0 May 21 16:15 assign.lock
-rw-r--r--  1 root root  2.2K May 22 19:56 cdb

Following are the permissions of cgi-bin/qmailadmin

-rwsr-sr-x 1 vpopmail vchkpw 148K May 21 12:18 /var/www/cgi-bin/qmailadmin

vqadmin is also not running with this...

Can anyone guide please, what is the issue???

Regards,
Salman...


  
  

!DSPAM:4dd9445232711601092326!


Re: [vchkpw] domain to alias failure

2011-04-08 Thread Jukka Kurkela

On 24.3.2011 16:34, Remo Mattei wrote:

ok I digged in a little more and the problem is valias domain. I have
5.4.32 recompiled and when I send it to a user that has a virtual domain
it bouces back if I send it to a virtual user that has a full domain it
goes through. Any suggestions?

thanks 


try valias -s realdomain.tld and then valias -s aliasdomain.tld (that is 
alias of realdomain.tld) and see if output is the same.


also you never told what kind of recipient validation you are using. (or 
anything else about your setup)


!DSPAM:4d9ecb5332711532511742!



Re: [vchkpw] domain to alias failure

2011-03-24 Thread Remo Mattei
ok I digged in a little more and the problem is valias domain. I have 5.4.32 recompiled and when I send it to a user that has a virtual domain it bouces back if I send it to a virtual user that has a full domain it goes through. Any suggestions?

thanks
!DSPAM:4d8b565b32712003615774!






[vchkpw] domain to alias failure

2011-03-23 Thread Remo Mattei
Hello all I have a domain called xxyyxx.us and then the main domain 
which is an alias to the xxyyxx.us which is xxyyxx.com when I send an 
email to a mailing list to the .com it bouces back if I send it to the 
.us it works. Any suggestions?
Also the .us is expiring and I wonder if anyone has any suggestions on 
how to move those accounts from .us to .com


thanks

!DSPAM:4d8a0d4532718466049070!



Re: [vchkpw] domain to alias failure

2011-03-23 Thread Jukka Kurkela

On 23.3.2011 17:09, Remo Mattei wrote:

Hello all I have a domain called xxyyxx.us and then the main domain
which is an alias to the xxyyxx.us which is xxyyxx.com when I send an
email to a mailing list to the .com it bouces back if I send it to the
.us it works. Any suggestions?
Also the .us is expiring and I wonder if anyone has any suggestions on
how to move those accounts from .us to .com

thanks





Quite a lot of information missing here.. But if you are using some sort 
of validation of recipients (validrcptto maybe), it could be a problem 
with valias -s not working correctly for aliased domains (at least in 
older vpopmail versions).


I fixed this in 5.4.26 couple of years back with this patch
http://qmail.tjc.fi/patches:valias-5.4.26.realdomain.patch

++jukka

!DSPAM:4d8a24e032712142881669!



[vchkpw] domain quota by Kernel

2008-11-19 Thread Geri Anggara
Dear Lists

If domain quota being enforced by Kernel, is there any
way vpopmail can trigger proper error message when such situation
occur:  domain_is_over_quota 


Best Regards
Geri Anggara

!DSPAM:492512c232311986644640!



Re: [vchkpw] domain quota by Kernel

2008-11-19 Thread Wouter van der Schagt
Nope, domain quotas are currently not supported by vpopmail, if you look in 
the sourcecode, you will see that the relevant sections are commented out. 
Any options used with ./configure have no effect.


- Wouter

- Original Message - 
From: Geri Anggara [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Thursday, November 20, 2008 3:33 PM
Subject: [vchkpw] domain quota by Kernel



Dear Lists

If domain quota being enforced by Kernel, is there any
way vpopmail can trigger proper error message when such situation
occur:  domain_is_over_quota


Best Regards
Geri Anggara






!DSPAM:4925146732318283521280!



Re: [vchkpw] Domain wide quotas

2008-06-10 Thread Rainer Duffner

Wouter van der Schagt schrieb:

Hi all,

Is it possible to disable domain-wide quotas (sum of all popboxes) and
just to use popbox quotas ? At the moment i have both. Or do i have
to set the domain to NOQUOTA and then configure the popbox
individually to have a quota?

Sincerely,
- Wouter van der Schagt



Domain quotas don't work anyway.
AFAIK, you need OS quotas to get that to work.
But that slows things down.
Ideally, you would have a database of domains and quotas where a 
provisioning system deducts the amounts of diskspace that are given to 
individual users.
Once the domain-quota is used up, it would not allow adding any more 
quota to any user in that domain.


AFAIK, most control-panels with qmail underneath use this way, more or less.


cheers,
Rainer

!DSPAM:484e7ed532351829196463!



Re: [vchkpw] Domain wide quotas

2008-06-10 Thread Wouter van der Schagt

Thank you for your reply,

Actually i dont want domain quota's to work... its just that now if all
popboxes combined hit 50MB, users get messages. I dont want
that. I just want to use popbox quota's only, which are now set to
25 MB, but i dont want them influenced also by a domain wide
quota somehow. My relevant confiration options were:

--enable-domain-quotas=n(but i saw that this was commented
out in the source, so this wont have much effect anyway)

--enable-hard-quota=y

In the vlimits.default file everything that might be relavant is
commented out.

Domains were created without specifying -q NOQUOTA, perhaps
my error lies in there.

- Wouter


- Original Message - 
From: Rainer Duffner [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Tuesday, June 10, 2008 9:16 PM
Subject: Re: [vchkpw] Domain wide quotas



Wouter van der Schagt schrieb:

Hi all,

Is it possible to disable domain-wide quotas (sum of all popboxes) and
just to use popbox quotas ? At the moment i have both. Or do i have
to set the domain to NOQUOTA and then configure the popbox
individually to have a quota?

Sincerely,
- Wouter van der Schagt



Domain quotas don't work anyway.
AFAIK, you need OS quotas to get that to work.
But that slows things down.
Ideally, you would have a database of domains and quotas where a 
provisioning system deducts the amounts of diskspace that are given to 
individual users.
Once the domain-quota is used up, it would not allow adding any more quota 
to any user in that domain.


AFAIK, most control-panels with qmail underneath use this way, more or 
less.



cheers,
Rainer







!DSPAM:484e80d532357934211682!



[vchkpw] Domain wide quotas

2008-06-09 Thread Wouter van der Schagt

Hi all,

Is it possible to disable domain-wide quotas (sum of all popboxes) and
just to use popbox quotas ? At the moment i have both. Or do i have
to set the domain to NOQUOTA and then configure the popbox
individually to have a quota?

Sincerely,
- Wouter van der Schagt

!DSPAM:484d2f9032354429838697!



[vchkpw] domain setup but no mail deing received

2008-04-16 Thread Sam Ami
hi guys

my first vpopmail install so i might have overlooked something...

i've setup a new domain with one user.

everything looks ok, no errors, local mail routing works fine i
can deliver a message to the user from root an the user gets the
message

however, when attempting a remote delivery, say from gmail, no mail is
recieved by my server (note, I can sent to remote addresses.)

Is there anything i need to edit in /home/vpopmail/etc ? to allow
remote email delivery ?

!DSPAM:4805a7f3120501618517438!



Re: [vchkpw] domain setup but no mail deing received

2008-04-16 Thread Qmail User

hi,

can you be more specific? can you at least tell us something like the 
exact error messages generated by your qmail for this particular 
transaction? there are many places that can cause failed delivery. 
perhaps the best place to look for hints would be the log file.


regards,

reuben

Sam Ami wrote:

hi guys

my first vpopmail install so i might have overlooked something...

i've setup a new domain with one user.

everything looks ok, no errors, local mail routing works fine i
can deliver a message to the user from root an the user gets the
message

however, when attempting a remote delivery, say from gmail, no mail is
recieved by my server (note, I can sent to remote addresses.)

Is there anything i need to edit in /home/vpopmail/etc ? to allow
remote email delivery ?




  



!DSPAM:4805b45e120503272032184!



Re: [vchkpw] domain setup but no mail deing received

2008-04-16 Thread Sam Ami
the bounce from google.



This is an automatically generated Delivery Status Notification

THIS IS A WARNING MESSAGE ONLY.

YOU DO NOT NEED TO RESEND YOUR MESSAGE.

Delivery to the following recipient has been delayed:

[EMAIL PROTECTED]

Message will be retried for 2 more day(s)

Technical details of temporary failure:
TEMP_FAILURE: The recipient server did not accept our requests to
connect. Learn more at
http://mail.google.com/support/bin/answer.py?answer=7720
[mx.mycompany.tld. (10): Connection timed out]





On Wed, Apr 16, 2008 at 6:23 PM, Qmail User [EMAIL PROTECTED] wrote:
 hi,

  can you be more specific? can you at least tell us something like the exact
 error messages generated by your qmail for this particular transaction?
 there are many places that can cause failed delivery. perhaps the best place
 to look for hints would be the log file.

  regards,

  reuben



  Sam Ami wrote:

  hi guys
 
  my first vpopmail install so i might have overlooked something...
 
  i've setup a new domain with one user.
 
  everything looks ok, no errors, local mail routing works fine i
  can deliver a message to the user from root an the user gets the
  message
 
  however, when attempting a remote delivery, say from gmail, no mail is
  recieved by my server (note, I can sent to remote addresses.)
 
  Is there anything i need to edit in /home/vpopmail/etc ? to allow
  remote email delivery ?
 
 
 
 
 
 


  



!DSPAM:4805d0a812050614770!



[vchkpw] DEBUG: vchkpw: domain does not exist

2008-02-07 Thread SPKills

The title says it all...

When i try to AUTH with my IMAP server using the authvchkpw module i
got those lines in my authlib log file :

DEBUG: received auth request, service=imap, authtype=login
DEBUG: authvchkpw: trying this module
DEBUG: vchkpw: domain does not exist
DEBUG: authvchkpw: REJECT - try next module
DEBUG: FAIL, all modules rejected

I installed vpopmail-5.4.25 with the following configurations options :
   ./configure --prefix=/var/vpopmail --enable-qmaildir=/var/qmail
--enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw
--disable-clear-passwd --enable-qmail-ext --enable-auth-module=mysql
--enable-passwd --enable-logging=y --enable-valias --disable-many-domains

The user i try to auth is a local user (in the /etc/shadow )
When i try with an user from a virtualdomain it works good, no problems
with the vchkpw, so there aren't any misconfiguration in the courier-authlib
The more weird thing is when i auth to SMTP, my local user is
authentificated and i can send mail to anyone.

I tried to auth to imap using both 'user' and 'user_at_domain_dot_tld'
(no @, no EMAIL PROTECTED) but i got error for both

Any ideas ?



!DSPAM:47ab9ea1310541100418175!



[vchkpw] Re: DEBUG: vchkpw: domain does not exist

2008-02-07 Thread SPKills

Well i fixed my problem...

I retried to use the authpam module, and then i checked out my 
/etc/pam.d/imap conf
courier-imap seems to not take care of debian users : ) since the file 
uses the 'pam_pwdb.so' module which is no longer used by debian

i needed to replace it with the correct 'pam_unix.so'

hope it will help someone...


!DSPAM:47abb3d3310548422592328!



[vchkpw] Domain limits

2007-09-03 Thread Quey

Hi,
Yes I know they are  Broken,  however... I saw a recent post (I think 
on this list) claiming it works to 2G, is this the case?


In other words, If I wanted to introduce a low cost  Email only plan, 
that allows them to have unlimited email accounts and aliases but cant 
occupy more than 2G of disk space, will this in fact actually work?


Is this the only thing that it is broken with, not being able to exceed 2G ?

Thanks
Q



RE: [vchkpw] Domain limits

2007-09-03 Thread Tren Blackburn
Hey;

 -Original Message-
 From: Quey [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 03, 2007 2:57 PM
 To: vpopmail-list
 Subject: [vchkpw] Domain limits
 
 Hi,
 Yes I know they are  Broken,  however... I saw a recent post (I
think
 on this list) claiming it works to 2G, is this the case?
 
 In other words, If I wanted to introduce a low cost  Email only plan,
 that allows them to have unlimited email accounts and aliases but cant
 occupy more than 2G of disk space, will this in fact actually work?
 
 Is this the only thing that it is broken with, not being able to
exceed
 2G ?
 

I actually used domain limits for about a year.  This was on a fairly
busy set of servers, and I couldn't figure out why the load was always
so high on the servers and there was so much network traffic.  Domain
limits are horrible.  On every message that goes through the system,
vpopmail adds up the size of all the messages in all the mailboxes.  I'm
still not sure why it's even a configuration option still...

If you want to provide a domain wide limit, use the kernels quota tools
and create the domain with a unique user ID.  It's pretty well
documented in the archives of the list.

HTH,

Tren



Re: [vchkpw] Domain limits

2007-09-03 Thread Quey


Hi Tren,

Tren Blackburn wrote:

Hey;

  

-Original Message-
From: Quey [mailto:[EMAIL PROTECTED]
Sent: Monday, September 03, 2007 2:57 PM
To: vpopmail-list
Subject: [vchkpw] Domain limits

Hi,
Yes I know they are  Broken,  however... I saw a recent post (I


think
  

on this list) claiming it works to 2G, is this the case?

In other words, If I wanted to introduce a low cost  Email only plan,
that allows them to have unlimited email accounts and aliases but cant
occupy more than 2G of disk space, will this in fact actually work?

Is this the only thing that it is broken with, not being able to


exceed
  

2G ?




I actually used domain limits for about a year.  This was on a fairly
busy set of servers, and I couldn't figure out why the load was always
so high on the servers and there was so much network traffic.  Domain
limits are horrible.  On every message that goes through the system,
vpopmail adds up the size of all the messages in all the mailboxes.  I'm
still not sure why it's even a configuration option still...

  


Ahhh bugger, thanks, it makes sense

Cheers
Q



If you want to provide a domain wide limit, use the kernels quota tools
and create the domain with a unique user ID.  It's pretty well
documented in the archives of the list.

HTH,

Tren


  




Re: [vchkpw] Domain limits

2007-09-03 Thread Rick Widmer



Tren Blackburn wrote:

Hey;


-Original Message-
From: Quey [mailto:[EMAIL PROTECTED]
Sent: Monday, September 03, 2007 2:57 PM
To: vpopmail-list
Subject: [vchkpw] Domain limits

Hi,
Yes I know they are  Broken,  however... I saw a recent post (I

think

on this list) claiming it works to 2G, is this the case?

In other words, If I wanted to introduce a low cost  Email only plan,
that allows them to have unlimited email accounts and aliases but cant
occupy more than 2G of disk space, will this in fact actually work?

Is this the only thing that it is broken with, not being able to

exceed

2G ?



I actually used domain limits for about a year.  This was on a fairly
busy set of servers, and I couldn't figure out why the load was always
so high on the servers and there was so much network traffic.  Domain
limits are horrible.  On every message that goes through the system,
vpopmail adds up the size of all the messages in all the mailboxes.  I'm
still not sure why it's even a configuration option still...


Changelog

5.4.12 - released 4-Jul-04

Tom Collins
- configure: remove enable-domainquotas option until the domain
quota code is fixed.

If you can show me it is back, I'll delete it again.  I don't see it in 
./configure --help for 5.4.20 though...


Don't hold your breath on a fix.  Someone has to figure out how to stop 
the system hogging effect of enabling domain quotas on an existing 
machine that does not already use it.  This problem shows up as a 
self-inflicted DOS attack on your server when every message received 
results in the file usage of its domain.  I would have expected it to 
level out once it finally had totals in place for all maildirs, but 
Tren's experience seems to show that is false.


I think we can safely say that domain quotas within vpopmail are dead, 
and if you need them follow Tren's advice below...




If you want to provide a domain wide limit, use the kernels quota tools
and create the domain with a unique user ID.  It's pretty well
documented in the archives of the list.




RE: [vchkpw] Domain limits

2007-09-03 Thread Tren Blackburn
Hey Rick;

 -Original Message-
 From: Rick Widmer [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 03, 2007 6:02 PM
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] Domain limits
 
 
 
 Tren Blackburn wrote:
  Hey;
 
  -Original Message-
  From: Quey [mailto:[EMAIL PROTECTED]
  Sent: Monday, September 03, 2007 2:57 PM
  To: vpopmail-list
  Subject: [vchkpw] Domain limits
 
  Hi,
  Yes I know they are  Broken,  however... I saw a recent post (I
  think
  on this list) claiming it works to 2G, is this the case?
 
  In other words, If I wanted to introduce a low cost  Email only
 plan,
  that allows them to have unlimited email accounts and aliases but
 cant
  occupy more than 2G of disk space, will this in fact actually work?
 
  Is this the only thing that it is broken with, not being able to
  exceed
  2G ?
 
 
  I actually used domain limits for about a year.  This was on a
fairly
  busy set of servers, and I couldn't figure out why the load was
 always
  so high on the servers and there was so much network traffic.
Domain
  limits are horrible.  On every message that goes through the system,
  vpopmail adds up the size of all the messages in all the mailboxes.
 I'm
  still not sure why it's even a configuration option still...
 
 Changelog
 
 5.4.12 - released 4-Jul-04
 
   Tom Collins
   - configure: remove enable-domainquotas option until the domain
  quota code is fixed.
 
 If you can show me it is back, I'll delete it again.  I don't see it
in
 ./configure --help for 5.4.20 though...

Good to see...I assumed that since someone was asking about them, it was
still an option.  My bad.

 
 Don't hold your breath on a fix.  Someone has to figure out how to
stop
 the system hogging effect of enabling domain quotas on an existing
 machine that does not already use it.  This problem shows up as a
 self-inflicted DOS attack on your server when every message received
 results in the file usage of its domain.  I would have expected it to
 level out once it finally had totals in place for all maildirs, but
 Tren's experience seems to show that is false.

There isn't any way, unless you decided to only do the counts at certain
intervals or times of day...one of the domains had about 500 users, and
a bunch of them had 1GB+ mailboxes.  We had delivery times of up to 15
minutes.  I tell ya I kicked myself when I finally tracked it down.
Disk space is cheap now so quota isn't quite as big an issue as it used
to be.  It can be more hassle to enforce quota then to just buy another
disk array.

 
 I think we can safely say that domain quotas within vpopmail are dead,
 and if you need them follow Tren's advice below...
 
 
  If you want to provide a domain wide limit, use the kernels quota
 tools
  and create the domain with a unique user ID.  It's pretty well
  documented in the archives of the list.

Thanks for the correction Rick, I'll sleep better knowing domain quotas
won't haunt anyone else.

Regards,

Tren


Re: [vchkpw] domain quotas

2006-10-29 Thread tonix (Antonio Nati)

At 03.15 29/10/2006, you wrote:

On Oct 28, 2006, at 11:37 AM, Jeff Koch wrote:

I remember reading on the list some time ago that domain quotas
didn't work. Has this been fixed? If so, are there any doc's on how
this works? Specifically when the domain quotas is reached who is
notified?


I don't think domain quotas worked in any 5.4.x release, and they
still don't work.  When (and if) they did work, they could put a
heavy load on the server if it had lots of mailboxes with lots of
emails.


Besides heavy load, it was not compatible with other software using 
the same mailboxes.


Tonino


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/





[vchkpw] domain quotas

2006-10-28 Thread Jeff Koch


I remember reading on the list some time ago that domain quotas didn't 
work. Has this been fixed? If so, are there any doc's on how this works? 
Specifically when the domain quotas is reached who is notified?





Best Regards,

Jeff Koch 





Re: [vchkpw] domain quotas

2006-10-28 Thread Tom Collins

On Oct 28, 2006, at 11:37 AM, Jeff Koch wrote:
I remember reading on the list some time ago that domain quotas  
didn't work. Has this been fixed? If so, are there any doc's on how  
this works? Specifically when the domain quotas is reached who is  
notified?


I don't think domain quotas worked in any 5.4.x release, and they  
still don't work.  When (and if) they did work, they could put a  
heavy load on the server if it had lots of mailboxes with lots of  
emails.


--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/




Re: Re: [vchkpw] domain quotas

2006-10-28 Thread gerard
Hello
I am on annual leave until November 5th 2006.

If you have an urgent query please leave a voicemail on 07940574707 and I will 
get back to you as soon as possible.

Regards
Gerard Earley




Re: Re: Re: [vchkpw] domain quotas

2006-10-28 Thread gerard
Hello
I am on annual leave until November 5th 2006.

If you have an urgent query please leave a voicemail on 07940574707 and I will 
get back to you as soon as possible.

Regards
Gerard Earley




[vchkpw] domain migration

2006-05-24 Thread asimon
Have vpopmail running and its working very well. :) One of my clients has
xxx.com for their domain. The just changed their company name and need to
change to a new email domain yyy.com. What is the easiest way to migrate
to the new yyy.com domain. Should I just create the new domain and copy
the contents of the old one to it, or will this lead to problems. ANy help
would be appreciated.

Andrew





Re: [vchkpw] domain migration

2006-05-24 Thread DAve

[EMAIL PROTECTED] wrote:

Have vpopmail running and its working very well. :) One of my clients has
xxx.com for their domain. The just changed their company name and need to
change to a new email domain yyy.com. What is the easiest way to migrate
to the new yyy.com domain. Should I just create the new domain and copy
the contents of the old one to it, or will this lead to problems. ANy help
would be appreciated.

Andrew



Use valias for the new domain to the old domain for now, for a week, 
month, or a few months as needed. When mail to the old domain ceases, 
delete the alias and create the new domain and users, copy the maildir 
contents over from the old domain to the new domain and then delete the 
old domain. Don't forget to check permissions on the maildirs and 
check/correct any paths you might have in .qmail files.


I've done this many times, not a problem.

DAve


--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

Your monkeys may vary


Re: [vchkpw] domain migration

2006-05-24 Thread Tom Collins

On May 24, 2006, at 12:39 PM, [EMAIL PROTECTED] wrote:
Have vpopmail running and its working very well. :) One of my clients 
has
xxx.com for their domain. The just changed their company name and need 
to
change to a new email domain yyy.com. What is the easiest way to 
migrate

to the new yyy.com domain. Should I just create the new domain and copy
the contents of the old one to it, or will this lead to problems. ANy 
help

would be appreciated.


The easiest way is to create yyy.com as an alias to xxx.com.

~vpopmail/bin/vaddaliasdomain xxx.com yyy.com

This way, you don't have to change any path names.  They can continue 
to receive mail for the old domain as well.  If you want yyy.com to be 
the real domain and xxx.com to be the alias, you can edit 
/var/qmail/users/assign.  After editing, run qmail-newu.  Verify it's 
good by using vdominfo and/or vuserinfo.


If you want to change the domain's directory, you'll have to update:

/var/qmail/users/assign
Each user's Maildir path (vpasswd file, or database backend)
Mailing list configurations
and possibly autoresponders (I can't recall if they have full or 
relative paths).


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/



Re: [vchkpw] domain migration

2006-05-24 Thread asimon
Thanks for the input. I'll give it a try.



 On May 24, 2006, at 12:39 PM, [EMAIL PROTECTED] wrote:
 Have vpopmail running and its working very well. :) One of my clients
 has
 xxx.com for their domain. The just changed their company name and need
 to
 change to a new email domain yyy.com. What is the easiest way to
 migrate
 to the new yyy.com domain. Should I just create the new domain and copy
 the contents of the old one to it, or will this lead to problems. ANy
 help
 would be appreciated.

 The easiest way is to create yyy.com as an alias to xxx.com.

 ~vpopmail/bin/vaddaliasdomain xxx.com yyy.com

 This way, you don't have to change any path names.  They can continue
 to receive mail for the old domain as well.  If you want yyy.com to be
 the real domain and xxx.com to be the alias, you can edit
 /var/qmail/users/assign.  After editing, run qmail-newu.  Verify it's
 good by using vdominfo and/or vuserinfo.

 If you want to change the domain's directory, you'll have to update:

 /var/qmail/users/assign
 Each user's Maildir path (vpasswd file, or database backend)
 Mailing list configurations
 and possibly autoresponders (I can't recall if they have full or
 relative paths).

 --
 Tom Collins  -  [EMAIL PROTECTED]
 QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/





Re: [vchkpw] domain migration

2006-05-24 Thread aichains

[EMAIL PROTECTED] wrote:

Thanks for the input. I'll give it a try.




On May 24, 2006, at 12:39 PM, [EMAIL PROTECTED] wrote:

Have vpopmail running and its working very well. :) One of my clients
has
xxx.com for their domain. The just changed their company name and need
to
change to a new email domain yyy.com. What is the easiest way to
migrate
to the new yyy.com domain. Should I just create the new domain and copy
the contents of the old one to it, or will this lead to problems. ANy
help
would be appreciated.

The easiest way is to create yyy.com as an alias to xxx.com.

~vpopmail/bin/vaddaliasdomain xxx.com yyy.com

This way, you don't have to change any path names.  They can continue
to receive mail for the old domain as well.  If you want yyy.com to be
the real domain and xxx.com to be the alias, you can edit
/var/qmail/users/assign.  After editing, run qmail-newu.  Verify it's
good by using vdominfo and/or vuserinfo.

If you want to change the domain's directory, you'll have to update:

/var/qmail/users/assign
Each user's Maildir path (vpasswd file, or database backend)
Mailing list configurations
and possibly autoresponders (I can't recall if they have full or
relative paths).

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/






for the sake of completeness, i ran into the same issue, but at the same 
time the customer had 3 extra requests:


1) at the same time, migrate to a new server.
2) the old domain should, after 90 days, be completely gone (i.e. we 
delete the dns zone, and delete it from the mail server, so the alias 
domain thing was ruled out)
3) migrate from vmailmgr to vpopmail (plus a ton of other upgrades) in 
the process


I created the new domain on the new box, wrote a script to migrate the 
users, aliases, forwards and passwords over to the new vpopmail+mysql.


wrote another script to read the passwd.cdb file (vmailmgr) and based on 
the username, rsync their maildir to the new box.  I ran this with the 
delete destination file if not exist type setting in rsync to avoid 
delivering the same messages twice.  There was a gotcha, in that 
vmailmgr tree looks like domain/users/username/{cur,new,tmp} whereas 
vpopmail uses domain/username/Maildir/{cur,new,tmp}.  Some time later, I 
had a working rsync command, and it worked like a charm.  One more 
vmailmgr box bites the dust! =)


the only thing i ran into was that qmailadmin is not as nice as omail ) 
http://omail.omnis.ch ).  But we plan on coding our own, using the 
vpopmaild interface in the very near future.


I wonder, are there any actively developed vpopmaild-based 
shared-hosting type web gui's right now ?  I haven't found any yet.


Re: [vchkpw] Domain Quota Features

2006-03-16 Thread Rainer Duffner

Ken Jones wrote:

kengheng wrote:

Hi, when will the domain quota feature back to vpopmail?


Thanks.


Probably never. It is too resource intensive.
I recommend using operating system user quotas.
Place each domain under a different user and let
the file system handle the quota.



I assume you have to either
a) run qmail-smtpd as user root (because if 
~vpopmail/domain/user.domain is own by user, vdelivermail as user 
vpopmail won't be able to deliver anymore)
b) place the domain unter user vpopmail but with different groups, 
using OS-group-quotas (does that work?)



Or what else is best practice?



cheers,
Rainer


Re: [vchkpw] Domain Quota Features

2006-03-16 Thread Rick Macdougall

Rainer Duffner wrote:

Ken Jones wrote:

kengheng wrote:

Hi, when will the domain quota feature back to vpopmail?


Thanks.


Probably never. It is too resource intensive.
I recommend using operating system user quotas.
Place each domain under a different user and let
the file system handle the quota.



I assume you have to either
a) run qmail-smtpd as user root (because if ~vpopmail/domain/user.domain 
is own by user, vdelivermail as user vpopmail won't be able to deliver 
anymore)
b) place the domain unter user vpopmail but with different groups, using 
OS-group-quotas (does that work?)



Or what else is best practice?



I run qmail-smtpd as root but that was along time ago that it was setup. 
 I'd probably try using the vpopmail user and group quotas myself if I 
was setting it up again.


Rick



Re: [vchkpw] Domain Quota Features

2006-03-16 Thread Rainer Duffner

Rick Macdougall wrote:

Rainer Duffner wrote:

Ken Jones wrote:

kengheng wrote:

Hi, when will the domain quota feature back to vpopmail?


Thanks.


Probably never. It is too resource intensive.
I recommend using operating system user quotas.
Place each domain under a different user and let
the file system handle the quota.



I assume you have to either
a) run qmail-smtpd as user root (because if 
~vpopmail/domain/user.domain is own by user, vdelivermail as user 
vpopmail won't be able to deliver anymore)
b) place the domain unter user vpopmail but with different groups, 
using OS-group-quotas (does that work?)



Or what else is best practice?



I run qmail-smtpd as root but that was along time ago that it was setup. 




Nowadays only needed when there are legacy-users in /etc/passwd. IIRC.


 I'd probably try using the vpopmail user and group quotas myself if I 
was setting it up again.






OK.



cheers,
Rainer



Re: [vchkpw] Domain Quota Features

2006-03-16 Thread Ken Jones

Rainer Duffner wrote:

Ken Jones wrote:


kengheng wrote:


Hi, when will the domain quota feature back to vpopmail?


Thanks.



Probably never. It is too resource intensive.
I recommend using operating system user quotas.
Place each domain under a different user and let
the file system handle the quota.




I assume you have to either
a) run qmail-smtpd as user root (because if ~vpopmail/domain/user.domain 
is own by user, vdelivermail as user vpopmail won't be able to deliver 
anymore)


Yes

b) place the domain unter user vpopmail but with different groups, using 
OS-group-quotas (does that work?)

I don't think so. Last time I tested, user or group quotas only work
under the users home directory.

So place the domain under the users home directory.

You can use the -u username option to vadddomain to set up the domain
under that users home directory.

Ken




Re: [vchkpw] Domain Quota Features

2006-03-15 Thread kengheng

Ken Jones wrote:

kengheng wrote:

Hi, when will the domain quota feature back to vpopmail?


Thanks.


Probably never. It is too resource intensive.
I recommend using operating system user quotas.
Place each domain under a different user and let
the file system handle the quota.

This is also helpful if you host the web site
and email. Then you can impose an overall
disk space quota per account.

Ken Jones


Hi, any doc or guidelines to do it?

thanks.


Re: [vchkpw] Domain Quota Features

2006-03-14 Thread Ken Jones

kengheng wrote:

Hi, when will the domain quota feature back to vpopmail?


Thanks.


Probably never. It is too resource intensive.
I recommend using operating system user quotas.
Place each domain under a different user and let
the file system handle the quota.

This is also helpful if you host the web site
and email. Then you can impose an overall
disk space quota per account.

Ken Jones


[vchkpw] Domain Quota Features

2006-03-13 Thread kengheng

Hi, when will the domain quota feature back to vpopmail?


Thanks.


[vchkpw] Domain limits

2005-08-05 Thread Bastiaan van der Put

Hi,

I have been using vpopmail with user quota's for some time now.

I want to move to domainlimits, is it possible to set the user quota to -1
and domainquota to say 500 MB on a domain.

If the 500 MB is reached for the domain will the emails be bounced or does 
vpopmail

accept it because the user limit has -1?

Regards, Bas



Re: [vchkpw] Domain limits

2005-08-05 Thread Rick Macdougall

Bastiaan van der Put wrote:


Hi,

I have been using vpopmail with user quota's for some time now.

I want to move to domainlimits, is it possible to set the user quota 
to -1

and domainquota to say 500 MB on a domain.

If the 500 MB is reached for the domain will the emails be bounced or 
does vpopmail

accept it because the user limit has -1?


Hi,

Domain quotas do not work.

The only available option is to use system quotas and create a new user 
for each domain.


Regards,

Rick



Re: [vchkpw] Domain limits

2005-08-05 Thread Rainer Duffner

Bastiaan van der Put wrote:


Hi,

I have been using vpopmail with user quota's for some time now.

I want to move to domainlimits, is it possible to set the user quota 
to -1

and domainquota to say 500 MB on a domain.

If the 500 MB is reached for the domain will the emails be bounced or 
does vpopmail

accept it because the user limit has -1?





Domainquotas don't work.
See the README or changelog.


You could use OS-quotas, which should result in the message being 
deferred for some time in your queue and then bounced (I presume - 
someone correct me if I'm wrong)
I haven't done this, but I had the impression that you would need to 
create a new group for each domain and then use group-quotas, because 
the directory still have to be owned by the vpopmail-user.




cheers,
Rainer


Re: [vchkpw] Domain limits

2005-08-05 Thread Bastiaan van der Put

Thanks for the quick reply.

I will turn it back off, I noticed it didn't work as I expected.

Bas
At 18:00 8/5/2005, you wrote:

Bastiaan van der Put wrote:


Hi,

I have been using vpopmail with user quota's for some time now.

I want to move to domainlimits, is it possible to set the user quota to -1
and domainquota to say 500 MB on a domain.

If the 500 MB is reached for the domain will the emails be bounced or 
does vpopmail

accept it because the user limit has -1?


Hi,

Domain quotas do not work.

The only available option is to use system quotas and create a new user 
for each domain.


Regards,

Rick





Re: [vchkpw] Domain limits

2005-08-05 Thread Bastiaan van der Put

Hmm I noticed I didnt compile with domainquota's the first time.

After compiling with the support,  I do get a bounce msg now the user is 
overquota??


user limit = -1
Domainquota = 16 MB(just to test)

What exact is broken about it?

Bas
At 18:00 8/5/2005, you wrote:

Bastiaan van der Put wrote:


Hi,

I have been using vpopmail with user quota's for some time now.

I want to move to domainlimits, is it possible to set the user quota to -1
and domainquota to say 500 MB on a domain.

If the 500 MB is reached for the domain will the emails be bounced or 
does vpopmail

accept it because the user limit has -1?


Hi,

Domain quotas do not work.

The only available option is to use system quotas and create a new user 
for each domain.


Regards,

Rick




Re: [vchkpw] Domain limits

2005-08-05 Thread Bastiaan van der Put

What exact is broken about it?

Seems it only bounces emails with attachments.

Bas
At 18:00 8/5/2005, you wrote:

Bastiaan van der Put wrote:


Hi,

I have been using vpopmail with user quota's for some time now.

I want to move to domainlimits, is it possible to set the user quota to -1
and domainquota to say 500 MB on a domain.

If the 500 MB is reached for the domain will the emails be bounced or 
does vpopmail

accept it because the user limit has -1?


Hi,

Domain quotas do not work.

The only available option is to use system quotas and create a new user 
for each domain.


Regards,

Rick




Re: [vchkpw] Domain limits

2005-08-05 Thread Rick Macdougall

Bastiaan van der Put wrote:


Hmm I noticed I didnt compile with domainquota's the first time.

After compiling with the support,  I do get a bounce msg now the user 
is overquota??


user limit = -1
Domainquota = 16 MB(just to test)

What exact is broken about it?


Hi,

Everything about it is broken.  It plain doesn't work and if you get any 
number of users in that domain, mail delivery might take 5 or 6 minutes 
as it tries to re-calculate the domain quota.  I think Tom took the code 
out of the 5.4.12 release completely.


Regards,

Rick



Re: [vchkpw] domain quota not working

2005-05-02 Thread Charlie Garrison
Good evening,

On 2/5/05 at 11:36 AM +0200, Rainer Duffner [EMAIL PROTECTED] wrote:

Use OS-quotas or just bill-by-volume and employ any of the homegrown 
report-usage-scripts... ;-)

I'd love some pointers on implementing 'homegrown report-usage-scripts'. Can
you suggest some appropriate documentation?

Thanks,
Charlie

-- 
   Charlie Garrison  [EMAIL PROTECTED]
   PO Box 141, Windsor, NSW 2756, Australia


Re: [vchkpw] domain quota not working

2005-05-02 Thread Payal Rathod
On Mon, May 02, 2005 at 11:36:28AM +0200, Rainer Duffner wrote:
 The (undocumened) fact that they have been broken long since.

Can someone from inter7 second that please?

 Use OS-quotas or just bill-by-volume and employ any of the homegrown 
 report-usage-scripts... ;-)

Well, if I use OS-quotas then qmailadmin does not work.

Any suggestions?

With warm regards,
-Payal


[vchkpw] domain does not exist

2005-04-06 Thread eka_pratania
dear all,
i use vqadmin for adding domain in qmail toaster 
admin,after i add new domain, let say : eka-p.net,then i 
try to add new user for that domain : [EMAIL PROTECTED] using 
Add Email Account, everything is fine until i check List 
Domains, and go to domain eka-p.net to check new user that 
i have created : [EMAIL PROTECTED] but vqadmin says domains 
eka-p.net does not exist and thereis no entry for my new 
account that i have created below name and alias/forward.

anyone can help me ?

regards,
eka pratania

Akses Internet TELKOMNet-Instan beri Diskon s.d. 50 % khusus untuk wilayah Jawa Timur.
Informasi selengkapnya di www.telkomnetinstan.com atau hub 0800-1-INSTAN (467826)
 


Re: [vchkpw] domain quota status?

2004-11-17 Thread Tom Collins
On Nov 17, 2004, at 9:29 AM, Lars E. D. Jensen wrote:
I would like to know the status of domain quota. I've seen a little on 
the
mailing list, but nothing complete.
Domain quotas are broken.  Even if/when they do work, they add a lot of 
load to the system since vdelivermail has to look at all mailboxes for 
a domain to calculate the current quota used when delivering every 
message.  There's no concept of a master maildirsize file for the 
entire domain.

They have been broken since at least 5.4.0.  Probably broke somewhere 
in 5.3.  Maybe they never worked -- I don't use them so I don't know.

I also don't know much about domains owned by users other than 
vpopmail.  I had heard that there are various minor problems with doing 
so, but don't have details.  Using system quotas is probably the best 
policy, but the downside is that once over quota, vdelivermail won't 
even be able to deliver quota warnings.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


[vchkpw] Domain quota not working?

2004-08-13 Thread Rainer Duffner
Hi,

I see from the archives that domain-quota does not work.

Is this true ? What's the status of that feature ? I see no mention of
this in the README.quota.

At least for me, it doesn't seem to work.
When a user is over quota, the postmaster can lift the quota beyond the
domain-quota. That's pretty pointless.

I tried 5.4.3 and/or 5.4.6


Rainer



Re: [vchkpw] domain weirdness

2004-08-10 Thread Charles Sprickman
On Sun, 8 Aug 2004, Jeremy Kitchen wrote:

 On Sunday 08 August 2004 03:07 am, Micah Abrams wrote:
  Jeremy:
 
  Thanks for the $5 :)  Actually the only place the domain shows up (in
  /var/qmail/control) is in:
 
  control/rcpthosts
  control/virtualdomains
 
 perhaps your /var/qmail/users/assign file is not set up properly.

 the no mailbox here by that name is a qmail error, not a vpopmail error, so
 it's clear that vdelivermail is not being called at all.

I'd also like to see the .qmail-default file for that domain.  I've seen
well-meaning people familiar with qmail and not vpopmail edit that.
Oftentimes they pull the vdelivermail line, leading to all sorts of
perplexing problems.

C

 post the full unedited output of qmail-showctl, the contents
 of /var/qmail/users/assign, and tell us what domain is in question.

 -Jeremy

 --
 Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
   [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
 kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail




Re: [vchkpw] domain weirdness

2004-08-08 Thread Jeremy Kitchen
On Saturday 07 August 2004 07:55 pm, Micah Abrams wrote:
 Dear list:

 I have a strange problem that I am hoping one of you can help me with.  I
 have had my qmail/vpop server running for a few years now and everything
 has been running great.  I have created an account on one of the domains
 called 'lists'.  It is a normal vpop user added with ~vpopmail/bin/vadduser
 .  For some reason however every message sent to this account bounces back
 with 'Sorry, no mailbox here by that name. (#5.1.1)'.  I have tried
 deleting and re-adding the account but nothing seems to help.  In fact I
 even deleted and readded the domain.  Everything else is running great.  It
 is just this one domain that is giving me trouble.  Anyways any pointers
 would be great.

$5 says domain is in qmail's 'locals' file.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



RE: [vchkpw] domain weirdness

2004-08-08 Thread Micah Abrams
Jeremy:

Thanks for the $5 :)  Actually the only place the domain shows up (in
/var/qmail/control) is in:

control/rcpthosts
control/virtualdomains

The locals file only has the FQDN of the mail server in it.  I'm wondering
if this could this be a currupted mysql table or something?  There are about
130 other domains on the server and everything else is working fine.  Any
other ideas?

Micah



 -Original Message-
 From: Jeremy Kitchen [mailto:[EMAIL PROTECTED]
 Sent: Sunday, August 08, 2004 12:56 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] domain weirdness


 On Saturday 07 August 2004 07:55 pm, Micah Abrams wrote:
  Dear list:
 
  I have a strange problem that I am hoping one of you can help
 me with.  I
  have had my qmail/vpop server running for a few years now and everything
  has been running great.  I have created an account on one of the domains
  called 'lists'.  It is a normal vpop user added with
 ~vpopmail/bin/vadduser
  .  For some reason however every message sent to this account
 bounces back
  with 'Sorry, no mailbox here by that name. (#5.1.1)'.  I have tried
  deleting and re-adding the account but nothing seems to help.  In fact I
  even deleted and readded the domain.  Everything else is
 running great.  It
  is just this one domain that is giving me trouble.  Anyways any pointers
  would be great.

 $5 says domain is in qmail's 'locals' file.

 -Jeremy

 --
 Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet
 Technologies, Inc.
   [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++
 847.492.0470 int'l
 kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail




Re: [vchkpw] domain weirdness

2004-08-08 Thread Jeremy Kitchen
http://scriptkitchen.com/godkills.jpg --- please, think of the kittens.

On Sunday 08 August 2004 03:07 am, Micah Abrams wrote:
 Jeremy:

 Thanks for the $5 :)  Actually the only place the domain shows up (in
 /var/qmail/control) is in:

 control/rcpthosts
 control/virtualdomains

 The locals file only has the FQDN of the mail server in it.  I'm wondering
 if this could this be a currupted mysql table or something?  There are
 about 130 other domains on the server and everything else is working fine. 
 Any other ideas?

perhaps your /var/qmail/users/assign file is not set up properly.

the no mailbox here by that name is a qmail error, not a vpopmail error, so 
it's clear that vdelivermail is not being called at all.

post the full unedited output of qmail-showctl, the contents 
of /var/qmail/users/assign, and tell us what domain is in question.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail



[vchkpw] domain weirdness

2004-08-07 Thread Micah Abrams
Dear list:

I have a strange problem that I am hoping one of you can help me with.  I
have had my qmail/vpop server running for a few years now and everything has
been running great.  I have created an account on one of the domains called
'lists'.  It is a normal vpop user added with ~vpopmail/bin/vadduser .  For
some reason however every message sent to this account bounces back with
'Sorry, no mailbox here by that name. (#5.1.1)'.  I have tried deleting and
re-adding the account but nothing seems to help.  In fact I even deleted and
readded the domain.  Everything else is running great.  It is just this one
domain that is giving me trouble.  Anyways any pointers would be great.

Thanks in advance,

Micah



[vchkpw] domain quotas

2004-04-12 Thread Jeff Koch
Hi All:

I'm thinking about implementing domain quotas on a new mailserver with 
qmailadmin and courier IMAP. Are domain quotas working OK in the latest 
vpopmail release? What should we be aware of in implementing this feature 
Any booby traps with clients and users? How does the notification process 
work? Are these hard quotas or soft quotas? Are they supported by 
qmailadmin and squirrelmail?

Thanks in advance.

Best Regards,

Jeff Koch 




RE: [vchkpw] domain quotas

2004-04-12 Thread Chris Miller
I too would like to know the same information along those lines. Are the
quotas in qmail a way to control actual disk quotas on the file system,
meaning I'd have to have quota support in my kernel before I use this
feature, or is this just something ad-hoc that vpopmail has done at a
higher level than the file system quotas?

Thanks,
 
Chris Miller
Compuville
www.compuville.net


-Original Message-
From: Jeff Koch [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 12, 2004 10:55 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] domain quotas


Hi All:

I'm thinking about implementing domain quotas on a new mailserver with 
qmailadmin and courier IMAP. Are domain quotas working OK in the latest 
vpopmail release? What should we be aware of in implementing this feature 
Any booby traps with clients and users? How does the notification process 
work? Are these hard quotas or soft quotas? Are they supported by 
qmailadmin and squirrelmail?

Thanks in advance.


Best Regards,

Jeff Koch 






Re: [vchkpw] domain quotas

2004-04-12 Thread Tom Collins
On Apr 12, 2004, at 7:54 AM, Jeff Koch wrote:
Are domain quotas working OK in the latest vpopmail release?
To the best of my knowledge, domain quotas do not work.  There was a 
time that they caused vdelivermail to crash, but now they just aren't 
enforced.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] domain quotas

2004-04-12 Thread Jeff Koch
Hi Tom:

Soft quotas are OK - do they send out emails? If not, I guess we could 
write a script to check domain diskspace usuage.

At 12:10 PM 4/12/2004, you wrote:
On Apr 12, 2004, at 7:54 AM, Jeff Koch wrote:
Are domain quotas working OK in the latest vpopmail release?
To the best of my knowledge, domain quotas do not work.  There was a time 
that they caused vdelivermail to crash, but now they just aren't enforced.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Best Regards,

Jeff Koch, Intersessions 




[vchkpw] Domain with home!= ~vpopmail/domains

2004-04-07 Thread Marcin So³tysiak
Hi,

I got strange problem. I don;t know when (what version) but suddenly a
domain that have different that ~vpopmail/domains home stopped authorizing
using vchkpw. Here the debug:

# ./vadduser -n [EMAIL PROTECTED]

# telnet europa 110
Trying 217.153.200.101...
Connected to europa.imedia.com.pl (217.153.200.101).
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass ppp
-ERR authorization failed
Connection closed by foreign host.

# tail /var/log/mail/info
Apr  7 10:47:18 europa vpopmail[20182]: vchkpw-pop3: vpopmail user not found
[EMAIL PROTECTED]:217.153.200.101

# ./vuserinfo [EMAIL PROTECTED]
name:   pedro
passwd:
clear passwd:
uid:0
gid:0
flags:  0
gecos: pedro
limits: No user limits set.
dir:   /home/klub/domains/klub.olga.pl/L/pedro
quota: 10024000S
usage: 0%
account created: Wed Apr  7 10:47:06 2004
last auth: Never logged in

Moreover, user can login using Courier-IMAP. Is this a bug in vchkpw? I use
5.5.0.

Solt



Re: [vchkpw] domain user scripts

2004-01-24 Thread Jason Parker
On Friday, January 23, 2004, at 11:40 PM, Jeremy Kitchen wrote:

On Fri, 2004-01-23 at 19:41, Jason Parker wrote:
FYI -
[snip]

so what's wrong with rsync?

-Jeremy
In short - I may only have one system to work with in this case 
(working on that)... there is still tar. I'm not storing mail and am 
rebuilding stuff fresh. I just wanted the user info. I haven't used 
vconvert before and it is not entirely clear what happens/will 
happen I don't have prior experience migrating vpopmail domains, 
but I assume the procedure you allude to would be to vconvert to cdb 
from mysql, rsync the entire domain tree to the new system and then 
vconvert to postgres... and there is still tar... the procedure has 
become more clear to me as I get closer to doing it ... still I just 
wanted a plain text backup... anyway, I wrote the scripts and posted 
them...

-jason



[vchkpw] domain user scripts

2004-01-23 Thread Jason Parker
FYI -

Here are two scripts (further below) I wrote as an alternative to 
moving domains and users.

vmakeadddomains will read your domains and create a script to recreate 
those domains to another working system. Pretty simple. It doesn't 
attempt to move any domain settings.

vmakeaddusers will read all users and create a script to recreate those 
users for each domain.
It only works with clear passwd set on.
It recreates the user, quota, comment and passwd. All other items are 
left behind.
It doesn't move postmaster, assuming that creating the domain creates 
postmaster.

For both scripts remember to chmod 755... on them and then their 
outputs (I decided this was a good pause for the admin to consider what 
they were going to do :-)

I did this because I'm moving a small setup to a new os install and 
from MySQL to Postgres. I wanted a backup of what I had and an 
alternative for the bit clunky vconvert shuffle in case of trouble ...

-jason

vmakeadddomains  
#!/bin/bash
#
vpath=/var/qmail/vpopmail
domains=`$vpath/bin/vdominfo`
domains=`echo ${domains} | grep domain:`
domains=`echo ${domains} | sed s/^domain://`
echo Domains found:
echo ${domains}
echo Creating vadddomains file ...
thecode=#!/bin/bash
# recreates vpopmail domains
# edit to suit

for dom in $domains
do
thecode=${thecode}
echo \Adding domain: $dom ...\
${vpath}/bin/vadddomain -u vpopmail ${dom} 
done
echo -e ${thecode}  vadddomains

echo 
cat vadddomains
echo 
echo Copy the vadddomains file to the new installation.
echo Edit it to suit the new installation.
echo chmod 755 vadddomains before running.
# end
vmakeaddusers-
#!/bin/bash
# Works only with clear passwds enabled
vpath=/var/qmail/vpopmail
domains=`$vpath/bin/vdominfo`
domains=`echo ${domains} | grep domain:`
domains=`echo ${domains} | sed s/^domain://`
echo Domains found:
echo ${domains}
headcode=#!/bin/bash
# recreates vpopmail user for a given domain
# edit to suit

for dom in $domains
do
echo Creating vaddusers.${dom} file ...
thecode=${headcode}
# do the users for the domain
users=`$vpath/bin/vuserinfo -n -D $dom`
for user in $users
 do
if [ ${user} = postmaster ] ; then
   continue
fi
quota=`$vpath/bin/vuserinfo -q [EMAIL PROTECTED]
if [ -n ${quota} ] ; then
   quota=-q ${quota}
fi
comment=`$vpath/bin/vuserinfo -c [EMAIL PROTECTED]
comment=`echo $comment | sed s/^ *//` # in case it has all spaces
if [ -n ${comment} ] ; then
   comment=-c ${comment}
fi
passwd=`$vpath/bin/vuserinfo -C [EMAIL PROTECTED]
thecode=${thecode}
echo \Adding user: $user ...\
$vpath/bin/vadduser ${quota} ${comment} [EMAIL PROTECTED] ${passwd}
 done
echo -e ${thecode}  vaddusers.${dom}
done
echo 
echo Copy the vaddusers.domain files to the new installation.
echo Edit each to suit the new installation.
echo chmod 755 on each before running.
#end


Re: [vchkpw] domain user scripts

2004-01-23 Thread Jeremy Kitchen
On Fri, 2004-01-23 at 19:41, Jason Parker wrote:
 FYI -
[snip]

so what's wrong with rsync?

-Jeremy

-- 
Jeremy Kitchen [EMAIL PROTECTED]



[vchkpw] domain quotas..

2003-10-23 Thread B. Cook
Hello,

I've been trying to figure out how to get domain quota's working.  I'm
wondering if anyone else does them.

Do I need to zero out the users quota in order for domain quota's to
work?

If there are docs and I'm missing them somene please let me know.

Thanks in advance.

-- 
Brian
Adriance Memorial Library



Re: [vchkpw] domain quotas..

2003-10-23 Thread Justin Heesemann
On Thursday 23 October 2003 20:48, B. Cook wrote:
 Hello,
 
 I've been trying to figure out how to get domain quota's working. 
 I'm
 wondering if anyone else does them.
 
 Do I need to zero out the users quota in order for domain quota's to
 work?

no. vlimits support domain quotas. the setting is:
first check if domain quotas have reached its limit, then check for user 
quotas.

you will need to use the development version, as there is no vlimit 
support in the stable tree.

this has been covered in the mailing list before, so i suggest next time 
you read the archives.


-- 
Mit internetten Grüßen / Best Regards
---
Justin Heesemannionium Technologies
[EMAIL PROTECTED]www.ionium.org



[vchkpw] domain limits not applying to users

2003-08-28 Thread Tom Collins
On Thursday, August 28, 2003, at 07:47  AM, Steven Job wrote:
I am able to set the qmailadmin limits (using the mysql version) but it
doesn't seem to work the way I thought.
I have set the disable_pop to 1 and the disable_webmail to 1 and the
disable_relay to 1 and I don't see any difference in how it acts.
The users in that domain can still receive pop mail, use webmail, and
relay.
Proper support for domain limits are still under development.  The code  
exists in vpopmail 5.3.25 and 5.3.26 but has been temporarily disabled  
due to the following problem:

If vpopmail applies domain limits onto the user's limits, and then you  
make any change to the user (even changing the password), the user will  
inherit the current domain limits.

So, for example, if you temporarily add a domain limit of  
disable_webmail for some reason, and one of the users in the domain  
changes their password, they'll still have disable_webmail set even if  
you clear it for the domain.

We're working on a solution, but we're not sure of the exact  
implementation.  We either have to change all bits of code that check  
whether a user has access to do something, or change all bits of code  
that could modify a user's account information.

My guess is that we need to change the pwd structure to have a user  
limits and effective limits fields, then go through an update  
everything that checks limits to use the effective limits field.

Take a look at  
http://sourceforge.net/tracker/ 
index.php?func=detailaid=795688group_id=85937atid=577798 for  
continued discussion of this issue.

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



[vchkpw] Domain Limits

2003-07-29 Thread Clayton Milos
I am running a mail serer and i enabled domain quotas. I would like to know
how to set the quotas for each domain.

This is what i get in my maillogs currently

Jul 29 11:02:03 server qmail: 1059469323.287333 delivery 972: success:
vmysql:_can't_find_limits_for_domain_'theinnovationfactory.co.za',_using_def
aults./address:_/usr/local/vpopmail/domains/theinnovationfactory.co.za/clay/
Maildir//quota:_1073741824/did_0+0+1/


Thanks guys

Clay




Re: [vchkpw] Domain Limits

2003-07-29 Thread John Simpson
On Tuesday 29 July 2003 05:11, Clayton Milos wrote:
 I am running a mail serer and i enabled domain quotas. I would like to
 know how to set the quotas for each domain.

it never fails to amaze me how many people don't bother to read the 
documentation that comes with the software...

first read http://catb.org/~esr/faqs/smart-questions.html

then read the file README.quotas in the source.

-- 
---
| John Simpson - KG4ZOW - Programmer At Large |
| http://www.jms1.net/[EMAIL PROTECTED] |
---


pgp0.pgp
Description: signature


Re: [vchkpw] domain quotas query

2003-07-25 Thread Michael Bowe
- Original Message - 
From: Jesse Guardiani [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 25, 2003 1:14 PM
Subject: Re: [vchkpw] domain quotas query


 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.

I too share some concerns about the inclusion of domain quotas in the
current development vpopmail

In hindsight I believe it would have been better to sign off on a stable
vpopmail, and then the new domain quota stuff could have been added to the
next development series.

I wonder if it would be hard to remove or not...? Was the domain quota
additions limited to just a few functions, or was it pretty much substantial
changes to much of vpopmail code?

Michael.




Re: [vchkpw] domain quotas query

2003-07-25 Thread tonix (Antonio Nati)

On Saturday 19 July 2003 12:01, Paul Theodoropoulos wrote:
 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:
 
I already sent some patches to qmailadmin making that.

You assign a total quota to the postmaster, then, using qmailadmin, each 
user quota is subtracted/added from the postmaster quota.

In this way you assign a domain total, and the administrator may assign 
user quotas within that limit.

That is compliant with all (Maildir++, Courier, vpopmail, sqwebmail, etc..) 
and very safe.

I'm using it from months, and I'ld like to see that code inside standard 
qmailadmin.

Tonino




[EMAIL PROTECTED]Interazioni di Antonio Nati
   http://www.interazioni.it  [EMAIL PROTECTED]




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] domain quotas query

2003-07-19 Thread Paul Theodoropoulos
so gee, did i really stump the stars on this one? nobody out there has 
converted to domain quotas?

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




[vchkpw] domain quotas query

2003-07-18 Thread Paul Theodoropoulos
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




[vchkpw] domain convert

2003-07-11 Thread Faez Itrat
Hi,

Is there anyway to convert users from one domain to another in vpopmail?


Faez
- Original Message - 
From: Joshua Pruitt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 11, 2003 12:25 PM
Subject: [vchkpw] Vpopmail + Courier-imap as non-root


 Ok, so I'm installing qmail + vpopmail + courier-imap.
 
 Everything almost works.
 
 But I'm stuck at getting courier-imap to do SMTP-relaying via 
 vpopmail's --roaming-users.
 
 According to the FAQ:
 
  2. Courier-IMAP doesn't  detect roaming users in the vpopmail library
 correctly, so force it by doing something like this just before
 compiling:
   export CFLAGS=-DHAVE_OPEN_SMTP_RELAY
  3. compile courier-imap with --without-authdaemon --with-authvchkpw
  4. Make sure you run your imap server as the same user as your pop
 server (so open-smtp and tcp.smtp have the same ownership).  man
 couriertcpd for details, but you will change /usr/lib/courier-
 imap/libexec/imapd.rc something like this:
 
  Change this line:
  /usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \
 
  To:
  /usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \
  -user=vpopmail -group=vchkpw \
 
 So I do all of this by the book. Now, courier-imap doesn't work if I 
 add the -user=vpopmail -group=vchkpw directives to imapd.rc (as in a 
 vpopmail user can't authenticate).
 
 According to /var/log/messages:
 
  Jul 11 00:53:33 hoss authdaemon: authdaemon: s_connect() failed: 
  Permission denied
 
 If I remove the -user=vpopmail -group=vchkpw directives from imapd.rc, 
 of course, the vpopmail user can authenticate via imap, but simply 
 cannot relay through SMTP.
 
 I assume that I get the s_connect() simply because the permissions to 
 something aren't right. But I haven't a clue as to what that could be! 
 Everything in /home/vpopmail is correct... I'm stumped.
 
 If I can't figure this out, I'll have to go back to POP (which I have 
 successfully got to do roaming-users as per the documentation, and 
 works perfectly), which sucks because I really want to use IMAP 
 exclusively.
 
 Does anyone here have a courier-imap + vpopmail (+ mysql) + qmail setup 
 working properly in this fashion? What am I missing?
 
 Thanks,
 -Josh
 
 
 
 





[vchkpw] domain already exists?? no it doesn't!

2003-07-02 Thread Ken Winke



I'm working with vpopmail-5.3.20 attempting to 
create domains for a brand new mail server, and it's not playing very 
nice. When running the vadddomain command, I get the response that the 
domain already exists. When trying to run vdeldomain, I'm told there is no 
domain with that name.

So, I deleted the vpopmail database from MySQL, 
flushed the tables, and re-created that a few times to no effect. I've 
recompiled and reinstalled vpopmail but still no luck. No domains appear 
in /home/vpopmail/domains but yet it still thinks they're there.

Is there another database I need to delete to 
remove these domains rather than vpopmail or another way to convince the server 
that no..really..there aren't any domains and I'd like to start making 
some??

Thanks...

...ken



Re: [vchkpw] domain already exists?? no it doesn't!

2003-07-02 Thread Ken Winke



Well, my assign file has this sitting in it. 
Which looks good except I don't have a domain.com directory in my 
domains.

+domain.com-:domain.com:89:89:/home/vpopmail/domains/domain.com:-::
qmail/control files look to be normal, but I'm not 
sure what I should be looking for in there. I compiled vpopmail with 
enable-mysql active, so I kinda thought there was a database I could delete to 
have this reset and have vpopmail create the appropriate 
directories.


...ken



- Original Message - 
From: "Rick Macdougall" [EMAIL PROTECTED]
To: "Ken Winke" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 11:16 
AM
Subject: Re: [vchkpw] domain already exists?? no it 
doesn't!
 Hi,  Check the /var/qmail/control files and the 
/var/qmail/users/assign file.  Regards,  
Rick   Ken Winke wrote:   I'm 
working with vpopmail-5.3.20 attempting to create domains for a   
brand new mail server, and it's not playing very nice. When running the 
  vadddomain command, I get the response that the domain already 
exists.   When trying to run vdeldomain, I'm told there is no 
domain with that name.So, I deleted the 
vpopmail database from MySQL, flushed the tables, and   re-created 
that a few times to no effect. I've recompiled and   
reinstalled vpopmail but still no luck. No domains appear in   
/home/vpopmail/domains but yet it still thinks they're there.  
  Is there another database I need to delete to remove these domains 
  rather than vpopmail or another way to convince the server that 
  no..really..there aren't any domains and I'd like to start making 
some??Thanks...   
 ...ken 



[vchkpw] Domain Quota

2003-04-02 Thread Jesus Bernardo Ruiz Flores
Title: Message



Is there a way to 
restric the quota in a domain bases, i mean if i have 5 users i want a domain 
quota of 50MB but this quota have to be general for the entire domain, not 
restricting to the users quota.

Thanks
Jesus


Re: [vchkpw] Domain Quota

2003-04-02 Thread Rick Macdougall
Hi,

You can do that starting with Development version 5.3.19

See http://www.inter7.com/develop.html

Regards,

Rick

- Original Message - 
From: Jesus Bernardo Ruiz Flores [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 10:22 AM
Subject: [vchkpw] Domain Quota


Is there a way to restric the quota in a domain bases, i mean if i have
5 users i want a domain quota of 50MB but this quota have to be general
for the entire domain, not restricting to the users quota.
 
Thanks
Jesus




RE: [vchkpw] Domain Quota

2003-04-02 Thread Lucas Valdeón

 Hi,

When do you plan to stable 5.3.19 ?
We are anxious to have it in production enviroments :)

Thank you,

Lucas

 -Mensaje original-
 De: Rick Macdougall [mailto:[EMAIL PROTECTED]
 Enviado el: miércoles 2 de abril de 2003 17:37
 Para: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Asunto: Re: [vchkpw] Domain Quota


 Hi,

 You can do that starting with Development version 5.3.19

 See http://www.inter7.com/develop.html

 Regards,

 Rick

 - Original Message -
 From: Jesus Bernardo Ruiz Flores [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, April 02, 2003 10:22 AM
 Subject: [vchkpw] Domain Quota


 Is there a way to restric the quota in a domain bases, i mean if i have
 5 users i want a domain quota of 50MB but this quota have to be general
 for the entire domain, not restricting to the users quota.

 Thanks
 Jesus



*
Este  mensaje  contiene  información  confidencial destinada  para ser leída
exclusivamente por el destinatario. Su contenido no constituye un compromiso
para  Ágora-Europe S.A.  salvo ratificación escrita por  ambas partes. Queda
prohibida la  reproducción,  publicación, divulgación,  total o parcial  del
mensaje así como el uso  no autorizados por el emisor. En caso de recibir el
mensaje por error, se ruega su comunicación al remitente lo antes posible.

This message contains confidential information for  the exclusive use of the
recipient.Its contents do not  constitute a commitment by  Agora-Europe S.A.
except  where  provided  for in  a  signed  agreement  between both parties.
Any unauthorised disclosure,  use or dissemination, either whole or partial,
is  prohibited.  If you  are  not  the intended recipient  of  the  message,
please  notify  the  sender as soon as possible.
*




Re: [vchkpw] Domain Quota

2003-04-02 Thread Kenneth Ling
i though if you install vqadmin
their is a feature on the domain quota..

tq

 Jesus Bernardo Ruiz Flores wrote:

 Is there a way to restric the quota in a domain bases, i mean if i have 5 users i 
 want a domain quota of 50MB but this quota have to be general for the entire domain, 
 not restricting to the users quota.

 Thanks
 Jesus

--
Regards
  Kenneth Ling
  ranhill engineers and constructors sdn bhd






[vchkpw] Domain quotas

2003-03-26 Thread Rick Root
Is it possible to set a quota for an entire domain using vpopmail?

 - Rick




Re: [vchkpw] Domain quotas

2003-03-26 Thread dWi saSonO b
On Wed, 26 Mar 2003 08:14:30 -0500
Rick Root [EMAIL PROTECTED] wrote:

 Is it possible to set a quota for an entire domain using vpopmail?
 
   - Rick
 
 
 
nope, what i think of.
but some person try to complete that using hard quota.


-- 
thx
onOs
UPPTI - Universitas Brawijaya



Re: [vchkpw] Domain quotas

2003-03-26 Thread Jonas Pasche
Hi Rick,

 Is it possible to set a quota for an entire domain using vpopmail?

One of the top ten questions on the list. You didn't check the archives,
didn't you? :)

In short:

For the stable version of vpopmail, there is no domain quota support,
but you can create the domain under a dedicated system user and use
system quotas for that user.

In the latest development version of vpopmail, experimental domain quota
support is included.

Jonas




Re: [vchkpw] Domain quotas

2003-03-26 Thread tonix (Antonio Nati)
Please correct me if I'm wrong...

As far as I understand, the domain quota code included in the last 
development version of vpopmail is NOT 100% compatible with other programs 
like sqwebmail, courier, ecc., so you may have some disalignments, 
depending on the products you're using.

Tonino

At 26/03/03 26/03/03 +0100, Jonas Pasche wrote:
Hi Rick,

 Is it possible to set a quota for an entire domain using vpopmail?

One of the top ten questions on the list. You didn't check the archives,
didn't you? :)
In short:

For the stable version of vpopmail, there is no domain quota support,
but you can create the domain under a dedicated system user and use
system quotas for that user.
In the latest development version of vpopmail, experimental domain quota
support is included.
Jonas



[EMAIL PROTECTED]Interazioni di Antonio Nati
   http://www.interazioni.it  [EMAIL PROTECTED]




Re: [vchkpw] Domain quotas

2003-03-26 Thread Brian Kolaci

The domain quota code (as well as the user quota code)
is enforced in the vdelivermail program.  It should be
compatible with courier-imap, but not maildrop.  It also
works within qmailadmin.  I'm not familiar with sqwebmail
internals.

Brian

   Please correct me if I'm wrong...
   
   As far as I understand, the domain quota code included in the last 
   development version of vpopmail is NOT 100% compatible with other programs 
   like sqwebmail, courier, ecc., so you may have some disalignments, 
   depending on the products you're using.
   
   Tonino
   
   At 26/03/03 26/03/03 +0100, Jonas Pasche wrote:
   Hi Rick,
   
 Is it possible to set a quota for an entire domain using vpopmail?
   
   One of the top ten questions on the list. You didn't check the archives,
   didn't you? :)
   
   In short:
   
   For the stable version of vpopmail, there is no domain quota support,
   but you can create the domain under a dedicated system user and use
   system quotas for that user.
   
   In the latest development version of vpopmail, experimental domain quota
   support is included.
   
   Jonas
   
   
   
[EMAIL PROTECTED]Interazioni di Antonio Nati
   http://www.interazioni.it  [EMAIL PROTECTED]
   
   
  




Re: [vchkpw] Domain quotas

2003-03-26 Thread tonix (Antonio Nati)
Brian,

when you store a message inside an imap server (like when using 
squirrelmail  courier, and keeping your outgoing message in the Sent 
folder), or when using sqwebmail just keep it in the Sent or upload an 
attach, which quota computing is done: courier, sqwebmail or vpopmail?

I think in such cases courier or sqwebmail quota code is used, not 
vpopmail's quota code, so there could be strong computing differences.

In such cases, users may overfill domain quota.

Tonino

At 26/03/03 26/03/03 -0500, Brian Kolaci wrote:

The domain quota code (as well as the user quota code)
is enforced in the vdelivermail program.  It should be
compatible with courier-imap, but not maildrop.  It also
works within qmailadmin.  I'm not familiar with sqwebmail
internals.
Brian

   Please correct me if I'm wrong...
  
   As far as I understand, the domain quota code included in the last
   development version of vpopmail is NOT 100% compatible with other 
programs
   like sqwebmail, courier, ecc., so you may have some disalignments,
   depending on the products you're using.
  
   Tonino
  
   At 26/03/03 26/03/03 +0100, Jonas Pasche wrote:
   Hi Rick,
   
 Is it possible to set a quota for an entire domain using vpopmail?
   
   One of the top ten questions on the list. You didn't check the archives,
   didn't you? :)
   
   In short:
   
   For the stable version of vpopmail, there is no domain quota support,
   but you can create the domain under a dedicated system user and use
   system quotas for that user.
   
   In the latest development version of vpopmail, experimental domain quota
   support is included.
   
   Jonas
  
  
   
[EMAIL PROTECTED]Interazioni di Antonio Nati
   http://www.interazioni.it  [EMAIL PROTECTED]
   
  




[EMAIL PROTECTED]Interazioni di Antonio Nati
   http://www.interazioni.it  [EMAIL PROTECTED]




Re: [vchkpw] Domain quotas

2003-03-26 Thread Brian Kolaci

When a message arrives and is delivered by vdelivermail,
the quotas are enforced.  It also updates the maildirsize
file (and uses the maildir++ naming conventions) thereby
updating the maildir++ quota usage that is shared amongst
all maildir++ compatible software.

From what I understand of maildir++, all the programs like
the POP, IMAP, and any maildir++ compatable software should
maintain the maildirsize file(s) for each folder, including
INBOX, so the usage should remain the same when moving messages
between folders.  The usage should be restored when deleting
a message.

So note that vpopmail uses maildir++ quota code (ported by Bill
from courier's implementation).  I just extended Bill's port
to include domain support in addition to user support and
made the code available in the libvpopmail.a library so it
can be shared.  The name clashes with courier were taken
care of so you can still link with the courier code.

So there shouldn't be any issues and should work well with
other software.

Thanks,

Brian

   Brian,
   
   when you store a message inside an imap server (like when using 
   squirrelmail  courier, and keeping your outgoing message in the Sent 
   folder), or when using sqwebmail just keep it in the Sent or upload an 
   attach, which quota computing is done: courier, sqwebmail or vpopmail?
   
   I think in such cases courier or sqwebmail quota code is used, not 
   vpopmail's quota code, so there could be strong computing differences.
   
   In such cases, users may overfill domain quota.
   
   Tonino
   
   At 26/03/03 26/03/03 -0500, Brian Kolaci wrote:
   
   The domain quota code (as well as the user quota code)
   is enforced in the vdelivermail program.  It should be
   compatible with courier-imap, but not maildrop.  It also
   works within qmailadmin.  I'm not familiar with sqwebmail
   internals.
   
   Brian
   
   Please correct me if I'm wrong...
  
   As far as I understand, the domain quota code included in the last
   development version of vpopmail is NOT 100% compatible with other 
programs
   like sqwebmail, courier, ecc., so you may have some disalignments,
   depending on the products you're using.
  
   Tonino
  
   At 26/03/03 26/03/03 +0100, Jonas Pasche wrote:
   Hi Rick,
   
 Is it possible to set a quota for an entire domain using vpopmail?
   
   One of the top ten questions on the list. You didn't check the 
archives,
   didn't you? :)
   
   In short:
   
   For the stable version of vpopmail, there is no domain quota support,
   but you can create the domain under a dedicated system user and use
   system quotas for that user.
   
   In the latest development version of vpopmail, experimental domain 
quota
   support is included.
   
   Jonas
  
  
   
[EMAIL PROTECTED]Interazioni di Antonio Nati
   http://www.interazioni.it  [EMAIL PROTECTED]
   
  
   
   
   
   
[EMAIL PROTECTED]Interazioni di Antonio Nati
   http://www.interazioni.it  [EMAIL PROTECTED]
   
   





Re: [vchkpw] Domain quotas

2003-03-26 Thread tonix (Antonio Nati)
At 26/03/03 26/03/03 -0500, Brian Kolaci wrote:

When a message arrives and is delivered by vdelivermail,
the quotas are enforced.  It also updates the maildirsize
file (and uses the maildir++ naming conventions) thereby
updating the maildir++ quota usage that is shared amongst
all maildir++ compatible software.
From what I understand of maildir++, all the programs like
the POP, IMAP, and any maildir++ compatable software should
maintain the maildirsize file(s) for each folder, including
INBOX, so the usage should remain the same when moving messages
between folders.  The usage should be restored when deleting
a message.
It's all right when you receive messages because all the check is done in 
the receiving phase (vedelivermail). All right the same if you move 
messages between folders (sizes don't change).

But what happens when you create messages with sqwebmail or squirrelmail  
courier, or copy them to a remote IMAP server from your local folder?

When you create a message or upload an attach, and keep them inside your 
Sent folder, vdelivermail is not used, so single users may create and 
store messages until their personal .maildirsize let them do it. So they 
may overflow domain quota.

Tonino




Re: [vchkpw] Domain quotas

2003-03-26 Thread Brian Kolaci

   When a message arrives and is delivered by vdelivermail,
   the quotas are enforced.  It also updates the maildirsize
   file (and uses the maildir++ naming conventions) thereby
   updating the maildir++ quota usage that is shared amongst
   all maildir++ compatible software.
   
From what I understand of maildir++, all the programs like
   the POP, IMAP, and any maildir++ compatable software should
   maintain the maildirsize file(s) for each folder, including
   INBOX, so the usage should remain the same when moving messages
   between folders.  The usage should be restored when deleting
   a message.
   
   It's all right when you receive messages because all the check is done in 
   the receiving phase (vedelivermail). All right the same if you move 
   messages between folders (sizes don't change).
   
   But what happens when you create messages with sqwebmail or squirrelmail  
   courier, or copy them to a remote IMAP server from your local folder?
   
   When you create a message or upload an attach, and keep them inside your 
   Sent folder, vdelivermail is not used, so single users may create and 
   store messages until their personal .maildirsize let them do it. So they 
   may overflow domain quota.
   
   Tonino
   
I don't believe the Sent folder keeps track of any size.
I looked and don't see any maildirsize files in Sent folders.
So it doesn't look like it counts against either user or domain
quotas.  You'll have to take a look at the spec to be sure.
I don't believe the Trash folder keeps track of size either.

In any case, you can use system quotas if you want to bypass
any/all of this to make sure everything is accounted for.

Thanks,

Brian




Re: [vchkpw] Domain quotas

2003-03-26 Thread tonix (Antonio Nati)
At 26/03/03 26/03/03 -0500, Brian Kolaci wrote:

   When a message arrives and is delivered by vdelivermail,
   the quotas are enforced.  It also updates the maildirsize
   file (and uses the maildir++ naming conventions) thereby
   updating the maildir++ quota usage that is shared amongst
   all maildir++ compatible software.
   
From what I understand of maildir++, all the programs like
   the POP, IMAP, and any maildir++ compatable software should
   maintain the maildirsize file(s) for each folder, including
   INBOX, so the usage should remain the same when moving messages
   between folders.  The usage should be restored when deleting
   a message.
  
   It's all right when you receive messages because all the check is 
done in
   the receiving phase (vedelivermail). All right the same if you move
   messages between folders (sizes don't change).
  
   But what happens when you create messages with sqwebmail or 
squirrelmail 
   courier, or copy them to a remote IMAP server from your local folder?
  
   When you create a message or upload an attach, and keep them inside your
   Sent folder, vdelivermail is not used, so single users may create and
   store messages until their personal .maildirsize let them do it. So 
they
   may overflow domain quota.
  
   Tonino
  
I don't believe the Sent folder keeps track of any size.
I looked and don't see any maildirsize files in Sent folders.
So it doesn't look like it counts against either user or domain
quotas.  You'll have to take a look at the spec to be sure.
I don't believe the Trash folder keeps track of size either.
It does, I'm sure. You may disable it (for example in sqwebmail and likely 
courier), but if you're a provider you're going to control all the space 
customers are wasting (specially if they are webmail users), including 
Sent, Trash and additional folders.

In any case, you can use system quotas if you want to bypass
any/all of this to make sure everything is accounted for.
These problems must be highlighted much more, because people may think this 
vpopmail domain quota feature could solve all problems transparently, and 
this is not true.

I think this feature may be a first step, but must be followed by coherent 
changes in other packages, before it may be used in an integrated environment.

Ciao,

Tonino




Re: [vchkpw] Domain quotas

2003-03-26 Thread Brian Kolaci

   I don't believe the Sent folder keeps track of any size.
   I looked and don't see any maildirsize files in Sent folders.
   So it doesn't look like it counts against either user or domain
   quotas.  You'll have to take a look at the spec to be sure.
   I don't believe the Trash folder keeps track of size either.
   
   It does, I'm sure. You may disable it (for example in sqwebmail and likely 
   courier), but if you're a provider you're going to control all the space 
   customers are wasting (specially if they are webmail users), including 
   Sent, Trash and additional folders.

Take a look.  I have IMAP customers and the Sent
folders are full.  No maildirsize files in there.

   In any case, you can use system quotas if you want to bypass
   any/all of this to make sure everything is accounted for.
   
   These problems must be highlighted much more, because people may think this 
   vpopmail domain quota feature could solve all problems transparently, and 
   this is not true.
   
   I think this feature may be a first step, but must be followed by coherent 
   changes in other packages, before it may be used in an integrated 
environment.
   
   Ciao,
   
   Tonino
   

I agree.  For one, it doesn't take into account the
overhead with directories, control files, and lots more.
None of the overhead space is accounted for.

As stated in the courier distribution, only soft quotas
are implemented, meaning that the overhead space is ignored.
Read the README.maildirquotas in the courier distribution.
Anything in the Trash folder, as well as any messages Marked
for deletion but not yet deleted do not count in the quota.
Things in a shared folder also don't count (but if courier
had a concept of domain quotas, that could come into play).
The readme file doesn't mention the Sent folder, however
from examining the contents, it doesn't appear to keep track
of the size of that folder, nor impose quota constraints
on that.

I only did the domain quotas due to popular demand.  I did
the best I could with the available documentation and coding
conventions out there implementing the maildir++ quotas.  I
personally recommend using system quotas, but that appears to
be very difficult for some users.  I tested the user/domain
quotas using maildir++ quotas and it works fine, however if
you have system quotas as well, they will kick in before the
domain maildir++ quotas since system quotas take into account
the overhead, Trash'd, and deleted but not expunged space.
Even the courier readme recommends using system quotas.

Brian




Re: [vchkpw] Domain quotas

2003-03-26 Thread Ajai Khattri
Brian Kolaci wrote:

Even the courier readme recommends using system quotas.
But since all email files are owned by the vpopmail user that doesn't 
give you much flexibility if you want to implement quotas on a 
per-domain or per-user basis.

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] Domain quotas

2003-03-26 Thread Brian Kolaci
Even the courier readme recommends using system quotas.
   
   But since all email files are owned by the vpopmail user that doesn't 
   give you much flexibility if you want to implement quotas on a 
   per-domain or per-user basis.

When you create the account, use vadddomain -u username
to specify the system username that you want the domain
to be owned by.  It will create a domains directory in
the home directory of that user.  You set the system quota
for the username supplied.  This would require one system
account per domain.  You could then impose domain quotas
with system accounts and use the regular user quota for
per user constraints.

Brian





Re: [vchkpw] Domain quotas

2003-03-26 Thread tonix (Antonio Nati)
At 26/03/03 26/03/03 -0500, you wrote:

   I don't believe the Sent folder keeps track of any size.
   I looked and don't see any maildirsize files in Sent folders.
   So it doesn't look like it counts against either user or domain
   quotas.  You'll have to take a look at the spec to be sure.
   I don't believe the Trash folder keeps track of size either.
  
   It does, I'm sure. You may disable it (for example in sqwebmail and 
likely
   courier), but if you're a provider you're going to control all the space
   customers are wasting (specially if they are webmail users), including
   Sent, Trash and additional folders.

Take a look.  I have IMAP customers and the Sent
folders are full.  No maildirsize files in there.
I think they should all use the main .maildirsize.
With courier and sqwebmail all folders are included except trash, unless 
you include it with --with-trashquota configure option.

On my courier IMAP, when I see the total quota for a single user, it's 
included of all folders.

About the rest, I agree totally with you.

Ciao,

Tonino




[vchkpw] *.domain

2003-03-17 Thread Raboo



how do you like add in vpopmail?
*.domain???

if i want to get the mail for all the subdomains of 
a domain


Re: [vchkpw] *.domain

2003-03-17 Thread dWi saSonO b
i got lost the point here ??
is your point to make all subdomain email under 1 mail server ??
i think this is just setting up your mx in ns server
and mail server configure for virtual for all subdomain

and i dont think there is *.domain under vpopmail
but if you change some code you may add them just with *.domain




On Tue, 18 Mar 2003 00:24:34 +0100
Raboo [EMAIL PROTECTED] wrote:

 how do you like add in vpopmail?
 *.domain???
 
 if i want to get the mail for all the subdomains of a domain


-- 
thx
onOs



Re: [vchkpw] *.domain

2003-03-17 Thread Jonas Pasche
Hi Raboo,

 how do you like add in vpopmail?
 *.domain???
 
 if i want to get the mail for all the subdomains of a domain

There is no such option in vpopmail.

Jonas




RE: Re: [vchkpw] *.domain

2003-03-17 Thread domi
   
Hi !!

 Subject: Re: [vchkpw] *.domain
 
 Hi Raboo,
 
  how do you like add in vpopmail?
  *.domain???
  
  if i want to get the mail for all the subdomains of a domain
 
 There is no such option in vpopmail.
 
 Jonas
 
...but you can set it up manually creating a wildcarded
host in ../control/virtualdomains

please, check http://qmail.dcs.net/man/man9/qmail-send.html 

If you're planning to use this as default for all Your domains
then You need a simple hack in vpopmail code.

=d0Mi=
 




RE: [vchkpw] domain quota

2003-03-13 Thread Jason
I already had it working thanks to Brian.  I installed vpopmail version
5.3.19.

Thanks

-Original Message-
From: Brad King [mailto:[EMAIL PROTECTED]
Sent: Friday, March 14, 2003 5:39 AM
To: Jason
Subject: Re: [vchkpw] domain quota


The quota for a domain, will only be active for the user, if the user has
been added after the quota was set

Brad

- Original Message -
From: Jason [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 11:21 PM
Subject: [vchkpw] domain quota


 Hello,

 I've tried playing around with quotas on my qmail+vpopmail+qmailadmin
setup.
 User quota works.  But when I try to set domain quota on
.qmailadmin-limits
 (default_quota X) in the ~vpopmail/domains/somedomain.com directory,
it
 doesn't work.  I set the default_quota to 100, but I did not changed
the
 quota of the user which is 10MB.  I assumed that the system looks first on
 the domain quota.  It seems my assumption was wrong.  Is there something I
 need to do to make it work?  I just installed the programs as described on
 the README/INSTALL files.  By the way, I'm running qmail-1.03 +
 vpopmail-5.2.1 + qmailadmin 1.0.11.  Anybody?

 TIA








[vchkpw] domain problem

2003-03-06 Thread jake
I installed vpopmail on a server, then moved to a new box and moved data 
over. 1 thing i missed was the user account, the vpopmail user was 97 on 
one box and is 89 on the other. I have a domain that I cannot add or 
delete.  I changed the file permissions on the domain's folder but that 
didn't help. When I do a vdominfo it shows that domain as owned by the old 
user acount, #97. Even if I mv the folder for that domain out of the 
domains directory, it still shows up in vdominfo.  If I use vdomdel it says 
that domain doesn't exist, if I try to create is, it says it's already 
there.  Where else is virtual domain info kept?

--
jake


RE: [vchkpw] domain problem

2003-03-06 Thread Clayton Weise
In /var/qmail/users/assign.  You'll notice that the uid/gid of vpopmail is
in that file, change it to the new uid/gid of the vpopmail user then run
/var/qmail/bin/qmail-newu

-Clayton

-Original Message-
From: jake [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 06, 2003 1:30 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] domain problem


I installed vpopmail on a server, then moved to a new box and moved data 
over. 1 thing i missed was the user account, the vpopmail user was 97 on 
one box and is 89 on the other. I have a domain that I cannot add or 
delete.  I changed the file permissions on the domain's folder but that 
didn't help. When I do a vdominfo it shows that domain as owned by the old 
user acount, #97. Even if I mv the folder for that domain out of the 
domains directory, it still shows up in vdominfo.  If I use vdomdel it says 
that domain doesn't exist, if I try to create is, it says it's already 
there.  Where else is virtual domain info kept?


-- 
jake







  1   2   >