Dika Ye | 3 Jun 2010 11:35
Picon
Favicon

can set more than one deliveryMode?

Hi all,

 

Is it possible to set two attributes about deliveryMode?

For example:

######cut here######

dn: uid=dika.ye <at> goto.com,ou=goto.com,o=abc

qmailDotMode: ldapwithprog

mailMessageStore: /store/goto.com/users/dika.ye

givenName: dika.ye

sn: dika.ye

mail: dika.ye <at> goto.com

objectClass: top

objectClass: inetOrgPerson

objectClass: qmailUser

uid: dika.ye <at> 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.ye <at> 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

 

Claudio Jeker | 3 Jun 2010 14:27

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.ye <at> goto.com,ou=goto.com,o=abc
> 
> qmailDotMode: ldapwithprog
> 
> mailMessageStore: /store/goto.com/users/dika.ye
> 
> givenName: dika.ye
> 
> sn: dika.ye
> 
> mail: dika.ye <at> goto.com
> 
> objectClass: top
> 
> objectClass: inetOrgPerson
> 
> objectClass: qmailUser
> 
> uid: dika.ye <at> 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.ye <at> 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

Dika Ye | 4 Jun 2010 03:27
Picon
Favicon

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:jeker <at> n-r-g.com] 
Sent: 2010年6月3日 20:27
To: qmail-ldap <at> 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.ye <at> goto.com,ou=goto.com,o=abc
> 
> qmailDotMode: ldapwithprog
> 
> mailMessageStore: /store/goto.com/users/dika.ye
> 
> givenName: dika.ye
> 
> sn: dika.ye
> 
> mail: dika.ye <at> goto.com
> 
> objectClass: top
> 
> objectClass: inetOrgPerson
> 
> objectClass: qmailUser
> 
> uid: dika.ye <at> 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.ye <at> 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

Dika Ye | 4 Jun 2010 04:06
Picon
Favicon

RE: can set more than one deliveryMode?

Hi,
I setup the value like that:

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

Diego Chaparro González | 25 Jun 2010 12:37
Favicon

Bug in pbsdbd hash function?

 

                Hi,

 

                We have been using pbsdbd for years without any problem, but some days ago it started to fail with the next message:

 

                “pbsdbd: fatal: cache corrupted”

 

                After analyzing the source code, we found that hash function in pbsdbd.c returns 0 for some IP addresses, which causes above message and makes pbsdbd to die and start again with an empty table. It can be reproduced inserting twice, for example next IP: 4.214.93.234.

 

                The probability to get a 0 in the hash function is low, about 0.00037% over 2^32 IP addresses, but it’s a real problem if one of your clients has one of these addresses.

 

                Have you ever had this problem? Do you know any way to fix it?

 

Thanks in advance.

Diego Chaparro González
Departamento de Sistemas
acens Technologies S.L.

diego.chaparro <at> acens.com
Teléfono: 902 114 098
Fax: 911 418 501

Este mensaje puede contener información confidencial dirigida exclusivamente a su destinatario.
No se permite su copia o distribución sin la autorización expresa y por anticipado de acens.
Si recibió este mensaje por error, por favor, comuníquelo al emisor y elimínelo de su ordenador. Gracias.

This message may contain confidential information exclusively addressed to its intended recipient.
The copy or distribution of this message is not permitted without the prior express consent by acens.
If you are not the intended recipient of this message please advise the sender and delete it. Thank you.

Edward Capriolo | 25 Jun 2010 16:28
Picon

Re: Bug in pbsdbd hash function?


Is there still a bounty out for bugs ? :)

http://www.gossamer-threads.com/lists/qmail/users/133800

2010/6/25 Diego Chaparro González <diego.chaparro <at> acens.com>

 

                Hi,

 

                We have been using pbsdbd for years without any problem, but some days ago it started to fail with the next message:

 

                “pbsdbd: fatal: cache corrupted”

 

                After analyzing the source code, we found that hash function in pbsdbd.c returns 0 for some IP addresses, which causes above message and makes pbsdbd to die and start again with an empty table. It can be reproduced inserting twice, for example next IP: 4.214.93.234.

 

                The probability to get a 0 in the hash function is low, about 0.00037% over 2^32 IP addresses, but it’s a real problem if one of your clients has one of these addresses.

 

                Have you ever had this problem? Do you know any way to fix it?

 

Thanks in advance.

Diego Chaparro González
Departamento de Sistemas
acens Technologies S.L.

diego.chaparro <at> acens.com
Teléfono: 902 114 098
Fax: 911 418 501

Este mensaje puede contener información confidencial dirigida exclusivamente a su destinatario.
No se permite su copia o distribución sin la autorización expresa y por anticipado de acens.
Si recibió este mensaje por error, por favor, comuníquelo al emisor y elimínelo de su ordenador. Gracias.

This message may contain confidential information exclusively addressed to its intended recipient.
The copy or distribution of this message is not permitted without the prior express consent by acens.
If you are not the intended recipient of this message please advise the sender and delete it. Thank you.


Hugo Monteiro | 25 Jun 2010 20:57
Picon
Favicon
Gravatar

Re: Bug in pbsdbd hash function?

On 06/25/2010 03:28 PM, Edward Capriolo wrote:
>
> Is there still a bounty out for bugs ? :)
>
> http://www.gossamer-threads.com/lists/qmail/users/133800
>

pbsdbd is not part of qmail. It's added by the qmail-ldap patch.

Regards,

Hugo Monteiro.

--

-- 
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email	 : hugo.monteiro <at> fct.unl.pt
Telefone : +351 212948300 Ext.15307
Web      : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
		   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.fct.unl.pt                apoio <at> fct.unl.pt

fct.unl.pt:~# _

Jimmy Spam | 30 Jun 2010 10:25
Favicon

wildcards in smtproutes file???


Hi friends,

I have a little problem routing mails. I need routing mail for many  
domains to an specific private ip address.

The problems:

- Is it posible set more than one route for a same domain and take in  
mind the secondaries, only if primary fails? If I only can set one  
route, if this mailhost fail, I can't delivery messages to this  
domain...

- I need routing mail to a few domains, wich have many subdomains:

1.xxx.com
2.xxx.com
{}
10.xxx.com
1.yyy.com
2.yyy.com
{}
7.yyy.com

(...)

Can I use wildcards for route all  <at> *.xxx.com and  <at> xxx.com to same ip?  
how should I do?

Thank you very much in advance,
Spamis


Gmane