Legrand Jean-François wrote:

Hello,

I want to use qmail-ldap-1.03-20050401a in the production environment.
But I have a problem with the reply (deliverymode) function.

That's really good for vacation messages, but my users use the reply feature
to send messages like: "Hello, I recieved your message" or "We are going to
answer your message ... ". They use reply for automatic feedbacks and they
surely will start to complaim about contats aren't recieving their
feedbacks.

Who can I have this function with the new version of qmail-ldap?? any ideas?

Thank you for your help

best regards

Jean-François



Setting up Auto-replay in qmail-ldap

------------------------------------

Auto-reply feature can be set for a mail user using ldap entry for that particular user by setting up mailReplyText attribute. To achieve this you have to do following modifications to your ldap entry.

add: mailReplyText
mailReplyText: Hi, I am on vacation till 1st June 05. See you when I am back.
-
delete: deliveryMode
deliveryMode: noprogram
-
add: deliveryMode
deliveryMode: reply

After you are done save the changes to a ldif file and commit the changes to ldap using command specified above. Also not in above example the - is there deliberatly.
add: mailReplyText
mailReplyText: Hi,
This is Sameer's assistant.
I am told to you inform you that he is on vacation till 2nd June 05.
He will contact you when he will be back.
Please do not reply to this message as I am rather primitive program
having limited capabilities. So I won't understand the text and you
might end up seeing same message again.
Thank you.


<LDAP specific>
Multiple changes to a single entry using the modify changetype are seperated by a single dash (-) on a line by itself. This will be handled as a single change by the LDAP server. Eigher all the changes for this DN will take effect of none are applide. This is something like transactions in databases.

So now the sample entry looks like



Gotchas
-------

Even if you don't specify the attribute deliveryMode as reply and the attribute mailReplyText exists it will reply automatically as long as mailReplyText attribute is defined in the ldap entry for the given user.

Regards,

- Sameer N. Ingole
/*****************************************************/
Better to light one candle than to curse the darkness.
/*****************************************************/

Reply via email to