I'm trying to setup an exchange server in the following configuration:
Server can receive emails from outside (internet).
But in order to view the emails, or configure Outlook, require to be on the internal network [or VPN].
Any suggestions are appreciated.
Related
I have a Coldfusion page (CF10) that creates a report and sends it via cfmail to a list of recipients. The ones in our internal domain are receiving, but the external addresses are not.
I found a couple threads where people were having the exact same problem, and the solution was to add the CF server's IP address to the Exchange server. So our IT guys did just that - they added the IP addresses of all of our production servers to the receive connector on the Exchange server. However, the mails are still not being relayed, and I'm continuing to get the same message in the mail log:
javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay
I'm not familiar with everything that needs to happen to make the Exchange Server relay email to external addresses. Adding the IP addresses to the receive connector obviously isn't enough. Are there other steps that need to be performed?
Coordinate with your IT guys. Write a ColdFusion page that they can run that sends mail to an external address they can access. Then tell them to do what they have to do to receive mail at that address.
Solution was simple - we originally specified the mail server in the cfadmin mail settings, but included no username/password. That worked fine, until we wanted to start sending cfmails to addresses outside of our own domain. So IT created a dedicated "Noreply" account for this purpose, and I entered the username/password in the cfadmin mail settings.
I am having some PLESK Mail receiving issues.
I just setup a dedicated server with 1and1. The server console is PLESK 12. I am using 1and1 nameserver which are pointed correctly from the domain registrars. I am able to send mail using webmail but not able to receive it.
When I do a mail server check it I get the following error:
Error connecting to mailserver: No route to host
If anyone is aware of some missing SMTP settings that need to be set up in the initial Plesk configuration it would be appreciated.
I am able to send email using my gmail account from my grails application but when I use MS exchange server account I am getting this error
Message: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.exg6.exghost.com/, 25; timeout -1;
Configuration I used is :
mail {
host = "smtp.exg6.exghost.com"
port = 25
username = "xxxx"
password = "xxxx"
props = ["mail.smtp.auth":"true",
"mail.smtp.socketFactory.port":"25",
"mail.smtp.socketFactory.class":"javax.net.ssl.SSLSocketFactory",
"mail.smtp.socketFactory.fallback":"false"]
I am not sure what configuration to use. I tried changing port to 465 & 993 but that didn't work too. Please help
There are several things wrong with your setup. First of all, you are submitting mail to a Microsoft Exchange server (presumably), not Outlook. Outlook is a mail client and only provides end user functionality by connecting to the same server that you are trying to get the Mail plugin to connect to.
Your host name must be a valid Internet DNS host name -- therefore it must be "smtp.exg6.exghost.com". This might be all you have to do depending on the submission/relay policies in your SMTP server. Most likely you need to read on.
The SMTP protocol supports authentication and security for mail submission (new message injection) using either SSL or SASL. If you are using SSL, the default port to connect to is 465 (SMTPS port). If you are using SASL, then most servers are configured to accept new mail with authentication on port 587 (submit service port). Most SMTP servers will not accept mail submission on port 25.
In your case it looks like you are trying to connect with SSL, so you probably want to configure it using the SMTPS setup. To make sure that you have a proper setup, use a mail client like Thunderbird to try to make an SMTP connection to the server. It actually has a discovery algorithm in it that will try the common setups and report success when it has found one. Once you know what the connection parameters are, then you can proceed with configuring the Mail plugin.
I finally got this working. Turns out Microsoft provide a separate API / web-services to send email and perform all other mail related operations. This API gives developers programmatic access to Exchange Online, Exchange Online as part of Office 365, and versions of Exchange starting with Exchange Server 2007 Service Pack 1 (SP1). Click here for details.
exg6.exghost.com is host for Exchange Server 2007
And I am not sure but I think Exchange server 2007 and onwards don't use SMTP.
I am setting up the email option on sql server 2012 in a windows azure cloud Virtual Machine. The email is not working and im getting the following error :
Error,15,The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2
(2012-07-02T11:13:17).
Exception Message: Cannot send mails to mail
server. (The remote certificate is invalid according to the validation
procedure.).),3152,5,,7/2/2012 11:13:17 AM,sa
07/02/2012 11:12:05,,Error,14,The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using
Account 2 (2012-07-02T11:12:05).
Exception Message: Cannot send mails
to mail server. (The remote certificate is invalid according to the
validation procedure.)
Should I have an end point 25 on my vm ? What else could cause this error ?
Looks like there is an issue with the outbound stmp server you are trying to use. Is this also hosted in Windows Azure or an external provider somewhere? In both cases, make sure they allow inbound, authenticated connections and on what port. There shouldn't be any blocks on outbound connections on your Windows Azure virtual machine, so odds are the problem is where the email server is hosted.
I use the SharePoint 2010 VHD from Microsoft and my e-mail doesn’t seem to work and I’m rather new to SharePoint 2010.
I tried to do the following. In SharePoint Designer I created a Workflow and of the action involved sending an email to the initiator of the workflow.
I received the following error message in my workflow history:
“The email message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly.”
In my Central Administration I have the following mail settings:
Outbound SMTP Server: demo2010b.contoso.com
From Adress: administrator#contoso.com
I also started the Exchange Server in Hyper-V but still didn’t work.
I didn’t change anything in the Settings.
Any ideas on how to make it work?
Thanks in advance.
Can you test basic SMTP and network connectivity between the two VMs? Assuming telnet client is installed on demo2010a, try (from demo2010a):
telnet demo2010b.contoso.com 25
or even
ping demo2010b.contoso.com