[Rspamd-Users] Showing the attachment extension in the reject message
Diego M. Vadell
dvadell at lantech.com.ar
Wed Oct 17 20:54:16 UTC 2018
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
More information about the Users
mailing list