Block external mails that have @mydomain

Hi, I am receiving a lot of spam that has the from @mydomain, I have 2 servers, one only for internal mail, and the other for the external, in the external server, is there a way to block the mails from the exterior that are from @mydomain and not originated in any of my servers?
In other words, I want to allow sending mail from @mydomain from my network, but do not receive any from @mydomain from externals ips.
Thanks

Hi Roberts,
Thx for the reply.
Yes blacklist is an option but has to be done for every domain.
Your script works for only some combinations. I did a little research on regular expression and made the message filter.
quarantine_obfuscations_to_test:
if mail-from != "(?i)@test\\.com$"
if mail-from == "(?i)@*test+\\.*$" {
duplicate-quarantine("Policy");
drop();
So every combination that might trick user in replying to legit email will be blocked:
[email protected]
[email protected]
[email protected]

Similar Messages

  • I have a new ipad4. I can not open e-mails that have an attachment that ends in WMV. Is there a solution? Thanks.

    I have a new ipad4. I can not open e-mails that have an attachment that ends in WMV. Is there a solution to this? Thanks.

    WMV is an unsupported format on Ipad.
    Here is a good discussion to read. an dit may help you decide what to do
    https://discussions.apple.com/thread/3721087?start=0&tstart=0
    Cheers

  • How can we  identify the mails from the mails that have been read previousy

    Hi
    i m using java mail api to fetch the mails. but i am facing a problem that is every time i fetch all the mails in my application.
    Is there any way by which i can set a flag or something so as to i can identify the mails which have been processed earliar.
    please help me out.
    Dushyant Kumar

    POP3, right? See the JavaMail FAQ.

  • How do I block these ads that have started popping up recently

    In the last couple of days, I have noticed these ads popping up at the bottom of my screen, it slides to the right. Then I get a huge ad in the middle of my screen. Then I click inside a box while I am on a website and a whole new window open behind firefox which is an ad as well. I could have upwards of 20-30 open at a time. When I click inside a box, getting my mouse in place adn left click it opens the window.
    In addition, when I am on a website with writing, there may be a few words randomly highlighted in blue which if you hover over it there is an ad.
    How do I get rid of this? It is sooooooo frustrating. I checked my ad blocker is on and up to date.

    use this addon: [https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/ Adblock Plus]

  • Latest created Xchange Users unable to Send & Recieve external mails .

    Hello,
    Please need help.
    we have Exchange 2010 on SBS 2011 Standard version.
    I am the New IT for our company and I've recently found that issue in our exchange server.
    History : I use SBS Console to create a new user which automatically creates a shared folder , all permissions and also an email account.
    Cause : Yesterday i found that the user's which i had created recently say(since 2 weeks ago) they arent't able to send or receive the external mails.however they can receive the internal mails
    without any issue.
    I have the DFR from the external sender which says " No such users are found"
    This is for all the user's for whom i have created recently. the old user's are able to send and receive the external mail without any issue. i am pasting the Internet headers for the external mails that received succesfully.
    Could you please help me to find the Root cause. as i am new to exchange, i am having the hardtime.i have just moved from Domino Domain to Exchange and i posses a limited knowledge on
    exchange.
    Kindly revert for more information.Please help.
    Thank you

    Did you paste the header of an email received already?
    do you have a spam filtering device which checks for recipients before it reaches your domain ?
    Try to submit an email using telnet to your server on port 25 locally on the server and see if the server is rejecting the email.
    If it does not reject the email, we need to concentrate on further the hop that the mail takes before reaching Exchange.

  • HT2472 I have e-mail that I wish to place on a external jump drive, how is this done?

    I have e-mail that I wish to place on a external jump drive, how is this done?

    Copy the email and paste it into TextEdit & save. Transfer the file to your jump drive.
     Cheers, Tom

  • When I open a pdf document from my dropbox to view it, the document shows up blank, even though it is filled out. This also happened with pdf documents that have been e-mailed to me.

    When I open a pdf document from my dropbox to view it, the document appears blank, even though I know the information is actually there. This also has happened with pdf documents that have been e-mailed to me, then opened to view and they are blank?? Why are they showing up blank?

    When I open emails with PDFs I click on the attachment (doing this all on my iPad) it gives me the option to "open in iBooks", I accept then after that the document is sucked into my iPad but I can't do anything with the PDF after that.  Where is the actual file on my iPad? Why can't I email or send these PDFs to my cloud (Dropbox)?
    It's like once they go into iBooks they're stuck forever.

  • I have just dowloaded the icloud control panel on my PC and i am am able to see everything that has been pushed to icloud from my ipad. However i cannot see my email. i can send from the computer using icloud, but i do not see any mail that is being rec.

    i have just dowloaded the icloud control panel on my PC and i am am able to see everything that has been pushed to icloud from my ipad. However i cannot see my email. i can send from the computer using icloud, but i do not see any mail that is being received by my ipad, which is set up with my mail server. What haven't i checked lol?

    turn your ipad off by holding the sleep wake button for 5 seconds and slide to turn off then turn it back on and the apps should be finished and if the apps didnt finish just redownload them

  • I have a new Mac and mail is showing thousands of incoming mails that do not show up on the computer.  does anyone know what is going on?

    I purchased a Mac OS x 10.9 in December. When using Mac Mail i get thousands of incoming mails that do not show up on my computer.  Does anyone have any idea what is going on?  this sure never happened on my old mac. i have three email accounts.  gmail, verizon and hotmail.

    I posted the same question a day ago with no response. I'm using an Acer x193w. You actually don't have to switch monitors to get it to work. Just make sure you turn off the monitor after shutting down the Mac mini (actually push the power button on the monitor, not just let it go to sleep). If you turn on the monitor (push the power button on the monitor), then power up the Mac mini, the monitor is recognized. The issue didnt exist with Snow Leopard for me. It only started after I started using Lion. Hope this issue gets fixed In a future OS update.

  • I have a power pc (g5) computer that I will soon be replacing with a current i5 or i7 mini. How do I transfer the Time Machine files from the internal hard drive on the G5 to an external drive that I will later use with the Mini?

    I have a Power PC G5 computer that I will soon be replacing with a current i5 or i7 Mini. How do I transfer the Time Machine files from the internal hard drive on the G5 to an external drive that I will later use with the Mini?

    Hi, likely the easiest is to just poll the drive & get something like this...
    Get MacScan...
    http://www.apple.com/downloads/macosx/networking_security/macscan.html
    http://eshop.macsales.com/item/NewerTech/U3NVSPATA/
    But if you have a good external drive already, just clone it.
    Get carbon copy cloner to make an exact copy of your old HD to the New one...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/

  • I have multiple devices that have my iCloud E-mail, I want to disable the E-Mail on some of the devices but keep it on others, I do not have physical access to the ones I want to disable but I do have access to the devices I want to keep receiving mc

    I have multiple devices that have my iCloud E-mail, I want to disable the E-Mail on some of the devices but keep it on others, I do not have physical access to the ones I want to disable but I do have access to the devices I want to keep receiving mail, can I do this with a simple password reset or will that still leave all devices enabled?

    The simple way would be to uncheck 'Mail' in System Preferences (or Settings)>iCloud, but as you would need access to the devices in question to do that you will have to change your password, at http://appleid.apple.com. You will then need to sign out and back on all the devices you want to be able to receive mail, and it's important that you follow this procedure and note the warning:
    Firstly, if you have 'Find My iPhone/iPad/iMac' enabled on any of your devices, turn it off.
    Go to http://appleid.apple.com and click 'Manage your Apple ID'. Sign in with the current ID.
    Where it says 'Password & Security' and gives your current ID email address, click 'edit'.
    Enter your new password and click 'Save changes'.
    Now you will need to go to each of your devices and sign out in System Preferences (or Settings)>iCloud - 'Sign out' on a Mac, 'Delete this account' on an iOS device (this will not delete the account from the server).
    Then sign back in with your new ID. Your iCloud data will disappear from your devices when you sign out, but reappear when you sign back in.
    I re-iterate: before you start, turn off 'Find My Mac' (or whatever) or you will need the services of Support.
    The devices on which you have not changed the password will throw up continual error messages as they attempt to contact iCloud and fail.

  • I have an external server that stores all my movies and music, is there a way to stream it to my apple tv? If not is there a way I can link the folders to itunes (without downloading files to computer) and will that make them view-able for the apple TV?

    I have an external server that stores all my movies and music, is there a way to stream it to my apple tv?
    If not is there a way I can link the folders to itunes (without downloading files to computer) that will make them view-able for the apple TV?
    If none of that works is there a way to get it working alternativly?
    Additional Information:
    Everything is linked via ethernet cable.
    I'm using a PC to set it up.
    If you have any other questions feel free to ask and I'll help where I can.
    Thank you for any help

    (I think the daughter got he better end of the deal!)   I believe if you change the password and user id one of the devices it will stop that from occurring. But I'm not the one to tell you how to do it; someone like "Illaass" (Illaass seems to know how to correct / fix almost anything!) will know how if you don't. Just look for the "cat" icon.

  • How can I transfer the e-mails that I have sent from my OUTBOX in a webserver to Thunderbird?

    I have an e-mail account in a webserver (STRATO Communicator), and I want to transfer all my e-mails to Thunderbird.
    I have installed Thunderbird, and I have managed to transfer all the e-mails from my INBOX from the webserver to Thunderbird.
    However, I do not know how I can also transfer all the e-mails that I have sent from my OUTBOX in the webserver (STRATO Communicator) to Thunderbird as well.
    Can anyone help me? Thank you very much in advance!

    Pop mail accounts can only access the Inbox on the server.
    So if you are using a Pop mail account then there is a workaround.
    In Thunderbird
    Move all emails out of Inbox into other suitable folders for organising.
    This makes it easy to detect the 'outbox' emails.
    Logon to webmail account and move all emails from Outbox to Inbox
    then in Thunderbird use Get Messages to download those emails.
    You can then move those emails into a suitable folder like 'Sent'.
    Please note than in Thunderbird, the account Sent folder keeps a record of what was sent by you.
    The 'Outbox' located in Local Folders, is the Outbox for all mail accounts in Thunderbird. It is not a place to store emails.
    In Thunderbird, when you select 'Send', it sends email immediately and puts copy in 'Sent' folder. However, if you use 'Send Later', it puts email in 'Outbox' ready to go when you select 'Send unsent messages', at which point copies are stored in 'Sent' folder and removed from 'Outbox'.

  • Question: Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages? - Problem: I have 1400 e-mails with attachments that need to be conv

    Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages?
    - Problem: I have 1400 e-mails with attachments that need to be converted into pdf and the attachments cannot be embeded.
    System: PC Windows 7 using Acrobat X Prof. - Thank you!

    Hi ,
    There is an option of embedding index for faster search while converting email to a PDF .
    However I am not sure that will serve your purpose or not .
    I would recommend you to get in touch with Microsoft support as well .
    Meanwhile I'll work on it and get back to you in case I get a desired solution .
    Regards
    Sukrit Dhingra

  • How to delete all of the e-mails I have opened and that appear to the right of the INBOX at the top of Firfox without having to delete each one individually by clicking one at the time? thanks

    When I open Firefox and then hit INBOX to see all e-mails in my inbox and then when I have read those I open the subject matter of each e-mail appears opposite the INBOX and in order to delete all of these e-mails I have to click on every one individually to delete them. Is there a way to delete all of the e-mails that appear at tthe top in one click? thanks,

    Firefox doesn't do email, it's strictly a web browser.
    If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
    If your problem is with Mozilla Thunderbird, see this forum for support.
    [http://www.mozillamessaging.com/en-US/support/] <br />
    or this one <br />
    [http://forums.mozillazine.org/viewforum.php?f=39]

Maybe you are looking for

  • How do I get rid of jagged edges in Photoshop?

    Can someone tell me how to get rid of jagged edges in Photoshop?  I've tried using the refine tool and checking the anti-aliasing/smooth option, but neither appears to work. Here is the problem.  I use Photoshop to create the images for heat transfer

  • How to put my iPod classic music onto my iPad?

    Hi I was wondering how to move my iPod classics music on to my new iPad. Thanks.

  • Using image from camera as wallpaper

    Hi! I just received the Z3 compact, after having "upgraded" from the Galaxy S3. As I have a little son, I often use pictures of him as a wallpaper. On the Galaxy S3 this was piece of cake, just press "use as" and it would fix everything. On the Z3 co

  • Dynamic Update statements

    Hello, I have one SP to do DMLs. This SP works fine without any problem, but for Update I have problem to construct. The update statement should be constructed depending on the values. For example, in a table we may have so many columns, but only few

  • Robohelp WebHelp or XML files in a Content Management System

    My company is creating a developers portal that will provide tools and documentation for developers using our SDK. We are using the Orchard CMS and are in the process of deciding whether to import the RoboHelp-generated files (either HTML or XML) int