[Rspamd-Users] Showing the attachment extension in the reject message

dvadell dvadell at lantech.com.ar
Mon Oct 29 09:19:41 UTC 2018


El 2018-10-17 17:54, Diego M. Vadell escribió:
> Hello,
> 
>     I have just configured rspamd to reject some unwanted extensions by
> configuring bad_extensions (in local.d/mime_types.conf) and creating a 
> forced
> action (local.d/forced_actions.conf):
> 
> rules {
>   BAD_EXTENSION {
>     action = "reject";
>     expression = "MIME_BAD_EXTENSION";
>     # message setting sets SMTP message returned by mailer
>     message = "Attachment type not permitted";
>   }
> }
> 
>     Now I would like to show the attachment type, something like 
> "Attachment
> type .ps not permitted". Is there a way to do it?
> 
> Thanks
>  -- Diego

Anyone?


More information about the Users mailing list