[exim] exim outgoing message size limit

Góra strony
Delete this message
Reply to this message
Autor: Aidar A. Kamalov
Data:  
Dla: exim-users
Temat: [exim] exim outgoing message size limit
Hello,
can you help me, please? i have a router for limit message size - its work,
but i dont want limit messages, incoming into my domain, only outgoing into
internet.


my router:
message_size_limit:                                                                                                                                                                                                                                                           
driver          = redirect                                                                                                                                                                                                                                                   
domains     = !zakamye.ru # that's line dont work :(
condition    = ${if and {\                                                                                                                                                                                                                                               
{>{MYSQL_SZ_IN_MSG_MAX}{0}}\                                                                                                                                                                                                                       
{>{$message_size}{MYSQL_SZ_IN_MSG_MAX}}\                                                                                                                                                                                                           
} }                                                                                                                                                                                                                                                
data            = :fail:Cannot accept message with body size $message_size 
bytes for recipient $local_part@$domain (max MYSQL_SZ_IN_MSG_MAX bytes)                                                                                                                          
allow_fail                                                                                                                                                                                                                                                                  




why it doesnt work? how i can do that?
P.S. I was try to do it with acl, but no results(
(sorry for my bad english)