cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1701
Views
0
Helpful
5
Replies

Redirect to External Address for Ex-Employees

mykul
Level 1
Level 1

Is there a way to create an incoming policy that will redirect email for an ex-employee to an external address and remove any attachments for that incoming email? The only thing I can think of is creating a new Incoming Content Filter for this scenario but I may have 50+ ex-employees that I may have to configure this for. 

 

Any ideas?

Thanks in advance!

5 Replies 5

If you're keeping any sort of AD account or contact for them with the old email address in it, create a POLICY that is based on the recipient address (which can be an LDAP group that you query from AD), and in that policy you create the content filter(s) with no criteria, but all of the actions you need...

Eg .strip attachments, bcc to address, drop this message



You want to use a policy to separate these out because you want the DROP to happen to the messages that are intended for the ex-employees but not current employees for cases when the incoming message has both in the recipient list.



e.g. if I send a message to "Ex-emp@yourcompany.com,current-emp@yourcompany.com" a policy will splinter that into 2 messages an process them separately, while a content filter that uses the recipient condition will get 1 message and if the final action is drop, NO ONE gets the message.










Yes, I am keeping the AD accounts.

 

If I have 50+ users wouldn't I have to create 50+ Incoming Content Filter policies to apply to the Incoming Mail policy?

To be clear, are you forwarding all of them to the same address?




No, I am not forwarding them all to the same address. Each user will have their email redirected to their own specific email external address.

tfrenz
Level 1
Level 1
Hello,



you can take for the ex-employees email addresses a dictionary.

Than make a messagefilter wich check the recipient is in the dictionary

(rcpt-to-dictionary-match("dict_ex_employees", 1)



Attachment drop with

drop-attachments-by-size(1, "Attachment removed: $dropped_filename");



Thomas