Solved

Mail relay for online application to send to the internet

Posted on 2013-11-21
6
333 Views
Last Modified: 2013-11-25
I am looking to setup postfix or any other suggested application to relay mail sent from an online application to the internet, I don't want to bring exchange into play as we have tried this and we are sending about 33000 emails to people, and it's a time sensitive notification email.

Any help would be greatly appreciated!

Thanks
matt
0
Comment
Question by:HRSB
  • 3
  • 3
6 Comments
 
LVL 35

Expert Comment

by:Kimputer
ID: 39666202
If you use hMailServer on any windows machine, you have an email relay up and running in mere 3 minutes!
It's free too.
0
 

Author Comment

by:HRSB
ID: 39666221
I did see this app for windows, I downloaded and checked it out, didn't really understand it, will this relay all mail that hits it to the internet directly without me setting anything up? I really only need this relay software receive mail from one ip address, and then send to the internet. This possible with hMailServer?
0
 
LVL 35

Expert Comment

by:Kimputer
ID: 39666272
Install with default settings (make a fake domain if you want, not really necessary)
Go to Settings >Advanced > IP Ranges > My Computer > UNTICK External to External email addresses
Restart server.
From now on, this server is a FULL email relay.
If your ISP doesn't allow you to send out email, forcing you to use their email relay then Settings > Protocols > SMTP > tab Delivery of email > fill in the IP address or hostname of the relay you need to use to send out emails.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:HRSB
ID: 39666347
I get the following error!  
550 Domain has been disabled.

If a SMTP client tries to send an email message to a domain which has been disabled, this error message is given to the client.

We are getting somewhere now, thanks for your assistance!




"TCPIP"      5448      "2013-11-21 12:39:39.454"      "TCP - 10.10.10.21 connected to 10.10.59.70:25."
"SMTPD"      5448      3      "2013-11-21 12:39:39.456"      "10.10.10.21"      "SENT: 220 OPS-MSMELTZER-D ESMTP"
"SMTPD"      4208      3      "2013-11-21 12:39:39.456"      "10.10.10.21"      "RECEIVED: EHLO Opportunity"
"SMTPD"      4208      3      "2013-11-21 12:39:39.457"      "10.10.10.21"      "SENT: 250-OPS-MSMELTZER-D[nl]250-SIZE 20480000[nl]250 AUTH LOGIN"
"SMTPD"      4208      3      "2013-11-21 12:39:39.457"      "10.10.10.21"      "RECEIVED: MAIL FROM:<donotreply@email.com>"
"SMTPD"      4208      3      "2013-11-21 12:39:39.460"      "10.10.10.21"      "SENT: 250 OK"
"SMTPD"      4208      3      "2013-11-21 12:39:39.461"      "10.10.10.21"      "RECEIVED: RCPT TO:<notify1@email.com>"
"SMTPD"      4208      3      "2013-11-21 12:39:39.461"      "10.10.10.21"      "SENT: 550 Domain has been disabled."
"TCPIP"      5448      "2013-11-21 12:39:39.477"      "TCP - 10.10.10.21 connected to 10.10.59.70:25."
"SMTPD"      5448      4      "2013-11-21 12:39:39.478"      "10.10.10.21"      "SENT: 220 OPS-MSMELTZER-D ESMTP"
"SMTPD"      2652      4      "2013-11-21 12:39:39.479"      "10.10.10.21"      "RECEIVED: EHLO Opportunity"
"SMTPD"      2652      4      "2013-11-21 12:39:39.479"      "10.10.10.21"      "SENT: 250-OPS-MSMELTZER-D[nl]250-SIZE 20480000[nl]250 AUTH LOGIN"
"SMTPD"      2652      4      "2013-11-21 12:39:39.480"      "10.10.10.21"      "RECEIVED: MAIL FROM:<user@email.com>"
"SMTPD"      2652      4      "2013-11-21 12:39:39.482"      "10.10.10.21"      "SENT: 250 OK"
"SMTPD"      2652      4      "2013-11-21 12:39:39.482"      "10.10.10.21"      "RECEIVED: RCPT TO:<application@email.com>"
"SMTPD"      2652      4      "2013-11-21 12:39:39.483"      "10.10.10.21"      "SENT: 550 Domain has been disabled."
0
 

Author Comment

by:HRSB
ID: 39666385
Ok I have figured out the Domain has been disabled, I didn't have the check mark for the domain enabled. I now get unknown user when I submit the web application. I suspect I need to add in the accounts section the user that is doing the sending of the email from the web application?

Thanks
Matt
0
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 total points
ID: 39666411
I think you made this server accept email intended for "email.com" ? Then a user should exist, and the email will STAY on the server (can be popped at this server though).
You should NOT have told hMailServer anything about "email.com". That way, it would try to deliver the email to the real "email.com" (hence that's what you asked for, to RELAY the email, not to store it)
Remove any mentioning of email.com (or change it to fakexxxxxxx.com) and try again.
This server doesn't need an identity at all, as it's meant to relay only.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…

806 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question