RE: can set more than one deliveryMode?

"Dika Ye" <[email protected]>
Newsgroups gmane.mail.qmail.ldap
Message-ID <[email protected]>
Hi,
I setup the value like that:

mailForwardingAddress: [email protected]
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:[email protected]] 
Sent: 2010年6月4日 9:27
To: 'Claudio Jeker'; [email protected]
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:[email protected]] 
Sent: 2010年6月3日 20:27
To: [email protected]
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: [email protected],ou=goto.com,o=abc
> 
> qmailDotMode: ldapwithprog
> 
> mailMessageStore: /store/goto.com/users/dika.ye
> 
> givenName: dika.ye
> 
> sn: dika.ye
> 
> mail: [email protected]
> 
> objectClass: top
> 
> objectClass: inetOrgPerson
> 
> objectClass: qmailUser
> 
> uid: [email protected]
> 
> 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: [email protected]
> 
> 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
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.