GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » GFI User Forums » Kerio Connect » Rewriting Recipient Domain when sending email
Rewriting Recipient Domain when sending email [message #132235] Mon, 10 October 2016 23:56 Go to next message
phcranston is currently offline  phcranston
Messages: 21
Registered: May 2009

Is it possible using the Sending Message Filter rules to rewrite just the domain of an outgoing email? We have a client that is using efax for sending faxes and all emails are <<phonenumber>>@efaxsend.com. They are in the process of setting up a HiPAA compliant service with efax that requires outgoing faxes to be sent to <<phonenumber>><_at_>efaxsendsecure.com. It would be nice if we could automatically rewrite just the domain of the outgoing address from efaxsend to efaxsendsecure if a user uses the wrong domain.

It doesn't look like this is possible with the current message filter rules, but maybe I am missing something. We are running Connect 9.1.1.


Re: Rewriting Recipient Domain when sending email [message #132253 is a reply to message #132235] Tue, 11 October 2016 18:01 Go to previous messageGo to next message
Kerio/GFI Brian is currently offline  Kerio/GFI Brian
Messages: 852
Registered: March 2004
Location: California
This is possible in the Message Filters. You can create a receiving rule that changes the To header.
http://kb.kerio.com/product/kerio-connect/server-configurati on/filtering-messages-on-the-server-1831.html


Brian Carmichael
Instructional Content Architect
Re: Rewriting Recipient Domain when sending email [message #132255 is a reply to message #132253] Tue, 11 October 2016 19:54 Go to previous messageGo to next message
phcranston is currently offline  phcranston
Messages: 21
Registered: May 2009

That is for receiving messages. Sending messages does not appear to give you the option to rewrite headers.

Re: Rewriting Recipient Domain when sending email [message #132257 is a reply to message #132255] Tue, 11 October 2016 21:28 Go to previous messageGo to next message
Kerio/GFI Brian is currently offline  Kerio/GFI Brian
Messages: 852
Registered: March 2004
Location: California
All messages are receiving at some point, even if the recipient is remote.

Brian Carmichael
Instructional Content Architect
Re: Rewriting Recipient Domain when sending email [message #132258 is a reply to message #132257] Tue, 11 October 2016 21:32 Go to previous messageGo to next message
phcranston is currently offline  phcranston
Messages: 21
Registered: May 2009

ok. good to know. never realized that kerio looked at it that way.

Re: Rewriting Recipient Domain when sending email [message #132259 is a reply to message #132258] Tue, 11 October 2016 21:56 Go to previous messageGo to next message
phcranston is currently offline  phcranston
Messages: 21
Registered: May 2009

looks like while I could replace the entire email address using a receiving rule, in this case I'm looking to replace just the domain and keep the portion of the email address before the <_at_> the same. I don't see a way to do this in the receiving rules. Even using placeholders, they appear to only work for the entire address.

Re: Rewriting Recipient Domain when sending email [message #132260 is a reply to message #132259] Tue, 11 October 2016 22:25 Go to previous messageGo to next message
Kerio/GFI Brian is currently offline  Kerio/GFI Brian
Messages: 852
Registered: March 2004
Location: California
I don't believe there is a way to modify only part of the original recipient. The only alternative I can imagine is to reject the message and provide a reason, informing the sender that the recipient domain has changed and that they must resend the message using the correct domain.

Brian Carmichael
Instructional Content Architect
Re: Rewriting Recipient Domain when sending email [message #132276 is a reply to message #132257] Wed, 12 October 2016 19:47 Go to previous messageGo to next message
Bud Durland is currently offline  Bud Durland
Messages: 586
Registered: December 2013
Location: Plattsburgh, NY
Brian Carmichael (Kerio) wrote on Tue, 11 October 2016 15:28
All messages are receiving at some point, even if the recipient is remote.


Would it be accurate to describe it thusly:

"A receive rule is applied as the message is being accepted by the SMTP process, regardless of server relative direction. A send rule is applied when the SMTP process is outputing the message, either to another SMTP server or to the local message queue"
Re: Rewriting Recipient Domain when sending email [message #132278 is a reply to message #132235] Wed, 12 October 2016 20:18 Go to previous message
Kerio/GFI Brian is currently offline  Kerio/GFI Brian
Messages: 852
Registered: March 2004
Location: California
All messages must be processed through the queue. Receiving rules apply to messages before they enter the queue. Sending rules apply to messages after they have been processed through the queue and are on their way to be delivered to the recipient (either local or remote).

Brian Carmichael
Instructional Content Architect
Previous Topic: Linux store permissions
Next Topic: Koff Client 9.1.1 & Outlook 2013/6
Goto Forum:
  


Current Time: Mon May 29 07:05:27 CEST 2023

Total time taken to generate the page: 0.05388 seconds