Mail subject rewriting when sent to DL- Exchange 2010

Hi folks,
we have an Exchange 2010 and several DL.
We'd like to rewrite the subject of any message sent to a specific DL to ease the filtering of such messages (seen Outlook client is limited in filtering).
Any of the rules as described here don't apply
http://technet.microsoft.com/en-us/library/dd638183(v=exchg.141).aspx
I'm pretty familiar with regular expression but last time I used the mail header to catch the condition I ended up in rewriting any message sent through Exchange.
I think this is a pretty basic function and I wonder why it's not among the offered filter options.
Has any one done that before and could he/she recommend the filter/regex to use? I guess it would be "Mail to:.*[email protected]" but as I said last time message other messages were impacted (they were messages on other DL that didn't have such
pattern in the headers as far as I remember)
Thanks in advance,
Alex

Hi Anand,
thanks for your reply but I'm afraid it doesn't apply to my case. The question is to rewrite the Subject when a message is sent to the DL regardless of who sends it (the DL might be opened in the future to external addresses as well)
Let's say that the DL My-favourite-recipies at example.com is the DL and this DL has got users A,B,C,D and E.
My understanding is that what you propose will work even in case the user A will send a private email to user E because both belong to the DL, and on top of it the management by the moderator, that is not set, is not necessary. 
That's why I'm looking for the solution in the headers (since I didn't see the option "sent to DL xxxx") "IF destination email address is my-favourite-recipies at example.com" then "prepend the Subject with [My-favourite-recipies]"
I have to say that I'm not aware how Exchange treats messages sent to DLs and I though it was sufficient to set the condition to the field "RCPT TO:" but unfortunately mails to other DLs were affected.
Let me be more specific: we have a DL called waw-200 at example.com (of course I modified the domain)
and when setting the condition for such DL I used the following (W|w)(A|a)(W|w)-200 at example.com but in this way also mails sent to DLs like fps-it at example.com were touched.
Thanks Alex

Similar Messages

  • Security mails from Microsoft cant be delivered to Exchange 2010

    Hi there,
    I have strange issue with delivering e-mails from Microsoft account team to my Exchange 2010 users.
    That is single Exchange 2010 server scenario with Microsoft antispam features installed.
    There is one setting that is affecting behavior of that: Sender-ID filtering. If it is configured as reject messages, the authentication e-mails are rejected with error:
    550 5.7.1
    Missing purported responsible address,MissingPRA,No valid PRA
    I was doing some research around the Sender-ID filter and found this:https://technet.microsoft.com/en-us/library/aa997242(v=exchg.141).aspx pointing
    to this:
    http://www.ietf.org/rfc/rfc4407.txt
    (see chapter 2, points 5 and 6)
    And Im thinking that the From: header is too long for the filter having 133 characters...
    From: =?windows-1250?Q?T=FDm,=20kter=FD=20se=20star=E1=20o=20=FA=E8ty=20Microsoft?= <[email protected]>
    See https://tools.ietf.org/html/rfc2822 chapter 2.1.1
    And if from header is not read properly, there is no other chance to define PRA.
    Im attaching the header with some privacy related edits (*)
    And also connection to my previos post:
    https://social.technet.microsoft.com/Forums/cs-CZ/63366c5f-5028-4b86-8cd9-815b2474083e/authentication-email-from-onedrive-is-not-delivered-to-exchange-2010?forum=exchangesvrsecuremessaging
    Received: from BAYIDSTOOL3E005 ([65.54.190.61]) by BAY004-OMC1S28.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751);
    Wed, 21 Jan 2015 03:50:31 -0800
    Message-ID: <[email protected]>
    X-Message-Routing: sKFde7CS5BHygFZaC4gFZWeHmOM+Rjf1iOmv8meDbQqeD+9kHFgbAflrz5UYy6v/Ov/vRliTx0hzi7ScTgwYCoH5DCu2Fahk9R9SdBH5Nsa5oB9Sz/gjNEAPF3tI/C3nFECX7BGzTiSSOg8TKAUbuCEwYGg==
    Return-Path: [email protected]
    Date: Wed, 21 Jan 2015 03:50:31 -0800
    From: =?windows-1250?Q?T=FDm,=20kter=FD=20se=20star=E1=20o=20=FA=E8ty=20Microsoft?= <[email protected]>
    Subject: =?windows-1250?Q?Bezpe=E8nostn=ED=20k=F3d=20=FA=E8tu=20Microsoft?=
    To: <t*****f@jv*******ms.cz>
    X-Priority: 3
    X-MSAMetaData: Cn0c88Cz0sGsI0Nfm6RO9sA/7VbWGUJeVNx9a4NXy37JI18dwFph0xDWcW8LScCF+MW2Lz28gPZz9dv7HW6EgfszNl0B6YfvjoqD5EXhCIrXhZTYSSbIB1Ix/LTVnuXoQieHLbzlKEn/wPNttCFyHop5rh2n8Sm26X38Eqj+/+Nh4VXFdEZ2I+gyInEElCSMfg==
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="------=_Next_Part_0490624281.535"
    X-OriginalArrivalTime: 21 Jan 2015 11:50:31.0736 (UTC) FILETIME=[757B2B80:01D03570]
    Do anyone knows the limits of header lines in the Exchange 2010 Antispam Filters?

    I have tested it deeply and strange thing gets even stranger:
    If I send entire email with telnet the difference between error and accepting message by server is comma in From: header. so:
    Message is not accepted with that line:
    From: =?windows-1250?Q?T=FDm,=20kter=FD=20se=20star=E1=20o=20=FA=E8ty=20Microsoft?= <[email protected]>
    Message is accepted if I delete a comma:
    From: =?windows-1250?Q?T=FDm=20kter=FD=20se=20star=E1=20o=20=FA=E8ty=20Microsoft?= <[email protected]>

  • Why does my "Doteasy" e-mail format change when sent using Mozilla?

    Up until recently I have been using Internet Explorer as a browser both at work and at home. I recently switched to Mozilla Firefox only at home and have been happy overall.
    When I access my work e-mail account from home ("Doteasy.com") I am unable to control the font size, type and my signature when sending e-mails. Usually the resulting e-mail when sent ends up combined in a long paragraph that is hard to read and really unprofessional looking.
    I did try to follow how to set up Mozilla with an e-mail program but when I select the "Tools" menu the "Account Settings" does not appear in the menu and I have been unable to find it. I have the latest version of Mozilla too (as of 11/14/2011).
    My life will be so much easier if I can work from home once in awhile.
    Thanks for help!!
    Thank you.

    My computer does this too. It also has made my Sent Button disappear and refers me to a "send later" solution. which is do not get or have. Shake the tree, maybe a nut will fall. Crack the nut and there you will find the Chinese answer!

  • Sent Mail from IPAD using Mobile Iron and Exchange 2010

    Hi all,
    Not sure you can help me with this one but i thought i would give it a shot.
    I am running Exchange 2010. Users can access email using iPad and other approved devices using Mobile Iron (onboarding app).
    I had a user who received a HTML message wiht an embedded image, when he forwarded that image on (adding some comments) the recipients of that email where not able to the image as intended. the image was no longer embedded it was added as an attachment.
    where the embedded image used to be it said;
    "THe linked image cannot be displayed. The file may have been moved, renamed or deleted. Verifiy that the link points to the correct file location"
    When the message was resent from a Windows 7 Outlook client it was received as intended.
    I have not been able to reproduce the issue since. the email was received and forwarded in HTML format.
    under Settings > Mail, I think there’s a setting called “Load remote images”, This is turned on.
    Im pretty sure this is not a mobile iron issue but an message format issue.
    Thanks in advance.

    Hi,
    Sorry for my interrupting.
    Based on your description, I understand that forward an email with an embedded image from mobile devices, then
    the image will display a “red x” (with error message as you find) when we receive this email in Outlook. Would you please let us know edition information of the Outlook which you use to receive the email? Meanwhile, please refer to following KB and
    check if it’s suitable for current situation.
    Images in email message disply a "red x" instead
    of the image if the Cache value in the registry is incorrectly configured
    If anything I misunderstand or any update, please don’t hesitate to let us know.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • OST corrupt when moving Mailbox from Exchange 2010 to Exchange 2010

    Anyone come across this?
    Moving a mailbox on Exchange 2010 to Exchange 2013 - the outlook client wont connect, if you remove the OST and allow outlook to recreate it comes good again.
    outlook client knows the mailbox has moved as it connects to the new server
    Not happening to every mailbox
    thak=nks

    Hi,
    After you move mailbox from Exchange 2010 to Exchange 2013, Outlook should still work.
    Is there any error message when these affected users try to connect? If there is, please post here for further analysis.
    I saw someone failed to connect to the new Exchange server after they moved mailbox, then they restarted the Microsoft Exchange Information Store service and restarted Outlook, it worked.
    If you haven't tried this, you can restart the Microsoft Exchange Information Store service to check the result.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Mail 6.2 Duplicate Last Name with Exchange 2010

    When I am composing an email my Exchange 2010 domain contacts show up with two last names (eg. John Smith Smith).  I've followed the recommendations of a couple different discussions including deleting the Exchange contacts and then re-adding them, but eventually the problem comes back.  I've also deleted all previous recipients that had duplicate last names, but the problem persists.  Any help would be greatly appreciated.
    Best regards,
    Jim

    This is the sole reason I went out and bought MS Office for osx.  I tried to deal with this for the last couple of weeks, but couldn't take it anymore.  It may seem minor to the product mgrs in Cupertino, but it's an extremely annoying behavior which keeps this Mac from being able to stand on it's on in the work environment.  Hopefully this will get fixed before I have to renew my Office payment.

  • Problem with Mail with attachments when sent to PC's

    I am having problems when I send mail from Apple Mail with an attachment from my machine to a PC machine. I use the attach tab at the top, and I choose Windows friendly attachments. But for some reason when my recipient gets my message there is no attachment attached to the message. Is there something I am doing wrong? My recipients have there mail application set up all right, but for some reason they have issues with my messages which are meant to have attachments.

    I also have this problem, when sending jpg's to a PC who is running outlook, and have their own MS mail server in-house.
    When my mail arrives in her inbox, the attachments are embedded in the email, and when she right clicks they are called "Untitled" even though when I sent them, then had file names with .jpg extension.
    And yes I have windows friendly on.
    Any ideas anyone?
    wilse

  • Mail not delivered when sent with the Unix "mail" command

    I am trying to send mail from the Unix command line with the "mail" command. Whenever I try to send an e-mail using a command of the form:
        mail -s 'This is the subject' <email address>
    the mail message always ends up in subdirectories of the postfix "deferred" directory:
        /private/var/spool/postfix/deferred
    It seems that the mail system runs for 60 seconds after an e-mail is sent and during that time I can run "mailq". If I do that I see something like the following:
    -Queue ID- Size ----Arrival Time---- -Sender/Recipient-------
    0195D1534C54 494 Sat Oct 18 11:48:13 [email protected]
    (connect to broadpark.no\[217.13.4.67\]: Operation timed out)
    [email protected]
    040F51556A8C 334 Sat Oct 18 17:42:39 [email protected]
    (connect to broadpark.no\[217.13.4.67\]: Operation timed out)
    [email protected]
    0C408153869D 1992 Sat Oct 18 12:26:48 MAILER-DAEMON
    (connect to broadpark.no\[217.13.4.67\]: Operation timed out)
    [email protected]
    3B10415374FC 1992 Sat Oct 18 12:23:47 MAILER-DAEMON
    (delivery temporarily suspended: connect to broadpark.no\[217.13.4.67\]: Operation timed out)
    [email protected]
    4509815374C0 342 Sat Oct 18 12:21:47 [email protected]
    (delivery temporarily suspended: connect to broadpark.no\[217.13.4.67\]: Operation timed out)
    [email protected]
    4CFC915374C7 2050 Sat Oct 18 12:21:47 MAILER-DAEMON
    (delivery temporarily suspended: connect to broadpark.no\[217.13.4.67\]: Operation timed out)
    [email protected]
        +<lots of lines snipped out>+
    It seems to be complaining that the connection timed out to broadpark.no\[217.13.4.67\], which is the domain of my ISP.
    My outgoing SMTP mail server is:
        mail.broadpark.no\[217.13.6.35\]
    Could it be that mail system is trying to connect to the wrong SMTP mailserver? If so, how can I fix this?
    I should mention that mail flows perfectly in and out of my machine via the Mail.app program. I am only having problem sending mail down at the Unix command line level.
    I had this working on OS X 10.4.x, but this is the first time I have tried this with Leopard.
    Any help/suggestions would be greatly appreciated. Thanks in advance.

    Perhaps I should have been a little bit clearer why I want to be able to send mail via my local mail/postfix system: I have several servers set up on my iMac, in particular:
        apache
        trac
    I want these servers to be able to send mail to, e.g.,
        webmaster@localhost
        root@localhost
        trac@localhost
    I have created aliases for these addresses in:
        /etc/postfix/aliases
    (I have also executed "newaliases"). These aliases all point to my own user account on the same machine (my iMac).
    Finally, I have a .forward file at the root level of my OS X account that forwards all local Unix mail to my normal e-mail account handled by my ISP.
    This way, all local mail sent to "webmaster2, "root", "trac", etc., should be sent to my normal e-mail address that I monitor with Mail.app.
    *This all worked perfectly with Mac OS X 10.4.x,* so I know it should be possible. However, I have only now just tried to set this up 10.5.x (Leopard) and, clearly, I am having problems.
    Perhaps this motivation for wanting to send e-mail via the Unix mail system will help others understand my situation, and I hope someone can point me in the right direction. Thanks very much in advance.

  • Word documents are garbled when sent through Outlook Exchange. I know something in the profile folder gets corrupted. Anyone know what?

    Our school district uses the web based version of Outlook Exchange. Several of us using Apple computers have had problems when sending word documents as attachments. When received, the document is full of garbled text. This has happened with different model computers, running 10.5.x or 10.6.x. I determined that removing the items from the folder in profiles (Users-> <user> ->Library->ApplicationSupport->Firefox->Profiles-><profile folder>) the problem is resolved. However, all preferences for Firefox are then lost. Does anyone know what specific item in the folder would cause this?

    I think this is an excellent indicator that not only is Palm reviewing the feedback from the support forums here, but actively reviewing feedback/comments/wishes on other sites as well.
    As the original poster copied this (quite solid, IMO) wishlist from Pre Central, the palm support staff acknowledged first seeing it there.

  • Routing email for an internal Mail server\domain to the Internet in Exchange 2010.

    Hello;
    We have an Exchange environment with multiple servers and multiple mail domains.  One of our overseas domains/servers is down at the moment because of a damaged cable somewhere in the Pacific...  We would like to be able to
    route email bound for that domain (xyz.cn) from our domain (xyz.com) thru the internet as their server still receives external traffic.  How ever since we are one great big AD/Exchange Forest email automatically gets routed by AD connection.
    Is there a way to send this email out thru the Internet?  We are being told that the "SHIP" will not be onsite for the repair for another week and then it will be 4-5 days for the repair.  any help is appreciated.  

    You could probably investigate Internal or External Relay Domains.
    The basic idea is that you configure the accepted domain for xyz.cn in one organization as a relay domain. Then setup a send connector with the
    xyz.cn domain as the name space, using smart hosts on the internet.
    If the Exchange org receives mail for xyz.cn it will accept it, but can't deliver it as there is no recipient mailbox in the org. It will then forward mail across the smart host.
    I'm not sure if this will work in your case or not, as it will depend on DNS configuration, etc (you don't want to forward mail to a smart host, only to have it deliver it straight back to you). It's something for you to think about though.
    Another option is to use a network level solution, such as an internet based VPN. However, this is not really the forum for that.
    Hope it works out for you

  • Mail 5.2 (1278) with MS Exchange 2010

    I've been working with Mac Mail for about a month on MS Exchange 2010 and found that it would not sync up nor would it close.  I later discovered that if I removed ALL rules from Mail, that everything would work properly.  I don't know if this is a bug or some quirk with Mail trying to sync its rules with Exchange and Exchange going nuts trying to understand them or what... Never the less, I'm back operational again because I deleted ALL of my rules, I just wish I had some way to automatically filter some of the repetitive emails I get.
    Does anyone have visibility to this as being a known bug either on Apple's or Microsoft's side and whether there IS a fix or that either have this on their bug-list?
    Thanks
    Jim

    William, it sounds like the same thing. 
    This is what I've seen happen in detail when I have rules set up:
    When new mail arrives in my Exchange inbox, the won't show up in Mail.app sometimes for quite a while or possibly never.
    When I do a "Get new messages in all accounts", it will endlessly spin and no mail will download.  I check whats there by going to OWA and find that there are lots of mail in the inbox, just that Mail isn't able to download them.
    If I try to quit Mail, I find that its just locked up and even tried waiting about 6 hours (I went away and came back late that evening) so I force quit the app.  // Note, use the vacuum terminal command to clean up your mailboxes:  "sqlite3 ~/Library/Mail/V2/MailData/Envelope\ Index vacuum;"
    Only when I go back in to Rules and not just disable them but remove them entirely, that Mail begins to respond correctly and I'm able to download messages when they arrive. 
    Workaround:
    What I've ended up doing is build Smart Mailboxes to search my inbox for certain criteria that I normally would have a rule set for and then perform the task manually.  Its awkward but at least I get my mail. 
    I'm really hoping someone is aware of this and are working on it.  I read somewhere that its a "known bug" by Apple and even with the early release AppleSeed of Mountain Lion, its still not fixed there either.
    I wish I had better information - at least you have a handle on whats going on.

  • SPAM and Exchange 2010 Mail-enabled Public Folders

    Is there a way to determine if mail sent to our Exchange 2010 mail-enabled Public Folders by our customers is ever rejected because it was tagged as spam? The concern is that we might not be receiving some email. We rely on the mail-enabled PF's
    heavily, but since they aren't a mailbox there is no Junk E-mail folder to check. We do not have the resources to check EOP on a regular basis throughout the day, and the customer would not get an NDR or anything like that.
    HDL

    Hi,
    You can consider to use Message Tracking tool under EMC -> Toolbox to track these messages.
    Understanding Message Tracking
    https://technet.microsoft.com/en-us/library/bb124375%28v=exchg.141%29.aspx?f=255&MSPPError=-2147217396
    Search Message Tracking Logs
    https://technet.microsoft.com/en-us/library/bb124926(v=exchg.141).aspx
    Best Regards.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Lynn-Li
    TechNet Community Support

  • Can i use exchange 2010 in the mail(4.5)?

    Can i use exchange 2010 in the mail(4.5)?
    i can't use exchange 2010 in the mail (4.5),but i can use normally in the mail (3.6)。why?

    Of course you can use your iPhone in the rain but since devices are not waterproof, nobody in their right mind would recommend it. The risk is yours and an out-of-warranty repair might cost more than a few bucks.
    I highly recommend you read this article: http://support.apple.com/kb/ht3302
    And some kind of a protective casing if you insist on using the device in the rain.
    Live long and prosper!

  • Exchange 2010 users cant change password in OWA when Cas server is Exchange 2013 cu3

    Running Exchange 2010 and 2013 in mixed mode.  users who is still on Exchange 2010 cant change password in OWA. It worked when it was clean Exchange 2010 installation. Password change is working for users migrated to 2013
    LS

    Hi
    Please follow the below blog which will help you in solving this issue
    http://technet.microsoft.com/en-us/library/bb684904.aspx
    Note: Be careful while modifying the registry settings.
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you.
    Regards,
    Sathish

  • Reading of accented characters in US-ASCII format in Exchange 2010

    I finished a migration from Exchange 2003 to Exchange 2010.
    I have one unsolved problem. An internal application generates and sends automatically reporting mails using the US-ASCII format through an anonymous Exchange 2010 Receive connector. This connector was configured following the Microsoft recommandations (article
    "Allow Anonymous Relay on a Receive Connector",
    http://technet.microsoft.com/en-us/library/bb232021(printer).aspx).
    The problem is that accented characters like "é", "è" or "à" are converting in "?" when the reporting mails arrive in the user mailboxes in Exchange 2010.
    I made the following test :
    1. When I generate from the shell in Powershell a mail in US-ASCII format, the accented characters are converted to ?
    $encoding = [System.Text.Encoding]::ASCII
    Send-MailMessage -To '[email protected]' -Subject 'Test' -Body 'Test mail avec des é è à et @' -SmtpServer '172.16.3.55' -From
    '[email protected]' –encoding $encoding
    2. When I generate from the shell in Powershell a mail in UTF7 format, the accented characters remains unchanged in the mailbox :
    $encoding = [System.Text.Encoding]::UTF7
    Send-MailMessage -To '[email protected]' -Subject 'Test' -Body 'Test mail avec des é è à et @' -SmtpServer '172.16.3.55' -From
    '[email protected]' –encoding $encoding
    Is there a solution to keep the accented characters without changing the US-ASCII message format in the reporting application ?
    Best regards,
    Pascal

    hi,
    I think it is by design.
    In an Exchange Server 2010 organization, content conversion is handled by the categorizer on a server that has the Hub Transport server role installed. Categorization on each message happens after a newly arrived message is put in the Submission queue. In
    addition to recipient resolution and routing resolution, content conversion is performed on the message before the message is put in a delivery queue.
    Please see this link:http://technet.microsoft.com/en-us/library/bb232174.aspx
    thanks,
    CastinLu
    TechNet Community Support

Maybe you are looking for

  • New ipod touch won't appear in my itunes or on my computer

    I got an ipod touch for christmas and it just will not show up under devices when i plug it into my itunes. it wouldnt activate at all, so then i used my brother's laptop. it finally activated but asked to be "restored to factory settings" first. my

  • Windows 8 will not reactivate after recovery

    Windows updates screwed my laptop up so that it just continuously tried to rollback the updates.  I used the recovery partition to reinstall Windows 8.  That worked fine, but now it will not reactivate.  It says, "The product key didn't work.  Try a

  • Sync with Photoshop Elements 6.0?

    Does anyone know whether iTunes / Apple TV supports Photoshop Elements 6.0? I upgraded to Photoshop Elements 6.0 yesterday, and now when I select "Photoshop Elements" on the Photos tab of the Appple TV in iTunes 7.4.3, no albums show up (whereas with

  • Change SQL of SDO

    I have been using JDBC / Oracle for a number years with JSP/Servlets and have just been introduced to the world of JSF and SDO. It seems save me a lot of progamming (SQL, mapping SQL to beans, mapping beans to JSP etc etc), but (from my limited exper

  • Anyone else having problems with Flash plugin 10.3.181.14 on FF4.01

    Over the last 2-3 days I've had a problem with FF hanging when loading some sites. This problem disappears if I disable the Flash plugin.