Hello Mattew
Matthew Schumacher schrieb:
>
> Walter,
>
> Thanks for your reply.
>
> I didn't notice that local mail didn't work. Do I really need it? None
> of my users will be on the machine.
>
> 151 is for the vmail user. That user owns the maildir so that all of
> the mail is written under a single virutal user.
>
> Now that I have smtpd working, I can send mail to it and it works. Now
> I just need to play with it more.
>
> Do you have a pop server you recommend?
I'm using qmail-pop3d as pop-Server and Courier-Imap for IMAP
i'm starting the qmail-ldap with the supervise Daemon (life with
qmail-ldap)
my entry for the pop3-server is
------------script run.sh-----------------------
export DEBUGLEVEL=150
QMAILDUID=`id -u root`
NOFILESGID=`id -g root`
exec /usr/bin/tcpserver -u "$QMAILDUID" -g "$NOFILESGID" -v -c100 -H -R
0 pop-3\ /var/qmail/bin/qmail-popup mail.domain.com \
/var/qmail/bin/auth_pop /var/qmail/bin/qmail-pop3d Maildir 2>&1
-------------------------------------------------------------------------
I need to run qmail-pop3d as ID root,otherwise it don't works for me
>
> Thanks again for your help,
>
> schu
>
> Walter Wieserner wrote:
>
> > hello
> >
> > first I can see is that the accounstatus is not set,
> > the secound is, that localdelivery for that account is off, so it woule
> > be never stored the mails for this account.
> >
> > does the qmaild runs under the id 151???
> >
> > it looks, that qmail-ldap works . what happens when you send a mail via
> > telnet???
> > telnet localhost 25
> > helo aptalaska.net
> > mail from: [EMAIL PROTECTED]
> > rcpt to: [EMAIL PROTECTED]
> > data
> > test
> > .
> >
> > Matthew Schumacher schrieb:
> >
> >>Hello all,
> >>
> >>I have been working on getting qmail-ldap working for 3 days now. I
> >>have setup ldap based email in the past using netscape messaging, so I
> >>know how ldap works, but I can't seem to get qmail-ldap to work.
> >>
> >>First, I can see the directory just fine, and I can confirm that my user
> >> is in the directory:
> >>
> >># ./qmail-ldaplookup -u schu
> >>init_ldap: passwords are not compared via rebind
> >> localdelivery: off
> >> clustering: off
> >> ldapobjectclass:
> >> homedirmaker: /var/qmail/bin/dirmaker.sh
> >> defaultDotMode: ldaponly
> >> defaultQuota: 10000000S, 3000C
> >> QuotaWarning:
> >>------
> >>If you have any questions contact the mail administer at
> >>[EMAIL PROTECTED]
> >>
> >>------
> >>ldap_lookup: searching with (uid=schu)
> >>ldap_lookup: succeeded, found:
> >> uid: schu
> >> qmailUID: 151
> >> qmailGID: 151
> >> accountStatus: undefined
> >> mailMessageStore: /var/qmail/maildirs/schu
> >> homeDirectory: (null pointer)
> >> mailHost: mail1.aptalaska.net
> >> mail: [EMAIL PROTECTED]
> >> mailAlternateAddress: [EMAIL PROTECTED]
> >> mailQuota: no entry in the database
> >> mailForwardingAddress: no entry in the database
> >> deliveryProgramPath: no entry in the database
> >> qmailDotMode: no entry in the database
> >> deliveryMode: no entry in the database
> >> mailReplyText: no entry in the database
> >>
> >>But I can't send mail to this user using the qmail-inject syntax
> >>outlined in TEST.deliver.
> >>
> >>When I run:
> >>
> >># echo echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject
> >>
> >>I get:
> >>
> >>Sep 26 14:16:23 mail1 qmail: 1001542583.291126 status: local 0/10 remote
> >>0/20
> >>Sep 26 14:16:31 mail1 qmail: 1001542591.580306 new msg 52962
> >>Sep 26 14:16:31 mail1 qmail: 1001542591.580691 info msg 52962: bytes 243
> >>from <[EMAIL PROTECTED]> qp 17469 uid 0
> >>Sep 26 14:16:31 mail1 qmail: 1001542591.620149 end msg 52962
> >>
> >>in my maillog.
> >>
> >>It doesn't matter if the ldap server is running or not, I get the same
> >>thing.
> >>
> >>I can't figure out where this email is going, or why it is sending it to
> >>root.
> >>
> >>I tried setting the DEBUGLEVEL to 3 and 255 but I still get the same
> >>messages above.
> >>
> >>How can I make qmail send the email to the users Maildir?
> >>
> >>I am using the virutal user configuration outlined in
> >>www.lifewithqmail.com/ldap
> >>
> >>I should note that DNS is not an issue because I installed a name server
> >>on the local machine and made it so that it will only resolve against
> >>itself so that it would work on my bench outside of the real internet.
> >>
> >>Thanks for any help you can send,
> >>
> >>schu
> >>
> >
> >