Newbie qmail install problems

1999-09-11 Thread Barry Dwyer

I'm not new to *nix but this is my first go-round with mail systems. I'm

installing qmail on a Calera OpenLinux 2.2 (col 2.2.5) system and have
run into several show-stoppers.

Basically, I need qmail, smtp and pop3 for this to be any use to us. (40

internal users with pop clients, smtp relay to an external host for
Internet email.)

The first problem I have is I can't start the daemons -- Caldera does
not include "setuser", which is referenced in the qmail daemon start
scripts. Is there a work-around? Can I get setuser somewhere?

The second problem is with checkpassword. On compilation I get errors
regarding calls to the "crypt" library. The program appears to compile
but when I test it against a valid user/password combination using:

/var/qmail/bin/qmail-popup host /bin/checkpassword pwd

it exits with "-ERR authorization failed.

Exactly the same thing happens when I try to use the "checkvpw" utility
from the vmailmanager package. How do I solve this?

Another one: Our server has a dedicate connection to the 'net but does
not run its own DNS service. I searched the archives and found only one
not-too-helpful post on this issue. What do I need to do about DNS?

Thanks,
Barry Dwyer



Re: Newbie qmail install problems

1999-09-11 Thread James J. Lippard

On Sat, 11 Sep 1999, Barry Dwyer wrote:

 I'm not new to *nix but this is my first go-round with mail systems. I'm
 
 installing qmail on a Calera OpenLinux 2.2 (col 2.2.5) system and have
 run into several show-stoppers.
 
 Basically, I need qmail, smtp and pop3 for this to be any use to us. (40
 
 internal users with pop clients, smtp relay to an external host for
 Internet email.)
 
 The first problem I have is I can't start the daemons -- Caldera does
 not include "setuser", which is referenced in the qmail daemon start
 scripts. Is there a work-around? Can I get setuser somewhere?

It's part of the daemontools package, and is now called setuidgid.
See http://pobox.com/~djb/daemontools.html

 The second problem is with checkpassword. On compilation I get errors
 regarding calls to the "crypt" library. The program appears to compile
 but when I test it against a valid user/password combination using:
 
 /var/qmail/bin/qmail-popup host /bin/checkpassword pwd
 
 it exits with "-ERR authorization failed.

Are you running as root?  If you're not running as root, and you
have shadowed passwords, you won't be able to test the authentication
against the password file.

 Exactly the same thing happens when I try to use the "checkvpw" utility
 from the vmailmanager package. How do I solve this?
 
 Another one: Our server has a dedicate connection to the 'net but does
 not run its own DNS service. I searched the archives and found only one
 not-too-helpful post on this issue. What do I need to do about DNS?

As long as your server can do DNS lookups from another nameserver, you
don't have to worry about it.  You might want to run a caching nameserver
locally for efficiency, though.

Jim Lippard   [EMAIL PROTECTED]   http://www.discord.org/
Unsolicited bulk email charge:   $500/message.   Don't send me any.
PGP Fingerprint: 0C1F FE18 D311 1792 5EA8  43C8 7AD2 B485 DE75 841C



Newbie qmail install problems

1999-09-11 Thread Barry Dwyer

On testing checkpassword and checkvpw:

 Are you running as root?  If you're not running as root, and you
have shadowed passwords, you won't be able to test the authentication
against the password file.

Yes, we use shadow passwords. I'm telnetting into the server, logged in
as myself (member of 'root' group) and su'd to root. Would that still
cause the authorization error?

Barry Dwyer