Qmail-LDAP
[Top] [All Lists]

Re: qmail-ldap installation FAILURE again and again and .....

To: "Sameer N Ingole" <strike@proscrutiny.com>
Subject: Re: qmail-ldap installation FAILURE again and again and .....
From: "sato x" <gladiol4@gmail.com>
Date: Thu, 1 Mar 2007 17:09:45 +0700
Cc: qmail-ldap@qmail-ldap.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=f1uCpFb1dNIO7yPY9dV4SPGICDC+QMsrZKTwmELP2IibBWwSgBXeSKvKHvQ2tW2EZb0OxyJnZpEUZUCov/PmAsGXxs8bvsainxvZ+0kcoV/EwHCOTJt6AGWnn9kGONblij79nHGFWCxIS6ibds481lpg+IuhV58w0YzlaVmdPPw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RTUmPcdnazzwNnfcRSK0Qrn3OoAUhFPouRwZcY+H5EZHSmY2mfcN2zCAOlMJbzwG4uErQN6TdXvyXYINzGDSZlo7/YbUGMQgDQaXCod45x05TwR+IsscIoaZNZvGRIThGE8zK+n8cfae14XNH+Hnjj3tKRYrO7HS6JwTPADrxcc=
In-reply-to: <45E68539.8060903@proscrutiny.com>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <f5ba7b270702271958x60fc5d0u1bf188440188bc3@mail.gmail.com> <45E53A0B.9060305@proscrutiny.com> <f5ba7b270702280327v36767f6ci6063b0287cf8f47e@mail.gmail.com> <f5ba7b270702280334w6373d25bvb4364d409ae6f91f@mail.gmail.com> <f5ba7b270702280348i4b34ac7axffa1793d96e53802@mail.gmail.com> <20070228122545.GB8752@diehard.n-r-g.com> <f5ba7b270702281904k3adca764u766d815fde19c850@mail.gmail.com> <45E664E6.9050408@proscrutiny.com> <f5ba7b270702282301o6f275bb5rcc45c125519557c9@mail.gmail.com> <45E68539.8060903@proscrutiny.com>
Hi Sameer. Thank you for your reply. Latest information, I've just reinstalled qmail-ldap  according to the tutorial from    http://www.qmail-ldap.org/wiki/Full_Installation_Guide_-_Basic_Qmail_Installation, yet I didn't include HDIRMAKE=-DAUTOHOMEDIRMAKE. Because you said that I will need it, then I stoped qmail, commented HDIRMAKE out

      svc -d /service/qmail
      cd /usr/local/src/qmail-1.03; vi Makefile

then
     make setup check; svc -u /service/qmail
I tried send email via telnet but it keep staying in the queue.
 
 [root@mail bin]# ./qmail-qread
1 Mar 2007 09:13:37 GMT  #2062953  401  <postmaster@domain.co.id>
        local   sato.br@domain.co.id

The result from qmail-showctl
 
[root@mail bin]# ./qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 500.
subdirectory split: 23.
user ids: 507, 501, 502, 0, 503, 504, 505, 506.
group ids: 501, 502.
me: My name is mail.domain.co.id
ldapserver: My ldap server is 10.10.10.10


badmailfrom: (Default.) Any MAIL FROM is allowed.

badmailfrom-unknown: (Default.) Any MAIL FROM from hosts without PTR is allowed.

badrcptto: (Default.) Any RCPT TO is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is mail.domain.co.id.

bouncemaxbytes: (Default.) Bounce data limit is 0 bytes.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

custombouncetext: (Default.) No custombouncetext.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is domain.co.id.

defaulthost: (Default.) Default host name is mail.domain.co.id.

dirmaker: Program to create homedirs /var/qmail/bin/dirmaker.sh.

doublebouncehost: (Default.) 2B recipient host: mail.domain.co.id.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is mail.domain.co.id.

goodmailaddr: (Default.) No good mail addresses.

helohost: (Default.) SMTP client HELO host name is mail.domain.co.id.

idhost: (Default.) Message-ID host name is mail.domain.co.id.

localiphost: (Default.) Local IP address becomes mail.domain.co.id.

locals:
Messages for domain.co.id are delivered locally.

me: My name is mail.domain.co.id.

outgoingip: Bind qmail-remote to 0.0.0.0.

pbscachesize: (Default.) PBS cachesize is 1048576 bytes.

pbsenv: (Default.) No environment variables will be passed.

pbsip: (Default.) Bind PBS daemon to 0.0.0.0.

pbsport: (Default.) PBS deamon listens on port 2821.

pbssecret: (Default.) PBS shared secret is undefined! Uh-oh.

pbsservers: (Default.) No PBS servers.

pbstimeout: (Default.) PBS entries will be valid for 600 seconds.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: (Default.) Plus domain name is mail.domain.co.id.

qmqpcip: (Default.) Bind qmail-qmqpc to 0.0.0.0.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

quotawarning: (Default.) No quotawarning.

rbllist:

rcpthosts:
SMTP clients may send messages to recipients at domain.co.id.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

relaymailfrom: (Default.) Relaymailfrom not enabled.

smtpgreeting: (Default.) SMTP greeting: 220 mail.domain.co.id.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: (Default.) No virtual domains.



Now the qmail-ldap specific files:

ldapbasedn: LDAP basedn: ou=Users,dc=domain,dc=co,dc=id.

ldapserver:
10.10.10.10

ldaplogin: LDAP login: cn=Manager,dc=domain,dc=co,dc=id.

ldappassword: LDAP password: rahasia.

ldaptimeout: LDAP server timeout is 30 seconds.

ldapuid: Default UID is 600.

ldapgid: Default GID is 600.

ldapobjectclass: The objectclass to limit ldap filter is qmailUser.

ldapmessagestore: Prefix for non absolute paths is /var/qmail/maildirs.

ldapdefaultdotmode: Default dot mode for ldap users is ldaponly.

defaultquotasize: (Default.) Mailbox size quota is 0 bytes (0 is unlimited).

defaultquotacount: Mailbox count quota is 4000000 messages (0 is unlimited).

ldaplocaldelivery: Local passwd lookup is 0 (1 = on, 0 = off).

ldaprebind: (Default.) Ldap rebinding is 0 (1 = on, 0 = off).

ldapcluster: Clustering is 0 (1 = on, 0 = off).

ldapclusterhosts: (Default.) Messages for me are not redirected.

qmail-qmqpd.rules: I have no idea what this file does.
qmail-smtpd.rules: I have no idea what this file does.
qmail-imapd.rules: I have no idea what this file does.
Makefile: I have no idea what this file does.
signatures: I have no idea what this file does.
qmail-pop3d.rules: I have no idea what this file does.
defaultdelivery: I have no idea what this file does.

Sorry, it's a very long list. Thanks again.


Best Regards,

sato


 

On 3/1/07, Sameer N Ingole <strike@proscrutiny.com> wrote:
sato x wrote:
> Dear Sameer,
>
> There were no error when I ran the dirmaker script at all. I check the
> /home and /var/qmail/maildirs directories but there were not any
> user's mail dir. Btw, here is the Makefile :
>
> LDAPFLAGS=-DQLDAP_CLUSTER -DEXTERNAL_TODO -DDASH_EXT -DDATA_COMPRESS
> -DQMQP_COMPRESS -DSMTPEXECCHECK -DALTQUEUE -DBIGBROTHER
>
> LDAPLIBS=-L/usr/local/lib -lldap -llber
> LDAPINCLUDES=-I/usr/local/include
> ZLIB=-lz
> TLS=-DTLS_REMOTE -DTLS_SMTPD
> TLSINCLUDES=-I/usr/local/include
> TLSLIBS=-L/usr/local/lib -lssl -lcrypto
> OPENSSLBIN=/usr/bin/openssl             # it's in /usr/bin, not
> /usr/local/bin
> MNW=-DMAKE_NETSCAPE_WORK
> MDIRMAKE=-DAUTOMAILDIRMAKE
> HDIRMAKE=-DAUTOHOMEDIRMAKE
> SHADOWLIBS=-lcrypt
> DEBUG=-DDEBUG

Ok, debug is on and options look fine.

>
> Another question: can I comment the HDIRMAKE?

No, you will need it for virtual domain users or non-system users.

>
> FYI:
> - I didn't use qmail-conf but manually edit all the run files.

That is fine.

>
> - Emails that supposed to go to local domain still wait in the queue
> while remote domain sending works just fine.

That is because your maildirmaker script is not working. I think that is
the only reason why it is not working. Can you show (almost) unedited
output of showctl please?
You may want to strip off ldap root password :)

also try sending mail when after you have increased loglevel for smtp
daemon. Post logs as well.

--
Best Regards,

Sameer N. Ingole
http://weblogic.noroot.org/gallery2/
--
Better to light one candle than to curse the darkness.


<Prev in Thread] Current Thread [Next in Thread>