[vchkpw] vpopmail 5.3.16 oddities

2003-02-13 Thread Jim
I've been using vpopmail 5.3.9 for a while, with [seemingly] no problems.  I
upgraded to vpopmail 5.3.16, and noticed some new behavior.

i have my server hosting a non-registered domain -- jimtest.com.  i have two
users on this domain; [EMAIL PROTECTED] and [EMAIL PROTECTED]  I also have a
.qmail-default and a .qmail-jim which contains:

| /usr/local/bin/spamc | /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/jimtest.com/jim
&[EMAIL PROTECTED]

this lets me send mail to [EMAIL PROTECTED], [EMAIL PROTECTED], et al.  it is
all piped through spamc and is all delivered correctly.


now, the wierd part is when i send mail to [EMAIL PROTECTED], the message is
piped through spamc and delivered to the spam mailbox..  i've verified that
i have no .qmail-spam or .qmail inside the spam Maildir.


Am I doing something wrong here?  I'm not sure If this was the same behavior
in 5.3.9 or not; I am just realizing it now.

One thing i did do recently was i put qmail under daemontools -- i then
moved everything back to the csh style, and i dont see a difference.

I compiled the new vpopmail with:
./configure \
--enable-defaultquota=10485760S \
--enable-many-domains=n \
--enable-logging=v

---
now something i've _just_ noticed, is that if i remove the .qmail-default,
then i get  a bounce message when i try to send to [EMAIL PROTECTED]


Hi. This is the qmail-send program at qmail.jimtest.com
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

[EMAIL PROTECTED]:
Sorry, no mailbox here by that name. (#5.1.1)

I've done a ~vpopmail/bin/vdeluser [EMAIL PROTECTED] and
~vpopmail/bin/vadduser [EMAIL PROTECTED] and the behavior is unchanged.

Oh boy. :)  Suggestions ?



-jim







Re: [vchkpw] vpopmail 5.3.16 oddities

2003-02-15 Thread Jim
On Saturday, February 15, 2003 8:40 PM, Bill Shupp wrote:

> This is exactly how it _should_ behave.  Your .qmail-default is setup
> so that all _unmatching_ addresses will be put in the "jim" Maildir.
> But you have a real account for "spam", so vdelivermail sees that and
> puts it in the "spam" Maildir.  Where did you expect mail for "spam" to
> be delivered?

I think I may have confused you.  If you re-read my message, you may
understand.

I have a .qmail-default and a .qmail-jim, which both have
 | /usr/local/bin/spamc | /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/jimtest.com/jim
 &[EMAIL PROTECTED]

.. messages to spam _should_ just be placed in
/home/vpopmail/domains/jimtest.com/spam (because there is no .qmail-spam (or
Maildir/.qmail))

instead, messages to the spam account are piped through spamc before being
delivered to the spam mailbox

Thanks for your reply,

jim


> -Original Message-
> From: Bill Shupp [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 15, 2003 8:40 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] vpopmail 5.3.16 oddities
>

..





Re: [vchkpw] vpopmail 5.3.16 oddities

2003-02-15 Thread Jim
Well, to start off, i just want to make it clear that I am not arguing, I am
just trying to become more clear.


On Saturday, February 15, 2003 9:32 PM, Cory Wright wrote:
> In order to fully understand this you need to have a good understanding of
> how qmail's virtual domains work.  The .qmail-default file is called for
> every vpopmail account that has not been overridden by a .qmail file in
the
> domain's directory.

I have read the documentation before posting my problems.

Per the documentation from vdelivermail:
>> [default account for delivery]
>> If the email does match any .qmail-user file and also does not match any
virtual domain user, this is the default delivery instructions.

'spam' is a virtual domain user.  the vdelivermail in my environment is not
complying with the documented behavior.

the documentation in dot-qmail also says that a user account will take
precedence over a .qmail-default.

i understand the concept of a catch-all.  the .qmail-default is acting as a
.qmail-catchall instead of an encompassed catch-all.

IE:  the documentation does not say:
If the email does match any .qmail-user file, this is the default delivery
instructions.


jim

- Original Message -
From: "Cory Wright" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 15, 2003 9:32 PM
Subject: Re: [vchkpw] vpopmail 5.3.16 oddities


..





[vchkpw] vchkpw core dumps

2003-03-07 Thread Jim
Hi all,

I have set up vpopmail 5.3.16 over qmail 1.03 on solaris 2.7 sparc.  I'm
running qmail + pop + smtp out of daemontools with tcpserver, similar to
LWQ.

I have patched tcpserver with André Oppermann's SSL/TLS patch.
qmail has been patched with:
  ext_todo-20030105
  smtpd-auth-0.31
  tarpit (Chris Johnson's)
  maildir++ (vpopmail 5.3.16)

I am trying to get Secure POP3 going.

My regular pop3 is working fine; here is my /service/qmail-pop3d/run script:
#!/bin/sh

LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

exec /usr/local/bin/softlimit -m 300 \
 /usr/local/bin/tcpserver -H -R \
  -c `cat /var/qmail/control/concurrencypop` \
  0 pop3 \
  /var/qmail/bin/qmail-popup unix11.broadviewnet.net \
  /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1

my spop3 is not working fine.  Here is my /service/qmail-pop3d-ssl/run
script:

#!/bin/sh

LD_LIBRARY_PATH="/usr/local/ssl/lib:$LD_LIBRARY_PATH"
PATH="/var/qmail/bin:/usr/local/bin:/usr/local/ssl/bin:/usr/bin"
export PATH LD_LIBRARY_PATH

#exec /usr/local/bin/softlimit -m 300 \
exec /usr/local/bin/tcpserver -H -R \
  -c `cat /var/qmail/control/concurrencyspop` \
  -s -n /service/qmail-pop3d-ssl/cert.pem \
  0 spop3 \
  /var/qmail/bin/qmail-popup unix11.broadviewnet.net \
  /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1

When I use Outlook Express to connect, the secure tunnel establishes fine,
but authentication doesnt work.  Outlook express returns "-ERR aack, child
crashed" (likely from qmail-popup, and proving the tunnel itslef is working
fine).  Afterwards, inside my /service/qmail-pop3d-ssl/ directory, there is
a core file from vchkpw.

I have also noticed that if I remove /usr/bin from the path, then Outlook
Express times out "Your POP3 server has not respodned in 60 seconds"... and
there is no core file.

Another thing I have tried (although I was [pretty] sure it wasnt the
problem), is I re-installed the plain-vanilla tcpserver and used stunnel
from openssl to create the tunnel.  Symptoms are identical.


One of the core files is at http://www.broadviewnet.net/jimj/vchkpw.core (i
dont really know what i should do with it  )

None of my logs seem to have any relevent info (no new info in the pop3d-ssl
log at all)..  Since there were no intersting logs, I ran svc -dk
/service/qmail-pop3d-ssl and ensured nothing was listening on port 995/tcp.
I then executed /service/qmail-pop3d/run and watched for output while I did
a secure pop from outlook, but there were no messages printed to me.

  Any hints / advice ?



-jim





[vchkpw] pipes in .qmail-files vpopmail 5.3.19

2003-03-25 Thread Jim
Hi,

I am having a problem where if I pipe an email into any of my programs, and
then pipe to vdelivermail, vdelivermail core dumps.
I have this configuration working flawlessly on two of my other servers.
The only difference I can tell is that the working servers are running
Solaris 2.7 on an UltraSparc III, and the non-working server is running
Solaris 2.8 on a SparcStation-20.

I'm running qmail pretty much from LWQ:
 qmail-1.03
  qmail-maildir++.patch (from vpopmail 5.3.19)
  qmail-tarpit.patch
  qmail-smtpd-auth-0.31 patch
  ext_todo-20030105 (www.nrg4u.com)
 vpopmail 5.3.19
  configured with:




./configure --enable-defaultquota=10485760S --enable-many-domains=n --enable
-logging=v



for example:
unix11> cat /home/vpopmail/domains/broadviewnet.net/.qmail-tester
|/usr/local/bin/spamc | /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/broadviewnet.net/tester
unix11> tail -f /var/log/qmail/current &
[2] 3040
unix11> echo somestuff | /usr/lib/sendmail [EMAIL PROTECTED]

@40003e800bbd0edbd734 new msg 46225
@40003e800bbd0ee18c24 info msg 46225: bytes 222 from
<[EMAIL PROTECTED]> qp 3022 uid 0
@40003e800bbd0eea0034 starting delivery 24: msg 46225 to local
[EMAIL PROTECTED]
@40003e800bbd0eec4254 status: local 1/85 remote 0/70
@40003e800bbd0edbd734 new msg 46225
@40003e800bbd0ee18c24 info msg 46225: bytes 222 from
<[EMAIL PROTECTED]> qp 3022 uid 0
@40003e800bbd0eea0034 starting delivery 24: msg 46225 to local
[EMAIL PROTECTED]
@40003e800bbd0eec4254 status: local 1/85 remote 0/70
@40003e800bbe31efe9a4 delivery 24: deferral:
Segmentation_Fault_-_core_dumped/
@40003e800bbe31f0fefc status: local 0/85 remote 0/70
@40003e800bbe31efe9a4 delivery 24: deferral:
Segmentation_Fault_-_core_dumped/
@40003e800bbe31f0fefc status: local 0/85 remote 0/70

and then there is a core file in
/home/vpopmail/domains/broadviewnet.net/tester/Maildir/

It acts the same way if i change the .qmail-tester to:
| /usr/local/bin/perl -e 'while(<>){print;}' |
/home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/broadviewnet.net/tester


I created my own delivery agent, which i called mydeliver.pl:
#!/usr/local/bin/perl

use Sys::Hostname;

$hostname=hostname();
$file="/home/vpopmail/domains/broadviewnet.net/tester/Maildir";
open (P, ">$file/tmp/$^T.$$.$hostname") || die "cannot write: $!\n";
while(<>){
print P;
}

close P;

rename ("$file/tmp/$^T.$$.$hostname", "$file/new/$^T.$$.$hostname") || die
"cannot rename: $!\n";
## EOF

Not suprising to me at this point, if i make the .qmail-tester:
| /usr/local/bin/spamc | mydeliver.pl

then all works.

Any ideas?  This is semi-reminicent of the non-seekable problem of the
earlier versions, except that I dont see anything here that would have to be
rewound..


Jim




Re: [vchkpw] pipes in .qmail-files vpopmail 5.3.19

2003-03-27 Thread Jim
I have copied the vdelivermail binary over from the working Solaris 2.7
machine onto my non-working Solaris 2.8 machine... it acts identical.

Any Ideas?  Please?

-jim

- Original Message -
From: "Jim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 25, 2003 3:20 AM
Subject: [vchkpw] pipes in .qmail-files vpopmail 5.3.19

[...]




Re: [vchkpw] pipes in .qmail-files vpopmail 5.3.19

2003-03-27 Thread Jim
> If you have no pipes in the command, does vdelivermail work as normal?

yes, it does.  No problems.


Thanks for your reply,

jim.

PS sorry for sending the first email directly to you, marcus -- 5:30am and i
copy-and-pasted the wrong address :-/




Re: [vchkpw] pipes in .qmail-files vpopmail 5.3.19

2003-03-27 Thread Jim
Hi,

I have just went to a third party machine (my friends) in which i had no
part of compiling or installing qmail/vpopmail.

he is running on Solaris 2.8 without any of the patches i have, and the
symptom is identical.

I also appoligize in advance for this rather large message going to the
list, but I think the community will benefit in the long run.


> Okay bearing in mind I'm no Solaris expert so someone
>else may want to jump in here - what output do you get
>if you do something like:


keep in mind /home/vpopmail is a sym link to /home/unix11/vpopmail here.

unix11> HOST="broadviewnet.net"; EXT="tester"; export EXT HOST;
unix11> echo "To: [EMAIL PROTECTED]" |  truss
/home/vpopmail/bin/vdelivermail '' bounce_no_mailbox
execve("/home/unix11/vpopmail/bin/vdelivermail", 0xE99C, 0xE9AC)
argc = 3
mmap(0x, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANON, -1, 0) = 0xEF7B
resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
stat("/usr/local/lib/libsocket.so.1", 0xE0C4) Err#2 ENOENT
stat("/usr/lib/libsocket.so.1", 0xE0C4) = 0
open("/usr/lib/libsocket.so.1", O_RDONLY)   = 3
fstat(3, 0xE0C4)= 0
mmap(0x, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF7A
mmap(0x, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xEF78
mmap(0xEF79A000, 4365, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xEF79A000
munmap(0xEF78A000, 65536)   = 0
memcntl(0xEF78, 14496, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)= 0
stat("/usr/local/lib/libnsl.so.1", 0xE0C4)  Err#2 ENOENT
stat("/usr/lib/libnsl.so.1", 0xE0C4)= 0
open("/usr/lib/libnsl.so.1", O_RDONLY)  = 3
fstat(3, 0xE0C4)= 0
mmap(0xEF7A, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF7A
mmap(0x, 712704, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xEF6C
mmap(0xEF75E000, 32828, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 581632) = 0xEF75E000
mmap(0xEF767000, 26920, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xEF767000
munmap(0xEF74D000, 69632)   = 0
memcntl(0xEF6C, 82528, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)= 0
stat("/usr/local/lib/libcrypt_i.so.1", 0xE0C4) Err#2 ENOENT
stat("/usr/lib/libcrypt_i.so.1", 0xE0C4)= 0
open("/usr/lib/libcrypt_i.so.1", O_RDONLY)  = 3
fstat(3, 0xE0C4)= 0
mmap(0xEF7A, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF7A
mmap(0x, 77824, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF6A
mmap(0xEF6B2000, 1612, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 8192) = 0xEF6B2000
munmap(0xEF6A2000, 65536)   = 0
mmap(0x, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANON, -1, 0) = 0xEF69
memcntl(0xEF6A, 3628, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)= 0
stat("/usr/local/lib/libc.so.1", 0xE0C4)Err#2 ENOENT
stat("/usr/lib/libc.so.1", 0xE0C4)  = 0
open("/usr/lib/libc.so.1", O_RDONLY)= 3
fstat(3, 0xE0C4)= 0
mmap(0xEF7A, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF7A
mmap(0x, 802816, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xEF5C
mmap(0xEF67C000, 24748, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 704512) = 0xEF67C000
mmap(0xEF683000, 2628, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xEF683000
munmap(0xEF66C000, 65536)   = 0
memcntl(0xEF5C, 113448, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)= 0
stat("/usr/local/lib/libdl.so.1", 0xE0C4)   Err#2 ENOENT
stat("/usr/lib/libdl.so.1", 0xE0C4) = 0
open("/usr/lib/libdl.so.1", O_RDONLY)   = 3
fstat(3, 0xE0C4)= 0
mmap(0xEF7A, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) =
0xEF7A
close(3)= 0
stat("/usr/local/lib/libmp.so.2", 0xE0C4)   Err#2 ENOENT
stat("/usr/lib/libmp.so.2", 0xE0C4) = 0
open("/usr/lib/libmp.so.2", O_RDONLY)   = 3
fstat(3, 0xE0C4)= 0
mmap(0x, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF5B
mmap(0x, 86016, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF59
mmap(0xEF5A4000, 865, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
3, 16384) = 0xEF5A4000
munmap(0xEF593000, 69632)   = 0
memcntl(0xEF59, 3124, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3)= 0
stat("/usr/local/lib/libgen.so.1", 0xE0C4)  Err#2 ENOENT
sta

IMP prefs

2000-07-21 Thread Jim Serio

Has anyone that's using IMP hacked vpopmail.c/vdeluser.c
to remove all rows for a person if you remove them from
the database? This way, if you remove person [EMAIL PROTECTED]
and a month later add a new [EMAIL PROTECTED], this new person 
doesn't see the old person's address book and prefs.

If nobody had patched this yet, let me know and I'll take
a stab.

Jim
-- 
Jim Serio - [EMAIL PROTECTED]
Producer, World of Coasters



Re: IMP prefs

2000-07-24 Thread Jim Serio

> > Has anyone that's using IMP hacked vpopmail.c/vdeluser.c
> > to remove all rows for a person if you remove them from
> 
> vdeluser should remove the [EMAIL PROTECTED] users directory
> and everything under that directory.
> 
> Does the hacked IMP not store it's files under
> the user's directory?

IMP stores it's data in a SQL database. So I'd have to
hack vdeluser to delete the row(s) in teh database matching
the user ID. not hard.

BTW..months ago I recall that there would be an implementation
for vpopmail to detect new rows in the databse and create
the proper user(s) directories. Has this been implemented
yet? Since I need my registration in real time I hate the
idea of having a suid Perl script calling vadduser.

Jim
-- 
Jim Serio - [EMAIL PROTECTED]
Producer, World of Coasters



Fw: vchkpw tcp.smtp rebuild problem (possibly)

2001-04-11 Thread Jim Hamann

I am having a problem along the lines.  I can't get it to rebuild the file
at all.  the open-smtp file is updated, but tcprules seems to never run, and
the tcp.smtp.cdb file is never updated. I was missing the
"--enable-tcpserver-file=~vpopmail/etc/tcp.smtp" in my config file, so I
hope using that helps.

By following the vpopmail instructions, when someone pops in, the open-smtp
file is updated with the dynamic info.  The tcp.smtp is the static IP
addresses that will always be allowed to relay.  Will these files be merged
by tcprules?

Thanks
Jim
- Original Message -
From: "Gourgen Hakobian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 12:05 PM
Subject: vchkpw tcp.smtp rebuild problem (possibly)


Hi there

  Here is the problem... I already spent a ton of time and searched
  the entire web for answer but the problem still persists. So any
  help will be greatly appreciated.

  The thing is that right after roaming POP user enters pop auth password,
vchkpw
  locks and takes 100% of CPU;-) It writes user's IP and timestamp to
  ~vpopmail/etc/open-smtp, but when it's time to rebuild tcp.smtp via
  tcprules, it stops and doesn't even exit. This happens only if it needs
  to rebuild tcp.smtp (e.g. new IPs only).

  System: FreeBSD 4.2, Qmail 1.03, vpopmail 4.9.10, ucspi-tcpi 0.88,
  qmail-pop3d

  Vpopmail compile options:

  ./configure --enable-roaming-users=y  --enable-tcprules-prog
  --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
  --enable-hardquota=150

  Startup scripts:

#!bin/sh
env - PATH="/var/qmail/bin:/usr/local/bin" \
/usr/local/bin/tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \
-c20 -u1003 -g1003 0 smtp \
/var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &

/usr/local/bin/tcpserver -H -R -u 1009 -g 1005 0 pop3 \
/var/qmail/bin/qmail-popup digital.am \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir \
2>&1 | /var/qmail/bin/splogger pop3 3  &

--
Best regards,
 Gourgen Hakobian  mailto:[EMAIL PROTECTED]








Re: vchkpw tcp.smtp rebuild problem (possibly)

2001-04-11 Thread Jim Hamann

What are your user/groupids?

-u1003 -g1003
-u 1009 -g 1005


- Original Message -
From: "Gourgen Hakobian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 12:05 PM
Subject: vchkpw tcp.smtp rebuild problem (possibly)


Hi there

  Here is the problem... I already spent a ton of time and searched
  the entire web for answer but the problem still persists. So any
  help will be greatly appreciated.

  The thing is that right after roaming POP user enters pop auth password,
vchkpw
  locks and takes 100% of CPU;-) It writes user's IP and timestamp to
  ~vpopmail/etc/open-smtp, but when it's time to rebuild tcp.smtp via
  tcprules, it stops and doesn't even exit. This happens only if it needs
  to rebuild tcp.smtp (e.g. new IPs only).

  System: FreeBSD 4.2, Qmail 1.03, vpopmail 4.9.10, ucspi-tcpi 0.88,
  qmail-pop3d

  Vpopmail compile options:

  ./configure --enable-roaming-users=y  --enable-tcprules-prog
  --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
  --enable-hardquota=150

  Startup scripts:

#!bin/sh
env - PATH="/var/qmail/bin:/usr/local/bin" \
/usr/local/bin/tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \
-c20 -u1003 -g1003 0 smtp \
/var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &

/usr/local/bin/tcpserver -H -R -u 1009 -g 1005 0 pop3 \
/var/qmail/bin/qmail-popup digital.am \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir \
2>&1 | /var/qmail/bin/splogger pop3 3  &

--
Best regards,
 Gourgen Hakobian  mailto:[EMAIL PROTECTED]







Re: vchkpw tcp.smtp rebuild problem (possibly)

2001-04-11 Thread Jim Hamann

What are your user/groupids?

-u1003 -g1003
-u 1009 -g 1005


- Original Message -
From: "Gourgen Hakobian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 12:05 PM
Subject: vchkpw tcp.smtp rebuild problem (possibly)


Hi there

  Here is the problem... I already spent a ton of time and searched
  the entire web for answer but the problem still persists. So any
  help will be greatly appreciated.

  The thing is that right after roaming POP user enters pop auth password,
vchkpw
  locks and takes 100% of CPU;-) It writes user's IP and timestamp to
  ~vpopmail/etc/open-smtp, but when it's time to rebuild tcp.smtp via
  tcprules, it stops and doesn't even exit. This happens only if it needs
  to rebuild tcp.smtp (e.g. new IPs only).

  System: FreeBSD 4.2, Qmail 1.03, vpopmail 4.9.10, ucspi-tcpi 0.88,
  qmail-pop3d

  Vpopmail compile options:

  ./configure --enable-roaming-users=y  --enable-tcprules-prog
  --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
  --enable-hardquota=150

  Startup scripts:

#!bin/sh
env - PATH="/var/qmail/bin:/usr/local/bin" \
/usr/local/bin/tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \
-c20 -u1003 -g1003 0 smtp \
/var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &

/usr/local/bin/tcpserver -H -R -u 1009 -g 1005 0 pop3 \
/var/qmail/bin/qmail-popup digital.am \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir \
2>&1 | /var/qmail/bin/splogger pop3 3  &

--
Best regards,
 Gourgen Hakobian  mailto:[EMAIL PROTECTED]







Re: vchkpw tcp.smtp rebuild problem (possibly)

2001-04-11 Thread Jim Hamann

What are your user/groupids?

-u1003 -g1003
-u 1009 -g 1005


- Original Message -
From: "Gourgen Hakobian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 12:05 PM
Subject: vchkpw tcp.smtp rebuild problem (possibly)


Hi there

  Here is the problem... I already spent a ton of time and searched
  the entire web for answer but the problem still persists. So any
  help will be greatly appreciated.

  The thing is that right after roaming POP user enters pop auth password,
vchkpw
  locks and takes 100% of CPU;-) It writes user's IP and timestamp to
  ~vpopmail/etc/open-smtp, but when it's time to rebuild tcp.smtp via
  tcprules, it stops and doesn't even exit. This happens only if it needs
  to rebuild tcp.smtp (e.g. new IPs only).

  System: FreeBSD 4.2, Qmail 1.03, vpopmail 4.9.10, ucspi-tcpi 0.88,
  qmail-pop3d

  Vpopmail compile options:

  ./configure --enable-roaming-users=y  --enable-tcprules-prog
  --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
  --enable-hardquota=150

  Startup scripts:

#!bin/sh
env - PATH="/var/qmail/bin:/usr/local/bin" \
/usr/local/bin/tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \
-c20 -u1003 -g1003 0 smtp \
/var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &

/usr/local/bin/tcpserver -H -R -u 1009 -g 1005 0 pop3 \
/var/qmail/bin/qmail-popup digital.am \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir \
2>&1 | /var/qmail/bin/splogger pop3 3  &

--
Best regards,
 Gourgen Hakobian  mailto:[EMAIL PROTECTED]







Re: Re[2]: vchkpw tcp.smtp rebuild problem (possibly)

2001-04-11 Thread Jim Hamann

Sorry for the multiple replies, I changed a variable in qmail and somehow it
looped.  That was interesting to say the least
- Original Message -
From: "Gourgen Hakobian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 1:39 PM
Subject: Re[2]: vchkpw tcp.smtp rebuild problem (possibly)


1003:1003 = qmaild
1009:1005 = vpopmail:vchkpw

Wednesday, April 11, 2001, 22:48:13, you wrote:

JH> What are your user/groupids?

JH> -u1003 -g1003
JH> -u 1009 -g 1005


JH> - Original Message -
JH> From: "Gourgen Hakobian" <[EMAIL PROTECTED]>
JH> To: <[EMAIL PROTECTED]>
JH> Sent: Wednesday, April 11, 2001 12:05 PM
JH> Subject: vchkpw tcp.smtp rebuild problem (possibly)


JH> Hi there

JH>   Here is the problem... I already spent a ton of time and searched
JH>   the entire web for answer but the problem still persists. So any
JH>   help will be greatly appreciated.

JH>   The thing is that right after roaming POP user enters pop auth
password,
JH> vchkpw
JH>   locks and takes 100% of CPU;-) It writes user's IP and timestamp to
JH>   ~vpopmail/etc/open-smtp, but when it's time to rebuild tcp.smtp via
JH>   tcprules, it stops and doesn't even exit. This happens only if it
needs
JH>   to rebuild tcp.smtp (e.g. new IPs only).

JH>   System: FreeBSD 4.2, Qmail 1.03, vpopmail 4.9.10, ucspi-tcpi 0.88,
JH>   qmail-pop3d

JH>   Vpopmail compile options:

JH>   ./configure --enable-roaming-users=y  --enable-tcprules-prog
JH>   --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp
JH>   --enable-hardquota=150

JH>   Startup scripts:

JH> #!bin/sh
JH> env - PATH="/var/qmail/bin:/usr/local/bin" \
JH> /usr/local/bin/tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \
JH> -c20 -u1003 -g1003 0 smtp \
JH> /var/qmail/bin/qmail-smtpd 2>&1 > /dev/null &

JH> /usr/local/bin/tcpserver -H -R -u 1009 -g 1005 0 pop3 \
JH> /var/qmail/bin/qmail-popup digital.am \
JH> /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir \
2>>&1 | /var/qmail/bin/splogger pop3 3  &

JH> --
JH> Best regards,
JH>  Gourgen Hakobian  mailto:[EMAIL PROTECTED]







--
Best regards,
 Gourgen Hakobianmailto:[EMAIL PROTECTED]







Re: Vpopmail privacy problem please help ;(

2001-04-17 Thread Jim Hamann

It should show the local IP that the mail came from.  I use this information
all the time to track down spammers to the ISP they dialed into.


- Original Message -
From: "Jeremy Gray" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 4:11 PM
Subject: Vpopmail privacy problem please help ;(


I'm not sure if this is a vpopmail, qmail/pop3d or tcpserver issue =(, but
when a user sends mail remotely via vpopmail (running qmail-pop3d), the
"recieved from:" field in the headers shows the users local hostname/ISP &
IP rather than our server. Is there a flag or something to make it leave
this information out, or use the servers information instead?

Here are my config files:

paco# pwd ; more run
/var/qmail/supervise/qmail-send
#!/bin/sh
exec /var/qmail/rc

paco# pwd ; more rc
/var/qmail
#!/bin/sh
PATH="/var/qmail/bin:/usr/local/bin:/usr/bin:/bin"
export PATH
exec qmail-start ./Maildir/

paco# pwd ; more run
/var/qmail/supervise/qmail-pop3d
#!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin/:/bin
export PATH
exec tcpserver -H -R -v -c100 0 110 qmail-popup paco.domain.com \
/vpopmail/bin/vchkpw qmail-pop3d Maildir 2>&1

paco# pwd ; more run
/var/qmail/supervise/qmail-smtpd
#!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
QMAILUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec softlimit -m 200 tcpserver -p -R -x /etc/tcp.smtp.cdb -u $QMAILUID
-g $NOFILESGID 0
smtp qmail-smtpd 2>&1

Maybe its something that needs to be added to or left out of the vpopmail
./configuration. I used roaming, quota, relay clear mins & ip alias domains.

Thanks in advance for any suggestions.


_
Get your FREE download of MSN Explorer at http://explorer.msn.com






Re: Tranferring Domains

2001-05-07 Thread Jim Hamann

I tried copying my Maildirs to a different partition and mounting that
partition as the original.  After that' mail could not be delivered.  It
seemed that the actual inodes were being referenced.  I would make a few
test runs.

I was able to recently takeover a domain name for a friend.  I setup the
mail accounts on my machine, did the DNS change.  On my DNS, I referred to
the old server until I was sure InterNic had made their change.  Once they
changed completely, I access the old mail server with POP and used Outlook
Express to "drag" the mail to the new accounts where I had setup
courier-imap. I changed my DNS to point to my system for mail and monitored
the old accounts for a few days just to make sure no mail slipped into the
old server. The users never knew there was a switch since I had a copy of
all their usernames and passwords.


- Original Message -
From: "Gordon Veri" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, May 06, 2001 11:01 PM
Subject: Tranferring Domains


Hello,

I have a question.  I have built a new virtual mail server and want to
transfer existing domains to the new machine without having the existing
people who use the virtual server knowing what it is happening.  In
short I want it to be seamless.  I was thinking I would first on the new
mail server add the domains.  Then I would copy over the domains
directory with all the password and mail directories intact.  I would
also check the ownership's on the directories, but I think it should be
okay.  I would then take the DNS name and IP of the old machine and
attach it to the new one.

Can anyone see any problems with this and has anybody tried to do it
this way.

The upgrade was not only in software, it was a Operating System,
Vpopmail version and a much needed hardware upgrade.

Regards,

Gord






Re: Authenticated SMTP?

2001-05-07 Thread Jim Hamann

I had the same results as Rick.  It took me a bit to get it setup since I
didn't read the setup completely.  Users that use POP in Outlook Express
have no problems since OE checks POP before sending.  Regular Outlook
intermittently tried to send before POP but if you send/recv a second time
it worked great.  Not a big deal since most people check their mail when
Outlook opens instead of trying to immediately send a message.  I haven't
been able to get imap to update the list of IPs, but I don't really let
anyone know that imap is available.

- Original Message -
From: "David Crawshaw" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 4:34 AM
Subject: Authenticated SMTP?


Hello All, I've been lurking on this list a while (trying to learn about
the server I run), and I have a problem.

I need some way of letting users from dynamic IP's across the internet
use my SMTP server, but I just got used as an open relay. SMTP-after-POP
won't work for me (windows users, they won't accept that), so I was
thinking about Authenticated SMTP, which is an option in Outlook/Outlook
Express which they all use. Can anyone give me some pointers on setting
this up so it uses my Vpopmail usernames and passwords the same was POP3
does? I'm really rather new to the unix scene.

Thank you,

David Crawshaw






Re: atomatic vdomains and users passwd creation

2001-05-07 Thread Jim Hamann

This is a quick hack, I tested it on a small list on my Linux box:

#!/bin/sh
cat $1 | ( \
IFS=: ; while read username pw; \
do /home/vpopmail/bin/vadduser $username $pw; done \
)



The text file is like this:
[EMAIL PROTECTED]:pass1
[EMAIL PROTECTED]:pass2
[EMAIL PROTECTED]:pass3


-
I ran it with  , Please test it before you put it in a
prod environment, it has been tested very little.


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 11:47 AM
Subject: Re: atomatic vdomains and users passwd creation


On Fri, May 04, 2001 at 12:12:00PM +0200, jcarreiro wrote:

> i'm totally newbie to make scripts of any kind :))
>
> so, i'm wondering if there's some existing scripts
> to create vdoamins and user with passwords from a text file for vpopmail
...

I haven't encountered any.  How is the text file formatted?  It should
be dead simple to throw something together...

Ben

--
Ben Beuchler   There is no spoon.
[EMAIL PROTECTED]-- The Matrix





Re: RELAY CLIENT

2001-05-14 Thread Jim Hamann

What?  roaming-users works great, and it's much better than trying to hack
around on different ports trying to hide the smtp server.  There is no way I
would rely on the sender envelope and expect to have a halfway decent smtp
server running.

- Original Message -
From: "Rene Schleicher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 14, 2001 9:22 AM
Subject: Re: RELAY CLIENT


Wagner <[EMAIL PROTECTED]> wrote:
> How can i turn an user or a domain to be a relay client with his/her name
> and not with his/her IP ?
1 - Don't enable roaming-users in vpopmail
2 - read http://www.palomine.net/qmail/relaymailfrom.html, but it's *NOT*
secure.

Regards,
Rene Schleicher





[vchkpw] Courier and vipmap

2003-11-21 Thread Jim L.
HELP!  I have been working with this for the last three days and I am out of
ideas. I cannot get ip-alias-domains to work. I have mapped a domain to an
IP address using vipmap.

vipmail -a 66.94.78.22 worldnetoh.com

Then I telnet to the server and try to authenticate.

telnet 66.94.78.22 110
Trying 66.94.78.22...
Connected to 66.94.78.22 (66.94.78.22).
Escape character is '^]'.
+OK Hello there.
user jdl
+OK Password required.
pass test123
-ERR Login failed.

But it works using the full e-mail address.

telnet 66.94.78.22 110
Trying 66.94.78.22...
Connected to 66.94.78.22 (66.94.78.22).
Escape character is '^]'.
+OK Hello there.
user [EMAIL PROTECTED]
+OK Password required.
pass test123
+OK logged in.

I have read all of the posts I can find and tried everything I can think of,
but still nothing. Can anyone help or at least tell me if this works with
Courier.

[Specs]

vpopmail -- Currently running 5.3.30.  Also tried versions 5.3.4 & 5.3.29.

Build options:

./configure \
--enable-ip-alias-domains=y \
--enable-roaming-users=y \
--enable-relay-clear-minutes=60 \
--enable-md5-passwords=y \
--enable-auth-logging=y \
--enable-mysql-logging=y \
--enable-logging=y \
--enable-mysql=y


courier-imap -- Currently running 2.2.0. Also tried 1.6.1.

Build options:

./configure \
--disable-root-check \
--without-authpam \
--without-authldap \
--without-authpwd \
--without-authmysql \
--without-authpgsql \
--without-authshadow \
--without-authuserdb \
--without-authcustom \
--without-authcram \
--without-authdaemon \  (I have tried with and without authdaemon)
--with-authvchkpw \
    --with-ssl

Thanks,

Jim L.
[EMAIL PROTECTED]




Re: [vchkpw] Courier and vipmap

2003-11-21 Thread Jim L.
I tried this in the past and I just tried it again. It does not help. I am
not putting worldnetoh.com in this file because it is not my default domain.
It is simply a virtual domain which needs to be mapped to an IP. Unless I am
supposed to put every domain which I vipmap into this file, then I have it
set correctly. There is nothing in the docs about doing this. Everything I
have found indicates that this file should contain one domain which is
usually the primary domain of the server.

Jim L.
[EMAIL PROTECTED]


- Original Message - 
From: "Juan Hernandez" <[EMAIL PROTECTED]>
To: "Jim L." <[EMAIL PROTECTED]>
Sent: Friday, November 21, 2003 1:34 PM
Subject: Re: [vchkpw] Courier and vipmap


> Did put the default host name in ~vpopmail/defaultdomain?
>
> Juan
>
> On Fri, 2003-11-21 at 14:24, Jim L. wrote:
> > HELP!  I have been working with this for the last three days and I am
out of
> > ideas. I cannot get ip-alias-domains to work. I have mapped a domain to
an
> > IP address using vipmap.
> >
> > vipmail -a 66.94.78.22 worldnetoh.com
> >
> > Then I telnet to the server and try to authenticate.
> >
> > telnet 66.94.78.22 110
> > Trying 66.94.78.22...
> > Connected to 66.94.78.22 (66.94.78.22).
> > Escape character is '^]'.
> > +OK Hello there.
> > user jdl
> > +OK Password required.
> > pass test123
> > -ERR Login failed.
> >
> > But it works using the full e-mail address.
> >
> > telnet 66.94.78.22 110
> > Trying 66.94.78.22...
> > Connected to 66.94.78.22 (66.94.78.22).
> > Escape character is '^]'.
> > +OK Hello there.
> > user [EMAIL PROTECTED]
> > +OK Password required.
> > pass test123
> > +OK logged in.
> >
> > I have read all of the posts I can find and tried everything I can think
of,
> > but still nothing. Can anyone help or at least tell me if this works
with
> > Courier.
> >
> > [Specs]
> >
> > vpopmail -- Currently running 5.3.30.  Also tried versions 5.3.4 &
5.3.29.
> >
> > Build options:
> >
> > ./configure \
> > --enable-ip-alias-domains=y \
> > --enable-roaming-users=y \
> > --enable-relay-clear-minutes=60 \
> > --enable-md5-passwords=y \
> > --enable-auth-logging=y \
> > --enable-mysql-logging=y \
> > --enable-logging=y \
> > --enable-mysql=y
> >
> >
> > courier-imap -- Currently running 2.2.0. Also tried 1.6.1.
> >
> > Build options:
> >
> > ./configure \
> > --disable-root-check \
> > --without-authpam \
> >     --without-authldap \
> > --without-authpwd \
> > --without-authmysql \
> > --without-authpgsql \
> > --without-authshadow \
> > --without-authuserdb \
> > --without-authcustom \
> > --without-authcram \
> > --without-authdaemon \  (I have tried with and without
authdaemon)
> > --with-authvchkpw \
> > --with-ssl
> >
> > Thanks,
> >
> > Jim L.
> > [EMAIL PROTECTED]
> >
> >
>
>




Re: [vchkpw] Courier and vipmap

2003-11-21 Thread Jim L.
Yes.

./configure \
 --enable-ip-alias-domains=y \
 --enable-roaming-users=y \
 --enable-relay-clear-minutes=60 \
 --enable-md5-passwords=y \
 --enable-auth-logging=y \
 --enable-mysql-logging=y \
 --enable-logging=y \
 --enable-mysql=y

Jim L.
[EMAIL PROTECTED]


- Original Message - 
From: "Juan Hernandez" <[EMAIL PROTECTED]>
To: "Jim L." <[EMAIL PROTECTED]>
Sent: Friday, November 21, 2003 2:36 PM
Subject: Re: [vchkpw] Courier and vipmap


> And did you try this with ./configure using vpopmail??
> 
> ./configure --enable-ip-alias-domains=y
> 
> Juan




Re: [vchkpw] Courier and vipmap

2003-11-26 Thread Jim L.
That was one of the questions that I had regarding vipmap. Since I am using
the authvchkpw module in Courier, I thought that vipmap would work. Since
vpopmail seems geared toward using Courier-IMAP, if certain features are not
compatible, it would be helpful it that information was documented
somewhere.

If vipmap, in fact, does not work with Courier-IMAP, is there a POP3 and
IMAP solution that does work with vipmap?

Thanks,

Jim L.
[EMAIL PROTECTED]



- Original Message - 
From: "Michael Bowe" <[EMAIL PROTECTED]>
To: "vpopmail list" <[EMAIL PROTECTED]>
Sent: Wednesday, November 26, 2003 2:59 PM
Subject: Re: [vchkpw] Courier and vipmap


> - Original Message - 
> From: "Tom Collins" <[EMAIL PROTECTED]>
> To: "vpopmail list" <[EMAIL PROTECTED]>
> Sent: Thursday, November 27, 2003 3:34 AM
> Subject: Re: [vchkpw] Courier and vipmap
>
>
> > On Friday, November 21, 2003, at 11:24  AM, Jim L. wrote:
> > > HELP!  I have been working with this for the last three days and I am
> > > out of
> > > ideas. I cannot get ip-alias-domains to work. I have mapped a domain
> > > to an
> > > IP address using vipmap.
> >
> > Can someone confirm that vipmap works for them with the current version
> > of vpopmail?  If it's broken for everyone, we need to find the cause
> > and fix it before the 5.4 release.
>
> I ran some tests on it the other day after seeing this post,
> and it appeared to work OK as far as I could see (POP3)
>
> Its not going to work from Courier though I wouldn't think.
> Courier doesn't use the vchkpw code when it auth's a user.
> What it does is :
> take the username/password supplied by the user,
> runs vauth_getpw() to retrieve that user's passwd entry,
> runs a crypts the password supplied by the user,
> compares the crypted pass against the pass in the pwent.
> If it matches then auth is successful, else declared a failure.
>
> Michael.
>
>
>




Re: [vchkpw] Courier and vipmap

2003-12-11 Thread Jim L.
I have just tested vipmap with the latest versions of vpopmail and
courier-imap and it still is not working for me. Also, I did not mention it
before, but I am not getting any vlog entries. In fact, the table does not
even get created in MySQL.

I have built a sandbox using Mandrake 9.2 which makes it much easier to run
tests. If there is anything else I can do to help, please let me know.

vpopmail 5.4.0-pre1 build
--
./configure \
  --enable-roaming-users \
  --enable-relay-clear-minutes=60 \
  --enable-ip-alias-domains \
  --enable-mysql \
  --enable-auth-logging \
  --enable-mysql-logging

Tested with and without '/home/vpopmail/etc/defaultdomain' file.

courier-imap 2.2.1 build
--
export CFLAGS="-DHAVE_OPEN_SMTP_RELAY -DHAVE_VLOGAUTH"
./configure \
  --disable-root-check \
  --with-redhat \
  --without-authpam \
  --without-authldap \
  --without-authpwd \
  --without-authmysql \
  --without-authpgsql \
  --without-authshadow \
  --without-authuserdb \
  --without-authcustom \
  --without-authcram \
  --without-authdaemon \
  --with-authvchkpw \
  --with-ssl


Jim L.
[EMAIL PROTECTED]



- Original Message - 
From: "Tom Collins" <[EMAIL PROTECTED]>
To: "vpopmail list" <>
Sent: Wednesday, November 26, 2003 11:34 AM
Subject: Re: [vchkpw] Courier and vipmap


> On Friday, November 21, 2003, at 11:24  AM, Jim L. wrote:
> > HELP!  I have been working with this for the last three days and I am
> > out of
> > ideas. I cannot get ip-alias-domains to work. I have mapped a domain
> > to an
> > IP address using vipmap.
>
> Can someone confirm that vipmap works for them with the current version
> of vpopmail?  If it's broken for everyone, we need to find the cause
> and fix it before the 5.4 release.
>
> --
> 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] allowing users to change their own passwords

2004-09-04 Thread Jim Clark
Hello,

I'm new to this list so I apologize in advance for asking what will likely
be a common question.

I manage a new virtual web site and email service for our church, and our
web hosting company uses qmail and vpopmail for virtual mail administration.
I'm looking for a way to allow the people I have created mailboxes for to
change their own passwords, set up forwarding and vacation messages without
asking me to do it for them. I would like to do this with a browser
interface, and I expect to write one myself. I have figured out how to
manipulate the correct ../auth files with a new MD5 password, but I can't
sort out how to authenticate the user against that MD5 file in the first
place before we change it.

If anyone has either an idea on how I can do my own authentication, or if
there is a package I can install to simplify my life for ens user password
maintenance, I'm all ears.

Thanks in advance...

Jim




RE: [vchkpw] allowing users to change their own passwords

2004-09-04 Thread Jim Clark
Well, the thing is I don't have access to vpopmail directly - my web hosting
service controls that. And I want the actual mailbox user to be able to
change their own password. I went to the qmailadmin page and the demo showed
an interface that looked more like an administrator interface rather than a
mailbox user interface - which I already have from my hosting provider. Did
I miss something? Any other ideas?

Thanks..

Jim

-Original Message-
From: Jake S [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 04, 2004 8:47 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] allowing users to change their own passwords


-Original Message-
From: Jim Clark [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 04, 2004 5:14 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] allowing users to change their own passwords

Hello,

I'm new to this list so I apologize in advance for asking what will likely
be a common question.

I manage a new virtual web site and email service for our church, and our
web hosting company uses qmail and vpopmail for virtual mail administration.
I'm looking for a way to allow the people I have created mailboxes for to
change their own passwords, set up forwarding and vacation messages without
asking me to do it for them. I would like to do this with a browser
interface, and I expect to write one myself. I have figured out how to
manipulate the correct ../auth files with a new MD5 password, but I can't
sort out how to authenticate the user against that MD5 file in the first
place before we change it.

If anyone has either an idea on how I can do my own authentication, or if
there is a package I can install to simplify my life for ens user password
maintenance, I'm all ears.

Thanks in advance...

Jim

***

Jim,
I'm not sure if this is an option for you but have you looked at qmailadmin?
It can be found at:  http://sourceforge.net/projects/qmailadmin/ and plugs
right into vpopomail.

It would accomplish everything you listed above and is brand-able for your
church to boot.  Check it out.


Thank you,
Jake Seitz - Founder
Agatestreet.com - Cleaning Inbox's one domain at a time!
http://www.agatestreet.com
d 1.866.850.1608
f 1.858.964.6461







RE: [vchkpw] allowing users to change their own passwords

2004-09-04 Thread Jim Clark
Ahh - so I cannot install this application as the root user from within the
virtual private server. The qmail directories do not exist. Any other
thoughts?

Jim

-Original Message-
From: Robert Fleming [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 04, 2004 10:31 PM
To: [EMAIL PROTECTED]
Subject: RE: [vchkpw] allowing users to change their own passwords


--On Saturday, September 4, 2004 10:15 PM -0400 Jim Clark is rumoured to
have written:

> Well, the thing is I don't have access to vpopmail directly - my web
> hosting service controls that. And I want the actual mailbox user to be
> able to change their own password. I went to the qmailadmin page and the
> demo showed an interface that looked more like an administrator interface
> rather than a mailbox user interface - which I already have from my
> hosting provider. Did I miss something? Any other ideas?

qmailadmin allows users to login into that interface and change their
password.

Rob