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

Question about message filter

I want to archive all email by using message filter.
The filter is the following:
archiveallmail:
if( rcpt-to == "@mydomain\\.com")
{
archive("backup");
}

So all mails will be archived to the directory "backup". I would like to seperate different users. For example:
if ( rcpt-to == "@mydomain\\.com")
{
archive(rcpt-to);
}
but it will occurr error because rcpt-to is not a string. How can I archive email to separate directories according to recipient address.

1 REPLY

Re: Question about message filter

This cannot be done to my knowledge. You would need to enter the $ sign for the variable. But the filter is only looking for a string.

The $ will also not work as the name of the directory is named after the string name.

I wouldn't archive all messages in the IronPort. You can use the bcc option to send it to a different mail host

Regards,

Mark

178
Views
0
Helpful
1
Replies
CreatePlease to create content