Question about message filter

Unanswered Question
Apr 19th, 2007
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Mark [CSE]_ironport Thu, 04/19/2007 - 11:37
User Badges:

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

Actions

This Discussion