Exchange 2013 Realtime Block List is Kind of Working

Hi Everyone.
I've been setting up a RBL in exchange 2013 using zen.spamhaus.org. The IPBlockListProviders require that the connection filtering agent be enabled. By default when running the installantispamagents.ps1, this script will not install that connection filtering
agent because it only installs on an "edge" server and since exchange 2013 did away with the "edge" role, it did not get installed. I had to modify the script so it installed that connection filtering agent with all the other anti-spam agents. (We are a one
exchange server shop so the CAS and Mailbox roles are on one box.)
I'm having a very weird response. The RBL list works and when I get a test email sent to me using the service at '[email protected]', I can see the Reject message getting sent back out in the agent logs and the SMTP logs. This is the message
I see in the logs. Notice that the originating IP and the RBL triggering IP are the same: 192.203.178.107.
2012-12-14T01:59:04.970Z,08CFA71A75A19B4B,10.10.3.50:2525,192.203.178.107:55186,192.203.178.107
,,<>,,t***********e@*****.org,1,Connection Filtering Agent,OnRcptCommand,RejectCommand,550
5.7.1 zen.spamhaus.org has blocked your IP address (192.203.178.107) using the list
'zen.spamhaus.org'. Please see http://www.spamhaus.org/query/bl?ip=192.203.178.107 for further
information. This organization has no control over this RBL (Realtime Blo,BlockListProvider,
zen.spamhaus.org,,,,Undefined
This is a correct message and that IP address matches the Test RBL IP address spamhaus has blacklisted to check RBL filters. The IP address is added dynamically to the message with a variable in the reject message settings and should list the IP address
of the SMTP server that triggered the RBL hit.
The VERY strange thing is when I trigger the RBL with the test message, exchange rejects all incoming mail for my account from any source for several minutes and rejects with that same message. I send a test message from my google account and I can clearly
see in the agent log that the SMTP connection is coming from a google IP but it still rejects and issues the message that was sent in response to my test using the nelson-'[email protected]'
This is the reject message sent to my google account after I sent myself an email following the RBL test message. Notice that the originating IP is a google IP and does not match the IP the the reject message claims the message came from. The log
shows the originating IP as 74.125.82.179 (A google IP) but im rejecting the message because 192.203.178.107 is blocked??? The message didn't come from that IP. :
2012-12-14T02:00:06.318Z,08CFA71A75A19B4B,10.10.3.50:2525,74.125.82.179:50654,74.125.82.179,,
t***t@******.net,,t*******te@******.org,1,Connection Filtering Agent,OnRcptCommand,
RejectCommand,550 5.7.1 zen.spamhaus.org has blocked your IP address (192.203.178.107) using
the list 'zen.spamhaus.org'. Please see http://www.spamhaus.org/query/bl?ip=192.203.178.107
for further information. This organization has no control over this RBL
(Realtime Blo,BlockListProvider,zen.spamhaus.org,,,,Undefined
After a couple minutes, it clears up and I can get mail again. I just can not for the life of me figure out why all messages are rejected for several minutes after I have an RBL hit and the reject message is always referencing the the SMTP transaction
that originally triggered the hit. Which in this case, is blocking my Gmail message thinking its coming forom the crynwr.com test even when the smtp logs show a completely different SMTP originating IP and Connection.
Here is my IPBlockListProvider:
RunspaceId        : 068b87d2-9c34-4ce9-ab05-eedef928cb27
RejectionResponse : {1} has blocked your IP address ({0}) using the list '{2}'. Please see 
                    http://www.spamhaus.org/query/bl?ip={0} for further information. This organization has no control 
                    over this RBL (Realtime Block List).
LookupDomain      : zen.spamhaus.org
Enabled           : True
AnyMatch          : True
BitmaskMatch      : 
IPAddressesMatch  : {}
Priority          : 1
AdminDisplayName  : 
ExchangeVersion   : 0.1 (8.0.535.0)
Name              : zen.spamhaus.org
DistinguishedName : CN=zen.spamhaus.org,CN=IPBlockListProviderConfig,CN=Message Hygiene,CN=Transport 
                    Settings,CN=Bel******ch,CN=Microsoft 
                    Exchange,CN=Services,CN=Configuration,DC=b******rk,DC=net
Identity          : zen.spamhaus.org
Guid              : 0c9b5eec-b19a-4ab5-9c6a-cb1666cf68d6
ObjectCategory    : beltwaypark.net/Configuration/Schema/ms-Exch-Message-Hygiene-IP-Block-List-Provider
ObjectClass       : {top, msExchMessageHygieneIPBlockListProvider}
WhenChanged       : 12/12/2012 10:02:36 PM
WhenCreated       : 12/12/2012 10:02:36 PM
WhenChangedUTC    : 12/13/2012 4:02:36 AM
WhenCreatedUTC    : 12/13/2012 4:02:36 AM
OrganizationId    : 
OriginatingServer : Lucas.*****.net
IsValid           : True
ObjectState       : Unchanged

When you install the Antispam agents on Exchange 2013 servers you get all of them installed like you did for previous versions of Exchange server. most of them will get installed on the mailbox role but not the Connection filtering agent aka. RBL, DNS Block
List etc.
The powershell script: install-AntispamAgents.ps1 will look for which server role is installed and will not install Connection filtering if the server hold the mailbox role. This is understandable since SMTP connection should come in from the CAS server
and then the original sending IP will not be show since CAS do Source-NAT. So the logic would be to install the connection filtering agent on CAS but the install script will not let you do that either. Connection Filtering will only install on Edge role.
I can only speculate why this is, but either Microsoft want it to be like this or they have found some trouble with the Connection Filtering Agent running on CAS.
I figured I will give this a try anyway, and here is how you get it to work.
Start Exchange Management Shell as administrator.
Change Directory to scripts folder.   
cd $exscripts     
Install the agent.    
Install-TransportAgent -Name "Connection Filtering Agent" -TransportService FrontEnd -TransportAgentFactory "Microsoft.Exchange.Transport.Agent.ConnectionFiltering.ConnectionFilteringAgentFactory" -AssemblyPath "C:\Program Files\Microsoft\Exchange
Server\V15\TransportRoles\agents\Hygiene\Microsoft.Exchange.Transport.Agent.Hygiene.dll"
If you have multiple agents running on the frontend transport you must set them in the correct order with the priority parameter
Add a IPBlocklistprovider of your choice   
Add-IPBlockListProvider -Name zen.spamhaus.org -LookupDomain zen.spamhaus.org -AnyMatch $true -Enabled $true
You can add more than one provider if you like. If you Don’t provide a custom response it will be “Recipient not authorized, your IP has been found on a block list”
Enable the agent   
Enable-TransportAgent -TransportService FrontEnd -Identity "Connection Filtering Agent"
Restart FrontEnd transport service   
Restart-Service MSExchangeFrontEndTransport
Now the agent should be live and kicking. Logging for the frontend agent is here
“C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\FrontEnd\AgentLog” instead of the directory for the backend transport “C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\Hub\AgentLog”
Since the script don’t install the Connection filtering agent on CAS it is probably unsupported to install the agent manually, but I had it running for months without any problem so make your own judgment.

Similar Messages

  • Migrated Exchange 2013 server - blocking common emails like netflix and amazon?

    We were using Exchange 2010 for years, and recently I upgraded to Exchange 2013 and signed up for Exchange Online Protection over the weekend (all at the same time, upgrade, migration, sign up for EOP, etc.).  Some mail is making it through just fine,
    while a lot of email is being blocked.  EOP says the email was "delivered" but MessageTracking on our exchange box says Event ID: FAIL...
    I'd like to know more about the FAIL ID... how do I find out what made it fail?  I'm guessing it was a transport rule, but when I got to Mail Flow -> Rules - there is NOTHING there.  
    Running "Get-TransportAgent" returns these values:
    I disabled the malware agent manually on my box since I'm using the EOP stuff now... how can I see or edit the rules that are in place if they do not show up as rules in the ECP?
    It's big name companies like amazon, netflix, etc that are getting blocked... I can't see a reason why they would be blocked now on a migrated server and not on my old server... Can anyone provide some insight?  I'd GREATLY appreciate it!

    I would tend to agree with you that you don't need them.
    http://www.msexchange.org/articles-tutorials/exchange-server-2013/security-message-hygiene/anti-spam-and-anti-malware-protection-exchange-2013-part1.html
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Exchange 2013 - 2007 coexistence - activesync 2007 does not work correctly

    Exchange 2013 SP1.  On going Saga-  Last night we cut over to full co-existence with DNS changes for use of legacy namespace and had to roll back again. We had only two issues but one was considered a show stopper.
    The main issue was that Active Sync would not work correctly for 2007 users. It failed the exchange connectivity test and would only work on a device if the domain was entered - or if the legacy namespace was entered manually. That would have meant
    chaos for several thousand users so we rolled back. (It worked perfectly for 2013 users).
    The error given by the test was "foldersync failed" when I drilled down into the detail. It found autodiscover but failed after the initial handshake. (All other tests passed for 2007 and 2013 users)
    We tried:
    1. Populating both Autodisover internal and external urls with the legacy namespace
    2. Populating only the internal url and leaving the external blank (both 1 and 2 had the same result)
    3. Leaving both URLs blank to force 2013 to proxy to the 2007 cas (totally broke it- would not resolve at all)
    I don't know if this is related but SSO is failing for 2007 OWA - two prompts.
    Environment notes- all internal co-existence is working and the internal LTM F5's are working. Externally we use 2 GTM F5 to the LTM f5's to Ex2013. 2007 has SSL being passed through all the way to the CAS. Servers are split into CAS and MBX over 2 DC's.
    Everything else externally was working when we cut over.
    any and all help appreciated
    Tony

    Hi,
    Glad to know that you have found the solution.
    Thanks for your generous sharing.
    Have a nice day : )
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Exchange 2013 disconnects externally after every hour but works fine internally

    Hello All,
    I have a very strange problem in my office. At the new years eve, there was a disconnection in our Internet from our ISP and everything came back online again after 1 hour. before this happened everything was working fine such as externally all the mobile
    devices were able to connect to exchange 2013 and event owa was working fine and laptop devices as well. All was good, but once the disconnect happened, i am only able to access my emails over 3 G connection but not over the ISP connection, what i mean from
    that is that if i try to connect to owa or my outlook from home DSL connection i cannot connect but with my 3g connection on my phone i can connect and everything works fine. i have re issued the certificates and installed them again, but still the same thing,
    after every hour or sometimes less the exchange 2013 sort of disconnects and starts working when i restart the CAS server where the traffic is routed to.
    Has any one faced this issue, please help, i was thinking that something wrong with my firewall as i was not even able to connect to my ssl vpn so i thought that firewall is culprit, but i have replaced the firewall as well and still the same issue.
    Please help, i am trying to troubleshoot this problem since last 10 days but with no luck.
    Thank You. 

    Have you checked the network settings? Do you have multiple network adapters? May be DNS related also. Check, if you have configured DNS correctly.  
    Regards from ExchangeOnline.in|Windows Administrator Area | Skype:[email protected]

  • Exchange 2013 - Proxy through client access server not working

    Hello All -
    I recently migrated our company to Exchange 2013 and noticed that our email was leaving through the mailbox server. I put a check mark in the Send Connector where it says "Proxy through Client Access Server" and my mail is still coming from the
    mailbox server. How can I go about fixing this problem?
    Environment:
    1 CAS Server
    1 Mailbox Server
    Both server are behind the firewall with only port 25 opened to the CAS. The CAS has a Send Connector to a smart host for all messages.
    Thank you!
    Ryan

    Hi,
    Please check if the outbound messages without smart host are coming from CAS . 
    I doubt it send to the smart host directly if you configure smart host, and not use proxy thogh CAS.
    If you have any feedback on our support, please click
    here
    Wendy Liu
    TechNet Community Support

  • Exchange 2013 EAC- block external access only

    This question I'm sure has been asked many times- but it must be possible to block EAC externally and still allow ECP and OWA externally. I need EAC to work internally only.I'm aware of the official response on this (not possible) but has anyone come
    up with a way that does not use dedicated IP's. We have F5's at the gateway so maybe filter out the URL? Any suggestions?

    The best approach that I've seen, so far, is something close to what Sathish suggested:
    1. You need to disable EAC on the default web site - both for internal and external users.
    2. Create a new ECP virtual directory, using a different internal IP. That IP will not be translated and accessible from the Internet. Everybody on the local LAN will have access to it.
    Step by Step Screencasts and Video Tutorials

  • Duplicate Contacts when migrating mailboxes to exchange 2013 SP1 CU7

    Hello,
    We started to notice that when we move a user from our legacy exchange 2007 to exchange 2013, the contact list appears twice for users.  I heard CU6 was suppose to fix this issue but we went ahead and downloaded the latest version and we are still seeing
    this.  Can anyone provide guidance on how to stop this for the remaining migrations?
    Thanks

    Hi Joey,
    I'm back : )
    According to your description, I know that the contact list appears twice for users after moving users from Exchange 2007 to Exchange 2013.
    I notice that you want to install CU6 to fix this issue, based on my knowledge, CU6 can cause an known issue when you are using Exchange 2007 and 2013 coexistence and query mailbox move request via EMS. However is known issue has fixed in CU7, I suggest
    install CU7 for testing.
    Thanks
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Mavis Huang
    TechNet Community Support

  • Setup Error Reinstallin Exchange 2013

    Trying to reinstalling Exchange 2013 after removing Exchange from ADSI, IIS, Registry, and Active Directory. Receiving the following error when attempting AD Prep. ERROR: Method Not found:  Boolean Microsoft.Exchange.Data.Mime.MimeAddressParser.IsValidDomain(System.String,
    Int32, Boolean)'. and the setup fails.  This occurs whether I try Schema Prep, ADPrep or just trying to load Exchange.  This is a lab environment.  Any suggestions to correct the install?

    When I look at the Schema with ADSI edit, I still see all the ms-exch attributes from the initial Schema Prep that was conducted. Both the Schema Prep and AD Prep was conducted successfully, but when Exchange 2013 SP1 combined was loaded, OWA never worked
    right and I was having issues connecting properly with SP 2013.  I did use a similar blog about uninstalling Exchange, that went into more depth that the one you listed.  Here is a copy of my Exch Setup Logs when I attempt to run Prepare AD:
    [04/23/2015 20:10:12.0108] [0] Starting Microsoft Exchange Server 2013 Service Pack 1 Setup
    [04/23/2015 20:10:12.0108] [0] **********************************************
    [04/23/2015 20:10:12.0108] [0] Local time zone: (UTC-05:00) Eastern Time (US & Canada).
    [04/23/2015 20:10:12.0108] [0] Operating system version: Microsoft Windows NT 6.2.9200.0.
    [04/23/2015 20:10:12.0108] [0] Setup version: 15.0.847.32.
    [04/23/2015 20:10:12.0124] [0] Logged on user: TSYSDEV\MConnelly.
    [04/23/2015 20:10:12.0140] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [04/23/2015 20:10:12.0187] [0] Command Line Parameter Name='preparead', Value=''.
    [04/23/2015 20:10:12.0187] [0] Command Line Parameter Name='organizationname', Value='ExchangeDev'.
    [04/23/2015 20:10:12.0187] [0] Command Line Parameter Name='iacceptexchangeserverlicenseterms', Value=''.
    [04/23/2015 20:10:12.0187] [0] Command Line Parameter Name='domaincontroller', Value='tsysdevdc2.tsysdev.net'.
    [04/23/2015 20:10:12.0187] [0] Command Line Parameter Name='sourcedir', Value='E:\Source'.
    [04/23/2015 20:10:12.0390] [0] RuntimeAssembly was started with the following command: '/PrepareAD /OrganizationName:ExchangeDev /IAcceptExchangeServerLicenseTerms /domaincontroller:tsysdevdc2.tsysdev.net /sourcedir:E:\Source'.
    [04/23/2015 20:10:12.0405] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\v8.0, wasn't found.
    [04/23/2015 20:10:12.0405] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\v14, wasn't found.
    [04/23/2015 20:10:12.0421] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [04/23/2015 20:10:12.0421] [0] Copying Files...
    [04/23/2015 20:10:12.0437] [0] Starting copy from E:\Source\Setup\ServerRoles\Common to C:\Windows\Temp\ExchangeSetup.
    [04/23/2015 20:10:18.0484] [0] Finished copy from E:\Source\Setup\ServerRoles\Common to C:\Windows\Temp\ExchangeSetup.
    [04/23/2015 20:10:18.0499] [0] File copy complete. Setup will now collect additional information needed for installation.
    [04/23/2015 20:10:18.0499] [0] Assembly dll file location is C:\Windows\Temp\ExchangeSetup\Microsoft.Exchange.Setup.Console.dll
    [04/23/2015 20:10:22.0593] [0] Setup is choosing the domain controller to use
    [04/23/2015 20:10:22.0687] [0] We have a user-specified or previously-chosen domain controller: tsysdevdc2.tsysdev.net
    [04/23/2015 20:10:22.0734] [0] [ERROR] Exception has been thrown by the target of an invocation.
    [04/23/2015 20:10:22.0734] [0] [ERROR] Method not found: 'Boolean Microsoft.Exchange.Data.Mime.MimeAddressParser.IsValidDomain(System.String, Int32, Boolean)'.
    [04/23/2015 20:10:22.0734] [0] CurrentResult SetupLauncherHelper.loadassembly:444: 1
    [04/23/2015 20:10:22.0749] [0] The Exchange Server setup operation didn't complete.  More details can be found in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
    [04/23/2015 20:10:22.0749] [0] CurrentResult main.run:235: 1
    [04/23/2015 20:10:22.0749] [0] The registry key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ExchangeServer\V15\Setup, wasn't found.
    [04/23/2015 20:10:22.0749] [0] CurrentResult setupbase.maincore:396: 1
    [04/23/2015 20:10:22.0749] [0] End of Setup
    Checked the registry and the keys it is looking for are not there, but no sure if I need to manually create them.  Any assistance would be created appreciated or if I need to conduct the back-out plan, I can try that.

  • Exchange 2013 Mail flow rule using RegEx

    We're trying to implement a rule on certain mailboxes that it shouldn't accept an email without a subject.
    I found documentation from Microsoft on exchange 2010 to Configure
    a Transport Rule for Messages That Have a Blank Subject, but I tried using the ^$ RegEx
    with Exchange 2013 and it doesn't seem to work.
    I also looked at the Transport
    Rule Predicates for Exchange 2013 and it clearly says thatSubjectMatchesPatterns
    matches messages where text patterns in the Subject field match a specified regular expression.
    My workaround was to reject all messages to those specific mailboxes except if subject pattern matches. but
    if I want to add now conditions ie. to reject emails with a subject "Sent from my snipping tool" I can't do it.
    I found Here that
    Exchange 2013 now supports extended RegEx but I didn't find that the syntax for ^$should
    be any different in extended RegEx.

    If you use any special character in the RegEx you must use
    \m Escape m, where m is one of the meta characters described above: ^, ., $, |, (), [], *, +, ?, \, or /.
    as decribed in http://technet.microsoft.com/en-us/library/jj674702%28v=exchg.150%29.aspx

  • Exchange 2013 CU1 UM and Avaya SM R6

    Hello! I have a problem integrating Avaya and Exchange 2013 CU1 UM.
    In 2010 environment it works perfectly fine, however with Exchange 2013 I was unable to make it work.
    I was looking into the packets sent by 2010 and 2013, the only difference is in 302 reply. Exchange 2010 sends
    extension@ip:port as the Contact URI while Exchange 2013 sends
    extension@fqdn:port
    Avaya doesn't seem to recognize the format and instead of connecting to the specified within the contact field service just keeps querying TCP 5060 (Call Router Service).
    Is there any way to force Exchange to use IP within the contact field instead of FQDN?
    Pointing SIP Entity to 5065/5067 directly is not an option for obvious reasons well covered here on the forums.

    To get this functioning u must do the following!  The CM will handle the "302 moved" FQDN request with this setup.  CM 5.2.1 with 6.2 SM.
    1. Lockdown the CAS server worker port to 5065.  A restart of the UM service every couple of days will take care of this because it defaults to 5065.
    2. CM hunt group set "voice mail handle" to a name.  EX: sipms
    3. SM create SIP entity for CAS server with entity link SM TCP 5060 -> CAS  TCP 5060
    4. SM Create SIP entity for each MBX server and port needed.
    EX: Entity MBX-1-5062 IP 10.10.10.1 with entity link SM TCP 5062 -> MBX-1-5062 TCP 5062                               
    Entity MBX-1-5065 IP 10.10.10.1 with entity link SM TCP 5060 -> MBX-1-5065 TCP 5065
    Note: IF the SM is not listening on 5060 for the 5065 link MWI and "play on phone" will fail.  This is why you need to lockdown the worker port to 5065.
    5. SM Create routing policies for each entity.
    6. SM create regular expressions for the CAS server and each of the MBX server entities and assign to the appropriate routing policy.  The examples below are for one CAS server and one MBX server.  There are one CAS and six MBX servers in my environment,
    so I have 13 routing policies and 13 reg expressions.
    EX: "sip:sipms@example\.org" asign to CAS policy.
    "sip:sipms@mbx1@example\.org:5062.*" assign to MBX-1-5062 policy.
    "sip:sipms@mbx1@example\.org:5065.*" assign to MBX-1-5065 policy.
    Hopefully this is enough to get you going.  I would have killed to have this information when I started on my quest!

  • External outlook clients can't connect to Exchange 2013

    Currently running server 2012 r2 and exchange 2013 sp1...
    Internally everything works fine, clients can also connect externally to owa/ecp. However when using an outlook client they are unable to connect. This is my first experience with exchange 2013 so I am at a loss. What steps should I be following to get this
    working properly? Or if anyone has some suggestions to get more information I can do that as well.
    Thanks! 
    Connecting from a mobile-phone using mail.mail.com works fine.
    We are using a self-signed certificate for testing purposes..

    Testing Outlook connectivity.
    The Outlook connectivity test failed.
    Additional Details
    Elapsed Time: 941 ms.
    Test Steps
    Testing RPC over HTTP connectivity to server mail.mail.com
    RPC over HTTP connectivity failed.
    Additional Details
    Elapsed Time: 941 ms.
    Test Steps
    Attempting to resolve the host name mail.mail.com in DNS.
    The host name resolved successfully.
    Additional Details
    IP addresses returned: xxx.xxx.xx.x
    Elapsed Time: 535 ms.
    Testing TCP port 443 on host mail.mail.com to ensure it's listening and open.
    The port was opened successfully.
    Additional Details
    Elapsed Time: 176 ms.
    Testing the SSL certificate to make sure it's valid.
    The SSL certificate failed one or more certificate validation checks.
    Additional Details
    Elapsed Time: 229 ms.
    Test Steps
    The Microsoft Connectivity Analyzer is attempting to obtain the SSL certificate from remote server mail.mail.com on port 443.
    The Microsoft Connectivity Analyzer successfully obtained the remote SSL certificate.
    Additional Details
    Remote Certificate Subject: CN=mail.mail.com, Issuer: CN=mail.mail.com.
    Elapsed Time: 154 ms.
    Validating the certificate name.
    The certificate name was validated successfully.
    Additional Details
    Host name mail.mail.com was found in the Certificate Subject Common name.
    Elapsed Time: 0 ms.
    Certificate trust is being validated.
    Certificate trust validation failed.
    Test Steps
    The Microsoft Connectivity Analyzer is attempting to build certificate chains for certificate CN=mail.mail.com
    A certificate chain couldn't be constructed for the certificate.
    Tell me more about this issue and how to resolve it
    Additional Details
    The certificate chain didn't end in a trusted root. Root = CN=mail.mail.com
    Elapsed Time: 33 ms.

  • DPM 2012 SP1 - Protecting Exchange 2010 and Exchange 2013 at the same time

    Hi,
    From which Exchange Server am I commited to copy the ESEUTIL.exe and ESE.dll to the DPM Directory for protecting the whole Exchange databases from both products (2010 and 2013) ?
    Thanks for replies.
    Regards
    Phil

    The visual c++ libraries actually need to be installed on the Exchange 2013 server.
    To protect Exchange 2013 with DPM SP1, in addition to copying the ese.dll
    and eseutil.exe files to the DPM
    bin folder, you also need to install the
    Visual C++ redistributable for Visual Studio 2012 Update 1(vcredist) on your Exchange server. You can download it from
    http://www.microsoft.com/en-us/download/ details.aspx?id=30679
    Installing vcredist on your Exchange server loads components of Visual C++ libraries. The Visual C++ libraries are needed when an application that was developed using Visual Studio 2012
    is installed on a computer that does not have Visual Studio 2012 installed. Without Visual Studio 2012 or the Visual C++ libraries, you will run into errors trying to protect Exchange 2013.
    Let us know if it works after doing this.
    NOTE: The Exchange 2013 ese.dll and eseutil.exe files will cover Exchange 2010 also.
    My Blog | www.buchatech.com | www.systemcenterportal.com
    If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer". This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion
    in a test environment before implementing!

  • Single List and Blocked List

    What is the difference between Single List and Blocked List. how REUSE_ALV_LIST_DISPLAY will work with single List and Blocked List.
    Please Help me.
    Regards
    vamsi.

    hi vamsi,
    to get single list u use FM's REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY and
    for blocked list u use the FM's REUSE_ALV_BLOCK_LIST_INIT,
    REUSE_ALV_BLOCK_LIST_APPEND &  REUSE_ALV_BLOCK_LIST_DISPLAY
    <b>check this code for List display....</b>
    REPORT  ZTEST_ALV1.
    **TABLES DECLN
    TABLES: VBRK,VBRP,T001.
    TYPE-POOLS: SLIS.
    TYPE-POOLS: ICON.
    ***DATA DECLN.
    DATA: V_VBELN LIKE VBRK-VBELN,
          V_MATNR LIKE VBRP-MATNR.
    CONSTANTS: C_USER_COMMAND TYPE SLIS_FORMNAME VALUE 'F_USER_COMMAND',
               C_PF_STATUS TYPE SLIS_FORMNAME VALUE 'F_SET_PF_STATUS'.
    **ALV RELATED TABLES.
    *--Field Catalog
    DATA:   IT_FIELDCAT TYPE STANDARD TABLE OF
                            SLIS_FIELDCAT_ALV  WITH HEADER LINE,
            IT_FIELDCAT1 TYPE STANDARD TABLE OF
                            SLIS_FIELDCAT_ALV WITH HEADER LINE ,
            WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
    *--Layout
           WA_LAYOUT TYPE SLIS_LAYOUT_ALV,
    *--Sort
           IT_SORT TYPE SLIS_T_SORTINFO_ALV,
           WA_SORT TYPE SLIS_SORTINFO_ALV  ,
    **-Structure for excluding function codes
           WA_EXTAB TYPE SLIS_EXTAB,
    **-To hold function codes to be excluded in ALV toolbar
           IT_EXTAB TYPE SLIS_T_EXTAB.
    ***INTERNAL TABLE DECLN.
    DATA: BEGIN OF IT_VBRK OCCURS 0,
          VBELN LIKE VBRK-VBELN,
          WAERK LIKE VBRK-WAERK,
          VKORG LIKE VBRK-VKORG,
          FKDAT LIKE VBRK-FKDAT,
          BUKRS LIKE VBRK-BUKRS,
          NETWR LIKE VBRK-NETWR,
          END OF IT_VBRK.
    DATA: BEGIN OF ITAB OCCURS 0,
          VBELN LIKE VBRP-VBELN,
          POSNR LIKE VBRP-POSNR,
          FKIMG LIKE VBRP-FKIMG,
          VRKME LIKE VBRP-VRKME,
          NETWR LIKE VBRP-NETWR,
          MATNR LIKE VBRP-MATNR,
          ARKTX LIKE VBRP-ARKTX,
          END OF ITAB.
    DATA: IT_VBRP LIKE ITAB OCCURS 0 WITH HEADER LINE.
    ***selection screen.
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_VBELN FOR VBRK-VBELN,
                    S_FKDAT FOR VBRK-FKDAT OBLIGATORY,
                    S_MATNR FOR VBRP-MATNR.
    SELECTION-SCREEN: END OF BLOCK B1.
    **INITIALIZATION.
    INITIALIZATION.
      S_FKDAT-LOW = SY-DATUM - 200.
      S_FKDAT-HIGH = SY-DATUM.
      APPEND S_FKDAT.
    ***AT SELECTION-SCREEN.
    AT SELECTION-SCREEN.
      IF NOT S_VBELN IS INITIAL.
        SELECT SINGLE VBELN FROM VBRK
               INTO V_VBELN
               WHERE VBELN IN S_VBELN.
        IF SY-SUBRC <> 0.
          MESSAGE E001(ZZ2).
        ENDIF.
      ENDIF.
      IF NOT S_MATNR IS INITIAL.
        SELECT SINGLE MATNR FROM MARA
               INTO V_MATNR
               WHERE MATNR IN S_MATNR.
        IF SY-SUBRC <> 0.
          MESSAGE E001(ZZ2).
        ENDIF.
      ENDIF.
    ***START-OF-SELECTION.
    START-OF-SELECTION.
      PERFORM GET_DATA_VBRK.
    ***END-OF-SELECTION.
    END-OF-SELECTION.
    *--Sort the Output Fields
    PERFORM SORT_FIELDS.
    *--Build Field catalog for the Output fields
      PERFORM GET_FIELD_CATALOG.
    ***MODIFY LAYOUT.
    PERFORM MODIFY_LAYOUT.
    *--Display ALV output
      PERFORM LIST_DISP  TABLES IT_VBRK
                               USING  C_USER_COMMAND.
    *&      Form  GET_DATA_VBRK
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DATA_VBRK.
      SELECT VBELN
             WAERK
             VKORG
             FKDAT
             BUKRS
             NETWR
             INTO TABLE IT_VBRK
             FROM VBRK
             WHERE VBELN IN S_VBELN
             AND FKDAT IN S_FKDAT.
    ENDFORM.                    " GET_DATA
    *&      Form  GET_FIELD_CATALOG
          text
    -->  p1        text
    <--  p2        text
    FORM GET_FIELD_CATALOG .
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          I_PROGRAM_NAME         = SY-REPID
          I_INTERNAL_TABNAME     = 'IT_VBRK'
          I_INCLNAME             = SY-REPID
        CHANGING
          CT_FIELDCAT            = IT_FIELDCAT[]
        EXCEPTIONS
          INCONSISTENT_INTERFACE = 1
          PROGRAM_ERROR          = 2
          OTHERS                 = 3.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " GET_FIELD_CATALOG
    *&      Form  SORT_FIELDS
          text
    -->  p1        text
    <--  p2        text
    FORM SORT_FIELDS .
      CLEAR WA_SORT.
      WA_SORT-SPOS = '01'.
      WA_SORT-FIELDNAME = 'VBELN' .
      WA_SORT-TABNAME   = 'IT_VBRK'.
      WA_SORT-UP        = 'X'.
      APPEND WA_SORT TO IT_SORT.
      CLEAR  WA_SORT.
      WA_SORT-SPOS = '02'.
      WA_SORT-FIELDNAME = 'POSNR' .
      WA_SORT-TABNAME   = 'IT_VBRP'.
      WA_SORT-UP        = 'X'.
      APPEND WA_SORT TO IT_SORT.
    ENDFORM.                    " SORT_FIELDS
    *&      Form  MODIFY_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM MODIFY_LAYOUT .
      WA_LAYOUT-DEFAULT_ITEM = 'X'.
      WA_LAYOUT-ZEBRA = 'X'.
      WA_LAYOUT-EXPAND_FIELDNAME = 'EXPAND'.
      WA_layout-colwidth_optimize = 'X'.
    ENDFORM.                    " MODIFY_LAYOUT
    *&      Form  LIST_DISP
          text
    -->  p1        text
    <--  p2        text
    FORM LIST_DISP  TABLES   P_IT_VBRK
                       USING    P_USER_COMMAND TYPE SLIS_FORMNAME.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM       = SY-REPID
          I_CALLBACK_PF_STATUS_SET = 'POPUP'
          I_CALLBACK_USER_COMMAND  = 'HANDLE_USER_COMMAND'
          IS_LAYOUT                = WA_LAYOUT
          IT_FIELDCAT              = IT_FIELDCAT[]
         IT_EXCLUDING             = IT_EXTAB[]
        TABLES
          T_OUTTAB                 = IT_VBRK
        EXCEPTIONS
          PROGRAM_ERROR            = 1
         OTHERS                   = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " LIST_DISP
    *&      Form  POPUP
          text
         -->P_EXTAB    text
    FORM POPUP USING IT_EXTAB TYPE SLIS_T_EXTAB.
    *- Pf status
      SET PF-STATUS 'POPUP'.
    ENDFORM.                 " POPUP
    <b>and check this for <b>Block List</b>....</b>
    REPORT  ZTEST_ALV3.
    TABLES: SFLIGHT,SPFLI.
    TYPE-POOLS: SLIS.
    DATA: BEGIN OF ITAB OCCURS 0,
          CARRID LIKE SFLIGHT-CARRID,
          CONNID LIKE SFLIGHT-CONNID,
          FLDATE LIKE SFLIGHT-FLDATE,
          PRICE  LIKE SFLIGHT-PRICE,
          CURRENCY LIKE SFLIGHT-CURRENCY,
          CITYFROM LIKE SPFLI-CITYFROM,
          CITYTO LIKE SPFLI-CITYTO,
          END OF ITAB.
    DATA: V_REPID LIKE SY-REPID.
    ***FIELD CATALOG.
    DATA: ITAB_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          WA_FLDCAT  TYPE SLIS_FIELDCAT_ALV.
    ***SORTING
    DATA:  ITAB_SORT TYPE SLIS_T_SORTINFO_ALV,
           WA_SORT TYPE SLIS_SORTINFO_ALV.
    ***events
    DATA: IT_EVENTS TYPE SLIS_T_EVENT WITH HEADER LINE,
    ***VARIANTS
          IT_VARIANT LIKE  DISVARIANT OCCURS 0 WITH HEADER LINE.
    FOR LAYOUT
    DATA: WA_LAYOUT TYPE SLIS_LAYOUT_ALV,
          IT_LAYOUT TYPE SLIS_LAYOUT_ALV OCCURS 0 WITH HEADER LINE.
    ****SELECTION-SCREEN
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME.
    SELECT-OPTIONS: S_CARRID FOR SFLIGHT-CARRID.
    SELECTION-SCREEN: END OF BLOCK B1.
    ****START-OF-SELECTION.
    START-OF-SELECTION.
    V_REPID = SY-REPID.
    PERFORM GET_DATA.
    ***END-OF-SELECTION.
    END-OF-SELECTION.
    PERFORM GET_FIELDCAT.
    *PERFORM GET_LAYOUT.
    PERFORM BLOCK_ALV.
    *&      Form  GET_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DATA .
    SELECT A~CARRID
           A~CONNID
           A~FLDATE
           A~PRICE
           A~CURRENCY
           B~CITYFROM
           B~CITYTO
           INTO TABLE ITAB
           FROM SFLIGHT AS A JOIN SPFLI AS B ON
           ACARRID = BCARRID
           WHERE A~CARRID IN S_CARRID.
    ENDFORM.                    " GET_DATA
    *&      Form  GET_FIELDCAT
          text
    -->  p1        text
    <--  p2        text
    FORM GET_FIELDCAT .
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = SY-REPID
       I_INTERNAL_TABNAME           = 'ITAB'
      I_STRUCTURE_NAME             =
      I_CLIENT_NEVER_DISPLAY       = 'X'
       I_INCLNAME                   = SY-REPID
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
      CHANGING
        CT_FIELDCAT                  = ITAB_FIELDCAT[]
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " GET_FIELDCAT
    *&      Form  BLOCK_ALV
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_ALV .
    PERFORM BLOCK_INIT.
    PERFORM BLOCK_APPEND.
    PERFORM BLOCK_DISPLAY.
    ENDFORM.                    " BLOCK_ALV
    *&      Form  BLOCK_INIT
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_INIT .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
      EXPORTING
        I_CALLBACK_PROGRAM             = V_REPID.
    ENDFORM.                    " BLOCK_INIT
    *&      Form  BLOCK_APPEND
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_APPEND .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        IS_LAYOUT                        = WA_LAYOUT
        IT_FIELDCAT                      = ITAB_FIELDCAT[]
        I_TABNAME                        = 'ITAB'
        IT_EVENTS                        = IT_EVENTS[]
      IT_SORT                          =
      I_TEXT                           = ' '
      TABLES
        T_OUTTAB                         = ITAB
    EXCEPTIONS
       PROGRAM_ERROR                    = 1
       MAXIMUM_OF_APPENDS_REACHED       = 2
       OTHERS                           = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " BLOCK_APPEND
    *&      Form  GET_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM GET_LAYOUT .
    WA_LAYOUT-DEFAULT_ITEM = 'X'.
    WA_LAYOUT-ZEBRA = 'X'.
    APPEND WA_LAYOUT TO IT_LAYOUT.
    ENDFORM.                    " GET_LAYOUT
    *&      Form  BLOCK_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_DISPLAY .
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    EXCEPTIONS
       PROGRAM_ERROR                 = 1
       OTHERS                        = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " BLOCK_DISPLAY
    hope this helps,
    do reward if it helps,
    priya.

  • Mails from Exchange 2013 to Exchange Online blocked using Blocklist 1

    Hello,
    1 week ago I've implemented a new Exchange 2013 at a company which used SBS 2011 before.
    But now its impossible to send a mail to a recipient on Exchange Online.
    Everytime we get a NDR with the following text:
    Service unavailable; Client host [xx.xx.xxx.xxx] blocked using Blocklist 1; To request removal from this list please forward this
    message to [email protected]
    If I run a SPAM-Blacklist Check on mxtoolbox.com I can see that the IP is on none blacklist.
    How can i determine why this IP is on the Exchange Online Blacklist? I'm sure that no spam was sent over this IP, the new infrastructure is 1 week old...
    Could there be an other reason ?

    Hello,
    According to the NDR information, this issue is caused by FOPE last update. So I recommend you contact FOPE support to delist.
    Please open the link:https://support.live.com/eform.aspx?productKey=mocpexforefront&ct=eformts&scrx=1&brand=mocp&brandtry=1 ,choose
    "Delisting Request" under "What type of problem you have".
    Cara Chen
    TechNet Community Support

  • Exchange 2013: Problem with Default Global Address List after migration

    I just completed a migration from Exchange 2007 to Exchange 2013.  The 2007 box has been decommissioned just last week.  I have been seeing weird issues with our offline addressbook and global address list, since the migration, but always thought
    it was related to Ex2007.  Well the issues still exist and here's what i've found so far:
    1.  If any user goes to Schedule Appointment in Outlook, and they click the Rooms button (on the Scheduling Assistant page), we get a LONG wait (about 5 mins or more) and then an error that says:  "The operation could not be completed because
    an offline address book is not available.  Download a copy of the offline address book."  When i click OK, the address book is up, with the "All Rooms" list showing blank (we have 3 rooms in Exchange currently).
    2.  Now if I go to the Address Book in Outlook it opens to the GAL and it's up to date...  I can also force an update to the offline address book after adding a new group or entry, so i know offline address books are being updated properly and
    working.  HOWEVER, if i go to any of the other address lists (besides Contacts and GAL) under All Address Lists (All Contacts, All Groups, All Rooms, All Users and Public Folders) I get the same error given above:  "The operation could not be
    completed because an offline address book is not available.  Download a copy of the offline address book." 
    3.  I went to the Exchange 2013 EAC and went to Organization -> Address Lists.  Everything under here said 'NO' under the Up-to-Date column.  When i looked at the properties on each list, and clicked save, I had to update to the new version.
     After doing this, the Up-to-Date column said 'YES'.  I could do all lists EXCEPT for the GAL.  It still says 'NO'
    4.  The last thing i did was set my Outlook to NOT be in cached mode.  This should give me a direct connection to the GAL and all lists, if I'm not mistaken...  So when i do this, I cannot even open see the GAL.  The ONLY option in the
    Address Book that comes up is Contacts (which are my personal ones).
    5.  I just now ran Get-GlobalAddressList | fl  in powershell on the Ex2013 server.  I see some things that make me wonder...   First; nothing in the RecipientFilter field, however, there is something in the LdapRecipientFilter field.
     Second; the RecipientFilterType field says "Legacy".  and Third; the RecipientFilterApplied field says "False".
    Didn't know what these should all be, but it appears maybe this is the cause of all my issues??  Can someone help me out here.. even if i have to recreate a new GAL, i'm fine with that, I just don't know all the steps to do so.  I just need it
    to work!
    Thanks
    Jeff
    -Jeff

    Hi,
    In my opinion, it is better to confirm whether the GAL is good, first.
    How about the GAL working in OWA?
    If GAL working well in OWA, it seems the issue on the Outlook Client or Connectivity side.
    Please trying to run Outlook on the safe mode to avoid some AVs, add-ins and firewall for testing.
    Please follow the steps as below to narrow down the OAB issue.
    Following are the locations that .lzx files in CAS server and BMX server:
    CAS:
    C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\OAB
    MBX:
    C:\Program Files\Micorosft\Exchange Server\V15\ExchangeOAB
    Please verify whether the .lzx files update to the latest.
    1. If the .lzx files in MBX server not update to the latest.
    It should be an issue on the OAB generation side.
    2. If the .lzx files in MBX server is latest, but CAS server not.
    It should be a distribution issue.
     1) Please run Get-OabVirtualDirectory command in EMS to verify whether at least one OAB VD exist in the org. If not, please create a new one.
     2) Please make sure whether any setup for Web Distribution. Selecting the “Enabling an Offline Address Book for Web Distribution” checkbox.
     3) Please force restart File Distribution services to distribute OAB files manually.
    3. If the .lzx files in MBX server and CAS server are all update to the latest.
    It should be the connectivity between CAS server and Client issue.
     1)Please verify the network.
     2)Please check DNS, MX, etc. configuration.
     3)Please run “Test E-mail AutoConfiguration” to check the AutoDiscover details.
       Please make sure the OAB URLs are correct.
       If the OAB URLs are incorrect, please using following command to re-set them:
       Set-OABVirtualDirectory -Identity "ServerFQDN\OAB (Default Web Site)" -ExternalUrl
    https://www.contoso.com/OAB -InternalUrl
    https://mail.contoso.com/OAB
     4)Please checking the App log and finding solutions from Microsoft Technet articles or KB, according to the Event ID.
     5)If it still not working after performing the methods above unfortunately, please trying to re-build OAB Virtual Directory.
       Article for reference:
       Remove, Re-Create, and Reconnect an Offline Address Book Virtual Directory
    http://technet.microsoft.com/en-us/library/bb123595(v=exchg.141).aspx 
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

Maybe you are looking for

  • Font issue on Solaris 10

    Hi, We are trying to run a flash application on solaris, but the fonts are showing up weird.  Attached is a screen shot.  Any ideas?

  • Cast to date

    hi to all, I need to change the variable type from varchar to data; I prefer to do this in the .RPD, in the 'Business Model and Mapping' layer. I've created a new logical column as: CAST ( SUBSTRING(Commerciale.FACT_USCITA.Data_Pagamento_Cont FROM 1

  • PR Deletion flag set in LIMITs tab but not in Account Assignment tab

    Can anyone help with this scenario? On the "Limits" tab of a PR, user enters multiple accounting lines. This results in table entries in both ESKL and EBKN Then, one ore more lines in the "Limits" tab get flagged for deletion but the cooresponding li

  • Process m001 died, see its trace file

    Hi Kindly tell why process died & look at the trace file Process m001 died, see its trace file Thu Dec 28 14:30:53 2006 ksvcreate: Process(m001) creation failed ORACLE V10.2.0.1.0 - Production vsnsta=0 vsnsql=14 vsnxtr=3 Oracle Database 10g Enterpris

  • CR2011 - Check for updates option

    Hello, I remember reading a few weeks ago that there was an update for CR2011. I selected the check for updates option on the help menu. I saw a dialog box that said that there were no updates. Is the menu option working? Thank you Tracy Q18