Qmail-LDAP
[Top] [All Lists]

Re: deliveryMode Attribute

To: qmail-ldap@qmail-ldap.org
Subject: Re: deliveryMode Attribute
From: Claudio Jeker <jeker@n-r-g.com>
Date: Fri, 10 Nov 2006 14:27:11 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <20061110122219.GT24770@prata.ncc.shs.com.sg>
Mail-followup-to: Claudio Jeker <jeker@n-r-g.com>, qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <45542791.80506@k18.ch> <20061110081532.GA30437@diehard.n-r-g.com> <45543EF4.1030004@k18.ch> <20061110122219.GT24770@prata.ncc.shs.com.sg>
User-agent: Mutt/1.5.12-2006-07-14
On Fri, Nov 10, 2006 at 08:22:19PM +0800, henley@omniarray.com wrote:
> Hi all,
> I am also experiencing the same thing. 
> The auto reply does not seems to work.
> 
> qmail-ldap does pick up the QMAILMODE from the 
> deliveryMode attributes
> 
> > Nov 10 20:14:51 mail2 qmail: [ID 748625 mail.info] 1163160891.071075
> > delivery 43: lg: qldap_get_attr(mailReplyText):_i_am_out_of_office_dude/
> > Nov 10 20:14:51 mail2 qmail: [ID 748625 mail.info] 1163160891.071140
> > delivery 43: lg: QMAILREPLYTEXT:_i_am_out_of_office_dude/
> > Nov 10 20:14:51 mail2 qmail: [ID 748625 mail.info] 1163160891.071204
> > delivery 43: lg: qldap_get_attr(deliveryMode):_reply/
> > Nov 10 20:14:51 mail2 qmail: [ID 748625 mail.info] 1163160891.071266
> > delivery 43: lg: QMAILMODE:_reply/
> 
> but did not do the actual reply. 
> 
> Is there some other ldap fields that we need to add ? 
>

Hmm. I'll have a look at it.
 
> BTW how does one exactly point the mailReplyText to a file ? it's not
> very clear from http://www.qmail-ldap.org/wiki/Category:LDAP_Fields wiki
> 

>From the ldif manual page:
       LDIF  entry  records  are  used  to  represent   directory
       entries.  The basic form of an entry record is:

            dn: <distinguished name>
            <attrdesc>: <attrvalue>
            <attrdesc>: <attrvalue>
            <attrdesc>:: <base64-encoded-value>
            <attrdesc>:< <URL>
            ...

       The  value  may  be  specified  as UTF-8 text or as base64
       encoded data, or a URI may be provided to the location  of
       the attribute value.


The ldapadd manual page has a nice example:
jpegPhoto:< file:///tmp/modme.jpeg



> Rgds
> Henley
> 
> On Fri, Nov 10, 2006 at 09:57:24AM +0100, Alain Wolf wrote:
> > On 10.11.2006 09:15, * Claudio Jeker wrote:
> > > On Fri, Nov 10, 2006 at 08:17:37AM +0100, Alain Wolf wrote:
> > >> Hello list,
> > >>
> > >> We use maildrop for filtering tagged spam to a imap junk-folder. For
> > >> this we need to set deliveryMode to "nolocal" for all accounts. As
> > >> described in the qmail-ldap wiki.
> > >>
> > >> Now I would like to have "out of office" auto-replies.
> > >>
> > >> When I set the existing deliveryMode to "reply", auto-replies are going
> > >> out, but naturally the user gets all messages twice in his inbox.
> > >>
> > >> When I leave the original deliveryMode to "reply" and set an additional
> > >> attribute deliveryMode to "reply". Qmail-LDAP is not sending any replies.
> > >>
> > >> Ist this a bug or am I missunderstanding something?
> > >>
> > > 
> > > deliveryMode is a multivalue field, so you can add both to the ldap entry.
> > > 
> > > dn: <DN>
> > > deliveryMode: nolocal
> > > deliveryMode: reply
> > > 
> > > 
> > 
> > Sorry but I have an error in my last message. It should read:
> > 
> > When I leave the original deliveryMode to "nolocal" and set an
> > *additional* attribute deliveryMode to "reply". Qmail-LDAP is not
> > sending out any replies.
> 
> -- 
> HenLey Hor
> Bioinformatics Network Analyst
> henley@omniarray.com
> DID: 65-64368342
> 
> 

-- 
:wq Claudio

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