[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 354
  • Last Modified:

Mail relay for online application to send to the internet

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
HRSB
Asked:
HRSB
  • 3
  • 3
1 Solution
 
KimputerCommented:
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
 
HRSBAuthor Commented:
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
 
KimputerCommented:
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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
HRSBAuthor Commented:
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
 
HRSBAuthor Commented:
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
 
KimputerCommented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now