Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

How can I bounce() a message with friendly text?

I have set up the following incoming content filter to bounce messages with executable content:

executableFileBounce: if (attachment-filetype == "Executable")                      {                           bounce();                       }

It works fine, however, it gives the sender the following bounce text which is not very descriptive:

5.x.0 - Message bounced by administrator

Can anyone shed some light as to how to change this message to something like "Message bounced because it has an executable (EXE) or other prohibited attachment"?

1 REPLY
New Member

Re: How can I bounce() a message with friendly text?

Personally I did not try. but i suspect this should work.

executableFileBounce: if (attachment-filetype == "Executable")                      {  

strip-header("Subject");
insert-header("Subject", "$Subject \\{Bounced: due to executable\\}");

bounce();

}

If not, then you may need to use custom DSN notification in the "Text Resources".

Cheers

Chris

216
Views
0
Helpful
1
Replies
CreatePlease to create content