Solved

Mail relay for online application to send to the internet

Posted on 2013-11-21
6
340 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange 2016 - not receiving mail 17 97
How to fix Dual Server Conflict GitLab vs Apache2 3 57
NFS v4 7 74
Logrotate Every Saturday 5 42
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

737 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