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.




[vchkpw] Compile error. Any ideas

2003-07-25 Thread Hani Mouneimne
System is running FreeBSD 4.8 Stable. Currently running 5.3.21.
When trying to compile .22 getting the following ;


gcc -I. -Icdb -g -O2 -Wall -c vdelivermail.c
In file included from vdelivermail.c:32:
config.h:33: warning: `/*' within comment
vdelivermail.c: In function `date_header':
vdelivermail.c:1322: `timezone' redeclared as different kind of symbol
/usr/include/time.h:144: previous declaration of `timezone'
*** Error code 1

Stop in /root/vpopmail-5.3.22.
*** Error code 1

Stop in /root/vpopmail-5.3.22.
*** Error code 1

Stop in /root/vpopmail-5.3.22.
trance#


Any advice much appreciated.

Kind Regards
Hani





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] error:domain already exsits

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



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


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

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


Re: [vchkpw] maildrop config

2003-07-25 Thread Rudi
- Original Message 
From: Jesse Guardiani [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: Re: [vchkpw] maildrop config
Date: 25/07/03 05:18


 On Sunday 20 July 2003 09:06, Rudi Ahlers wrote:
 gt; Does anyone know if maildrop can be used to filter mail for all
virtual
 gt; users on a domain?
 gt; I have a dialup account, which I download
lt;all-addressesgt;@domain for, but
 gt; now I want to filter it, so that lt;usergt;@domain will point to
 gt; [EMAIL PROTECTED], and lt;user2gt;@domain will point to
[EMAIL PROTECTED]
 gt;
 gt; Can this be done?

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

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

Uhm, no, I download email via fetchmail, and then I need to distribute the
email to the local users on the LAN. The problem is, we only have on pop3
account with our upstream provider, yet many users on the internal LAN.
So, is [EMAIL PROTECTED] sends an email, our internal mailserver sends
it out fine. We have a dialup, so we have to use an upstream service provide
to collect our mail, on an ETRN mail account. Which means, our account is
for instance [EMAIL PROTECTED], but mail for [EMAIL PROTECTED]
(vi MX pointer) goes to [EMAIL PROTECTED], so does
[EMAIL PROTECTED] and [EMAIL PROTECTED] Now, want to filter those
emails for the various users, and forward it to their internal mail
accounts. Similar to what procmail would do, but procmail doesn't seem to
work. I have qmail + Maildir setup, and then vpopmail for our internal LAN,
for the mere reason that I want to be able to setup a few virtual internal
domains.

I hope this explains it better?


--

Kind Regards
Rudi Ahlers
Tradeleads IT Director
www.tradeleads.co.za
+27 (82) 926 1689




Re: [vchkpw] maildrop config

2003-07-25 Thread Rudi
- Original Message 
From: Jesse Guardiani [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: Re: [vchkpw] maildrop config
Date: 25/07/03 05:18


 On Sunday 20 July 2003 09:06, Rudi Ahlers wrote:
 gt; Does anyone know if maildrop can be used to filter mail for all
virtual
 gt; users on a domain?
 gt; I have a dialup account, which I download
lt;all-addressesgt;@domain for, but
 gt; now I want to filter it, so that lt;usergt;@domain will point to
 gt; [EMAIL PROTECTED], and lt;user2gt;@domain will point to
[EMAIL PROTECTED]
 gt;
 gt; Can this be done?

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

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

Uhm, no, I download email via fetchmail, and then I need to distribute the
email to the local users on the LAN. The problem is, we only have on pop3
account with our upstream provider, yet many users on the internal LAN.
So, is [EMAIL PROTECTED] sends an email, our internal mailserver sends
it out fine. We have a dialup, so we have to use an upstream service provide
to collect our mail, on an ETRN mail account. Which means, our account is
for instance [EMAIL PROTECTED], but mail for [EMAIL PROTECTED]
(vi MX pointer) goes to [EMAIL PROTECTED], so does
[EMAIL PROTECTED] and [EMAIL PROTECTED] Now, want to filter those
emails for the various users, and forward it to their internal mail
accounts. Similar to what procmail would do, but procmail doesn't seem to
work. I have qmail + Maildir setup, and then vpopmail for our internal LAN,
for the mere reason that I want to be able to setup a few virtual internal
domains.

I hope this explains it better?


--

Kind Regards
Rudi Ahlers
Tradeleads IT Director
www.tradeleads.co.za
+27 (82) 926 1689




[vchkpw] Apologies

2003-07-25 Thread Hani Mouneimne
I just noticed what I sent in the buglist on the sf.net devel site.

Regards
Hani




[vchkpw] Re: error:domain already exsits

2003-07-25 Thread Sérgio Manuel Rosa
Hi, have you cleaned or removed the cdb file in /var/qmail/users ? 

At the start of my days with qmail and vpopmail I made a lot of mistakes, 
and one of them, regarding a domain that I removed by hand (a nice rm-rf), I 
solved by deleting ththat file and them creating all over again. Probably 
that was not the correct way of doing it, but it worked. 

Just in case do backup all of your ~vpopmail first. :-) 

SRosa 

lixiang writes: 

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

 

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


Make sure that the domain you have deleted is no
longer in the /var/qmail/users/assign and
/var/qmail/control/virtualdomains files.  

 --- lixiang [EMAIL PROTECTED] wrote:  hi,list:
 sry, i didn't clearly describe my problem.
 
   
i use vpopmail-5.3.20, openldap-2.0.27 and enable
 --ldap=y.
i added a domain for example: test.com,  it's
 normal, then i delete this domain, it reports:error:
 success.  it seems strange? and i find that this
 domain's directory has been deleted  in
 ~vpopmail/domains .  but when i add this domain
 test.com again, then it reports:
 domain already exsits.   if i ./vdeldomain test.com,
 it then reports: error: Domain does not exist. if i
 execute ./vdominfo, i can find this domain's info. 
 
some ideas ?  thanks a lot.
  
 
   


Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/ 






Re: [vchkpw] Re: error:domain already exsits

2003-07-25 Thread lixiang
hi, Rosa:
  
  i  removed the cdb file, then  the problem is solved. thank you . :-)
  then , everything seems normal, except the pop authentication.  if i telnet 
localhost 110, and input the correct username and password, it reports:
  err aack, child crashed.


my configure parameters:

./configure --enalbe-ldap=y  --enable-logging=y 

redhat 7.3 
vpopmail-5.3.20
openldap-2.0.27
qmailadmin-1.0.20


any ideas?  
 



- Original Message - 
From: Sérgio Manuel Rosa [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 25, 2003 5:02 PM
Subject: [vchkpw] Re: error:domain already exsits


 Hi, have you cleaned or removed the cdb file in /var/qmail/users ? 
 
 At the start of my days with qmail and vpopmail I made a lot of mistakes, 
 and one of them, regarding a domain that I removed by hand (a nice rm-rf), I 
 solved by deleting ththat file and them creating all over again. Probably 
 that was not the correct way of doing it, but it worked. 
 
 Just in case do backup all of your ~vpopmail first. :-) 
 
 SRosa 
 
 lixiang writes: 
 
  hi, Pretchieo:
  thank you for your help.
  i deleted the domain in /var/qmail/user/assign and 
  /var/qmail/control/virtualdomains,rcphosts.  restart all the qmail services.   
  then i run  ./vdominfo, it list no domains.
 but when i ./vadddomain  test.com, it still reports:  already exsits.
 what still make vpopmail think this?   
  
   
  
  - Original Message - 
  From: Pretchie [EMAIL PROTECTED]
  To: lixiang [EMAIL PROTECTED]
  Sent: Thursday, July 24, 2003 7:09 PM
  Subject: Re: [vchkpw] error:domain already exsits 
  
  
  Make sure that the domain you have deleted is no
  longer in the /var/qmail/users/assign and
  /var/qmail/control/virtualdomains files.  
  
   --- lixiang [EMAIL PROTECTED] wrote:  hi,list:
   sry, i didn't clearly describe my problem.
   
 
  i use vpopmail-5.3.20, openldap-2.0.27 and enable
   --ldap=y.
  i added a domain for example: test.com,  it's
   normal, then i delete this domain, it reports:error:
   success.  it seems strange? and i find that this
   domain's directory has been deleted  in
   ~vpopmail/domains .  but when i add this domain
   test.com again, then it reports:
   domain already exsits.   if i ./vdeldomain test.com,
   it then reports: error: Domain does not exist. if i
   execute ./vdominfo, i can find this domain's info. 
   
  some ideas ?  thanks a lot.

   
 
  
  
  Want to chat instantly with your online friends?  Get the FREE Yahoo!
  Messenger http://uk.messenger.yahoo.com/ 
  
  
 
 


[vchkpw] Backup Emailserver?

2003-07-25 Thread Jens Gassmann
Hi,

how do you backup your emailserver forwards precipitate?  Can I backup
with rsync simply /home/vpopmail and/var/qmail/ on a second server?
About ideas and suggestion I would be pleased.

Thanks and greetings

Jens Gassmann

--
Webmaster http://www.atomix.de




Re: [vchkpw] Backup Emailserver?

2003-07-25 Thread Rudi
- Original Message 
From: Jens Gassmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: [vchkpw] Backup Emailserver?
Date: 25/07/03 12:06


 Hi,

 how do you backup your emailserver forwards precipitate?  Can I backup
 with rsync simply /home/vpopmail and/var/qmail/ on a second server?

 About ideas and suggestion I would be pleased.

 Thanks and greetings

 Jens Gassmann

 --
 Webmaster http://www.atomix.de


I've also got a question on this topic:
If I have a primary, and a backup mailserver, and the primary goes off, how
do I automatically redirect clients to the backup mailserver? And how does
one keep the username /password database synced? The other question is, what
happens when the primary comes back online again? How do clients get their
email from the backup server? Do I manually have to copy all the mail onto
the primary server again?

--

Kind Regards
Rudi Ahlers
Tradeleads IT Director
+27 (82) 926 1689




Re: [vchkpw] Compile error. Any ideas

2003-07-25 Thread Tom Collins
On Friday, July 25, 2003, at 12:22  AM, Hani Mouneimne wrote:
gcc -I. -Icdb -g -O2 -Wall -c vdelivermail.c
In file included from vdelivermail.c:32:
config.h:33: warning: `/*' within comment
vdelivermail.c: In function `date_header':
vdelivermail.c:1322: `timezone' redeclared as different kind of symbol
/usr/include/time.h:144: previous declaration of `timezone'
The time.h problem is fixed in 5.3.23, but I don't have enough 
information to help with config.h.

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



[vchkpw] vpopmail 5.3.23 released

2003-07-25 Thread Tom Collins
I'm leaving for the airport in 5 minutes, but here's the 5.3.23 release:

5.3.23

Tom Collins
- Removed timezone declaration to correct compile problem on
  FreeBSD.
5.3.22

Moshe Jacobson
- Fix maildir_to_email() to work with hashed domain directories.
Matt Berardi
- Add 2 second timeout on MySQL connections.
Jens Jahr
- Check for failure when calling auth module.
- Fix vadddomain/vdeldomain when the auth module call fails.
- Fix vsetuserquota to include status messages.
Tom Collins
- Add Date header to over quota warning message.
- Fix possible buffer overflows when setting envbuf[1-4] in
  vchkpw.c. (bug spotted by Michael Bowe)
- Remove error messages from vmysql.c that could interfere with
  POP or SMTP AUTH client sessions.
- Switched from using --enable-default-domain to storing default
  domain in ~vpopmail/etc/defaultdomain.  This should provide
  flexibility when compiling packages for distribution.



RE: [vchkpw] vpopmail 5.3.23 released

2003-07-25 Thread Hani Mouneimne
Still problematic on 2 boxes

Making all in cdb
gcc -I. -Icdb -g -O2 -Wall -c vchkpw.c
gcc -I. -Icdb -g -O2 -Wall -c hmac_md5.c
gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a
-lcrypt
gcc -I. -Icdb -g -O2 -Wall -c vdelivermail.c
vdelivermail.c: In function `date_header':
vdelivermail.c:1333: invalid operands to binary /
vdelivermail.c:1321: warning: `tz' might be used uninitialized in this
function
*** Error code 1

Stop in /usr/home/smooth/vpopmail-5.3.23.
*** Error code 1

Stop in /usr/home/smooth/vpopmail-5.3.23.
*** Error code 1

Stop in /usr/home/smooth/vpopmail-5.3.23.
bsd#

Same on the other server.

Regards
Hani

-Original Message-
From: Tom Collins [mailto:[EMAIL PROTECTED] 
Sent: 25 July 2003 12:54
To: vpopmail list
Subject: [vchkpw] vpopmail 5.3.23 released


I'm leaving for the airport in 5 minutes, but here's the 5.3.23 release:

5.3.23

Tom Collins
- Removed timezone declaration to correct compile problem on
   FreeBSD.

5.3.22

Moshe Jacobson
- Fix maildir_to_email() to work with hashed domain directories.

Matt Berardi
- Add 2 second timeout on MySQL connections.

Jens Jahr
- Check for failure when calling auth module.
- Fix vadddomain/vdeldomain when the auth module call fails.
- Fix vsetuserquota to include status messages.

Tom Collins
- Add Date header to over quota warning message.
- Fix possible buffer overflows when setting envbuf[1-4] in
   vchkpw.c. (bug spotted by Michael Bowe)
- Remove error messages from vmysql.c that could interfere with
   POP or SMTP AUTH client sessions.
- Switched from using --enable-default-domain to storing default
   domain in ~vpopmail/etc/defaultdomain.  This should provide
   flexibility when compiling packages for distribution.







Re: [vchkpw] Backup Emailserver?

2003-07-25 Thread Nick Harring
Rudi-
If the servers are not geographically separated, then you can do this
fairly easily by simply placing them behind some sort of
load-balancing/fail-over device (Foundry, Cisco Local Director, Linux
LVS director) and either load balance them or do active/passive
failover.
For the vpopmail database, if you're using MySQL, you can simply setup
MySQL replication, however changes made to the secondary will not
replicate back to the primary when it comes back up. For that you would
need to run a third MySQL server to act as the update server which then
replicates out to both clients. When the primary server came back online
you'd simply dump the database on the update server and import that into
the client and restart replication.
Email files are even easier since you can simply use nfs on a third
server, or look into a replicating file system like Coda or Intermezzo
(both are supported in the linux kernel, but I have no real experience
with either). If you deal in small volume of email, simply rsync'ing
when the primary comes back online would probably also work, and copy
the mysql database back over wouldn't be too much trouble either.
The final option, if you have no hardware to spare for this, to handle
smtp/imap/pop3 traffic failover would be to use some of the tools from
the Linux-HA project and use a virtual IP to actually receive outside
traffic on, and have that migrate to the unfailed server in the event of
a failure.
I've got a configuration similar to the first suggestion, and have built
redundant pairs of machines using the second configuration, so let me
know if you have any more specific questions regarding these sorts of
setups.
On Fri, 2003-07-25 at 05:22, Rudi wrote:

 
 I've also got a question on this topic:
 If I have a primary, and a backup mailserver, and the primary goes off, how
 do I automatically redirect clients to the backup mailserver? And how does
 one keep the username /password database synced? The other question is, what
 happens when the primary comes back online again? How do clients get their
 email from the backup server? Do I manually have to copy all the mail onto
 the primary server again?
 
 --
 
 Kind Regards
 Rudi Ahlers
 Tradeleads IT Director
 +27 (82) 926 1689
 



Re: [vchkpw] Backup Emailserver?

2003-07-25 Thread Bill Sappington
While I am not sure exactly how this works

UUNET provides backup SMTP for me.  I have an e-mail server at my site, 
should my site go down for any particular reason they catch my e-mail, and 
then when my site is back up all the e-mail starts rolling in.

Now I know this is handled partialy by my MX record for the domain to whit:

mydomain.com

MX priority 10 mail.mydomain.com
MX priority 15 mail.myisp.com
I am pretty sure that even if you have two physical servers thats how you 
would set it up.  As to how to get one server to recieve _everything_, 
unconditionaly, and then every know and then look to see if your primary 
server was alive, then forward everything it had received to your primary 
server and ONLY your primary server is a mystery to me.  I know at one time 
that you had to perform an ETRN _from your primary server_ to get the 
backup smtp server to start sending all the stuff it collected for you 
while you were down, but I dont think that is the case anymore, your 
millage may very.

It would seem to me you would want your secondary mail server someplace 
other then on the network that your primary is should you internet 
connection go down.

On Fri, 25 Jul 2003 12:06:46 +0200, Jens Gassmann [EMAIL PROTECTED] 
wrote:

Hi,

how do you backup your emailserver forwards precipitate?  Can I backup
with rsync simply /home/vpopmail and/var/qmail/ on a second server?
About ideas and suggestion I would be pleased.

Thanks and greetings

Jens Gassmann

--
Webmaster http://www.atomix.de











[vchkpw] Error in Authorisation

2003-07-25 Thread Pete OConnell



I run the following command

/home/vpopmail/bin# ./vadduser [EMAIL PROTECTED]

and use the password as bigbob (not usual password) 
:) and it fails authorisation.

-ERR authorization failed
I use the username of [EMAIL PROTECTED] 
am I doing something wrong?

Just trying to get mailserver up and running 
fully.


Thanks in anticipation

Pete


[vchkpw] maildrop w/ tmda already working

2003-07-25 Thread Brian
Hello all,

Sort of a backwards question.

I've already taken the time to 'figure out' (poking and prodding really 
till I got it right.. ) how to put tmda in place for users in a vpopmail 
domain.  What I'm now trying to do is put maildrop in for a user that 
I've already given tmda to.

my question is..

what do I have to do to get maildrop to work?  Obviously I would be 
calling tmda from a last rule in maildrop, and I have to take my .qmail 
files out that I have for the domain user.. but what do I need to do?

I'm having trouble understanding exactly how vpopmail deals with my 
.qmail files in the root of the domain as opposed to in the users home.

As in why do the .qmail files exist in the domain directory? if I 
already have a domain user bcook, why did I need to put .qmail-bcook and 
.qmail-bcook-default in the root of the domain?

Hope I'm asking this the right way.

some files to show:

[/usr/local/vpopmail/domains/poklib.org]# 500  head .qmail-bcook*

== .qmail-bcook ==
|preline -f /usr/local/bin/tmda-filter -c 
/usr/local/vpopmail/domains/poklib.org/bcook/.tmda/config -t 
/usr/local/vpopmail/domains/poklib.org/bcook/.tmda/templates/
|/usr/local/vpopmail/domains/poklib.org/bcook/Maildir/

== .qmail-bcook-default ==
|preline -f /usr/local/bin/tmda-filter -c 
/usr/local/vpopmail/domains/poklib.org/bcook/.tmda/config -t 
/usr/local/vpopmail/domains/poklib.org/bcook/.tmda/templates/
|/usr/local/vpopmail/domains/poklib.org/bcook/Maildir/

[/usr/local/vpopmail/domains/poklib.org]# 504  ls -l .qmail-bcook*
-rw-r--r--  1 vpopmail  vchkpw  220 Jul 25 08:30 .qmail-bcook
lrwxr-xr-x  1 root  vchkpw   51 Jul 21 13:31 .qmail-bcook-default - 
/usr/local/vpopmail/domains/poklib.org/.qmail-bcook

[EMAIL PROTECTED] [/usr/local/vpopmail/domains/poklib.org/bcook]# 508  ls 
-l .qmail*
-rw-r--r--  1 vpopmail  vchkpw  105 Jul 21 12:59 .qmail
lrwxr-xr-x  1 root  vchkpw6 Jul 21 12:59 .qmail-default - .qmail

[EMAIL PROTECTED] [/usr/local/vpopmail/domains/poklib.org/bcook]# 509  head 
.qmail*
== .qmail ==
|/var/qmail/bin/preline /usr/local/bin/tmda-filter
/usr/local/vpopmail/domains/poklib.org/bcook/Maildir/

== .qmail-default ==
|/var/qmail/bin/preline /usr/local/bin/tmda-filter
/usr/local/vpopmail/domains/poklib.org/bcook/Maildir/




Re: [vchkpw] vpopmail 5.3.23 released

2003-07-25 Thread Jesse Guardiani
On Friday 25 July 2003 08:28, Hani Mouneimne wrote:
 Still problematic on 2 boxes

I'm running FreeBSD 4.7-RELEASE and I'm getting the same
thing.

Is the 'timezone' variable on line 1333 of vdelivermail.c supposed
to be generated by tzset()? I can't find tzset() in my source tree,
but I have a man page for it which doesn't list a 'timezone' var.

If I could find the bloody thing in the source then I could figure
out it's type and submit a patch I think...

I'll keep looking...



 Making all in cdb
 gcc -I. -Icdb -g -O2 -Wall -c vchkpw.c
 gcc -I. -Icdb -g -O2 -Wall -c hmac_md5.c
 gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o md5.o hmac_md5.o libvpopmail.a
 -lcrypt
 gcc -I. -Icdb -g -O2 -Wall -c vdelivermail.c
 vdelivermail.c: In function `date_header':
 vdelivermail.c:1333: invalid operands to binary /
 vdelivermail.c:1321: warning: `tz' might be used uninitialized in this
 function
 *** Error code 1

 Stop in /usr/home/smooth/vpopmail-5.3.23.
 *** Error code 1

 Stop in /usr/home/smooth/vpopmail-5.3.23.
 *** Error code 1

 Stop in /usr/home/smooth/vpopmail-5.3.23.
 bsd#

 Same on the other server.

 Regards
 Hani

-- 
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





[vchkpw] PATCH: Define custom Domain Directory

2003-07-25 Thread Mike Miller
I have noticed two recent releases and I must encourage that this patch (or 
a variation of it) to enter the development release.  I have received great 
comments back via e-mail and a few through the list of people who love the 
feature and they seem to have tested it as working.
 What does one have to do to get this into the distribution for all to 
appreciate :)  As opposed to having custom direcories to store domains in, 
this patch allows a user to simply store a domain anywhere- in a 
pre-existing directory for mail.

Cheers;
--
Mike
[note: Michael Rogers is not my real name]

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


diff
Description: Binary data


Re: [vchkpw] PATCH: Define custom Domain Directory

2003-07-25 Thread Jeff Hedlund


Mike Miller wrote:
Cheers;
--
Mike
[note: Michael Rogers is not my real name]
How about Mike Miller?

Jeff
--
  /\  /\  ......[EMAIL PROTECTED]
 /  \/  \ a t r i x  .  .  .  .  .  .  .   (770) 794-7233
 s o f t w a r e  i n c  ......   http://www.matrixsi.com



[vchkpw] Upgraded from old version to newest - Some domains have problems

2003-07-25 Thread jeff thomas
There are over 100 domains on the server. Over half
seem to be working just fine. A handful are not. 

For example, there's an email acct... [EMAIL PROTECTED]
whenever i try to send mail to it
Sorry, no mailbox here by that name
but, its there in domains/domain2
as a pop3 account
i did a vdeluser and vadduser
same thing
it shows up in qmailadmin
but it cant receive mail
nor can it login (pop3, sqwebmail, etc)

I fixed this problem by doing a vdeldomain then
vadddomain and recreating the accounts. However, this
cannot be the best (only?) way to get these accounts
to work again. I dont want to manually recreate 25
domains each with 100 users... then tell each user
that they have a new password.

Any thoughts?

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



Re: [vchkpw] PATCH: Define custom Domain Directory

2003-07-25 Thread spork
On Fri, 25 Jul 2003, Mike Miller wrote:

   What does one have to do to get this into the distribution for all to
 appreciate :)  As opposed to having custom direcories to store domains in,
 this patch allows a user to simply store a domain anywhere- in a
 pre-existing directory for mail.

Tom (and others, I'm not sure who) have setup qmailadmin and vpopmail
projects at SourceForge.  Part of that is an area where you can upload
patches.  Tom is on vacation until August 1st, but that's still the best
place to submit patches/bugs/etc.

https://sourceforge.net/projects/vpopmail/
https://sourceforge.net/projects/qmailadmin/

Lots of very good work going on lately...

Charles

 Cheers;
 --
 Mike

 [note: Michael Rogers is not my real name]

 _
 The new MSN 8: smart spam protection and 2 months FREE*
 http://join.msn.com/?page=features/junkmail




Re: [vchkpw] Request for comments

2003-07-25 Thread spork
On Fri, 25 Jul 2003, Gerald Villemure wrote:

 Would GREATLY improve the usability of vpopmail in many environments.

 Am I the only one to think this?

No, I'm sure, but right now I think there's a lot of work going into
cleaning things up and making some basic decisions on how things should
work going forward.  I'm sure there's plenty of people that would love to
see a PHP qmailadmin work-alike, and there is already one (kind of) for
squirrelmail, in the form of a plugin.  It's a hack though.

When the next devel cycle happens, I think it would be worthwhile to look
at turning vpopmail into a fully db-backed delivery agent.  Some goals
that that would help accomplish are:

-easy development of a web frontend in any language that can talk SQL
-easy integration with other web products, such as squirrelmail
-ability to use vpopmail with other MTAs
-easy integration with many billing backends
-more efficiency; instead of having to read upwards of five files for
every delivery and executing as many programs, one db call and one call to
a filteing program.

It seems to me that vdelivermail is very close to being able to do this.

Additionally, working support for other MTAs into vadd/delete would not be
terribly difficult...

I think a vchkpw-devel list would also be worthwhile.  It has helped keep
things in order for qmailadmin...

Charles

 Gérald







Re: [vchkpw] Upgraded from old version to newest - Some domains haveproblems

2003-07-25 Thread Rick Macdougall
Hi,

From what version did you upgrade from and to what version did you 
upgrade to ?

Regards,

Rick

jeff thomas wrote:

There are over 100 domains on the server. Over half
seem to be working just fine. A handful are not. 

For example, there's an email acct... [EMAIL PROTECTED]
whenever i try to send mail to it
Sorry, no mailbox here by that name
but, its there in domains/domain2
as a pop3 account
i did a vdeluser and vadduser
same thing
it shows up in qmailadmin
but it cant receive mail
nor can it login (pop3, sqwebmail, etc)
I fixed this problem by doing a vdeldomain then
vadddomain and recreating the accounts. However, this
cannot be the best (only?) way to get these accounts
to work again. I dont want to manually recreate 25
domains each with 100 users... then tell each user
that they have a new password.
Any thoughts?

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com





Re: [vchkpw] Request for comments

2003-07-25 Thread Jeff Hedlund
spork wrote:
I think a vchkpw-devel list would also be worthwhile.  It has helped keep
things in order for qmailadmin...
I agree.

Jeff