[vchkpw] domain maildir quotas

2002-11-21 Thread Brian Kolaci

Hi,

Bill, if your there, you'd probably know this one off
the top of your head...

Is there a maildir function to gather the current usage
for a whole domain?  I know its easy for disk based usage,
but what about maildir quotas?  If not, I'll put one together
to go to the domain directory and loop over all the subdirectories
with Maildirs in them and sum them up.

Thanks,

Brian





RE: [vchkpw] QmailAdmin ?

2002-11-21 Thread Joe Oaks
cool, thanks

-Original Message-
From: Michael Bowe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 4:56 PM
To: 'Vchkpw'
Subject: RE: [vchkpw] QmailAdmin ?


> -Original Message-
> From: Joe Oaks [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 22 November 2002 11:35 AM
> To: Vchkpw
> Subject: [vchkpw] QmailAdmin ?
>
>
> May not be the right list, but here goes a quick question.

The correct list is [EMAIL PROTECTED]

> qmailadmin, is there a way to set the domain in the login screen so
> we don't have to keep typing it in?

go to the dir where you untarred the qmailadmin source

cd html

vi show_login.html
  scroll about 1/2 way down and look for the html like this :

  change it to something like :

  save and exit

make
make install-strip

Michael.

 




RE: [vchkpw] QmailAdmin ?

2002-11-21 Thread Michael Bowe
> -Original Message-
> From: Joe Oaks [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 22 November 2002 11:35 AM
> To: Vchkpw
> Subject: [vchkpw] QmailAdmin ?
>
>
> May not be the right list, but here goes a quick question.

The correct list is [EMAIL PROTECTED]

> qmailadmin, is there a way to set the domain in the login screen so
> we don't have to keep typing it in?

go to the dir where you untarred the qmailadmin source

cd html

vi show_login.html
  scroll about 1/2 way down and look for the html like this :

  change it to something like :

  save and exit

make
make install-strip

Michael.





Re: [vchkpw] domain quotas

2002-11-21 Thread Brian Kolaci

Currently I use a separate system user for each domain,
and I bundle mail & web together with one quota.

I have a patched vdelivermail that enforces both per-user
and per-domain quotas, but not through maildir quotas.

I just submitted the patch for the vlimits data structure
and am currently updating the latest vdelivermail to use 
this API and enforce the quotas.  The new data structure
keeps track of the per-domain information.

I'll put in support for maildir quotas, but I'm wondering if
I should allow a switch or compile time option to enforce
disk based quotas instead/as well.  The only problem I forsee
is what happens if files are written into the area by another
program (i.e. qmail or procmail).  What if they don't support
the maildir quotas?  Then we need the disk based quotas.  Also,
if there are .qmail files or other control/data files there,
should they be included in the disk usage?  Of course the
maildir quotas don't include them, but the disk based does.

Thanks,

Brian

  > HI,
  > 
  > I was just wondering if creating a separate system user for each domain is 
  > still the only way of having a total quota for a domain rather than quotas 
  > for each user?
  > 
  > Is anyone working on adding support to vpopmail for domain based quotas 
under 
  > the the vpopmail.vchkpw user?
  > 
  > cheers, Iain.
  > 





Re: [vchkpw] Accounts in same domain

2002-11-21 Thread David Phillips
Please keep this on the list.

[EMAIL PROTECTED] writes:
> No errors jump out of the logs, here is what the normal lines look
> like:
>
> starting delivery 4: msg 3238236 to local [EMAIL PROTECTED]
> starting delivery 5: msg 3238238 to local [EMAIL PROTECTED]

Those aren't the complete logs.  Please post the complete logs for the
relevant deliveries.  We need to see the message(s) from the delivery.

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





[vchkpw] domain quotas

2002-11-21 Thread Iain
HI,

I was just wondering if creating a separate system user for each domain is 
still the only way of having a total quota for a domain rather than quotas 
for each user?

Is anyone working on adding support to vpopmail for domain based quotas under 
the the vpopmail.vchkpw user?

cheers, Iain.




[vchkpw] QmailAdmin ?

2002-11-21 Thread Joe Oaks
May not be the right list, but here goes a quick question.

qmailadmin, is there a way to set the domain in the login screen so 
we don't have to keep typing it in?

Joe




Re: [vchkpw] Accounts in same domain

2002-11-21 Thread [EMAIL PROTECTED]
The email gets sent to the bit bucket somehow, messages never seem to bounce.  
Normally this is a DNS issue, but I've checked backwards and forwards on the DNS and 
it is setup correctly.  It works fine when sending from another domain on the server, 
but sending to the same domain just disappears.

Thanks,

Rob
[EMAIL PROTECTED]

On Thu, 21 Nov 2002 15:17:34 -0600
"Trey Nolen" <[EMAIL PROTECTED]> wrote:

> You mention that sometimes the message bounces. Please send a sample bounced
> message to the list.
> 
> Trey Nolen
> 
> 
> 
> 
> 
> > I've setup qmail+qmailadmin+vpopmail+sqwebmail for two customers now, and
> they both seem to have the same problem.  They have a domain, say domain.com
> If [EMAIL PROTECTED] tries to send to [EMAIL PROTECTED], the message won't
> show up, or bounce.  If you send a message to the accounts from anywhere
> outside (hotmail, yahoo, etc ) the message shows up in the inbox.  If
> you send from domain2.com on the same server the message goes through.  Is
> there anything I could be missing?  Both forward and DNS are setup correctly
> for the domains, I went back and made sure before I emailed the list.  Any
> help anyone could offer would be appreciated, I'm stuck on this one ;-)
> >
> > Thanks,
> >
> > Rob
> > [EMAIL PROTECTED]
> >
> >
> 
> 




Re: [vchkpw] Accounts in same domain

2002-11-21 Thread Trey Nolen
You mention that sometimes the message bounces. Please send a sample bounced
message to the list.

Trey Nolen





> I've setup qmail+qmailadmin+vpopmail+sqwebmail for two customers now, and
they both seem to have the same problem.  They have a domain, say domain.com
If [EMAIL PROTECTED] tries to send to [EMAIL PROTECTED], the message won't
show up, or bounce.  If you send a message to the accounts from anywhere
outside (hotmail, yahoo, etc ) the message shows up in the inbox.  If
you send from domain2.com on the same server the message goes through.  Is
there anything I could be missing?  Both forward and DNS are setup correctly
for the domains, I went back and made sure before I emailed the list.  Any
help anyone could offer would be appreciated, I'm stuck on this one ;-)
>
> Thanks,
>
> Rob
> [EMAIL PROTECTED]
>
>





[vchkpw] Mysql Pop authentication

2002-11-21 Thread [EMAIL PROTECTED]
I am working on Matt's qmail toaster and am having problems with
POP authentication and trying to authenticate against mysql.

Tailing the mysql log show pop is trying to authenticate as
root@localhost.  I had a similar issue with vadddomain which I
corrected by deleting ~vpopmail/bin/ , deleting the source code,
untarring the vopmail src tar, editing the vmysql.h to use
user: 'vpopmail' at 'localhost' with 'my_password'. The
rerunning the configuration script and make all install.

So I think I have the same problem, but do not where to either
change what pop is using to loginto mysql OR what to delete so
that recompiling corrects this.

help please?

Joe
CedarNet LLC






Re: [vchkpw] Accounts in same domain

2002-11-21 Thread David Phillips
[EMAIL PROTECTED] writes:
> Is there anything I could be missing?

Yes, your logs.  What do the logs say?

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





[vchkpw] Accounts in same domain

2002-11-21 Thread [EMAIL PROTECTED]
I've setup qmail+qmailadmin+vpopmail+sqwebmail for two customers now, and they both 
seem to have the same problem.  They have a domain, say domain.com  If [EMAIL PROTECTED] 
tries to send to [EMAIL PROTECTED], the message won't show up, or bounce.  If you 
send a message to the accounts from anywhere outside (hotmail, yahoo, etc ) the 
message shows up in the inbox.  If you send from domain2.com on the same server the 
message goes through.  Is there anything I could be missing?  Both forward and DNS are 
setup correctly for the domains, I went back and made sure before I emailed the list.  
Any help anyone could offer would be appreciated, I'm stuck on this one ;-)

Thanks,

Rob
[EMAIL PROTECTED]




Re: [vchkpw] Guide for setting up a queueing server...

2002-11-21 Thread David Phillips
Brendan McAlpine writes:
> How long will it queue up mail if the primary server is down for an
> extended period of time?

queuelifetime

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





Re: [vchkpw] Guide for setting up a queueing server...

2002-11-21 Thread Brendan McAlpine
How long will it queue up mail if the primary server is down for an 
extended period of time?

Brendan
On Thursday, November 21, 2002, at 12:07 PM, Neulinger, Nathan wrote:

Just put

:primary.server.com

in your smtproutes, and add the domains to rcpthosts, and have the
secondary be listed as a lower priority MX for those domains. At which
point, it should take over. That will route all mail coming into that
box to the primary directly.

-- Nathan


Nathan Neulinger   EMail:  [EMAIL PROTECTED]
University of Missouri - Rolla Phone: (573) 341-4841
Computing Services   Fax: (573) 341-4216



-Original Message-
From: Bill Heller [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 9:04 PM
To: Brendan McAlpine
Cc: Bill Heller; [EMAIL PROTECTED]
Subject: Re: [vchkpw] Guide for setting up a queueing server...


There may be a better way of doing this but, to my way of thinking,
pulling it to the primary is the way to go. I have this kind
of set up
and I use fetchmail running on the primary server to periodically get
anything that spills over to the secondary.

-Bill


On Wednesday, November 20, 2002, at 03:15 PM, Brendan McAlpine wrote:


Can anyone point me to a resource (or resources) that

explain how to

set up a qmail queueing server?

Basically I need to set up a secondary, backup server that

acts as the

secondary mx which will queue all mail for one or two

domains, and try

to deliver it to the primary mx over and over until it can.

Pretty basic stuff, but I can't seem to find anyplace that

describes

how to set it up in qmail.

Thanks

Brendan












RE: [vchkpw] Guide for setting up a queueing server...

2002-11-21 Thread Neulinger, Nathan
Just put 

:primary.server.com

in your smtproutes, and add the domains to rcpthosts, and have the
secondary be listed as a lower priority MX for those domains. At which
point, it should take over. That will route all mail coming into that
box to the primary directly. 

-- Nathan


Nathan Neulinger   EMail:  [EMAIL PROTECTED]
University of Missouri - Rolla Phone: (573) 341-4841
Computing Services   Fax: (573) 341-4216


> -Original Message-
> From: Bill Heller [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, November 20, 2002 9:04 PM
> To: Brendan McAlpine
> Cc: Bill Heller; [EMAIL PROTECTED]
> Subject: Re: [vchkpw] Guide for setting up a queueing server...
> 
> 
> There may be a better way of doing this but, to my way of thinking, 
> pulling it to the primary is the way to go. I have this kind 
> of set up 
> and I use fetchmail running on the primary server to periodically get 
> anything that spills over to the secondary.
> 
> -Bill
> 
> 
> On Wednesday, November 20, 2002, at 03:15 PM, Brendan McAlpine wrote:
> 
> > Can anyone point me to a resource (or resources) that 
> explain how to 
> > set up a qmail queueing server?
> >
> > Basically I need to set up a secondary, backup server that 
> acts as the 
> > secondary mx which will queue all mail for one or two 
> domains, and try 
> > to deliver it to the primary mx over and over until it can.
> >
> > Pretty basic stuff, but I can't seem to find anyplace that 
> describes 
> > how to set it up in qmail.
> >
> > Thanks
> >
> > Brendan
> 
> 
> 




Re: [vchkpw] .cdb doesn't get compiled for roaming users

2002-11-21 Thread Brian Kolaci

edit cdb/conf-*
and change cc to gcc (assuming you're using gcc).

Brian

  > Hello
  > 
  > I'm running vpopmail-5.2.1 and courier-imap-1.5.3 with roaming support 
  > enabled.
  > 
  > /home/vpopmail/etc/open-smtp gets updated correctly with the ips 
  > fetching mail, but /home/vpopmail/etc/tcp.smtp.cdb doesn't get compiled. 
  > The error I get in my log is
  > 
  > pop3d: tcprules: fatal: unable to create 
  > ~vpopmail/etc/tcp.smtptmp.31382: file does not exist
  > 
  > Any help would be appriciated.
  > 
  > --niklas
  > 
  > 





Re: [vchkpw] How to leave a copy of email on the qmail server usingpop3 ...

2002-11-21 Thread up
On Thu, 21 Nov 2002, Lucy wrote:

> Thank you all for the suggestions.
> 
> I did do the client configuration as you described as below b4, 
> but no effects.  really  why ?
> Outlook Express -> Tools -> Accounts -> Mail -> Properties -> Advanced
> > and tick the box "Leave copy of message on server"
> 
> If server can keep the copy where does qmail store still 
> /home/vpopmail/domains/peak-mobile.com/lucy.liu/Maildir/new/
>  ?

~user/Maildir/cur

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED] http://3.am
=





[vchkpw] .cdb doesn't get compiled for roaming users

2002-11-21 Thread Niklas Alberth
Hello

I'm running vpopmail-5.2.1 and courier-imap-1.5.3 with roaming support 
enabled.

/home/vpopmail/etc/open-smtp gets updated correctly with the ips 
fetching mail, but /home/vpopmail/etc/tcp.smtp.cdb doesn't get compiled. 
The error I get in my log is

pop3d: tcprules: fatal: unable to create 
~vpopmail/etc/tcp.smtptmp.31382: file does not exist

Any help would be appriciated.

--niklas




[vchkpw] Password expiration

2002-11-21 Thread Albert Hopkins
Can't find it anywhere, but is there a password expiration feature in
vpopmail whereas users would be required to change their passwords after
x days?  If not, may I request this feature? ;-)

tia,
Albert





[vchkpw] vpopmail+sqwebamil

2002-11-21 Thread Matthias Trevarthan
Howdy list,

Does anyone here know if the new version of sqwebmail 
(sqwebmail-3.4.0.20021026.tar.bz2) is capable of changing vpopmail passwords?

I'm running FreeBSD 4.7-RELEASE and here is my sqwebmail compile sequence:
---
./configure --enable-https=auto --enable-softtimeout=600 \
--with-maxargsize=1000 \
--with-maxformargsize=1000 --with-trashquota \
--without-authpwd --without-authshadow \
--without-authpam --without-authuserdb \
--without-authmysql --without-authpgsql \
--without-authldap --without-authdaemon
gmake configure-check
gmake
gmake check
gmake install-strip
gmake install-configure
-

I'm also running the following apache setup:

Server Version: Apache/1.3.27 (Unix) PHP/4.2.3 mod_perl/1.27 mod_ssl/2.8.12 
OpenSSL/0.9.6g
--

Problem description:

When I fill out the 'Old password' 'New password' and 'New Password Again'
fields, then just press enter, I get the same page, but the password
does not update.

If I fill out the fields mentioned above, then click the 'Change Password'
button, I get a "Internal Server Error
The server encountered an internal error or misconfiguration and was unable to 
complete your request. blah blah blah", which is the same error I get if the
permissions are wrong on the cgi...


Any ideas?

I asked at the sqwebmail list, but they didn't answer... I thought that since 
this list gets more traffic, someone might have had the same problem here 
already.

Thanks,

Matthias




[vchkpw] change password

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

thanks.





Re: [vchkpw] How to leave a copy of email on the qmail server using pop3 ...

2002-11-21 Thread Michael Bowe
> > I am using qmail + vpopmail  once I pop3 my mails from the server
> > no matter what the configuration on the client side,  the server won't
> > leave a copy of those poped emails.

> It sounds like you have either a buggy or incorrectly configured client.

Or I guess it could be some sort of broken POP server

What POP server are you using?

Michael






Re: [vchkpw] How to leave a copy of email on the qmail server using pop3 ...

2002-11-21 Thread David Phillips
Lucy writes:
> I am using qmail + vpopmail  once I pop3 my mails from the server
> no matter what the configuration on the client side,  the server won't
> leave a copy of those poped emails.

Prove it.

In Outlook Express, under Options -> Maintenance -> Troubleshooting, check
the Mail box.  Receive your mail via POP3.  Find the POP3 log in your mail
store folder.  It will show the commands that Outlook Express sent to the
server.  If there is a DELE, then you know that it is deleting your mail
from the server.

Alternatively, login to the POP3 server manually using telnet:

$ telnet pop3.example.com 110
USER [EMAIL PROTECTED]
PASS password
LIST
RETR 1
QUIT

Do this a second time.  See if it actually deleted the message.

It sounds like you have either a buggy or incorrectly configured client.

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