Hi,
I setup the value like that:

mailForwardingAddress: dika...@yahoo.com.cn
mailReplyText:: 5oiR5Zyo5LyR5YGHLOaIkeS8muiBlOezu+S9oOeahC4=
deliveryMode: reply


Tt seems can auto forwarding, but don't auto reply, why? Is it a bug?


Best wishes,
 
Dika Ye
 

-----Original Message-----
From: Dika Ye [mailto:dika...@ntt.com.hk] 
Sent: 2010年6月4日 9:27
To: 'Claudio Jeker'; qmail-ldap@qmail-ldap.org
Subject: RE: can set more than one deliveryMode?

Thanks, if I want qmail auto replay and auto forward, how to set this value?



Best wishes,
 
Dika Ye
 

-----Original Message-----
From: Claudio Jeker [mailto:je...@n-r-g.com] 
Sent: 2010年6月3日 20:27
To: qmail-ldap@qmail-ldap.org
Subject: Re: can set more than one deliveryMode?

On Thu, Jun 03, 2010 at 05:35:14PM +0800, Dika Ye wrote:
> Hi all,
> 
>  
> 
> Is it possible to set two attributes about deliveryMode?
> 

Sure.

Check /var/qmail/doc/QLDAPINSTALL
"
LDAP_MODE (default: "deliveryMode")

 multi field entries of these keywords
 - (no entry): default delivery, put message into maildir/mbox
   (localdelivery),
   plus forward and program delivery if specified.
 - noforward: do not forward (ignores forwarding entries in ldap and
   .qmail)
 - nolocal: do not put message into maildir/mbox (ignores also .qmail)
 - noprogram: do not do program deliveries (ignores deliveryprogrampath,
   .qmail)
 - reply: send an auto_reply mail with text from mailReplyText
"


> For example:
> 
> ######cut here######
> 
> dn: uid=dika...@goto.com,ou=goto.com,o=abc
> 
> qmailDotMode: ldapwithprog
> 
> mailMessageStore: /store/goto.com/users/dika.ye
> 
> givenName: dika.ye
> 
> sn: dika.ye
> 
> mail: dika...@goto.com
> 
> objectClass: top
> 
> objectClass: inetOrgPerson
> 
> objectClass: qmailUser
> 
> uid: dika...@goto.com
> 
> cn: dika.ye
> 
> structuralObjectClass: inetOrgPerson
> 
> entryUUID: cf2082a2-f5c1-102e-8cb8-4be7d6880695
> 
> creatorsName: cn=Manager,o=abc
> 
> createTimestamp: 20100517053555Z
> 
> mailHost: inbound.tws.hk
> 
> userPassword:: e1NIQX1DdldkSG9lTWZRUkExTjNBMWxZN0Q3N2dmNHc9
> 
> accountStatus: active
> 
> mailQuotaSize: 157286400
> 
> deliveryMode: reply
> 
> deliveryMode: forwardonly
> 
> mailForwardingAddress: dika...@yahoo.com.cn
> 
> mailReplyText: I am on vacation.
> 
> entryCSN: 20100603091831Z#000000#00#000000
> 
> ######cut here######
> 
>  
> 
> If I set two attributes like that:
> 
> deliveryMode: reply
> 
> deliveryMode: forwardonly
> 
>  
> 
> then what will qmail do when it receive an email? 
> 
>  
> 
> Actually, the result what I want is that it can auto reply and forward the
> email, it that correct?
> 
>  
> 
> Thanks.
> 
>  
> 
> Best wishes,
> 
>  
> 
> Dika.Ye
> 
> 
> 
>  
> 

-- 
:wq Claudio


Reply via email to