Re: [vchkpw] MySql load causes bounced mail

2004-11-17 Thread Rick Macdougall

Tom Collins wrote:
On Nov 17, 2004, at 4:33 PM, Rick Macdougall wrote:
Speaking of which, Tom I do have a patch to correct courier-imap's 
authvckpw to work with the new webmail, no_imap code.  Should I submit 
that to the dev list and we can include it in the contrib directory, 
binc imap really didn't work out for us.

See if you can push it through to MrSam for inclusion in a future 
Courier-IMAP release.  If you'd like, you can send it to me first and 
I'll take a look at it.

I know that Michael Bowe has worked on the vpopmail code in Courier-IMAP 
before, I'm not sure how he got changes pushed into the main distribution.
Hi,
It's basically your new code in vchkpw.c placed into the preauthvchkpw.c 
of courier-imap.  I'll do up a diff in the morning and send it to the 
devel list.

Regards,
Rick


Re: [vchkpw] MySql load causes bounced mail

2004-11-17 Thread Tom Collins
On Nov 17, 2004, at 4:33 PM, Rick Macdougall wrote:
Speaking of which, Tom I do have a patch to correct courier-imap's 
authvckpw to work with the new webmail, no_imap code.  Should I submit 
that to the dev list and we can include it in the contrib directory, 
binc imap really didn't work out for us.
See if you can push it through to MrSam for inclusion in a future 
Courier-IMAP release.  If you'd like, you can send it to me first and 
I'll take a look at it.

I know that Michael Bowe has worked on the vpopmail code in 
Courier-IMAP before, I'm not sure how he got changes pushed into the 
main distribution.

--
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] MySql load causes bounced mail

2004-11-17 Thread Rick Macdougall

Rainer Duffner wrote:
Jason Wilkinson wrote:
Jason Wilkinson wrote:
Hello all,
I've searched and wasn't able to come up with an answer to this
question. Though I did see a reference to it in the Bug Lists (
http://tinyurl.com/59gos ).
We're hitting a wall with our MySql install and our traffic is
filling up all available MySql connections. We are currently working
to tune our MySql install. Until that happens, I was wondering if
there was a reason that vpopmail bounces all mail with a 5xx response
when it can't connect to MySql.
I know that I can increase my max_connections in MySql...it just
seems as if vpopmail should respond with a 4xx response so that valid
mail isn't bounced.
I will admit that I am using an old version of vpopmail (5.2). If
this has been fixed I'll work towards an upgrade.
Thanks in advance,
-jw-

Can anybody tell me if this issue is being addressed in future releases?
 

Hi,
We've been talking about the problem in vpopmail-devel and the real devs 
(I just test and recommend stuff, not a real dev) are coming up with 
some good solutions.

I think Tom has already started moving all the mysql stuff into it's own 
area re the creation of tables etc so that unneeded calls to mysql are 
no longer required.

If/when I get some more free time I will be going through the code 
myself to see what can be done. I do sql/MySQL administration for a 
living, I don't really do C coding for a living although I have been 
known to submit patches from time to time.

Speaking of which, Tom I do have a patch to correct courier-imap's 
authvckpw to work with the new webmail, no_imap code.  Should I submit 
that to the dev list and we can include it in the contrib directory, 
binc imap really didn't work out for us.

Regards,
Rick


Re: [vchkpw] MySql load causes bounced mail

2004-11-17 Thread Rainer Duffner
Jason Wilkinson wrote:
Jason Wilkinson wrote:
Hello all,
I've searched and wasn't able to come up with an answer to this
question. Though I did see a reference to it in the Bug Lists (
http://tinyurl.com/59gos ).
We're hitting a wall with our MySql install and our traffic is
filling up all available MySql connections. We are currently working
to tune our MySql install. Until that happens, I was wondering if
there was a reason that vpopmail bounces all mail with a 5xx response
when it can't connect to MySql.
I know that I can increase my max_connections in MySql...it just
seems as if vpopmail should respond with a 4xx response so that valid
mail isn't bounced.
I will admit that I am using an old version of vpopmail (5.2). If
this has been fixed I'll work towards an upgrade.
Thanks in advance,
-jw-
Can anybody tell me if this issue is being addressed in future releases?
 

I think, it is being addressed and will be incorporated in a future version.
I think, as of today, you can only try spreading the load amongst more 
servers, via mysql-replication.

It doesn't protect from spikes to one particular server, though.

Rainer
--
===
~ Rainer Duffner - [EMAIL PROTECTED] ~
~   Freising - Munich - Germany   ~
~Unix - Linux - BSD - OpenSource - Security   ~
~  http://www.ultra-secure.de/~rainer/pubkey.pgp  ~
===


RE: [vchkpw] MySql load causes bounced mail

2004-11-17 Thread Jason Wilkinson
Jason Wilkinson wrote:
> Hello all,
> 
> I've searched and wasn't able to come up with an answer to this
> question. Though I did see a reference to it in the Bug Lists (
> http://tinyurl.com/59gos ).
> 
> We're hitting a wall with our MySql install and our traffic is
> filling up all available MySql connections. We are currently working
> to tune our MySql install. Until that happens, I was wondering if
> there was a reason that vpopmail bounces all mail with a 5xx response
> when it can't connect to MySql.
> 
> I know that I can increase my max_connections in MySql...it just
> seems as if vpopmail should respond with a 4xx response so that valid
> mail isn't bounced.
> 
> I will admit that I am using an old version of vpopmail (5.2). If
> this has been fixed I'll work towards an upgrade.
> 
> Thanks in advance,
> 
> -jw-

Can anybody tell me if this issue is being addressed in future releases?




Re: [vchkpw] vchkpw segfault with smtp auth on amd64

2004-11-17 Thread X-Istence
On Nov 16, 2004, at 5:28 PM, Martin Kos wrote:
hi
i've done a fresh qmail/vpopmail installation on a debian amd64 port. 
everything seems to work just fine, except the smtp auth. sending an 
email without smtp auth works just fine. but if i try it with smtp 
auth i get the following in my logs:

kernel: vchkpw[28473] segfault at  rip 
 rsp 007fbab0 error 14

the only thing that i have found on the net is the following:
http://archives.neohapsis.com/archives/openbsd/2004-05/1814.html
i'm not sure if it is really a vpopmail problem. perhaps somebody has 
already had the same problem? i've tried with disalbing the -02 in the 
CFLAGS but that does not help. compiling vpopmail with gcc 3.4 was the 
same thing :-(

greets
 KoS

I was trying to trouble shoot this with an AMD 64 server, but was 
unable to find the culprit, since then we just grabbed a 32 bit old P3, 
and put that up as our mail gateway with SMTP auth, and all works well 
again.

It would seem that the data that qmail-smtpd sends is not correct, for 
some reason it sends incorrect base64 decoded information.

Best way to test it that i have done is use strace:
telnet localhost 25
in another terminal:
ps aux | grep qmail-smtpd
look for the qmail-smtpd which is not tcpserver, and then use strace to 
hook onto its PID.

Then in the telnet window send the commands to the server until it says 
auth failed, in which case you just QUIT and then grab the strace 
output.

X-Istence


Re: [vchkpw] Managing virt domain settings in vpopmail

2004-11-17 Thread Tim Grossner
LOL this system is looking like its running 5.0.1

The previous admin really was on top of things eh?


[vchkpw] problems running sqwebmail with vpopmail

2004-11-17 Thread Ventsislav Velkov



Hi I am trying to run sqwebmail 
sqwebmail-4.0.7.20041103 with vpopmail-5.4.6 , I installed 
courier-authlib-0.50.20041103 with
following options trying to make it work with 
authvchkpw: 
./configure --without-authcustom 
--without-authmysql --without-authpgsql --without-authshadow --without-authpwd 
--without-authldap --without-authpam --with-redhat 
 
then sqwebmail with:
./configure --without-authpam --without-authuserdb 
--enable-webpass=yes --without-authpwd --without-authshadow 
--enable-cgibindir=/usr/local/apache2/cgi-bin 
--enable-imagedir=/usr/local/apache2/htdocs
 
The system is Redhat 9 . When I start the 
/usr/lib/sqwebmail/libexec/sqwebmaild.rc and try to login via the web, I recieve 
"Invalid user id or password Please try again".
 
 
How to make sqwebmail work with 
authvchkpw.
 
 
Thanks in advance.
Veno


Re: [vchkpw] Managing virt domain settings in vpopmail

2004-11-17 Thread Tom Collins
On Nov 17, 2004, at 10:46 AM, Tim Grossner wrote:
OK i found the file...its in the /home/vpopmail/domains/xxx/ dir.
File is  .qmailadmin-limits
It being a . file i didnt see it before when i was looking, for some
reason i didnt do an ls -lsa in that dir. Silly me :-)
Anyway, I doubt i end up upgrading this system. Around here change can 
be bad.

If you're running 5.2.1, at the very least try upgrading to 5.2.2.  
There were a lot of problems with 5.2.1 that we fixed in 5.2.2 without 
making grand changes to the way vpopmail worked.

An upgrade from 5.2 to 5.4 would be significant, but can be done 
safely.  It's possible to compile and test the vpopmail programs from 
the source directory before installing them.

--
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] Managing virt domain settings in vpopmail

2004-11-17 Thread Tim Grossner
OK i found the file...its in the /home/vpopmail/domains/xxx/ dir. 
File is  .qmailadmin-limits

It being a . file i didnt see it before when i was looking, for some
reason i didnt do an ls -lsa in that dir. Silly me :-)

Anyway, I doubt i end up upgrading this system. Around here change can be bad.

Tim


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/


Re: [vchkpw] Managing virt domain settings in vpopmail

2004-11-17 Thread Tom Collins
On Nov 17, 2004, at 9:14 AM, Tim Grossner wrote:
Yeah, after searching this mailing lists archives, i would have
thought that too but that file doesnt exist...I am now dazed and
confused.
vmoddomlimits was added to 5.3.25.  You should consider upgrading to 
the latest release.  5.4.7 has been out since September 23, and doesn't 
have any known problems.  5.4.8 was recently released, and hasn't been 
thoroughly tested yet.  If you were to look through the ChangeLog, 
you'd find a significant number of changes since the 5.2 release, and 
even since the early 5.3 releases.

Until you upgrade, you can take a look at README.vlimits (which you'll 
have to pull from 5.4.0 or later) for information on how to manually 
the .qmailadmin-limits file for a domain.  Of course, there's a good 
chance that limits themselves weren't introduced until 5.3 (maybe 
around 5.3.9?).

--
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] Adding a message footer

2004-11-17 Thread Rick Romero
On Wed, 2004-11-17 at 11:42, Jeremy Kitchen wrote:
> On Wednesday 17 November 2004 10:55 am, [EMAIL PROTECTED] wrote:
> > Hi everyone,
> >
> > How do i add a per domain footer message?
> 
> how is this related to vpopmail?  Please be more specific when asking your 
> questions as yours sounds like you want to add stupid disclaimers to outbound 
> mails.
> 
> http://www.goldmark.org/jeff/stupid-disclaimers/

It's not vpopmail, but it would be more useful to some of us if we could
add advertisements to our free SMTP users without a whole hullabaloo. :)

I seem to remember there being an ad for Inter7 at the bottom of the
vqregister email ;)

Rick

> 
> -Jeremy



Re: [vchkpw] Managing virt domain settings in vpopmail

2004-11-17 Thread Alex Pleiner
* Tim Grossner <[EMAIL PROTECTED]> [2004-11-17 18:32]:
> Yeah, after searching this mailing lists archives, i would have
> thought that too but that file doesnt exist...I am now dazed and
> confused.

>   36 -rwx--x--x1 vpopmail vchkpw  35644 Nov 21  2003 clearopensmtp
>   36 -rwx--x--x1 vpopmail vchkpw  36316 Nov 21  2003 vaddaliasdomain

Just an idea.

Are you running vpopmail 5.2.x? vmoddomlimits was added in version 5.3.25.

Alex

-- 
Alex Pleinerzeitform Internet Dienste
mailto:[EMAIL PROTECTED]  Fraunhoferstraße 5
PGP S/MIME: http://key.zeitform.de/ap   64283 Darmstadt, Germany
Tel./Fax: +49 (0) 6151 155-635 / -634   http://www.zeitform.de
Jabber: [EMAIL PROTECTED]


RE: [vchkpw] Managing virt domain settings in vpopmail

2004-11-17 Thread Jeremy Eder
-Original Message-
From: Tim Grossner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 17, 2004 12:14 PM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] Managing virt domain settings in vpopmail

Yeah, after searching this mailing lists archives, i would have
thought that too but that file doesnt exist...I am now dazed and
confused.

[EMAIL PROTECTED] bin]# pwd
/home/vpopmail/bin
[EMAIL PROTECTED] bin]# ls -lsa
total 776
   4 drwxr-xr-x2 vpopmail vchkpw   4096 Nov 17 11:10 .
   4 drwxr-xr-x9 vpopmail vchkpw   4096 Dec 12  2001 ..
  36 -rwx--x--x1 vpopmail vchkpw  35644 Nov 21  2003 clearopensmtp
  36 -rwx--x--x1 vpopmail vchkpw  36316 Nov 21  2003 vaddaliasdomain
  40 -rwx--x--x1 vpopmail vchkpw  38108 Nov 21  2003 vadddomain
  40 -rwx--x--x1 vpopmail vchkpw  36924 Nov 21  2003 vadduser
  40 -rwx--x--x1 vpopmail vchkpw  37932 Nov 21  2003 valias
  40 -rwx--x--x1 vpopmail vchkpw  39484 Nov 21  2003 vchkpw
  40 -rwx--x--x1 vpopmail vchkpw  38428 Nov 21  2003 vconvert
  36 -rwx--x--x1 vpopmail vchkpw  35836 Nov 21  2003 vdeldomain
  44 -rwx--x--x1 vpopmail vchkpw  41372 Nov 21  2003 vdelivermail
  36 -rwx--x--x1 vpopmail vchkpw  35452 Nov 21  2003 vdeloldusers
  36 -rwx--x--x1 vpopmail vchkpw  35932 Nov 21  2003 vdeluser
  40 -rwx--x--x1 vpopmail vchkpw  37468 Nov 21  2003 vdominfo
  36 -rwx--x--x1 vpopmail vchkpw  36252 Nov 21  2003 vipmap
  36 -rwx--x--x1 vpopmail vchkpw  35516 Nov 21  2003 vmkpasswd
  40 -rwx--x--x1 vpopmail vchkpw  38588 Nov 21  2003 vmoduser
  36 -rwx--x--x1 vpopmail vchkpw  36188 Nov 21  2003 vpasswd
  40 -rwx--x--x1 vpopmail vchkpw  38204 Nov 21  2003 vpopbull
  40 -rwx--x--x1 vpopmail vchkpw  40924 Nov 21  2003 vqmaillocal
  36 -rwx--x--x1 vpopmail vchkpw  36284 Nov 21  2003 vsetuserquota
  40 -rwx--x--x1 vpopmail vchkpw  39164 Nov 21  2003 vuserinfo




On Wed, 17 Nov 2004 08:48:14 -0800, Tom Collins <[EMAIL PROTECTED]> wrote:
> On Nov 17, 2004, at 8:26 AM, Tim Grossner wrote:
> > Anyway, on the to question: how do i make changes to settings of a
> > vpopmail domain, such as setting the maximum number of users a virt
> > domain may have? I have scoured the manpages online, ran the bin files
> > with --help, and searched google til i was blue in the face...
> 
> ~vpopmail/bin/vmoddomlimits
> 
> --
> 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/
> 
>

Perhaps the other Jeremy can tell you what version began including the
vmoddomlimits binary.

The latest certainly does.

Or, someone deleted that binary, but that doesn't make much sense...

Upgrading is pretty straightforward, at least on my setup which does not use
ldap or mysql.

Be careful!

=)

Best Regards,

Jeremy Eder
Hi-Tek Data Corp.
V: 516.797.8800
F: 516.797.8892 




Re: [vchkpw] Adding a message footer

2004-11-17 Thread Jeremy Kitchen
On Wednesday 17 November 2004 10:55 am, [EMAIL PROTECTED] wrote:
> Hi everyone,
>
> How do i add a per domain footer message?

how is this related to vpopmail?  Please be more specific when asking your 
questions as yours sounds like you want to add stupid disclaimers to outbound 
mails.

http://www.goldmark.org/jeff/stupid-disclaimers/

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgpRxFxDZWi3n.pgp
Description: PGP signature


[vchkpw] domain quota status?

2004-11-17 Thread Lars E. D. Jensen
Hi

I would like to know the status of domain quota. I've seen a little on the 
mailing list, but nothing complete.

I have recently had users not getting mail and bouncing mails saying that the 
quota was used up. Problem is that it wasn't used at all.

I'm using vpopmail 5.4.5.

In release 5.4.8 I've read that domain quota simply doesn't work at the 
moment. Is it working in 5.4.5?

Now what can I do? Do I need to recompile vpopmail to disable quota or is it 
enough to outcomment it in the .qmailadmin-limits file...?

The alternative is that I begin to use system quota.
'vadddomain -u  '

Is it enough that the system user is a member of vchkpw group?
Will the mail still get delivered? I don't want to break anything...
Can I read somewhere how system quota actually works with vpopmail, with the 
uid/gid stuff etc.?

Thanks in advance.

-- 
Med venlig hilsen / Best regards

Lars E. D. Jensen
[EMAIL PROTECTED]


Re: [vchkpw] Managing virt domain settings in vpopmail

2004-11-17 Thread Tim Grossner
Yeah, after searching this mailing lists archives, i would have
thought that too but that file doesnt exist...I am now dazed and
confused.

[EMAIL PROTECTED] bin]# pwd
/home/vpopmail/bin
[EMAIL PROTECTED] bin]# ls -lsa
total 776
   4 drwxr-xr-x2 vpopmail vchkpw   4096 Nov 17 11:10 .
   4 drwxr-xr-x9 vpopmail vchkpw   4096 Dec 12  2001 ..
  36 -rwx--x--x1 vpopmail vchkpw  35644 Nov 21  2003 clearopensmtp
  36 -rwx--x--x1 vpopmail vchkpw  36316 Nov 21  2003 vaddaliasdomain
  40 -rwx--x--x1 vpopmail vchkpw  38108 Nov 21  2003 vadddomain
  40 -rwx--x--x1 vpopmail vchkpw  36924 Nov 21  2003 vadduser
  40 -rwx--x--x1 vpopmail vchkpw  37932 Nov 21  2003 valias
  40 -rwx--x--x1 vpopmail vchkpw  39484 Nov 21  2003 vchkpw
  40 -rwx--x--x1 vpopmail vchkpw  38428 Nov 21  2003 vconvert
  36 -rwx--x--x1 vpopmail vchkpw  35836 Nov 21  2003 vdeldomain
  44 -rwx--x--x1 vpopmail vchkpw  41372 Nov 21  2003 vdelivermail
  36 -rwx--x--x1 vpopmail vchkpw  35452 Nov 21  2003 vdeloldusers
  36 -rwx--x--x1 vpopmail vchkpw  35932 Nov 21  2003 vdeluser
  40 -rwx--x--x1 vpopmail vchkpw  37468 Nov 21  2003 vdominfo
  36 -rwx--x--x1 vpopmail vchkpw  36252 Nov 21  2003 vipmap
  36 -rwx--x--x1 vpopmail vchkpw  35516 Nov 21  2003 vmkpasswd
  40 -rwx--x--x1 vpopmail vchkpw  38588 Nov 21  2003 vmoduser
  36 -rwx--x--x1 vpopmail vchkpw  36188 Nov 21  2003 vpasswd
  40 -rwx--x--x1 vpopmail vchkpw  38204 Nov 21  2003 vpopbull
  40 -rwx--x--x1 vpopmail vchkpw  40924 Nov 21  2003 vqmaillocal
  36 -rwx--x--x1 vpopmail vchkpw  36284 Nov 21  2003 vsetuserquota
  40 -rwx--x--x1 vpopmail vchkpw  39164 Nov 21  2003 vuserinfo




On Wed, 17 Nov 2004 08:48:14 -0800, Tom Collins <[EMAIL PROTECTED]> wrote:
> On Nov 17, 2004, at 8:26 AM, Tim Grossner wrote:
> > Anyway, on the to question: how do i make changes to settings of a
> > vpopmail domain, such as setting the maximum number of users a virt
> > domain may have? I have scoured the manpages online, ran the bin files
> > with --help, and searched google til i was blue in the face...
> 
> ~vpopmail/bin/vmoddomlimits
> 
> --
> 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] Managing virt domain settings in vpopmail

2004-11-17 Thread Jeremy Kitchen
On Wednesday 17 November 2004 10:26 am, Tim Grossner wrote:
> Hello, and thanks in advance for any info you all can provide.

you're welcome in advance :)

> Anyway, on the to question: how do i make changes to settings of a
> vpopmail domain, such as setting the maximum number of users a virt
> domain may have?

~vpopmail/bin/vmoddominfo

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgp1O1QLUihe0.pgp
Description: PGP signature


[vchkpw] Adding a message footer

2004-11-17 Thread felix
Hi everyone,

How do i add a per domain footer message?


Thanks

Rafael Felix Correa




Re: [vchkpw] Managing virt domain settings in vpopmail

2004-11-17 Thread Tom Collins
On Nov 17, 2004, at 8:26 AM, Tim Grossner wrote:
Anyway, on the to question: how do i make changes to settings of a
vpopmail domain, such as setting the maximum number of users a virt
domain may have? I have scoured the manpages online, ran the bin files
with --help, and searched google til i was blue in the face...
~vpopmail/bin/vmoddomlimits
--
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] vchkpw segfault with smtp auth on amd64

2004-11-17 Thread Tom Collins
On Nov 16, 2004, at 2:28 PM, Martin Kos wrote:
i've done a fresh qmail/vpopmail installation on a debian amd64 port. 
everything seems to work just fine, except the smtp auth. sending an 
email without smtp auth works just fine. but if i try it with smtp 
auth i get the following in my logs:

kernel: vchkpw[28473] segfault at  rip 
 rsp 007fbab0 error 14

the only thing that i have found on the net is the following:
http://archives.neohapsis.com/archives/openbsd/2004-05/1814.html
i'm not sure if it is really a vpopmail problem. perhaps somebody has 
already had the same problem? i've tried with disalbing the -02 in the 
CFLAGS but that does not help. compiling vpopmail with gcc 3.4 was the 
same thing :-(
That's -O2, (oh two) not -02 (zero two).
I'm guessing that there's a problem related to memory alignment, or 
just assumptions on the size of certain data types (like int).  Since 
vchkpw works fine from qmail-pop3d, it might be in how qmail-smtpd 
passes information to vchkpw.

Someone else reported this problem, and I was trying to get him to use 
strace to dump a trace to a log file in an attempt to determine WHERE 
the problem was happening.

Here's what I last wrote:
Try replacing /home/vpopmail/bin/vchkpw with /tmp/vchkpw.sh in the run 
file, and then create /tmp/vchkpw.sh as:

#!/bin/sh
/usr/bin/strace -ff -o /tmp/vchkpw.dump /home/vpopmail/bin/vchkpw 
/bin/true

Make sure to `chmod +x /tmp/vchkpw.sh`.
Set /bin/true to /usr/bin/true if that's the path to true.  If it 
crashes, send me (directly, not through the list) a copy of 
/tmp/vchkpw.dump and I'll see if I can make any sense of it.

You can also try using the checkpassword_debug in the contrib directory 
to test vchkpw.  If that fails as well, it might be easier to get a 
trace on checkpassword_debug than in the qmail-smtpd process.

--
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] Managing virt domain settings in vpopmail

2004-11-17 Thread Tim Grossner
Hello, and thanks in advance for any info you all can provide.

I have been thrown into a situation where i am working on a
qmail/vpopmail installation and have never done so before. I am
learning, but there is a curve! (being an old hat at sendmail, its not
tooo bad :-)

Anyway, on the to question: how do i make changes to settings of a
vpopmail domain, such as setting the maximum number of users a virt
domain may have? I have scoured the manpages online, ran the bin files
with --help, and searched google til i was blue in the face...

Any help is appreciated!

Tim