Sign in with
Sign up | Sign in
Your question

redirect all port 25 traffic

Tags:
  • Outlook
  • Spam
  • Business Computing
  • Spam Filter
  • Database
  • SMTP
  • Servers
  • Authentication
  • Email
Last response: in Business Computing
Share
August 14, 2014 11:39:09 AM

I wasn't sure where to put this question, but I hope it gets attention here.

We have a legacy database application that we use to send emails to clients from time to time. The email goes directly out of the server hosting the database, but this server is not configured as any kind of mail server.

So in the old PHP code (that I am just trying to make sense out of the best I can since the original programmer is unreachable), the SMTP server is specified as localhost and the send-as address as, for example, bob@johndoe.com .

The email gets sent out just fine, but probably 20% of them get sent back with an access denied error (550 -- invalid HELO). The reason being, that I have worked out, that we have not authenticated with and kind of password along the way. We just send as and that is that.

Since it would be very difficult to engineer stuff into the code being that I don't know anything about dependencies here and there (it's very poorly annotated), what I would like to do is have all of the traffic travelling out of my server on port 25 be redirected to GoDaddy (my host) along with credentials. This way the mail gets sent as an authenticated user and I stop getting bouncebacks.

I hope someone has an idea as to how I could accomplish this. Any help it appreciated. I'm also open to suggestions of other ways to fix the problem.

More about : redirect port traffic

August 14, 2014 12:58:03 PM

Update:

I think I have found a solution using IIS. In the IIS Manger, if you have the SMTP feature installed on your server, there is an SMTP E-mail icon. Clicking on that, it says "Use this feature to specify the e-mail address and delivery options to use when sending e-mail from a Web application."

I'm thinking that if I just specify the same e-mail address here, in me PHP code, and in the authentication settings, then I should be able to comply with what most mail servers deem acceptable.
m
0
l
!