auto forward from localhost to pop server

This section contains user-submitted tutorials.
Post Reply
jvanwalleghen1
New user
New user
Posts: 3
Joined: 2020-02-20 22:51

auto forward from localhost to pop server

Post by jvanwalleghen1 » 2020-02-21 06:03

I have an application that can send out emails to alert users but it cannot support ssl/tls. I thought I could use hMailServer to act as a relay between the app and my regular pop mail server. I put a host entry for 127.0.0.1 MyMail.org. In HMS I added a domain MyMail.org and an account MetaTrader@MyMail.org. In MetaTrader I enabled forwarding to myuser@cox.net. What else do I need to do?

jvanwalleghen1
New user
New user
Posts: 3
Joined: 2020-02-20 22:51

Re: auto forward from localhost to pop server

Post by jvanwalleghen1 » 2020-02-21 06:38

I forgot to mention that I filled out SMTP:Delivery of e-mail with SMTP Relayer of pop.cox.net port 995, checked server requires auth and entered my username and password. Connection security set to SSL/TLS.

User avatar
mattg
Moderator
Moderator
Posts: 20837
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: auto forward from localhost to pop server

Post by mattg » 2020-02-21 13:16

that should work

Does it?
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

User avatar
RvdH
Senior user
Senior user
Posts: 1070
Joined: 2008-06-27 14:42
Location: Netherlands

Re: auto forward from localhost to pop server

Post by RvdH » 2020-02-21 14:21

User-submitted tutorials :?: :!:
CIDR to RegEx: d-fault.nl/CIDRtoRegEx
DNS Lookup: d-fault.nl/DNSTools
DNSBL Lookup: d-fault.nl/DNSBLLookup
GEOIP Lookup: d-fault.nl/GeoipLookup

jvanwalleghen1
New user
New user
Posts: 3
Joined: 2020-02-20 22:51

Re: auto forward from localhost to pop server

Post by jvanwalleghen1 » 2020-02-21 17:43

My Meta Trader app says that the test message was successfully queued and then reports Test Message failed. I had most logging turned on.

"APPLICATION" 2108 "2020-02-21 09:21:50.069" "Servers started."
"DEBUG" 2888 "2020-02-21 09:36:00.542" "Creating session 5"
"DEBUG" 2888 "2020-02-21 09:36:00.542" "TCP connection started for session 1"
"SMTPD" 2888 1 "2020-02-21 09:36:00.542" "127.0.0.1" "SENT: 220 MyMail.org ESMTP"
"DEBUG" 2924 "2020-02-21 09:36:00.558" "The read operation failed. Bytes transferred: 0 Remote IP: 127.0.0.1, Session: 1, Code: 2, Message: End of file"
"DEBUG" 2924 "2020-02-21 09:36:00.558" "Ending session 1"
"DEBUG" 2888 "2020-02-21 09:36:00.558" "Creating session 6"
"DEBUG" 2888 "2020-02-21 09:36:00.558" "TCP connection started for session 5"
"SMTPD" 2888 5 "2020-02-21 09:36:00.558" "127.0.0.1" "SENT: 220 MyMail.org ESMTP"
"SMTPD" 2908 5 "2020-02-21 09:36:00.558" "127.0.0.1" "RECEIVED: HELO Johns-workpc"
"SMTPD" 2908 5 "2020-02-21 09:36:00.558" "127.0.0.1" "SENT: 250 Hello."
"SMTPD" 2888 5 "2020-02-21 09:36:00.558" "127.0.0.1" "RECEIVED: MAIL FROM: <vanwall@southwind.net>"
"DEBUG" 2888 "2020-02-21 09:36:00.604" "Total spam score: 0"
"SMTPD" 2888 5 "2020-02-21 09:36:00.620" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 2924 5 "2020-02-21 09:36:00.620" "127.0.0.1" "RECEIVED: RCPT TO: <jvanwalleghen1@cox.net>"
"SMTPD" 2924 5 "2020-02-21 09:36:00.620" "127.0.0.1" "SENT: 530 SMTP authentication is required."
"SMTPD" 2924 5 "2020-02-21 09:36:00.620" "127.0.0.1" "RECEIVED: QUIT"
"DEBUG" 2924 "2020-02-21 09:36:00.636" "Deleting message file."
"SMTPD" 2924 5 "2020-02-21 09:36:00.636" "127.0.0.1" "SENT: 221 goodbye"
"DEBUG" 2900 "2020-02-21 09:36:00.636" "Ending session 5"

My Cox account did not show a test message.

User avatar
jimimaseye
Moderator
Moderator
Posts: 8579
Joined: 2011-09-08 17:48

Re: auto forward from localhost to pop server

Post by jimimaseye » 2020-02-21 20:37

"SENT: 530 SMTP authentication is required
It wasn't received in the first place.


run this and post the results: https://www.hmailserver.com/forum/viewt ... 20&t=30914

[Entered by mobile. Excuse my spelling.]
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

Post Reply