Create rule to Forward mails without attachment

Hello guys,

We are using exchange server 2013 server. The query is as below;

  1. Need to create a group ID called abc@abc.com and add 5 mailbox members into it.
  2. The group ID will receive confidential data in excel format from our client on daily basis. The requirement is that the mail should be forwarded to those 5 members without the attachment.
  3. One of the member will login to the web-mail of the group ID and download the attachment for further work.
  4. In case if there is no e-mail received, then a mail should be generated with the message "there is no mail received from the client or client's ID" and it should go to those 5 users.

1st point is already done. i need help for 2,3 & 4th points. don't know how to achieve it. Please help.

Thank you

Shiv.

April 15th, 2015 3:14am

Hi Shivkumar,

I dont see any way to remove the attachment from the email received using transport or outlook rules.

Only option available is to notify users using transport rule's message classification.(this does't strip the attachment)

New-TransportRule -SentTo Test1@contoso.com -Name 'TestRule2' -StopRuleProcessing:$false -Mode 'Enforce' -RuleErrorAction 'Ignore' -SenderAddressLocation 'Header' -ApplyClassification Default\ExAttachmentRemoved

Hence you need to use Edge Transport or other SMTP Gateway Attachment Filtering rules used as per Hygience Management to achieve it.

Moreover, getting it split like GroupID gets it and others don't can't be set easily. Its either everyone gets it or no-one. However you might get away with it using multiple rules with same criterias,but seperate actions, first rule to copy the email to GroupID; second rule to strip attachment. Hence the destination should be a DL which doesn't have GroupID as a m

Free Windows Admin Tool Kit Click here and download it now
April 15th, 2015 11:58am

Hi Satyajit,

Thanks very much for the reply.

Yes, as you said if no one gets the attachment except the notification also would be fine. is it possible to do it?

Thanks in advance.

Shiv.

April 15th, 2015 12:26pm

Hi Shiv,

Based on my knowledge, there is on related transport rule to forward emails with removing the attachment. Your understanding will be appreciated.

For your reference:

https://social.technet.microsoft.com/Forums/office/en-US/007ab26f-2f99-4814-8d7e-136e188d6213/forward-mail-to-specific-email-id-without-remove-attachment-exchange-2010?forum=exchange2010

Hope this can be helpful to you.

Best re

Free Windows Admin Tool Kit Click here and download it now
April 16th, 2015 9:10am

Hi Shivkumar,

If the whole message is rejected and only notification is sent to the group. How do you plan to retrieve the attachment later for further work.

Notification(using message classification) will include the full message. Its just a additional info with the message.

You can use below to notify users.

If you want to reject a message but let the intended recipient know what happened, you can use the Notify the recipient with a message action.

In this example, all messages that contain attachments and are sent to people inside your organization are blocked, and the recipient is notified.

Rule that notifies recipients when an inbound message is blocked

Only Transport rule actions that can be performed are listed in the link.

It would be better to ask the client not to send the email with attachment in the first place. As rejecting it would send an NDR to the sender.

You may try other options and see how it works.

Reject the message and include an explanation

RejectReason

RejectReason

Deletes the email message and sends a non-delivery report to the sender with the specified text as the rejection reason. The recipient doesn't receive the message or notification.

Reject the message with the enhanced status code of

RejectMessageEnhancedStatusCode

EnhancedStatusCode

Deletes the email message and sends a non-delivery receipt to the sender with the specified status code. The recipient doesn't receive the message or notification.

Delete the message without notifying anyone

DeleteMessage

Not applicable

Deletes the email message without sending a notification to either the recipient or the sender.

Attachment stripping can be achieved using a Gateway server only.What are you using as the SMTP gateway server for spam filtering in your environment.

April 17th, 2015 8:59am

Hi,

Any update?

Best regards,

Free Windows Admin Tool Kit Click here and download it now
April 21st, 2015 10:24pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics