IIS SMTP some mails had been lost - iis-7

I am using SMTP server built in to the IIS. Over website sends email via this SMTP server and unfortunately we had lost some emails. I looked in to the SMTP log and I could not read that log properly since I could not find any useful tool that can read this log file. It's very hard to understand this log file. If someone give a useful tool that can read IIS SMTP server log, it would be a great help.
I have few other questions too.
The status for the lost email is 250 in the log file, does this mean everything went OK.
Is this SMTP server reliable enough to handle big number of emails at same time?
If not what would be the best solution?

One solution to all of this would be to use a 3rd party mail server provider. Some good ones below:
http://www.aweber.com/
http://mailchimp.com/
http://www.constantcontact.com/index.jsp
They have API you can implement and use in your code to send e-mails through their SMTP.
If you're sending big number of emails at the same time, it is better to use these as your ISP may be blocking your outgoing e-mails since they're in big numbers. They do this to prevent spam and hacking.
Sorry that I couldn't help with the log but consider this information too.

Related

Need not standard postfix configuration

The task turned out to raise the relay postfix, which can send messages from mynetworks, to attempts to send messages through it to the domain from other hosts, it
should issue 451. At the same time, NDR should be sent from it to the internal mail servers.
Please suggest how to implement it.
There were no problems with setting up opendkim, but there is not enough experience.

Does Postfix on Google cloud to forward email need some kind of authentication?

I am an email server noob. I own a domain 'mydomain.org' and I'd like to forward emails sent to that domain to other email address, perhaps at 'gmail.com' or 'university.edu'. I thought I set this up right, but my email log is giving me errors like this:
connect to mx1.university.edu[171.67.219.71]:25: Connection timed out
and
Dec 22 05:17:24 mail-server postfix/smtp[6370]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400d:c00::1a]:25: Network is unreachable
I don't know too much about this, but I imagine there must be some kind of authentication that I need to set up, but I'm shy of the laundry list blog posts. Does this look like "authentication stuff"? If so, what do I need to set up next? If not, any idea why the receiving mail servers drop my server?
Yes, network issue. For future folks, Google does not allow outgoing connections for SMTP servers, maybe to prevent spam? Here's info about how to set that up: https://cloud.google.com/compute/docs/sending-mail

SMTP and A record

I am a front-end developer so the server stuff goes a bit over my head. Please excuse me if the question is dumb.
I am hosting a wordpress site on our server with contact form 7, but we only have a A-records for www pointing to our site. The email management for said domain is held by a third party.
How is contact form sending the emails to the admins? It is using our hosts SMTP service? I am asking because I am getting the emails on gmail, but the client is not receiving them on his service.
Thank you!
When your server is sending email without you configuring anything, the most likely cause is that it is using the server itself. For that, it does not need to "know" any DNS entries, as it just connects to localhost, which always points to the server itself.
When you receive the mail, and your client is not, this is most likely the result of a spam filter. Have you asked your client to check the spam folder?
The problem of - mainly - shared hosting servers is that they tend to end up on spam lists like that of spamhaus.org etc. which greatly enhances your risk to end up in the spam folder. If you control the server, you could request deblocking or even whitelisting your server, but before you do that, you should be certain that your server is not inadvertedly relaying mail because of a misconfiguation, vulnerability, or outright being hacked. Your applications or the server itself could be configured to use an external smtp server, but that's not something that's easily explained here. Maybe try on serverfault.com?

Alternatives to IIS SMTP service

I am using local IIS 6.0 SMTP service to send emails from ASP.NET application.
I am having the following issues:
Emails are being delayed from 1 hour to 24 hours, and our traffic is only increasing
No UI to quickly see what is going on. How many emails sent. Bad Emails, Queue, etc...
Have to install IIS 6.0 just to run SMTP service. Microsoft didn't include it in IIS 7.0, so not sure if they will be supporting it in the future.
Seems to send emails in single thread (not sure about this one).
I could use one of the cloud services like Amazon Simple Email, but it would cost me hundreds of dollars a month. I would like to keep it local since our hosting provider has plenty of bandwidth.
What are the alternatives to IIS 6.0 SMTP service?
There are a couple of options available to you as I see it but each has their own pro's and cons.
A local mail server application (eg: Exchange server) to manage your mail queue
pro - you retain total control
con - you retain total responsibility
con - depending on the email type and volume you could end up getting blacklisted
A cloud mail provider that you are obviously aware of.
Arrange with your ISP to direct smtp traffic directly through them rather than using your own smtp service which is forwarded through them anyway. They also may have tools that will allow you to view and control the traffic.
Good luck
AJ
You can use GMail as a free smtp server
Check out the articLE
http://www.geekzone.co.nz/tonyhughes/599

SMTP email not sent in one server, but sent in another server

I have a section of code that sends email from SMTP server.
The code is carried out webservice & smtp server value is picked up from web.config, while the code hosted on server1 works (send/receive emails), whereas the same code hosted in server2 doesn't send/receive email.
Can you tell your thoughts?
Thanks
This really belongs on ServerFault.com, and there isn't enough information to give you a definitive answer, but I can give you my thoughts on it (as asked).
Most likely, if the SMTP server is a different server than the one your app is hosted on, then probably there is some configuration that needs to be done on the SMTP server. Usually, the SMTP server needs to grant pass-through permissions on a per-user and/or per-server basis. So, most likely your situation is that the SMTP server has an "Allow pass-through" list that includes the server where your code works, and does not include the server where the email is NOT sent.
At least, this is usually the problem in our network...
If the SMTP server is on the same server as your app, of course, you'd want to check to ensure that SMTP is installed on both servers with the same configuration.
If this fails, look for errors... In your app code, or in the event log.. .If my guesses are wrong, you're going to need more info to go on.
Finally, here is a good resource for a coder, not necessarily for an Admin, but it may have info that will help you. http://systemnetmail.com/
first thing to check is the windows firewall and if there is an antivirus or third party firewall installed on the machine.
also check the event log for some useful information about the details of the error.

Resources