Please help, troubles retrieving with qmail/vpopmail

2001-02-01 Thread Calvin Crutchfield

I cannot seem to retrieve mail.  I am using qmail, ucspitcp adn vpopmail
with vchkpw.  It appears the vchkpw is failing authentication  I am
using one virtual domain and one virtual user, it will also fail with a
/etc/passwd user.

If I attempt to retrieve mail with   [EMAIL PROTECTED], I get the
foollwing message:

Feb  1 00:39:25 sparky vpopmail[698]: vchkpw: No user found
foobar@:192.168.1.1

If I attempt to retrive mail using [EMAIL PROTECTED], I get
the following message:

Feb  1 00:36:25 sparky vpopmail[647]: vchkpw: execvp() failed

Please help I can send more info if needed

Thanks,
calvin

Here is my start up script.
==
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir splogger qmail 

/usr/local/bin/tcpserver -u 1007 -g 100 -c 120 -H -R -x
/var/qmail/control/tcp.smtp.cdb 0 smtp /var/qmail/bin/qmail-smtpd 21 |
/var/qmail/bin/splogger qmail-smtpd 3 

/usr/local/bin/tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup \
name.domain.com /bin/vchkpw /var/qmail/bin/qmail-pop3 Maildir 21 | \
/var/qmail/bin/splogger pop3d 

here is a ps -ef |grep qmail

qmails 568  0.0  0.3  984  648 pts/4S 00:28:58  0:00 qmail-send
qmaill 569  0.0  0.5 1648 1096 pts/4S 00:28:58  0:00 splogger
qmail
root   570  0.0  0.3  928  544 pts/4S 00:28:58  0:00
qmail-lspawn ./Maildir
root   571  0.0  0.4 1640  912 pts/4S 00:28:58  0:00
/var/qmail/bin/splogger qmail-smtpd 3
qmaild 572  0.0  0.5 1664 1232 pts/4S 00:28:58  0:00
/usr/local/bin/tcpserver -u 1007 -g 100 -c 120 -H -R -x
/var/qmail/control/tcp.smtp.cdb 0 smtp /var/qmail/bin/qmail-smtpd
root   573  0.0  0.4 1640  912 pts/4S 00:28:58  0:00
/var/qmail/bin/splogger pop3d
root   574  0.0  0.5 1664 1232 pts/4S 00:28:58  0:00
/usr/local/bin/tcpserver -H -R 0 pop3 /var/qmail/bin/qmail-popup
sparky.zrx1200.com /bin/vchkpw /var/qmail/bin/qmail-pop3 Maildir
qmailr 575  0.0  0.3  920  584 pts/4S 00:28:58  0:00
qmail-rspawn
qmailq 576  0.0  0.3  912  576 pts/4S 00:28:58  0:00 qmail-clean








Re: Millennium Money network

2001-02-01 Thread Daniel Hardaker


 I have a question:  Sorry for being off topic but this really bugs me.

 I am a new qmail administrator.  Lets say I were running this list and I
 received this obvious spam, what would be the first step that I should
take
 if I were running the list?  What are the next series of steps?

 I am willing to read and search the Internet for advice but would
appreciate
 the experts on this list's advice also.  After all I am not really
 interested in what sendmail or exchange admins are doing I want the qmail
 users solutions.

 Would I be correct to forward this e-mail to [EMAIL PROTECTED] ? Would I
be
 correct to forward this e-mail to [EMAIL PROTECTED]?

When spam like this is received, if you take a look at the address it is
from, you will notice that it is a namerandomnumber@hotmail.com  what
these spammers do, is a way of avoiding obvious ways of spam detection.
They have a list of domains, excite.com is often used, and then use a
dictionary file or somethin to form the username, and follow it by a random
number.  Chances are that the hotmail account does not exist so forwarding
it to [EMAIL PROTECTED] wont do much good (infact, at the beginning of the
email they say its fake).  As for the other abuse address, if someone is
running an open relay, chances are their abuse department will be:
1) Very very busy
2) Not bothered at all
3) Not exist
So, theres not much you can do.  You can check the website for info, and
then email them, but theyre likely to be uninterested.

Generally, some useful tools for stopping spam are http://abuse.net and
www.spamcop.net  Spamcop will search through the headers, reverse resolve
IPs, check abuse.net records, check ORBS database and then generate abuse
reports and send them to absolutely anyone vaguely involved with the email.
Id recommend Spamcop, but many ISPs are not really interested until you
start to call them, but this is a lot of hassle, spamcop does the best job
you could do really.

You could, finally, install ORBS blocking on your server which could
eliminate spam, but i dont entirely agree, because it could also block some
genuine email (and has in my experience).  But if you want to try it, there
are plenty of docs around, cant think where though, try qmail.org

Hope this was of some help, if anyone else has any ideas id like to hear
them!

daniel(@iv2.co.uk)




Re: pop accounts

2001-02-01 Thread Daniel Hardaker

Hi,

is there a way to use just username, to check a mail account, instead of
using user%domain.com ?

Thanks

Well, if you think about it...
vpopmail allows you to use one POP3 server for many different domains.  You
may have a [EMAIL PROTECTED] and a [EMAIL PROTECTED] and their email will be
stored in entirely seperate places, even though their username is the same,
it doesnt mean they are the same person.  The POP3 server has to know which
domain it is checking, so, my answer to this is probably not as i dont see
how it would be possible!

daniel (@iv2.co.uk)  - waiting to be proven wrong




Ynt: (Another) Bug in qmailadmin 0.42 ?

2001-02-01 Thread M. Guven Mucuk

Yes i included "--enable-webpass=vpopmail" in the configure parameters.

(
This is my FULL configure line:
=
./configure
 --with-cachedir=/home/mailsys/sqwebmail/cache
 --without-authmysql
 --enable-logincache
 --enable-webpass=vpopmail
 --with-module=authvchkpw
 --enable-hardtimeout=7200
 --enable-softtimeout=3600
 --with-htmllibdir=/home/mailsys/sqwebmail
 --enable-cgibindir=/home/mailsys/sqwebmail/cgi-bin
 --enable-imagedir=/home/mailsys/sqwebmail/images/
 --enable-imageurl=/images/
=
)

Best Regards,
M. Guven Mucuk
[EMAIL PROTECTED]

-zgn leti-
Kimden: [EMAIL PROTECTED] [EMAIL PROTECTED]
Kime: M. Guven Mucuk [EMAIL PROTECTED]
Bilgi: Vpopmail Mailing List [EMAIL PROTECTED]
Tarih: 01 ubat 2001 Perembe 18:14
Konu: Re: (Another) Bug in qmailadmin 0.42 ?


Did you compile sqwebmail with --enable-webpass=vpopmail ?

Tren.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Ownermailto:[EMAIL PROTECTED]  =
= End of Time Networks  http://www.theendoftime.net  -
- (403) 269-2122 =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

On Thu, 1 Feb 2001, M. Guven Mucuk wrote:

 Hello,

 I'm using:
 daemontools-0.70, ezmlm-0.53, ezmlm-idx-0.40, gdbm-1.8.0, qmail-1.03,
 qmailadmin-0.42, sqwebmail-1.2.4,
 ucspi-tcp-0.88, vpopmail-4.9.8 with MySQL (3.23.26-beta).

 My problem:
 Everything works fine, except:
 After a succesful qmailadmin login for domain, i change a user's
password.
 When i try to login via sqwebmail with that user  the new password,
login
 fails. (old password is still working).

 (P.S.: While changing users password @qmailadmin, i get no error
messages.)

 Thank you,
 M. Guven Mucuk
 [EMAIL PROTECTED]









Re: (Another) Bug in qmailadmin 0.42 ?

2001-02-01 Thread Ken Jones

"M. Guven Mucuk" wrote:
 
 Hello,
 
 I'm using:
 daemontools-0.70, ezmlm-0.53, ezmlm-idx-0.40, gdbm-1.8.0, qmail-1.03,
 qmailadmin-0.42, sqwebmail-1.2.4,
 ucspi-tcp-0.88, vpopmail-4.9.8 with MySQL (3.23.26-beta).
 
 My problem:
 Everything works fine, except:
 After a succesful qmailadmin login for domain, i change a user's password.
 When i try to login via sqwebmail with that user  the new password, login
 fails. (old password is still working).
 
 (P.S.: While changing users password @qmailadmin, i get no error messages.)
 
 Thank you,
 M. Guven Mucuk
 [EMAIL PROTECTED]

There are a couple things you should track down to find out 
exactly what is happening (instead of guessing).

Both vpopmail and sqwebmail have multiple ways to authenticate
a user. vpopmail also knows about the one sqwebmail-pass file
which is stored in the users Maildir that contains the sqwebmail
users password. Vpopmail must be compiled to set that password.
I think this is the default method. If you just ran 
$vpopmail ./configure
vpopmail would update the sqwebmail-pass file with a
tabencrypted password

To check the above:
0) ls -l ~vpopmail/domains/domain/user/Maildir/sqwebmail-p*
or it might be in user/sqwebmail-p*
you will have to check.

1) ~vpopmail/bin/vpasswd user@domain password
This will update the vpopmail password file or database. you
said this was working, so you wouldn't need to test it, unless
you want to be complete. It should also update that sqwebmail
password file. So check the time again..

2) Repeat step Zero.

The above tests will show if vpopmail is updating everything
we expect it to do. 

If the above works,check sqwebmail.

Sqwebmail has a wide range of configure options. 
Go read the INSTALL file twice. Then you'll start
to get the hang of it. 

You'll notice one section that talks about auth modules.
Read that AGAIN! Now, check the options you built your
current sqwebmail binary with. Not what is set now, but
what you are actually running. 

Check what you do against what I describe.

1) disable every single authentication method
2) enable vchkpw method
3) --enable-webpass=vpopmail

That's it.

I bet you didn't enable webpass! 

Ken Jones



Re: (Another) Bug in qmailadmin 0.42 ?

2001-02-01 Thread fox

Did you compile sqwebmail with --enable-webpass=vpopmail ?

Tren.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Ownermailto:[EMAIL PROTECTED]  =
= End of Time Networks  http://www.theendoftime.net  -
- (403) 269-2122 =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

On Thu, 1 Feb 2001, M. Guven Mucuk wrote:

 Hello,

 I'm using:
 daemontools-0.70, ezmlm-0.53, ezmlm-idx-0.40, gdbm-1.8.0, qmail-1.03,
 qmailadmin-0.42, sqwebmail-1.2.4,
 ucspi-tcp-0.88, vpopmail-4.9.8 with MySQL (3.23.26-beta).

 My problem:
 Everything works fine, except:
 After a succesful qmailadmin login for domain, i change a user's password.
 When i try to login via sqwebmail with that user  the new password, login
 fails. (old password is still working).

 (P.S.: While changing users password @qmailadmin, i get no error messages.)

 Thank you,
 M. Guven Mucuk
 [EMAIL PROTECTED]







Re: (Another) Bug in qmailadmin 0.42 ?

2001-02-01 Thread M. Guven Mucuk

Oups!
Thank you, i'll re-configure without that mistake.

Best Regards,
M. Guven Mucuk
[EMAIL PROTECTED]


-zgn leti-
Kimden: [EMAIL PROTECTED] [EMAIL PROTECTED]
Kime: M. Guven Mucuk [EMAIL PROTECTED]
Bilgi: Vpopmail Mailing List [EMAIL PROTECTED]
Tarih: 01 ubat 2001 Perembe 20:16
Konu: Re: Ynt: (Another) Bug in qmailadmin 0.42 ?


You made a mistake in your configure line.  There is no
--with-module=vchkpw.  It would be --with-authvchkpw.

Cheers,

Tren.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Ownermailto:[EMAIL PROTECTED]  =
= End of Time Networks  http://www.theendoftime.net  -
- (403) 269-2122 =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

On Thu, 1 Feb 2001, M. Guven Mucuk wrote:

 Yes i included "--enable-webpass=vpopmail" in the configure parameters.

 (
 This is my FULL configure line:
 =
 ./configure
  --with-cachedir=/home/mailsys/sqwebmail/cache
  --without-authmysql
  --enable-logincache
  --enable-webpass=vpopmail
  --with-module=authvchkpw
  --enable-hardtimeout=7200
  --enable-softtimeout=3600
  --with-htmllibdir=/home/mailsys/sqwebmail
  --enable-cgibindir=/home/mailsys/sqwebmail/cgi-bin
  --enable-imagedir=/home/mailsys/sqwebmail/images/
  --enable-imageurl=/images/
 =
 )

 Best Regards,
 M. Guven Mucuk
 [EMAIL PROTECTED]

 -zgn leti-
 Kimden: [EMAIL PROTECTED] [EMAIL PROTECTED]
 Kime: M. Guven Mucuk [EMAIL PROTECTED]
 Bilgi: Vpopmail Mailing List [EMAIL PROTECTED]
 Tarih: 01 ubat 2001 Perembe 18:14
 Konu: Re: (Another) Bug in qmailadmin 0.42 ?


 Did you compile sqwebmail with --enable-webpass=vpopmail ?
 
 Tren.
 
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 - Tren Blackburn - Ownermailto:[EMAIL PROTECTED]  =
 = End of Time Networks  http://www.theendoftime.net  -
 - (403) 269-2122 =
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
 On Thu, 1 Feb 2001, M. Guven Mucuk wrote:
 
  Hello,
 
  I'm using:
  daemontools-0.70, ezmlm-0.53, ezmlm-idx-0.40, gdbm-1.8.0, qmail-1.03,
  qmailadmin-0.42, sqwebmail-1.2.4,
  ucspi-tcp-0.88, vpopmail-4.9.8 with MySQL (3.23.26-beta).
 
  My problem:
  Everything works fine, except:
  After a succesful qmailadmin login for domain, i change a user's
 password.
  When i try to login via sqwebmail with that user  the new password,
 login
  fails. (old password is still working).
 
  (P.S.: While changing users password @qmailadmin, i get no error
 messages.)
 
  Thank you,
  M. Guven Mucuk
  [EMAIL PROTECTED]
 
 
 
 
 








Re: Fw: failure notice

2001-02-01 Thread Peter Green

* Daniel Hardaker [EMAIL PROTECTED] [010201 17:04]:
  Hi. This is the qmail-send program at jupiter.iv2web.net.
  I tried to deliver a bounce message to this address, but the bounce
 bounced!
 
  [EMAIL PROTECTED]:
  Connected to 206.129.166.188 but sender was rejected.
  Remote host said: 553 ...domain required
 
 ALthough this is probably not related to vpopmail, I think theres more
 chance of help here than anywhere else...
 Anyone have any idea about this bounce message?  I have replaced the
 username with user...it seems intermittant, sometimes it gets delivered fine
 and theres nothing revealing in any log files...

That doesn't look like a qmail message to me. More like someone's idiotic,
broken mailer that is rejecting bounces. (Bounces usually have an empty
envelope sender.)

  (pcg@terra) ~ telnet pim.infospace.com 25
  Trying 206.129.166.188...
  Connected to pim.infospace.com.
  Escape character is '^]'.
  220 PIM1 2.50.4874.14028 SMTP Ready
  HELO example.com
  250 (example.com) pleased to meet you.
  MAIL FROM:
  553 ...domain required
  QUIT
  221 Service closing transimission session
  Connection closed by foreign host.

Yep, they've goofed up.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
Sometimes when I feel like killing someone, I do a little trick to calm myself 
down. I'll go over to the persons house and ring the doorbell. When the person 
comes to the door, I'm gone, but you know what I've left on the porch? A 
jack-o-lantern with a knife stuck in the side of it's head with a note that 
says: 'You.' After that I usually feel a lot better, and no harm done.
 (Jack Handey)




Fw: Auditing passwds

2001-02-01 Thread Franco Galian

Well, as nobody posted an answer I did some tests and here's what I've
found:
With cdb auth using vpasswd file is just fine to use it for passwd auditing
with John The Ripper.
It works also when a user has changed the passwd with SqWebMail.
I think John is the best suited for this as it can mail the user a warning
if it's passwd is weak.
I have copied vpasswd file to a Linux SuSE 7.0 where I have john the ripper
version 1.6.22-DEV

Hope that helps someone concerned about mail users privacy

Franco Galian.

- Original Message -
From: "Franco Galian" [EMAIL PROTECTED]
To: "vchkpw" [EMAIL PROTECTED]
Sent: Wednesday, January 31, 2001 7:04 AM
Subject: Auditing passwds


 Hi, I've noticed that when I create an account, first the system updates
 vpasswd and then it updates vpasswd.cdb. It's that right? because I am
 willing to do an audit to user passwds, so I just could use vpasswd file
for
 example with john the ripper, anybody has tryed this?

 Thanks in advance

 Franco Galian
 PS: I have qmail 1.0.3 + vpopmail 4.9.8.+ ezmlm(0.53)-idz(0.40) +
qmailadmin
 0.42 + sqwebmail 1.23 running at an OpenBSD 2.8 box






Re: Pop freeze after update

2001-02-01 Thread Da Bey

At 02:57 02/02/2001, Kari Suomela wrote:

Wednesday January 31 2001 17:21, Da Bey wrote to All:

  DB now while i'm stuck to the PASS command,
  DB my server is getting loaded with this :

  DB 19703 ?S  0:00  \_ supervise qmail-pop3d
  DB 19713 ?S  0:00  |   \_ /usr/local/bin/tcpserver -u 77
  DB -g
  DB 77 -H -R 0 pop3 /var/qmail/bin/qmail-popup

Did you find a way to fix this?

Unfortunatly not.

tought i'm still trying to figure out
why it beaves like this.




Next 5.0 features

2001-02-01 Thread Ken Jones


We are looking at the features to add to the vpopmail 5.0 release.

Here are the current major changes we are thinking about

1. vqmail-local support. This means, a new vpopmail program that can
be used to replace qmail-local for sites which are primarily running
vpopmail users/domains. For large volume sites this means one less
fork/exec for email deliveries.

What this means:
a) Kris's additions to vpopmail for qmail-local type processing.
Integrating his work into the current vpopmail archecture.

b) new API's to support add/del/modify of dot-qmail type files.

c) modifications to each authentication module to support dot-qmail
file tile processing

d) backward compatibility to support standard dot-qmail file
setups on current machines.

2. qmailadmin support for new vpopmail api's
a) backward compatibility to read the current dot-qmail files
for mailing lists, forwards, aliases and autoresponders

b) support for the new vpopmail api to get/set dot-qmail information.

3. Code review for efficency

These are the things that are important to me. If anyone here
has things that are important to them, please speak up. Perhaps
what you have to say will solve problems that other people are seeing.

Ken Jones

PS: I think I've got an idea for modifications to sqwebmail/courier-imap
makefiles to support the ~vpopmail/etc/lib-deps and lib-inc file.

I would be interested to hear real world experiences from folks
who are running vpopmail(etc). Perhaps we can figure out what
needs to be changed to make it a better package.



Re: Next 5.0 features

2001-02-01 Thread Umar Goldeli

 I would be interested to hear real world experiences from folks
 who are running vpopmail(etc). Perhaps we can figure out what
 needs to be changed to make it a better package.

Overall, vpopmail is a fantastic package - the only issue I have is the
way it hashes the directories i.e. /0 /1 /2 etc.. it's rather
counter-intuitive and rubs me the wrong way for some reason.. :)

Unfortunately, the only other idea that I have for this is to actually
hash the mailbox name (or similar) into a ad87hdk style hash (which is not
exactly intuitive either :)


Apart from that, I love it. :)


//umar.