Mail transport rule to block email with recipients in 2 different domains

Is it possible to set up a mail transport rule (Exchange 2007) to block or put on hold emails that are sent to recipients in more than one domain?
Eg if the recipients /cc/bcc are 
[email protected];[email protected] 
then the email is held for approval before sending
Can this be limited to only process from certain sending addresses?
If it can't be done in 2007 can it be done in a later version or can it be done in a non microsoft product eg Postfix 
This topic first appeared in the Spiceworks Community

Hi,
From your description, you want to prohibit retired users from sending emails to
[email protected] If I have misunderstood your concern, please let me know.
In your case, these retired users are hosted on Exchange Online, this is Exchange 2013 forum. I would like to tell you how to achieve it on Exchange 2013.
I recommend you verify it on Office 365 forum. For your convenience:
https://community.office365.com/en-us/f/158.aspx
What's more, I would like to clarify the following thing:
If you prohibit A from sending email to B, B send an email to A and C, when A reply all this email, C still can receive this email, only A can't receive it.
Hope my clarification is helpful.
Best regards,
If you have feedback for TechNet Subscriber Support, contact
[email protected]
Amy Wang
TechNet Community Support

Similar Messages

  • How to block email attachments only from a specific domain?

    Using C370 CISCO IronPort How do I block email attachments only from a specific domain?

    Hi Daniel,
    In order to achieve this, you have three options:
    1. Using a new Incoming Mail Policy
    - Create a new Incoming Mail Policy and define that domain as sender in policy members.
    - Then create an Incoming Content Filter with a condition to match specific file info (for example: filetype, name, size, mime type, etc.)
    - Define an action (quarantine, bounce, drop, etc.)
    - Enable this filter in newly created Incoming Mail Policy
    2. Using existing Incoming Mail policies
    - Create a new Incoming Content Filter with condition to match sender address containing that domain.
    - Add another condition to match specific file info (for example: filetype, name, size, mime type, etc.)
    - Use "Apply Rule" as "Only if all conditions match"
    - Define an action (quarantine, bounce, drop, etc.)
    - Enable this Content Filter in all Incoming Mail Policies.
    3. Using Message Filters
    - From CLI -> filters add a new message filter like below:
    block_attchment_example_com:
    if (mail-from == "(?i)example.com$")
        if (attachment-filetype == "exe")
            drop();
    - Please replace the mail-from domain with the actual domain.
    If you wish to block all attachments, you can chose attachment size rule in all of above three options with a really smaller attachment size, this will result in matching messages that has an attachment.
    Hope this will help.
    Rehan

  • Verizon blocking emails with the word Singapore

    Really annoying - within the past week, any email I try to send with the word Singapore in the subject, sometimes in the message, is being blocked by the Verizon outgoing mail server as spam. You'd think they would check the number of "to" addresses when trying to control spam. If I am emailing only one or two people, how can it be spam? I keep forwarding the emails to their spam reporting address, but so far no action.
    Verizon is also blocking emails coming to me with a .asia  address - they don't even make it into my spam folder on Outlook.
    Does anyone have any suggestions? 

    Yeah, the spam filter was updated recently.
    I would suggest taking a stroll over to http://www.verizon.net/spamfaq and read that.
    Also, if you are still having problems with sending an email which you think doesn't deserve to be blocked, which in your case shouldn't, shoot an email to: [email protected] .  This goes to a third-party group who verifies if said email is spam  and can help remove it once they investigate.  They will notify Verizon and that everything checks out and it, in turn, prompts Verizon to flip a switch so your email can get through without a problem.
    As far as emails being sent to you being blocked, you could always goto www.verizon.net/whitelist -- there you can request to allow emails to be sent through.
    Hopefully those avenues will work out for ya. 

  • How to block emails with specific sender name?

    I find some of the spam emails has a common sender name, but the sender email address is random. How to create an Outlook rule to block such emails? It seems Outlook rule can only blocks emails based on sender email address, not the sender name.
    Also is it possible to block emails based on its language, for example, I want to block all emails in Russian.

    Hi,
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Mail: how to send out emails with graphics embedded?

    I'm just wondering if the protocol has changed ...
    I'm wanting to send out multiple emails with a graphic, that will open in diverse Browsers, Apple and PC.  Is there a way to do it without having to embed the graphic somewhere up on the web and write a bunch of html?
    Or, what IS the protocol these days?  A direct to a tutorial would be most appreciated,
    Ben

    If the graphics files are not uploaded to a web server, i.e., if you want them included in the email message, then they must be sent as attachments. That is the only way to send non-text via email. Different email programs have different ways of displaying attachments. Some will show only icons, some will only show a list of attachments. Some like Mail will show the contents of the graphic file within the message. If your recipient is using a program that cannot show embedded graphics, then nothing you do on your end will change that.
    Email simply not a medium in which you have precise control over what the recipient will see.

  • Is ironport blocking emails with large attachements?

    I have recently adjusted my exchange server to accept attachments as large as 25mb but still when I tried to send an email with an attachment of 15mb it still bounce back as 552 552 #5.3.4 message size exceeds limit (state 18).
    I was wondering if need to adjust anything on my Ironport to make sure it allows those large emails. If so, I hope somebody could help out on how to do this adjustment.
    thanks,
    brian

    I sort out the issue..
    In microsoft exchange everything is configured well, to send and receive upto 25 MB. Usermail box permission also set for sending 25 MB attachment.  Evenif I can receive 15 MB attachment, it resulting in error while sending.
    This was the error:-
    mail.wrd.ae #550 5.3.4 SMTPSEND.OverAdvertisedSize; message size exceeds fixed maximum size ##
    This message is generated by HUB-CASH server
    No clue that email is screening by ironport.
    Solution:-
    Increase the message size limit in ironport
    Mail Policies-> Mail Flow Polices -> Relay -> Max Message Size ->25 M
    This relay is used for outgoing emails. (Note that the title for that page is confusing: Mail Flow Policy: RELAY - IncomingMail)

  • Using Mail Transport Rules and the Exchange AWS API

    I am looking to programmatically Enable and Disable hub transport rules from VS.NET and was hoping these functions would be available via the REST API. However, I can't find any references, which indicates that perhaps they don't exist. 
    The rules I want to access can be used from PowerShell "Enable-TransportRule" and "Disable-TransportRule" and I can use them fine from Powershell.
    So, my first question is, are these rules available from the Exchange EWS API? They need to be triggered when users perform certain events within the application.
    If not, I am guessing I will be able to automate these cmdlets into a C# application or ASP.NET/C# application. Is this a correct assumption?
    Thanks.
    Jonathan.

    No you can't set Transport rules from EWS, EWS is a mailbox access API and setting Transport Rule would be considered an Administrative Task so you need to use and Admin API which for Exchange is still the Exchange Management Shell. You can automate
    the EMS cmdlet with Managed code (eg you could front end them with your own rest service) using Remote Powershell the best place to start would be
    http://msdn.microsoft.com/en-us/library/office/jj943721(v=exchg.150).aspx
    Cheers
    Glen

  • Mail only downloads headers of emails with large attachments

    Hi-
    I have Maverick.
    My mail is delivered though an Exchange Server.
    At present emails download fine UNLESS they have a large attachment.
    If they have a large attachment, the email will appear in the central "preview" pane with the address of the sender and the subject line, but will otherwise not download.
    The email will only start to download once I click on the email in the preview pane. This can be laborious if I have 50+ emails with large attachments.
    How do I configure mail so that it will download the emails, irrespective of the size of the attachments.
    Thanks,
    Richard

    Some problems with Exchange mail have been solved by disabling Autodiscovery.

  • Mozilla blocking email with website form link, IE lets it through?

    I have to complete a claim form each month. This is sent via an email with a link to a website form fill. In the past couple of months this has stopped appearing and I have had to manually request a form. This month even asking for one manually did not work. The company advised that I had requested 6 forms but none had come through. I decided to change back to Internet Explorer and straight away the form came through. Is there a way of allowing emails with Mozilla?

    Are you logging into the same email account in both Firefox and IE using the same web address (URL)? In case there is a subtle difference, which could be caused by saving your bookmarks or home page at different times, could you try copying the address from IE's address bar to Firefox's address bar to see whether that makes any difference in what emails you see?

  • Loading a combobox with data from a different domain

    I have filled in a combobox with values from an .asp page and
    have used it
    successfully. The problem is that if the flash file is ran
    from a different
    domain from the load location, the combobox doesn't get
    filled in (as
    apposed to the error if I ran it off of my drive).
    datafeed.asp spits out the appropriate stuff for the AddItems
    function to
    read correctly. (as I has said, it does work). The combobox
    gets filled in
    the development environment (Macromedia Flash MX Professional
    2004) as well
    as flash player.
    But when I upload it to one of my other websites, the data is
    never
    retrieved. Even though that the webserver containing the data
    feed, the
    webserver hosting the flash file and my machine can all read
    datafeed.asp.
    Am I missing a setting that allows a flash file to read data
    from another
    domain?
    The following code has been changed for security reasons. But
    believe me it
    works in its original format.
    myData = new LoadVars();
    myData.onLoad = AddItems;
    myData.load("
    http://www.mydomain.com/datafeed.asp")
    function AddItems() {
    for (i=0; i<numItems; i++) {
    var ProductID = eval("myData.ProductID"+i);
    var ProductName = eval("myData.ProductName"+i);
    var ProductSale = eval("myData.ProductSale"+i);
    var DataProvider = { productid
    roductID, productsale
    roductSale };
    _root.application.chooseproducts.prodlist_cb.addItem(ProductName,
    DataProvider);
    Thank You,
    Julian

    not sure, but this might be what you need...
    //allow loading of files from domain
    System.security.allowDomain("
    http://www.mydomain.com");

  • Is Hyperion Essbase is working with ODI 11g under different Domain Range?

    Hi All,
    I installed ODI 11.1.1.3 with IP(172.x.8.21) and Hyperion Essbase (172.x.0.36). With different domain Range ODI(172.x.*8*.21) and Essbase(172.x.*0*.21) so will it work under different IP Domain ranges from 8 to 0?
    Cause i was trying to develop Physical Data server for Essbase and i was not able to view Application Schema and other object in drop down list like: Catalog, Database Scheam etc.
    Evening i am providing Correct Domain name, port and user name & passowrd. even i tried with providing direct IP address.
    Server Details :
    1- Hyperion Essbase server Name: Essbaseserver
    2- Port: 1423
    3- admin
    4- xxxxxx
    as u know guys Test Connection button is not working for Essbase its only works for RDBMS in ODI.
    looking for your help.
    Thank u

    Yes it works though the dropdown will not be automatically populated and you can't click the test button as that is mainly for technologies that use JDBC, you will need to manually enter the app/db
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unable to protect 2 computers with same name, but different Domains

    DPM 2012 R2 and UR2
    All DC:s and servers are 2012 R2 + Latest patches.
    ad.A.com has full  2 Way trust with ad.B.com. (Different forrest)
    DPM Server is DPM.ad.A.com
    Computer EXCH.ad.A.com is protected without problem 
    Computer SQL.ad.B.com  is protected without problem
    When I try to attach agent from EXCH.ad.B.com I'll get problems.
    Error 346: DPM is unable to retrieve the configuration information from EXCH.ad.B.com
    I'll guess this has to do with same name of computer, although in different domains.  Is this as Designed, or is it a defect? 
    /Peter

    please try a different User to attach/install the DPM Agent.
    if this is not the solution, you maybe have a Problem with wmi, try and test with wbemtest
    Seidl Michael | http://www.techguy.at |
    twitter.com/techguyat | facebook.com/techguyat

  • Can't setup scan to email with google apps for your domain (HP Officejet Pro 8500 A910 Printer)

    Printer HP Officejet Pro 8500 A910
    Web interface (HPLIP installed on ubuntu 11.10, but problem is linked to web config.) 
    "The device could not send the test e-mail message. (EmailAccounts-timeout)" when going through the full setup, and "The device could not send the test e-mail message." when testing the account after creating it from the "Outgoing Email Profiles" tab. 
    No changes.
    I can't cofigure the printer to send emails out using the email adress we have created exclusively for it with our domain name in Google Apps for your domain. The settings test ok for the email alerts. 
    I'm using these settings: 
    Server: smtp.google.com
    Port: 587 (also tried 465)
    username: [email protected]
    good password, copied and pasted to make sure there are no typo's. 

    Welcome to the forums Joanda!
    I saw your post about the issues you are having with scanning and would like to help!
    Please let me know which model of printer you have:
    HP Officejet Pro 8500A e-All-in-One Printer - A910a
     HP Officejet Pro 8500A Plus e-All-in-One Printer - A910g
     HP Officejet Pro 8500A Premium e-All-in-One Printer - A910n
    Also let me know which operating system you are running on your computer.
    Thank you!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Emailing with PL/SQL for multiple domains

    Hey guys!
    I've looked around within this forum and couldn't find the situation im trying to figure out. Im trying to build an email functionality within my dev laptop database instance. It seems like I need to have a email server set up. Is that correct? It makes me a little nervous if that is true. The database im working with will manage transactions from a few different internet companies, which will all have a different email server. I'm really hoping I will not have to set up an email server for each client this database handles.
    Is there anyway to write an emailing procedure which will not use the database server's domain? Let me know. I've never dealt with email servers, so this is a bit confusing.
    Thanks in advance!

    did a little research and put in the code you had suggested. Now the execution is working with NO ERRORS!! The problem is, im not getting the email. Is there a way to debug the response from the SMTP? I dont think I got a message from it. Heres what im running, and im using 9i
    create or replace procedure
    e_mail_message
    from_name varchar2,
    to_name varchar2,
    subject varchar2,
    message varchar2
    is
    l_mailhost VARCHAR2(64) := 'mail.synapticdatabase.com';
    l_from VARCHAR2(64) := '[email protected]';
    l_to VARCHAR2(64) := '[email protected]';
    l_subject VARCHAR2(64) := 'try it';
    l_mail_conn UTL_SMTP.connection;
    BEGIN
    l_mail_conn := UTL_SMTP.open_connection (l_mailhost, 25);
    utl_smtp.EHLO(l_mail_conn, l_mailhost);
    utl_smtp.command( l_mail_conn, 'AUTH LOGIN');
    utl_smtp.command( l_mail_conn, utl_raw.cast_to_varchar2( utl_encode.base64_encode( utl_raw.cast_to_raw( '[email protected]'))) );
    utl_smtp.command( l_mail_conn, utl_raw.cast_to_varchar2( utl_encode.base64_encode( utl_raw.cast_to_raw( 'lalalala' ))) );
    utl_smtp.mail (l_mail_conn, p_sender);
    UTL_SMTP.rcpt(l_mail_conn, l_to);
    UTL_SMTP.open_data(l_mail_conn);
    UTL_SMTP.write_data(l_mail_conn, 'Date: ' || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS')||chr(13));
    UTL_SMTP.write_data(l_mail_conn, 'From: ' || l_from || Chr(13));
    UTL_SMTP.write_data(l_mail_conn, 'Subject: ' || l_subject || Chr(13));
    UTL_SMTP.write_data(l_mail_conn, 'To: ' || l_to || Chr(13));
    UTL_SMTP.write_data(l_mail_conn, '' || Chr(13));
    FOR i IN 1 .. 10 LOOP
    UTL_SMTP.write_data(l_mail_conn, 'This is a test message. Line ' || To_Char(i) || Chr(13));
    END LOOP;
    UTL_SMTP.close_data(l_mail_conn);
    UTL_SMTP.quit(l_mail_conn);
    END;

  • Is it possible to manage the servers with RSAT in a different domain?

    Hi All,
    In our infrastructure, all the servers are in the domain A. But as per the organization policy, laptops are only allowed to join domain B, not allowed to join domain A. Is there a way to manage the domain A services (DC/DNS/DHCP/etc) with RSAT on laptops?
    As of now I'm only able to use RDP to log on every server in domain A every time.
    P.S. As of now most of the servers are Windows Server 2008 R2, and most of the workstations are Windows 7. There will be some new servers with Windows Server 2012 and Windows Server 2012 R2 OS in the future.
    Thanks,
    高麻雀

    Hi,
    As far as I know, we could only manage a remote server using RSAT in the same domain.
    Best Regards,
    Andy Qi
    Andy Qi
    TechNet Community Support

Maybe you are looking for