From: rodolphedj on
Hello,

I am using 2 filters : one spam filter, second virus filter
Steps :
25 (Postfix) -> spam filter (with smtpd_proxy) -> postfix (return) ->
virus filter with content filter

No problem for create this project.

But I have a little problem with a message error.

When a message size is limited the message error is :
Log :
(queue file size limit exceeded)
451 4.0.0 Local error (Error message : too large )

It is a first step message is good, but I need 552 for not receive a
next time the message.
(451 is temporary refused)

Have you an idea/solution ?


I am using in file config "main.cf" : [...]message_size_limit =
15728640[...]

I am tring in file config "master.cf" :
[...]
smtp inet n - n - - smtpd
-o smtpd_proxy_filter=127.0.0.1:10030
-o message_size_limit=15728640
[...]

For create a reject before queue, before send to my spam filter but
without success...




Thanks
Rodolphe

From: rodolphedj on
On 18 mai, 13:02, rodolph...(a)gmail.com wrote:
> Hello,
>
> I am using 2 filters : one spam filter, second virus filter
> Steps :
> 25 (Postfix) -> spam filter (with smtpd_proxy) -> postfix (return) ->
> virus filter with content filter
>
> No problem for create this project.
>
> But I have a little problem with a message error.
>
> When a message size is limited the message error is :
> Log :
> (queue file size limit exceeded)
> 451 4.0.0 Local error (Error message : too large )
>
> It is a first step message is good, but I need 552 for not receive a
> next time the message.
> (451 is temporary refused)
>
> Have you an idea/solution ?
>
> I am using in file config "main.cf" : [...]message_size_limit =
> 15728640[...]
>
> I am tring in file config "master.cf" :
> [...]
> smtp inet n - n - - smtpd
> -o smtpd_proxy_filter=127.0.0.1:10030
> -o message_size_limit=15728640
> [...]
>
> For create a reject before queue, before send to my spam filter but
> without success...
>
> Thanks
> Rodolphe

I am find the solution :
Disable size limit in spam filter.


sorry.