+ Post New Thread
Results 1 to 7 of 7
Enterprise Software Thread, Powershell Send-MailMessage & Exchange 2010 in Technical; When using powershell to send emails, Exchange either puts it into Junk or Quarantines it. The odd thing is that ...
  1. #1
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    41

    Powershell Send-MailMessage & Exchange 2010

    When using powershell to send emails, Exchange either puts it into Junk or Quarantines it. The odd thing is that it was working and in fact I have 1 script that that still works but any other script I create now gets put into Junk or Content Filtering blocks it with 5.2.1.

    Did some testing and altered the one that works, seems that if I alter it too much then it starts ending up in Junk. Any ideas how I can stop it from being filtered out by Exchange?

  2. #2

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,137
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    76
    What AS agents are you running on Exch? Have you tried adding a bypass for the sender?

  3. #3
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    41
    All of them and I did test with the sender in the exception list of Content Filtering but that didnt seem to do anything. Not sure how some automated/scripted emails are unfiltered but others are.

    EDIT: Actually come to think of it, I havent set the sender in the exceptions list but this does mean no emails are filtered by this email so am hoping for a better solution.
    Last edited by apeo; 7th March 2013 at 10:38 AM.

  4. #4
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    41
    Seems the best solution I can come up with, is to add the first sentence as an Allowed Phrase.

  5. #5

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,137
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    76
    It means emails are bypassed for content filtering. I assume you trust the app/script which relays off Exch? If yes, why would you be concerned for AS filtering.

  6. #6
    apeo's Avatar
    Join Date
    Sep 2005
    Location
    Lost
    Posts
    1,612
    Thank Post
    95
    Thanked 115 Times in 111 Posts
    Rep Power
    41
    I'm not so much concerned about adding a phrase but I wouldnt want to add an email as that means all emails from that sender is bypassed.

    Just curious as to why it was tagged as junk/spam and it means any further scripts will probably require more phrases added.

  7. #7

    Join Date
    Dec 2008
    Location
    Essex
    Posts
    2,137
    Thank Post
    1
    Thanked 326 Times in 316 Posts
    Rep Power
    76
    Check the agent logs.

    I assume that that email address is only known to IT/You so what concerns are there?

SHARE:
+ Post New Thread

Similar Threads

  1. Exchange 2010 not sending external mail
    By sfoord in forum Windows Server 2008
    Replies: 9
    Last Post: 21st August 2013, 02:53 PM
  2. Replies: 2
    Last Post: 2nd March 2011, 12:35 PM
  3. Replies: 0
    Last Post: 10th February 2011, 07:57 AM
  4. Exchange 2010 Send Connectors
    By faza in forum How do you do....it?
    Replies: 5
    Last Post: 14th January 2011, 08:59 AM
  5. Exchange 2010 - Useful Powershell Commands
    By bodminman in forum Windows Server 2008
    Replies: 0
    Last Post: 10th November 2010, 09:34 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •