[Fwd: qmail-ldaplookup]

2000-09-22 Thread mike hagerty


Hello
I am trying to get qmail to work with our netscape directory server
version 4.12
this is on solaris 8   ldapsearch from sun. 
I compiled qmail with gcc on a ultra 5 

when I do an ldapsearch I get 

# ldapsearch -b "ou=people, o=domain.net" [EMAIL PROTECTED]

uid=john,ou=people, o=domain.net
uidnumber=1024
mailhost=mail.domain.net
maildeliveryoption=mailbox
gidnumber=60001
homedirectory=/space/qmailhome/john
[EMAIL PROTECTED]
objectclass=top
objectclass=person
objectclass=organizationalPerson
objectclass=inetOrgperson
objectclass=mailRecipient
objectclass=posixaccount
objectclass=qmailUser
objectclass=nsMessagingServerUser
cn=John Doe
uid=john
givenname=John
sn=Doe
employeenumber=1024

and the log file from slapd has the following
[22/Sep/2000:16:19:57 -0500] conn=30 fd=36 slot=36 connection from
127.0.0.1 to 127.0.0.1
[22/Sep/2000:16:19:57 -0500] conn=30 op=0 SRCH
base="ou=people,o=domain.net" scope=2 filter="([EMAIL PROTECTED])"
[22/Sep/2000:16:19:57 -0500] conn=30 op=0 RESULT err=0 tag=101
nentries=1 etime=0
[22/Sep/2000:16:19:57 -0500] conn=30 op=1 UNBIND
[22/Sep/2000:16:19:57 -0500] conn=30 op=1 fd=36 closed - U1

but if I do a qmail-ldaplookup  I get the following error
# ./qmail-ldaplookup -m [EMAIL PROTECTED]

init_ldap:  passwords are not compared via rebind
localdelivery:  on
clustering: off
homedirmaker:   /var/qmail/bin/create_homedir
defaultDotMode: ldaponly
defaultQuota:   100S,1000C
QuotaWarning:
--
undefined
--
ldap_lookup:searching with
(|([EMAIL PROTECTED])([EMAIL PROTECTED]))
ERROR: ldap_lookup not successful: only uid lookups can be local

and here is the log entry


[22/Sep/2000:16:32:22 -0500] conn=41 fd=36 slot=36 connection from
127.0.0.1 to 127.0.0.1
[22/Sep/2000:16:32:22 -0500] conn=41 op=0 BIND
dn="uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot"
method=128 version=2
[22/Sep/2000:16:32:22 -0500] conn=41 op=0 RESULT err=0 tag=97 nentries=0
etime=0
[22/Sep/2000:16:32:22 -0500] conn=41 op=1 SRCH
base="ou=people,o=domain.net" scope=2
filter="(|([EMAIL PROTECTED])([EMAIL PROTECTED]))"
[22/Sep/2000:16:32:22 -0500] conn=41 op=1 RESULT err=0 tag=101
nentries=1 etime=0
[22/Sep/2000:16:32:23 -0500] conn=41 op=-1 fd=36 closed - B1


the only difference I see in the log is that qmail-ldapsearch 
puts a | in front of the search string.

The qmail-ldapsearch does not find anything.
 
I can send to local users and remote systems as described in
TEST.deliver

is this a problem with netscape or with qmail-ldap or me???
we are currently useing netscape messaging server, but I want to move to
qmail.
should I use OPENLDAP???

does anyone have qmail-ldap working with solaris??

are there any good docs on how to install qmail-ldap besides that which
comes bundled.
thanks for any help








-- 
Mike Hagerty
Prairie iNet
www.prairieinet.net
[EMAIL PROTECTED]



[Fwd: qmail-pop3d question]

2000-08-08 Thread Bruce Edge

What error are you getting from your pop3 client?

Are you allowing connections, as specified in hosts.allow/deny?

 Wesly Ng wrote:
 
 Hello,
 I setup the qmail on turbolinux4.0 on 2 servers.
 I follow the step of "Life with Qmail" setup qmail-pop3d and checkpassword
 run the pop-3 by inetd.conf and send HUP to inetd.
 pass the test on INSTALL of checkpassword-0.81.
 also, I check that tcp.smtp
 :allow
 but I still can't check email from the client by pop3 which is inside my
 LAN.
 any other things that I missed?
 thanks~
 
 




Fwd: qmail and rblsmtpd

2000-02-04 Thread lemonlainey

Just a thought, if an email is revoked due to rblsmtpd refusing it, will 
an email client return the error:

   ** Couldn¹t complete the last command because a network stream error 
   occurred.

Or, is that just a bad setup of rblsmtpd ?

Regards,

Kevin



[Fwd: Qmail is not a replacement for Sendmail]

1999-04-28 Thread Martin

Oop's, let's do it to the list as well.

-- 


\//
   \\|//   _\\|//_  | |  _\\|//_   \\|//   
   (@ @)  (' 0-0 ') (.) (.) (' @-@ ')  (o-o)   
+-=oOOo-(_)-oOOo=oo0=(_)=0oo=oOO=-(_)-=OOo=oo0=(_)=0oo=oOOo-(_)-oOOo=-+


Justin Bell wrote:
 
 # Should you install qmail ?
 # ---
 #
 # First of all, consider these:
 #
 # * You have to deinstall sendmail before starting to install qmail. While
 # installing
 #  qmail, you won't be able to do mail. Also, you will probably make quite some
 # changes to your fs, which makes it hard to just give up and reinstall
 # sendmail.
 
 this is completely untrue, the docs tell you to KEEP SENDMAIL RUNNING while
 you install qmail

Yes, the docs say that, but when you try to install qmail (RPM's anyway) it
says it can't because sendmail is installed...yes installed not running. I
killed sendmail but it still wouldn't install. I posted this to the list a few
months ? ago, and was told to delete sendmail first. I did, it then installed
without complaints.

Anyone know if that's an rpm thing or does it apply to tgz as well ?


SNIP

That's all I want to say.  For the moment  :)

Regards...Martin

-- 


\//
   \\|//   _\\|//_  | |  _\\|//_   \\|//   
   (@ @)  (' 0-0 ') (.) (.) (' @-@ ')  (o-o)   
+-=oOOo-(_)-oOOo=oo0=(_)=0oo=oOO=-(_)-=OOo=oo0=(_)=0oo=oOOo-(_)-oOOo=-+




Re: [Fwd: Qmail is not a replacement for Sendmail]

1999-04-28 Thread Robin Bowes

 
  this is completely untrue, the docs tell you to KEEP SENDMAIL RUNNING while
  you install qmail
 
 Yes, the docs say that, but when you try to install qmail (RPM's anyway) it
 says it can't because sendmail is installed...yes installed not running. I
 killed sendmail but it still wouldn't install. I posted this to the list a few
 months ? ago, and was told to delete sendmail first. I did, it then installed
 without complaints.
 
 Anyone know if that's an rpm thing or does it apply to tgz as well ?

It's an RPM thing.

You can get round it by "--force"-ing the qmail installation.

tgz is probably the best^H^H^H^Hmost satisfactory way to install since
you have to read the docs to know what you're doing.  That's the trouble
with RPMs - you can install as easy as "rpm -Uvh" but have no inkling of
what the software you've just installed actually does!

-- 
Two rules to success in life: 
  1. Don't tell people everything you know.
 -- Sassan Tat



RE: [Fwd: Qmail is not a replacement for Sendmail]

1999-04-28 Thread Michael Mansour

If reading the RPM docs for the installation of qmail it tells you to:

rpm -e sendmail

To remove it entirely.

Michael.

-Original Message-
From: Robin Bowes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 29 April 1999 8:03
To: [EMAIL PROTECTED]
Subject: Re: [Fwd: Qmail is not a replacement for Sendmail]


 
  this is completely untrue, the docs tell you to KEEP SENDMAIL RUNNING
while
  you install qmail
 
 Yes, the docs say that, but when you try to install qmail (RPM's anyway) it
 says it can't because sendmail is installed...yes installed not running. I
 killed sendmail but it still wouldn't install. I posted this to the list a
few
 months ? ago, and was told to delete sendmail first. I did, it then
installed
 without complaints.
 
 Anyone know if that's an rpm thing or does it apply to tgz as well ?

It's an RPM thing.

You can get round it by "--force"-ing the qmail installation.

tgz is probably the best^H^H^H^Hmost satisfactory way to install since
you have to read the docs to know what you're doing.  That's the trouble
with RPMs - you can install as easy as "rpm -Uvh" but have no inkling of
what the software you've just installed actually does!

-- 
Two rules to success in life: 
  1. Don't tell people everything you know.
 -- Sassan Tat



[Fwd: Qmail smtp delivery]

1999-03-16 Thread Donna Phillips



   I'm looking for a way to have qmail 1.03 deliver mail to Maildir's which all
 have the same uid/gid. I'm have vchkpw-3.1.3 running, and I know I can
 accomplish the task via this method, however I do not want to require 7.5k users
 to change their mail settings to include the domain name in the login for pop3.

   Right now, I have my dialup users authenticating via radius on a Sun Netra
 running Solaris 2.6. My current mail server is a Sparc20 with Solaris 2.6 and
 qmail 1.03. We are using SSH to rsync the passwd/shadow files to the mail server
 when updates are made. Maildirs are created on the mail server only. The sparc20
 is on it's last legs however. I'm setting up a new machine with FreeBSD 3.1 and
 qmail 1.03. I'm moving from an alias based system to the vchkpw method for
 handling virtual domains, which works fine. I do not want to overwrite the
 passwd/shadow on my bsd server with a copy from the Solaris machine, so I rename
 the files on copy and have modified vchkpw to check these renamed files instead
 of those defined in pwd.h for that system.

   So far, everything works fine except smtp which is where I'm stuck. I'd like
 to have mail delivered to the Maildirs which all use the same uid/gid so as to
 not conflict with any existing ID's on the servers original passwd/shadow..using
 the vpopmail ID instead in a similar manner to vchkpw, but without needing a
 'user@domain' for the login as vchkpw requires for virtual domains. The
 passwd/shadow copied from the radius server would be for authentication and path
 information only. Any help would be appreciated.

 --
 Stephen C. Comoletti
 Asst. Systems Administrator
 DELANET, Inc.  http://www.delanet.com
 TEL: (302) 326-5800, FAX: (302) 326-5802



Re: [Fwd: qmail]

1999-02-17 Thread Anand Buddhdev

On Tue, Feb 16, 1999 at 12:25:03PM -0500, Donna Phillips wrote:

  I'm using following command line for pop3 right now,
 
  tcpserver -c300 -uXX -gYY 0 pop3 /var/qmail/bin/qmail-popup mail.myisp.com \
  /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 

what are the values of XX and YY? For qmail-pop3d, checkpassword must run as
root to be able to check passwords. If you run as some ordinary user, it
won't work.

-- 
Anand
System Administrator
Africa Online Ltd
http://www.anand.org



[Fwd: qmail]

1999-02-16 Thread Donna Phillips



 Hello.

  I'm having a problem with pop3 authentication using qmail 1.03 on a FreeBSD 3.0
 stable system. Hardware is a pII/300 with 192megs ram, a 2gig uw-scsi primary
 for the OS and system files, and 2 6.5gig uw-scsi drives using vinum for
 stripping which has maildirs only. smtp works flawlessly so far. Pop3 fails with
 "-ERR authorization failed". I have checkpassword 0.81 and ucspi-tcp-0.84
 installed and running, however being unfamiliar with the checkpassword package,
 I dont know how it's doing the check. BSD uses a shadow password scheme, however
 file names are not consistent with other OS's which use similar. Linux/Solaris
 use passwd/shadow. BSD uses passwd/master.passwd.

   I will also be needing to use an alternate db for the passwd file when this
 machine goes production. My dialip users are authenticated on a Solaris 2.6
 server using radius. I was planning to use rsync perhaps and keep a copy of the
 passwd/shadow file from the solaris box on the mail server..in which case I need
 a copy of checkpasswd compiled on the bsd machine but configured to run with the
 solaris shadow file.

 I'm using following command line for pop3 right now,

 tcpserver -c300 -uXX -gYY 0 pop3 /var/qmail/bin/qmail-popup mail.myisp.com \
 /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 

 Thanks and regards,

 --
 Stephen C. Comoletti
 Asst. Systems Administrator
 DELANET, Inc.  http://www.delanet.com
 TEL: (302) 326-5800, FAX: (302) 326-5802



[Fwd: qmail-start alert]

1999-01-03 Thread Stephan Pfeiffer


-- 
--
Stephan Pfeiffer   planNET Systems GmbH
mailto:[EMAIL PROTECTED]   Haid-und-Neu-Strasse 7

FON: (+49) 721 66 36 36   mailto:[EMAIL PROTECTED]
FAX: (+49) 721 66 36 30http://www.planNET.de
---


Hello list,

I am a newbie, and I musst install qmail as releying. Now, I've read all
install files and the howto (www.qmail.org), but if I start qmail, I get
following message:

alert: cannot start: hath the daemon spawn no fire?


I have look with strace, what are the problem, but I haven't any idea.
output of strace:

...
open("control/percenthack", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such
file or directory)
open("control/virtualdomains", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such
file or directory)
chdir("queue")  = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x8048b20, [], 0x400}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x8048b40, [], 0x400}, NULL, 8) = 0
rt_sigaction(SIGHUP, {0x8048b60, [], 0x400}, NULL, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, NULL, 8) = 0
umask(077)  = 077
open("lock/sendmutex", O_WRONLY|O_NONBLOCK) = 7
flock(7, LOCK_EX|LOCK_NB)   = 0
read(2, "", 1)  = 0
--- SIGCHLD (Der Kind-Prozeß ist beendet) ---
write(0, "alert: cannot start: hath the da"..., 52alert: cannot start:
hath the daemon spawn no fire?
) = 52
_exit(111)  = ?
...

Can everybody help me? Second question is: is there an german
qmail-list?

Thanks for help...


mfg stephan
-- 
--
Stephan Pfeiffer   planNET Systems GmbH
mailto:[EMAIL PROTECTED]   Haid-und-Neu-Strasse 7

FON: (+49) 721 66 36 36   mailto:[EMAIL PROTECTED]
FAX: (+49) 721 66 36 30http://www.planNET.de
---