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

Policy outbound mail

Hi to all,

W've encountered some problems making a policy based on outbound mail (especially with rewriting the Envelope Sender and message splintering). See the description below:

conditions:
- The recipient is a specific domain;
- The sender is a member of a specific LDAP group

actions:
- Rewrite the Envelope Sender, From header and Reply-To header into another domain;
- Relay the message to a specific SMTP gateway.

Does anybody have a hint/solution for the problems above?

Kind regards,

Ben Hoorn

1 REPLY
Cisco Employee

Re: Policy outbound mail

Hi to all,

W've encountered some problems making a policy based on outbound mail (especially with rewriting the Envelope Sender and message splintering). See the description below:

conditions:
- The recipient is a specific domain;
- The sender is a member of a specific LDAP group

actions:
- Rewrite the Envelope Sender, From header and Reply-To header into another domain;
- Relay the message to a specific SMTP gateway.

Does anybody have a hint/solution for the problems above?

Kind regards,

Ben Hoorn



Hi,

Rewriting the headers like you require would usually involve 'masquerading' which can be done a couple of different ways, and is explained in a lengthy article here: http://tinyurl.com/qpjj2

I would encourage you to read the article to determine which is the best method for you; this would heavily depend on the amount of users you need to masquerade for...

From there, you can create an outgoing mail policy with 'Senders' consisting of either a list of addresses, or and LDAP group query, and 'Recipients' containing a list of addresses, or entire domains.

-whardison

150
Views
0
Helpful
1
Replies
CreatePlease to create content