You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Li Wei Nan <l....@gmail.com> on 2008/10/14 10:04:03 UTC

Is there any easy method to set multi-domain attributes for mail processing?

Hi Everyone,
	I need to use James to implement that setting different attachment  
size limitations for different domains. That is: in our James  
installation, I use it to serve several domains using <servername>  
attribute in config. And I want the attachment size limitation to  
those domain different. For example, let's say we have two domains: A  
and B. If someone sends a mail to tom@A, then the attachment size sent  
to tom shouldn't exceed 1mb, if it sends to tom@B(actually the same  
user), the attachment size shouldn't exceed 2mb.

	There's a global setting in config, but can I do the individual  
setting with some out-of-box solutions? Such as using some  
combinations of existing Matchers and Mailets to achieve the goal?

Thanks in advance.

- Li Wei Nan

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org