PASSWORD PROBLEM

2000-07-31 Thread Hemanta Sharma

Hi all,

I've a kindda strange problem. I'm running sqwebmail. Now the problem is 
that when a user changes the password from sqwebmail, authentication fails 
when checked from any email client, though it works fine when logging in 
again from sqwebmail.

Please help.

Thanks in advance.
Hemanta Sharma




SqWebmail Current Stable Version ?

2000-07-31 Thread Jessie Bryan


Could someone tell me what the stable version of sqwebmail is?
I couldn't find a current version listed on
http://www.inter7.com/sqwebmail/

Thanks.


Regards,

Jessie Bryan

GETO Internet Services
Systems Administrator
Email: [EMAIL PROTECTED]
Web: http://www.geto.net



Re: MRTG QMail

2000-07-31 Thread Ken Jones

Peter Green wrote:
 
 also sprach insyte:
  On Thu, Jul 27, 2000 at 03:39:31PM -0500, Ken Jones wrote:
 
   If you use the qmail-mrtg scripts and cyclog, it will work
   really nicely. cyclog is in daemon-tools-0.53. I've not
   been able to get daemontools-0.70 with multilog to work
   with qmail-mrtg. shrug
 
 (In response to your earlier message, I've attached the qmail-mrtg package
 that support multilog log files. It may require a little tweaking for your
 environment... :)
 
  This is from a message I just asked a couple of days ago on the qmail
  list:
 
 That's odd, coming from Russell, since there is no indication that:
 
 a) The package has changed in the past eight months, nor
 b) The source supports multilog log files.
 
 (I'm assuming Russell meant that, with a filter to do tai64-tai64n
 conversion, it's supported.) In any case, I've attached a tar.gz file of
 what we use to generate MRTG graphs for our server using multilog log files.
 YMMV.

That's what he must of meant. Because I tested using qmail-mrtg from
the links, and multilog, and it doesn't work. A quick review of
the code indicates that it only supports the cyclog output.

Darn! I've been waiting to switch to multilog because of this.

Ken



Re: POP authentication problem

2000-07-31 Thread Ken Jones

 Warren Brundage wrote:
 
 Hello,
 
 I have installed qmail/vpopmail/sqwebmail/qmailadmin to my system.  I
 can add and delete users with qmailadmin and I can check and send mail
 with sqwebmail but I have had no luck in getting mail remotely via
 POP3.  When I try a test by telneting in to port 110 I get the
 following:
 
 # telnet mydomain.com 110
 Trying 1.2.3.4 ...
 Connected to server.mydomain.com
 Escape character is '^]'.
 +OK 1002.694735678@/home/vpopmail/bin/vchkpw
 user [EMAIL PROTECTED]
 +OK
 pass password
 --ERR this user has no $HOME /Maildir
 Connection closed by foreign host.
 #
 
 I notice that "home/vpopmail/bin/vchkpw" is showing up where the
 server name should appear.  I also see that the line
 "CHKPASS="checkpassword"" is in my qmail-pop3d.init file.
 Anyone have any advice?

Your startup line for pop3 is wrong. hence you are seeing the
entry for the authentication program as your hostname. 
Maybe it's as simple as adding your hostname before the
/home/vpopmail/bin/vchkpw

Ken Jones



Re: vpopmail warning

2000-07-31 Thread Ken Jones

Said Madrus wrote:
 
 Dear all,
 i have installed vpopmail-3.4.11-2, but when installing some message appear
 like this:
 opensmtp.o: In function `tcprules_open':
 /source/vpopmail/vpopmail-3.4.11-2.released/opensmtp.c(.text+0x5d): warning:
 mktemp() possibly used unsafely; consider using mkstemp()
 anybody know what does it mean ??
 thanks.
 
 ~said madrus

The 3.4.11-2 code used mktemp in the roaming user code. This
has been changed. Download the latest release and you won't
see this warning.

It's a freebsd warning. 

Funny note: the latest beta mysql client libraries use mktemp
and freebsd pumps out the same complaint when linking with
mysql client

Ken Jones



Re: sqwebmail netscape

2000-07-31 Thread Ken Jones

"Hubbard, David" wrote:
 
 Hey all,
 I'm having trouble using sqwebmail and Netscape 4.73  4.74.  I'll
 be using the web interface and most of the time when I click on "Folders"
 to go back to my main screen, I end up getting an "Invalid request" instead.
 If I hit reload, it boots me back to the login screen.  This behavior does
 not
 happen with IE.

There is something else going on besides Netscape. I use netscape
with sqwebmail all the time. So it's not a netscape problem.

Most likely it's a web server configuration issue. Or you
installed sqwebmail wrong.

Ken Jones



Re: LDAP vpopmail sqwebmail

2000-07-31 Thread Ken Jones

 Ender Hikmet KILIÇOÐLU wrote:
 
 Hi all,
 How can i use vpopmail using ldap authentication and sqwebmail

configure vpopmail with --enable-ldap=y
and modify the vldap.h file to match your installation

Ken Jones



Re: Upgrading from 3.4.11...

2000-07-31 Thread Ken Jones

 James Beam wrote:
 
 Are there any issues I should know about when upgrading from
 vpopmail-3.4.11 to the latest version?
 
 I have a server that has been running for about a year now on version
 3.4.11. I would like to upgrade it to the latest version if for no
 other reason than to have it consistent with my new server. It has
 about 3 dozen domains on it, and I do not want to interrupt mail
 service on those domains if at all possible.
 
 I am thinking this is just a compile like I did the previous version
 and install it?
 
 Thanks for any advice you folks can offer.
 
 James Beam

It's as easy as:
configure
make
make install-strip

Two things will happen:
1) new binaries get copied into ~vpopmail/bin
2) the entire ~vpopmail tree will get recursively chowned/chgrp'd to
   vpopmail/vchkpw

To be safe, you can back up your ~vpopmail/bin directory.

If you are using roaming users. You might want to make the following
change. 

mkdir ~vpopmail/etc
mv /etc/tcp.* ~vpopmail/etc

Then run configure, make, make install-strip

edit your smtp startup line to use -x/home/vpopmai/etc/tcp.smtp.cdb
 (or where everthe home dir is) instead of /etc/tcp.smtp.cdb

The major change from 3.4 to 4.X is having the configure script
look in ~vpopmail/etc for tcp.smtp then /etc. This is so you
can run your pop server as vpopmail/vchkpw uid/gid instead of root.

Ken Jones
inter7



how to set default domain

2000-07-31 Thread Val Luck


Hello,

I have a question, which I hope is simple enough.

If my domain is MYDOMAIN.NET and my machinename that qmail is running on
is QMAIL, then when I set vpopmail up, I have a

   ~vpopmail/users/

directory.  I then go and add the MYDOMAIN.NET with the vadddomain
command, and now I also have

   ~vpopmail/domains/mydomain.net

as a directory.  On the advice of another qmail/vpopmail user, I set up a
link from the users directory to the mydomain.net directory, so the local
mail and the domain mail is the same

 # cd ~vpopmail
 # mv users users.bak
 # ln -s domains/mydomain.net users

However, since I am still setting up and configuring this machine
(qmail.mydomain.net), the MX record for my domain still points to another
server running sendmail, so to get email here, I have to address the email
to [EMAIL PROTECTED], which of course doesn't exist.  So, I
then created another link from that domain back to the main domain
  
  # cd ~vpopmail/domains
  # ln -s mydomain.net qmail.mydomain.net

And all seems well.

My quesion(s) are this:

1) Is this linking ok to do?  Am I causing some unknown problem that I
will regret later?

2) If not, how can I define the "default" domain to be
"qmail.mydomain.net" so if it gets email for a user there,
"[EMAIL PROTECTED]" it knows to stick it in the
"users" directory and not the domains/qmail.mydomain.net

Can I do this, and, do I want to?

Any advice or experience would be most appreciated!  Thanks!

--Val
[EMAIL PROTECTED]






RE: sqwebmail netscape

2000-07-31 Thread Hubbard, David

Thanks for the reply.  Can you tell me what kind of conditions
would make sqwebmail say 'invalid request' when working in a
message and then clicking the folders button?  I think the
server is fine, it runs all kinds of other things without
problems.  I think it must be something wrong with my Netscape
since IE works fine every time, I would like to know where to
look to find out what though.

Thanks,

Dave



-Original Message-
From: Ken Jones
To: Hubbard, David
Cc: '[EMAIL PROTECTED]'
Sent: 7/31/00 12:47 PM
Subject: Re: sqwebmail  netscape

"Hubbard, David" wrote:
 
 Hey all,
 I'm having trouble using sqwebmail and Netscape 4.73  4.74.
 I'll be using the web interface and most of the time when I click on
 "Folders" to go back to my main screen, I end up getting an "Invalid
 request" instead. If I hit reload, it boots me back to the login screen.
 This behavior does not happen with IE.

There is something else going on besides Netscape. I use netscape
with sqwebmail all the time. So it's not a netscape problem.

Most likely it's a web server configuration issue. Or you
installed sqwebmail wrong.

Ken Jones



Migration

2000-07-31 Thread Jacob Scott

I need to move a large database of users over to to qmail from sendmail, on
different boxes. Is there a cheat I can use, so that while I am building the
domain directory, I can still correctly use the qmail box to deliver mail to
the domain remotely? (would deleting the line from the qmail assign file
work?) I have a feeling I didnt express my needs as clearly as I should
have, so if this is to garbled to make sense of, let me know and I'll try to
rehash it.


Thanks

Jacob




Re: how to set default domain

2000-07-31 Thread Ken Jones

Val Luck wrote:
 
 Hello,
 
 I have a question, which I hope is simple enough.
 
 If my domain is MYDOMAIN.NET and my machinename that qmail is running on
 is QMAIL, then when I set vpopmail up, I have a
 
~vpopmail/users/
 
 directory.  I then go and add the MYDOMAIN.NET with the vadddomain
 command, and now I also have
 
~vpopmail/domains/mydomain.net
 
 as a directory.  On the advice of another qmail/vpopmail user, I set up a
 link from the users directory to the mydomain.net directory, so the local
 mail and the domain mail is the same
 
  # cd ~vpopmail
  # mv users users.bak
  # ln -s domains/mydomain.net users
 
 However, since I am still setting up and configuring this machine
 (qmail.mydomain.net), the MX record for my domain still points to another
 server running sendmail, so to get email here, I have to address the email
 to [EMAIL PROTECTED], which of course doesn't exist.  So, I
 then created another link from that domain back to the main domain
 
   # cd ~vpopmail/domains
   # ln -s mydomain.net qmail.mydomain.net
 
 And all seems well.
 
 My quesion(s) are this:
 
 1) Is this linking ok to do?  Am I causing some unknown problem that I
 will regret later?
 
 2) If not, how can I define the "default" domain to be
 "qmail.mydomain.net" so if it gets email for a user there,
 "[EMAIL PROTECTED]" it knows to stick it in the
 "users" directory and not the domains/qmail.mydomain.net
 
 Can I do this, and, do I want to?
 
 Any advice or experience would be most appreciated!  Thanks!
 
 --Val
 [EMAIL PROTECTED]

Maybe you should use vaddaliasdomain instead of doing these
symbolic links. I would also not use the ~vpopmail/users
and link to the domain dir. Instead, I would configure
vpopmail with "--enable-default-domain=MYDOMAIN.COM" plus
your other options.

Be sure to add users with vadduser [EMAIL PROTECTED] and
not with vadduser username

Ken



Re: Migration

2000-07-31 Thread Ken Jones

Jacob Scott wrote:
 
 I need to move a large database of users over to to qmail from sendmail, on
 different boxes. Is there a cheat I can use, so that while I am building the
 domain directory, I can still correctly use the qmail box to deliver mail to
 the domain remotely? (would deleting the line from the qmail assign file
 work?) I have a feeling I didnt express my needs as clearly as I should
 have, so if this is to garbled to make sense of, let me know and I'll try to
 rehash it.

If you are asking, if you can use the qmail machine to receive the
mail for a domain, but then have it sent the email off to the old
sendmail machine. Yes you can do that.

Look up the qmail control file smtproutes. That will route
incoming smtp mail to the other machine.

If you are wondering how to deliver locally generated email,
via a sendmail script or qmail-inject running on the qmail
machine. Then you can do that too. Remove the domain name
from all qmail control files. Make sure to send qmail-send
a HUP signal each time you modify the control files.

If you want vpopmail to still work on the new machine, while you
are working on it. Don't remove the domain from the assign file.
The vpopmail library uses the assign/cdb file. 

Ken Jones



RE: Migration

2000-07-31 Thread Jacob Scott

I think that closest is what I want to do. Basically i want to have the
domain totally set up (folders/users/mailing lists) on the qmail box but
have the locally generated mail on the qmail box for that domain routed to
somewhere else(the sendmail box). (External mail is already routed to the
sendmail box for that domain). So I should remove the domain from the
qmail/users/assign file and the others, and then HUP the qmail server, so it
basically doesnt realize that I have setup the domain on the local machine?

-Original Message-
If you are wondering how to deliver locally generated email,
via a sendmail script or qmail-inject running on the qmail
machine. Then you can do that too. Remove the domain name
from all qmail control files. Make sure to send qmail-send
a HUP signal each time you modify the control files.