Re: Change REPLY_TIMEOUT

"Philipp Kolloczek" <[email protected]>
Newsgroups gmane.mail.qmail.ldap
Message-ID <005201c9248a$151ba5b0$3f52f110$@de>
Hello.

>How can I change the REPLY_TIMEOUT without recompile qmail?
>I need to set REPLY_TIMEOUT to 1

Are you sure you want to do that?
Setting it to 1 means to send an automized reply to every mail
coming in for that configured account. To every mail because
it is not much chance that one sender address sends more than one
mail to that account in the period of one second.

But you will know what you will do...

To answer your question:
It is not possible to do without a recompile. As with 
"standard" qmail-ldap you have to change the value in
qmail-ldap.h and if you want to be very sure in 
qmail-reply.c to.

Well actualy I have no access to my sources but later
on I can provide a patch to this list which transfers 
REPLY_TIMEOUT as "mailReplyInterval" to the LDAP and
is than custimizeable using ldap.

The attached patch is to be applied at a clean qmail-ldap-20060201
but you should review it anyway as there might be some code
related to our own big_patch in it. For example you can get rid
of all lines for "PKMAILROUTING".

Don't forget to add -DPKREPLYTHOLD to Makefile -> LDAPFLAG=...

Greets
Phil.
qmail-ldap_reply.patch.zip (application/x-zip-compressed, 5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.