This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to redirect Mail sender and receiver based?

Hi there,

 

I need to redirect mails based on sender and receiver domain. How can I realize this? Is an additional Outbound policy the right way to do this?  Based on "@senderdomain.com" and receiverdomain "@*.de-mail.de" in need to send the mail to different gatways (DE-Mail Provider Mailserver)

 

Thx for help



This thread was automatically locked due to age.
  • There are several ways to accomplish this. However the "right" way for you depends on the criteria you wish to match against.

    Your options are:

    via IP address

    via Envelope Sender

    via DATA sender

    or a combination of all 3.

     

    Example 1:

    DATA sender

    Data control / add / inbound

    rule type: messages matching specific words or phrases

    check off: enable advanced

    rule config: regular expression enter:  .*  / add

    message attributes : add / header /

    Name: From

    is exact match: jimmy.bob@mydomain.com

    main action / select redirect message to another server.

     

    envelop sender:

    use a watch list rule additional policy.

    under the select users tab: click custom group

    use : **@mydomain.com

     

    for an IP based rule use the first example and rather than a header rule.. select IP .. then is or is not. 

     

    other tricks may include adding the host to internal mail relays.. for example if you have a web server at 170.23.1.2 and you want to relay mail from the external web server, to the internet.. configure the server to relay to the SEA .. then add that ip as an internal mail host and the appliance would consider it internal > external ..

    as for external > internal.. create an entry for the domain under ,ail delivery servers and associate it to the mail domain .. this will allow you to route mail anywhere you wish. 

     

    any of these options should work by themselves, or in combination .. have fun