SMTP server not sending email to the same domain - iis

I have my ASP.Net MVC application setup so that it sends emails to a mail pickup directory. I have also Installed a virtual SMTP server on the server. The problem is that emails are being sent to all domains expect to the same domain. I know it is a server setup issue but do not know where to start to look the the issue. My smtp server settings look like this. Email to the same domain are being sent to the queue folder and I do not see any errors being logged in the event viewer.

Related

sending emails via smtp from a server installed as IaaS in azure

i have many application servers (cyber-ark, SIEM solution, forti gate etc') installed on azure as a IaaS.
all of them connect to an smtp server in order to send notifications via mail.
on my on Prem deployments, this was not an issue, but on azure, all smtp communication seems to be blocked.
i created a send-grid account and tried playing with it, but the send grid smtp server is getting blocked too.
what is the right way to work in this scenario ?
i need a smtp server to integrate with my applications...
what should i do ?
thanks,
david
Depends on your type of subscription, pay-as-you-go if you want the ability to send email from Azure VMs directly to external email providers (not using an authenticated SMTP relay), you can make a request to remove the restriction. Requests will be reviewed and approved at Microsoft's discretion, and they'll be granted only after additional anti-fraud checks are made. To make a request, open a support case by using the following issue type: Technical > Virtual Network > Connectivity > Cannot send email (SMTP/Port 25). Make sure that you add details about why your deployment has to send mail directly to mail providers instead of using an authenticated relay. More details

How to send mail from IBM lotus notes using nodemailer?

I am trying my hand on sending mail from Lotus notes using Nodemailer, however I'm not sure of the host and port to be used for the same. It's working fine with Gmail SMTP details.
Any help will be much appreciated!
If on the Domino server the smtp listener task is enabled and allows connection from your hostname (via configuration document, by default every hostname is allowed), then it is exactly the same as with gmail. Just enter your domino server name as hostname for your SMTP mail.
It depends on the configuration of your domino server if you need credentials (usually not) and on the configuration of any firewall in between domino and your node.js server if it works at all.
Ask your domino administrator, if SMTP is enabled and if you are allowed to send mail over it.
By default every Domino server does not need username / password for smtp authentication and listens to port 25 (as every other default smpt server).
If authentication is enabled, then only a domino administrator can help you by providing appropriate login name and password, there is no "one fits all" user and password.
The hostname you use for connection is either the fully qualified host name of your domino server or its IP- address.
TO clarify further: To send an SMTP mail you need a Domino server, a Lotus Notes Client is not able to listen for SMTP connections, you will not be able to programmatically send mails over the client using SMTP.

What is the need of SMTP AUTH?

I want to write an application which can receive emails locally and can response with successful and error responses.
After reading some tutorials about how SMTP works I was trying to send an email using telnet to my locally running SMTP server.
Connect to SMTP server
HELO/EHLO command
AUTH ...
MAIL from command
RCPT to command
DATA command
write somedata
QUITE
What I couldn't understand is step 3. Why do I need to be authenticated to send an email to localhost. I mean if I am yahoo user and I have to send an email to gmail user, how can I be authenticated to gmail SMTP server?
SMTP Auth is used to authenticate the send email. SMTP AUTH authenticates you directly with our SMTP server. This is transparent to you as a user.
SMTP is the protocol (the language) your email program uses to send email through our email server. AUTH is the part of that protocol that is used to verify that you are one of our users.
SMTP authentication allows the client to show the server that this client has permission to relay e-mail through this server.
In most cases, you can send without authentication to local e-mail addresses of this domain
(i.e. send from bob#domain.com to alice#domain.com)
because the server does not need to relay your e-mail to external servers. Authentication is required whenever the recipient is not of a local domain
(i.e. send from joe#company.com to tom#example.com, provided that
company.com and example.com use different e-mail servers).
If you want to read more about this Here I find the some reference where it explain very clearly.
http://www.afterlogic.com/mailbee-net/docs/smtp_authentication.html
http://www.softhome.net/help/faq/smtp-auth.html
Hope this can help full for you.
SMTP AUTH protects the server from unauthorized use. For example, Google doesn't allow people to send email from Google's email servers unless they have an account. You prove that you have an account (or that you are somehow authorized to use their servers) by authenticating with the AUTH command.
Maybe an example where the email service isn't free would be more clear. If you are trying to send email using GoDaddy's email servers, but you don't have an account, they will prevent you from doing it. GoDaddy charges people to use their services.
If you are running a company called mycompany.com, and you run your own mail servers, you don't want every spammer in the world using your servers to send email out of your company. You require senders to authenticate using AUTH in order to protect your servers from unauthorized use.

Does smtp in IIS refer to smtp service or smtp server?

In control panel there is a option to turn on certain features that are not installed by default. When you turn on IIS feature it has an option called smtp email. Does it refer to smtp service or smtp server? I have looked for the answer. But there is no concrete answer. Some say it's a service others say it refers to server. Can anyone please help me with the confusion??
The SMTP service under IIS is a simple relay agent. You really cannot use it as a mail server, as there is no real interface for retrieving (reading) emails from that service.
You typically use the SMTP service as a sending buffer for outgoing emails generated by your server (e.g. website). You configure the SMTP service as a relay for outgoing emails (e.g. to a smarthost) and then you can have your website generate emails to the local SMTP service. This way your website is not affected if network or other server problems would affect mail sending, as the SMTP service queues the emails you generate and can automatically retry deliveries etc.

mail clients are unable to connect to mail server behind proxy

I configured proxy server.Before I configure proxy mail clients works fine.Now I am unable to send and receive mails.We are using mail server in cpanel.How to bypass these settings in proxy server? please help me
i got the solution.
in mail client like outlook or thunderbird. In proxy settings leave the blank in ip and port for socks option.
thats it now you can access mail from your client apps.

Resources