SMTP Relay to a Hub server with the Mailbox servers down... Anonymous email?

I'm trying to send anonymous email to an outside email address from inside, with the Mailbox servers down. We are using cmdlets to relay to the Hub Transport server, but the error "Mailbox Unavailable" keeps coming back. I've tried multiple methods
of powershell SMTP email delivery, and the errors are virtually identical.
Does anyone have any methods to deliver anonymous email to a relay server while the Mailbox servers are down?
PS D:\#E2010-Management> #####Script1 - Set Password
$s = New-Object System.Security.SecureString
$credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "NT AUTHORITY\ANONYMOUS LOGON", $s
#####Script2 - Send Email
$From = "[email protected]"
$To = "[email protected]"
$SMTPServer = "SMTPSERVER.company.com"
$SMTPPort = "25"
$subject = "test"
$body = "n"
$smtp = New-Object System.Net.Mail.SmtpClient($SMTPServer, $SMTPPort);
$smtp.EnableSSL = $false
$smtp.Credentials = New-Object System.Net.NetworkCredential($credential.GetNetworkCredential().Username, $credential.GetNetworkCredential().Password)
$smtp.Send($From, $To, $subject, $body);
Exception calling "Send" with "4" argument(s): "Mailbox unavailable. The server response was: 5.7.1 Unable to relay"
At line:15 char:11
+ $smtp.Send <<<< ($From, $To, $subject, $body);
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : DotNetMethodExceptionPS D:\#E2010-Management> $s = New-Object System.Security.SecureString
$creds = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList "NT AUTHORITY\ANONYMOUS LOGON", $s
$creds.GetNetworkCredential()
$smtp.EnableSsl = $false
Send-MailMessage -to "[email protected]" -from "[email protected]" -subject "test" -SmtpServer "SMTPRELAY.company.com" -credential $creds
UserName Password Domain
ANONYMOUS LOGON NT AUTHORITY
Send-MailMessage : Mailbox unavailable. The server response was: 5.7.1 Unable to relay
At line:5 char:17
+ Send-MailMessage <<<< -to "[email protected]" -from "[email protected]" -subject "test" -SmtpServer "SMTPRELAY.company.com"
-credential $creds
+ CategoryInfo : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpFailedRecipientException
+ FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage

Hi Mr.Cross,
If you want to allow anonymous relay, you need to create a new Receive connector on the Hub Transport server and use the Shell to grant the relay permission to anonymous connections.
Here’s an article for your reference:
Allow Anonymous Relay on a Receive Connector
http://technet.microsoft.com/en-us/library/bb232021(v=exchg.141).aspx
Notes:
Allowing anonymous relay on a Receive connector is a security risk, especially on Internet-facing servers.
If you have any further questions, please do not hesitate to post back.
Best regards,
Eric

Similar Messages

  • A server with the same hostname could not be found!

    Hi macusers,
    I saw that error on multiple threads but I found none related to my issue. So, before ignore it let's describe it:
    Two MAC Mini: one early 2009 and second late 2010. Both OS 10.9.1, MacKeeper installed, 6+Gb for RAM. Both uses the same router to connect the internet. Both are LAN connected not WiFi. I even changed the DNS addresses on router using Google DNS.
    On Mac 2009:
    1. Safari opens pages randomly. Sometimes a website is not open but when I create a new tab and select the website from bookmarks the website is opened while in previous tab still says: Safari cannot find the server .... All those websites are used in my daily work. I am not reseting Safari unless necesary.
    2. MAIL is showing online only Gmail acccount from 4 accounts. The rest of the accounts are not Gmail and appear as Offline. I restart MAIL and they appear online. I have to do that Open/Close MAIL several times a day.
    3. Sharefile and oDesk Team application cannot be opened because of that error: A server with the same hostname could not be found!
    4. Apple Store is displaying questions marks instead of the icons and I can barely see what softwares I have installed.
    Now the beauty. Only on MAC 2009 I am experiencing those issues. The other MAC is fine. So far.
    What I tried so far:
    A. Reboot in SafeMode and Repair Permissions, Repair Disk. Everything OK.
    B. PRAM Reset and SMC Reset.
    C. Scan for viruses. No virus detected.
    oDesk Team app is working fine on the other MAC and I managed to install it on Mac 2009 on Windows 7 partition as well. Is working fine.
    Here are some screenshots showing you some of the errors I am picking on my side.
    That one is taken while trying to connect to ShareFile. After three or four attempts it finally managed to connect.
    That was a beauty. While MacKeeper was showing me that I am Offline, I was talking on Skype with a friend.
    Still cannot access oDesk Team application. However, after several attempts it is logging but what is showing me is a real nightmare.
    If I choose to see my contracts (though in the upper corner there is not my account) they do appear:
    Any valuable entry will be highly appreciate it.
    Warm regards,
    Sebastian
    P.S. I just remembered that I saw on a post in here related to the same error that someone from Apple asked a guy to make a test in terminal using a command line. I do it on my MAC and here is the result:
    Message was edited by: sebdea

    Hi Grant,
    Here is what I did and so far seems it is wworking.
    1. I deleted oDesk and ShareFile. I removed them using MacKeeper (I found this application very usefull for uninstalling applications as MacKeeper looks for them all over the computer: cache, preferences, application support etc.) While for oDesk is simple as I can look myself for oDesk in any file names, whith ShareFile was a little tricky to amke it amnually as MacKeeper find files that contain Citrix name then ShareFile. I will not guess unless I would search the internet on how to manually remove sharefile from my system.
    2. I manually delete all cahe files and folders from ~Library and ~User/Library.
    3. After reboot I installed Onyx and order maintanance where I checked all its options, including but not limited to DNS caches, fonts caches, everything.
    4. After I reboot computer, I went in Disk Utility and Repaired permissions.
    Reboot again. Now seems to work fine. At least odesk Team is working properly. I will have a second thought for installing ShareFile.
    Some romanian mac users suggested to check my router connectivity and change some DNS in it. Looks like that was also a problem on some MACs. I recall the few weeks ago I had an issue with TP Link router. My computer wasn't connected to internet, though router showed that there is internet connection. I ping router from my computer and I received answer from ping. I ping google from computer, nothing. I ping google from router, was wroking. I connected the computer directly to internet without router, was wroking. When connected back through router, nothing. I contacted the guys from TP Link and they suggested to use google DNS instead of those my ISP provided. But since then I had not experienced any issue with router and internet, until now. The DNS are still those from google.
    I will keep you updated if any issues are appear again. So far, it is working perfectly as it supposed to work.
    Warm regards,
    Sebastian

  • What's the reason for this message, "A server with the specified host name could not be found" ? I'm using iPhone 4s, 16gB, iOS 7.0.4

    I get a pop-up message saying "A server with the specified host name could not be found", whenever I try to access any streaming websites/apps or even WhatApp over Wi-Fi and I cannot access the specific THING for that moment, and I've tried switching Wi-Fi On and Off both in my Phone and also in the Router. I got an internet connection and a Wi-Fi router just before two days, and it's happening since. I got the internet speed around 80kbps and i can easily stream YouTube videos except sometimes, I receive that annoying message. I can't even browse the internet in Safari, which says "No Internet Connection"(Even though the Wi-Fi is connected), and I can access it after somewhile (say 10 minutes, it'll be perfectly alright). I use iPhone 4s. And everything about the internet connection is totally fine in my Computer, but not in my iPhone, as I've explained the issues, above. If there are any technical settings that I should change/modify, either on my computer(Windows 7 OS) or in my iPhone(iOS 7.0.4), PLEASE let me know
    I hope I've provided enough information for the reader to understand my point. (I apologize for my verbal mistakes, if there are )
    THANKS

    Hello Paneesh,
    Thank you for the details of the issue you are experiencing with Wi-Fi on your iPhone 4s.  I recommend the following steps:
    Be sure you're in range of your Wi-Fi router (access point).
    Tap Settings > Wi-Fi and turn Wi-Fi off and on. If your W-Fi setting is dimmed, follow these steps.
    Confirm that your Wi-Fi router and cable or DSL modem are connected to power, turned on, and connected to the Internet. If not, refer to your network administrator or Internet service provider (ISP) for assistance.
    Restart your iOS device.
    Tap Settings > Wi-Fi and locate the Wi-Fi network to which you're connected.
    Tap and Forget this Network.
    Try to connect to your desired Wi-Fi network.
    Note: You may need to enter your Wi-Fi password again if your network requires one.
    Turn your Wi-Fi router off and on2. If your ISP also provides cable or phone service, check with them before attempting this step to avoid interruption of service.
    Update your device to the latest version of software.
    Update your Wi-Fi router to the latest firmware2. For AirPort Base Stations, install updates using the AirPort Utility.
    If the issue is still unresolved Wi-Fi disconnects or signal strength is less than expected
    Move closer to the Wi-Fi router (access point).
    Check for sources of potential interference.
    Remove any case, stand, or other accessories from your iOS device and see if signal strength improves.
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings. Note: This will reset all network settings including
    previously connected Wi-Fi networks and passwords
    recently used Bluetooth accessories
    VPN and APN settings
    You can find the full article here:
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How to update a table (CUSTOMER) on a Report Server with the data from the same table (CUSTOMER) from another server Transaction server?

    I had an interview question that is:
    How to update a table (Customer) on a server ex: Report Server with the data from the same table (Customer) From another server ex: Transaction server?
    Set up steps so inset, update or delete operation takes place across the servers.
    It would be great if someone please enlighten me in details about this process in MS SQL Server 2008 R2.
    Also please describe would it be different for SQL Server 2012?
    If so, then what are the steps?

    I had an interview question that is:
    How to update a table (Customer) on a server ex: Report Server with the data from the same table (Customer) from another server ex: Transaction server?
    Set up steps so that inset, update or delete operation gets done correctly across servers.
    I was not sure about the answer, it would be great if someone please put some light on this and explain in details about this process in MS SQL Server 2008 R2.
    Also it would be very helpful if you please describe would it be different for SQL Server 2012? If so, then what are the steps?

  • What does error message "a server with the specified hostname could not be found" mean? I'm a bit of a newbie to this can you help. Thanks

    Hi Folks
    Not to good at this techno stuff have a message on my phone saying "a server with the specified hostname could not be found" can anyone tell me what this means and how to fix it?
    Thanks

    Hi on several apps, eg local paper, can get printed word but no photos or media etc.

  • I just purchased the Mac Mini Server with the intention of replacing Lion Server with Lion for the first hard drive while installing Windows 7 thru Bootcamp on the second hard drive. Is it possible for me to do this? Thanks.

    I just purchased the Mac Mini Server with the intention of replacing Lion Server with Lion for the first hard drive while installing Windows 7 thru Bootcamp on the second hard drive. Is it possible for me to do this? Thanks.

    I would use Parallels or VMWare and use the second drive to hold the virtual machine. That way the VM only uses the space that it needs and you can still use the remainder of the drive for other things, not to mention that you would not need to reboot to run windows.
    Also Time Machine does not back up a boot camp partition.

  • Using your old BT home hub phones with the home hu...

    If you want to use your old BT Home Hub phones with the new Home Hub 3. Here is a diagram showing how to do it.
    Using your BT Hub Phones with your Home Hub 3
    It may help people to utilise their old phones.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.
    Solved!
    Go to Solution.

    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • DHCP Server with the Static IP fill out DNS information

    When filling out the DHCP Server with the Static IP from ipconfig.exe in the "Preferred DNS server IPv4 address:
    192.168.1.199
    The same as in the static IP.  The IPv6 DNS one validates IPv4 does not.
    I tried using the IPv4 Address and that validated but gave an error at the end: 1059 and 1046.
    Gives an error:
    "The DNS Server at the specified IP address does not support the required TCP protocol."

    Hi,
    Firstly, would you please post the result of running “ipconfig/all” on the DHCP server and domain controller?
    It seems that the DHCP server cannot be authorized in AD DS. Please make sure that the DHCP server is a domain member and try to ping the domain controller on the DHCP server.
    Best regards,
    Susie

  • Impossible to start UCM managed server with the WLS console

    Hi,
    I cannot start the UCM managed server with the WLS console. The node manager is running by startNodeManager.cmd. The admin server by startWebLogic.cmd.
    When I start the UCM server with the console WLS (Environment, Servers, Control tab and Start on the checked server), it seems to be running (the state is RUNNING) but when I open the url on the the web server UCM there is a 404 error
    In the log, there are many java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup, oracle.security.jps.wls.JpsWlsStartupClass, oracle.core.ojdl.weblogic.ODLConfiguration, oracle.jrf.AppContextStartup, oracle.as.jmx.framework.wls.spi.StartupListener, oracle.ias.cache.Startup, oracle.dms.wls.DMSStartup ...
    If I start UCM directly by startManagedWebLogic.cmd and not with the WLS console, everything is OK. No error in the log and UCM server is working well
    Any idea ?
    Thanks
    Hugues

    Great!
    I had the same error: when starting UCM on WL Console, it starts and says Running. But when accessing it on the browser receive the error 404. In the other hand, when starting with Commands, it force shutdowns.
    I have set the StartScriptEnabled property to true, now I can start UCM only on the command Line, to start it on WL Console, I have to manually start the node manager.
    Is there a way/script to start the node manager automatically?
    Regards,

  • Is there a possibility to retreve Data from the OPC Server with the XML Interface

    Is there a possibility to connect a OPC/DA server with the help of the XML interface with Labview?
    I need to retrieve Data from a OPC Server running on Linux, so i got no Dcom System an I need to use XML. The server is running and with OPC client-tools i can access de different data. So now I want to visualize all Data
    that come from that server on Labview.
    1. Is it possible to realize that?
    2. Is a library or a demo vi available ?
    Regards
    Densel

    Hi Densel,
    Sure, you can use XML within LabVIEW, the question is which syntax do you use?
    Are you able to send the XML statements via TCP/IP?
    Regards, Christian

  • When i try to connect to the app store i get a message a server with the specified hostname could not be found?

    When i try to connect to the app store i get a message a server with the specified hostname could not be found?

    No, its been never jail break this happens sometimes but sometimes it doesnt. And he is not in the U.S.A, and is using his iphone in another country. Can it be because of a modem or bad internet?

  • Install database server with the existance of 9iAS and internet directory

    I want install the 9i database to a Sun Unix system. But that system already has the internet directory and 9i application server with the infrastructure. What are those steps I should follow to install the database?
    Where can I find any documentation about the coexistance of internet directory, 9i AS and 9i database?
    Thank you for your help.
    Xiaoyun

    Just install it in a separate ORACLE_HOME.

  • We have a Exchange 2013 server and the Mailbox Database folder is filling up with .log files.

    We are migrating from Exchange 2010 to Exchange 2013.  We have installed the Exchange 2013 but it only has a couple of mailboxes on this server, all the mailboxes are still on the Exchange 2010 server.
    I have run a Windows Backup of the Exchange 2013 but I am still seeing a ton a log files in the mailbox folder.
    Also the database file is only about 1.1 GB but the backup is now 40 GB.  
    Is there something that can be done to truncate these logs and make the backup smaller?

    Hi ,
    1.Does the full backup completed successfully ?
    2.what about the status for the below mentioned command ? Does the mailbox database headers updated with the latest time and date ?
    Get-MailboxDatabase -Status | ft name,*full* -au
    3.Just check the application event logs for the event id
     2046  and that should state that the log truncation for the mailbox databases has been initiated or not.
    4.Before initiating the backup just make the exchange writer is not on error.
    vssadmin list writers
    In case if it on error state ,please restart the Microsoft exchange replication service and check the exchange writers status again by using the above mentioned command.
    Thanks & Regards S.Nithyanandham

  • Upload a csv file in application server with the specified codepage(Poland

    Hi,
    i want to upload a csv file in application server with the specified codepage ( for poland ) , please let me know how to use open dataset for that.?
    Anurag

    I would upload the file with transaction CG3Z in binary mode and do the code page translation with a report: read from server an save with different name.

  • HT1552 Im setting up a server with the port 25565 and im doing it with Port Map but the problwem is i cant seem to get it to work with my router. it goes through my macmini to the router and the expansion hardrive

    Im setting up a server with the port 25565 and im doing it with Port Map but the problwem is i cant seem to get it to work with my router. it goes through my macmini to the router and the expansion hardrive

    Im setting up a server with the port 25565 and im doing it with Port Map but the problwem is i cant seem to get it to work with my router. it goes through my macmini to the router and the expansion hardrive

Maybe you are looking for

  • LSO - Follow-Up Course Participation

    Dear All, When following up a course in SAP LSO, I marked the course participation as 'absent' for ppl who did not turn up for the course. What happens in the system is that a cancellation will be triggered, thus this person will not be reflected in

  • JBoss resource adapter installation

    I am trying to install the coherence-tx resource adapter into JBoss for evaluation purposes and I am having some classloading issues. I was wondering if there was a guide to installing the resource adapter as I have been unable to find a complete one

  • How to uninstall iWork '09 (trial version) completely

    I want to uninstall iWork '09 trial version completely. I deleted the folders, but there's something left with Mackeeper. Do I have to finish that Mackeeper thing?

  • Startup Issue - Blinking Earth

    When I boot up, I get a blinking earth icon for a minute or so before the usual boot up cycle begins. I have checked that the proper start-up disk is selected in the preferences: "You have selected MAC OSX, 10.5.8 on the volume MacBook. I have done a

  • Cascading two Linksys routers questions

    wanted to clear up some things before I purchase my 2nd router. So currently, i have a wrt54g2 connected to my cable modem. What I want to do is add a wireless n router with gigabit to my LAN. So I would just follow the instructions on cascading the