hi...
In the last 3 days, I have installed and configured qmail at least 10 times but without any success.
The documentation that I have referred to are
1. Life with qmail-ldap
2. Using openldap v2.x with qmail and courier-Imap (directed at Mandrake)
3. Qmailrocks.org method of qmail installation (dosent include the qmail-ldap part!)
I am facing many issues, if u guys could patiently lend me an ear...lol
1. After setting up qmail as per qmail-ldap documentation, I tried to send messages, both local and remote but whenever i I always got an output like
[EMAIL PROTECTED] control]# qmailctl stat /service/qmail-send: up (pid 29049) 316 seconds /service/qmail-send/log: up (pid 29050) 316 seconds /service/qmail-smtpd: up (pid 29054) 316 seconds /service/qmail-smtpd/log: up (pid 29055) 316 seconds /service/qmail-pop3d: up (pid 29058) 316 seconds /service/qmail-pop3d/log: up (pid 29059) 316 seconds messages in queue: 1 messages in queue but not yet preprocessed: 1
2. The second method, using openldap v2.x with qmail and courier-imap is also good, but since its for mandrake linux, it differs at many points, mostly in startup scripts and that it does not use the 'supervise' scripts to manage qmail.
3. The third way, namely, qmailrocks, is very good, but it doesnt say anything about qmail-ldap.
At the end, I had to combine all the above 3 documentations to set up qmail...however now -
(a) i still cant get qmail to deliver local messages.
My local domain is intranet.example.com. fqdn is mailserver.intranet.example.com. i have these my /var/qmail/contol/locals and /var/qmail/control/rcpthosts.
defaultdelivery - ./Maildir/
ldapmessagestore - /var/qmail/maildirs
ldapserver - localhost
ldapdefaultdotmode - both
me - mailserver.intranet.example.com
(btw, do i also need smtproutes ? infact, i have put my local ip in this file..hope that dosent mess? ) .....
(b) I have not been successful in making qmail deliver messages to /var/qmail/maildirs.
I want that whenever i add a new domain user, a maildir for this new user gets created as /var/qmail/maildirs/<newuser>. This directory should be in maildir format. and then how should i get qmail deliver messages to this directory ?
Can anyone help me out here? i would appreciate if someone could point out any mistakes that i am making out here and if possible lend me a solution....
Thanks and Regards
Amit
