Re: [exim] Varying message size limit according to sending h…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Phil Pennock
Päiväys:  
Vastaanottaja: ROGERS Richard
Kopio: 'exim-users@exim.org'
Aihe: Re: [exim] Varying message size limit according to sending host?
On 2011-09-08 at 10:14 +0100, ROGERS Richard wrote:
> Is it possible to vary the message size limit according to where the message is received from? I've had a bit of a look at this but it appears that message_size_limit is set globally - is this correct, or is there another way?


+------------------+---------+-------------+------------+
|message_size_limit|Use: main|Type: string*|Default: 50M|
+------------------+---------+-------------+------------+

"*" => expanded string

message_size_limit = ${if match_ip{$sender_host_address}{iplsearch;/some/file}{$value}{50M}}

-Phil