Email stuck in the Send queue
Hi,I'm just wondering about what makes emails stuck in the send connector queue ?i saw most of them SPAM and some of them was diagnostic email from Solaris executed by cronjob.thanks.1Get-Queue-ServerMCLAREN|flIdentity,DeliveryType,NextHopDomain,Status,LastError,MessageCount2Result:3Identity:ExcServer07\562754DeliveryType:SmartHostConnectorDelivery5NextHopDomain:[ExternalFirewallIP]6Status:Active7LastError:8MessageCount:37910Identity:ExcServer07\5748911DeliveryType:MapiDelivery12NextHopDomain:ExcServer07.domain.com13Status:Ready14LastError:15MessageCount:01617Identity:ExcServer07\Submission18DeliveryType:Undefined19NextHopDomain:Submission20Status:Ready21LastError:22MessageCount:02324#Get-Message|flIdentity,Subject,FromAddress,Recipients25someoftheResult:26Identity:ExcServer07\56275\138597827Subject:To<3aa63f56@mail.domain.com>28FromAddress:nedwudna_1984@SEWS-CT.CO.TH29Recipients:3031Identity:ExcServer07\56275\138597932Subject:AboutyourFacebookvirus33FromAddress:molitarp@SIERRACAD.COM34Recipients:3536Identity:ExcServer07\56275\138598037Subject:Mysistersaidyouwantparttime-job38FromAddress:3aa63f56@mail.domain.com39Recipients:4041Identity:ExcServer07\56275\138598142Subject:Makeyourbonersoironincouldpierceaholeinceiling.43FromAddress:erttvtsy@Crisil.com44Recipients:4546Identity:ExcServer07\56275\138598247Subject:To<3aa63f56@mail.domain.com>48FromAddress:stephqn-fonologi@CARESCOUT.COM49Recipients:5051Identity:ExcServer07\56275\138598352Subject:Askneighboraboutlaunch53FromAddress:3aa63f56@mail.domain.com54Recipients:/* Support Engineer */
March 12th, 2009 4:57am
get-message | remove-message didn't work as i expected.what makes an email stuck in the Send queue by the way ?I've enabled the Recipient filtering by not allowing any email send to the server if the recipient is not in the GAL. /* Support Engineer */
Free Windows Admin Tool Kit Click here and download it now
March 13th, 2009 6:10am
ok, finally I've found the easy script from Shay L. on PowerGUI forum1#toviewtheemailqueue2Get-Message|SelectIdentity,Subject,FromAddress,MessageSourceName,SourceIP|Sort-ObjectFromAddress|ft345#Thedeletecommand6Get-Message-QueueExcServ07\56275|foreach{7$sender=$_.fromAddress8Remove-Message-Filter{FromAddress-eq$sender}-withNDR$false9}/* Support Engineer */
March 13th, 2009 8:27am