Help needed:said: 530 SMTP authentication is required

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
kestrup
New user
New user
Posts: 1
Joined: 2020-04-23 10:04

Help needed:said: 530 SMTP authentication is required

Post by kestrup » 2020-04-23 10:11

Hi

When i add domain name number 3, I get these errors from the frontend spamgateway SMTP (ScroolOutF1)
Only whit one domain on the HMailserver it works.

Apr 23 09:56:09 unassigned postfix/smtpd[1782]: NOQUEUE: reject: RCPT from mail-yb1-f173.google.com[209.85.219.173]: 550 5.1.1 user@lyngbakken.dk: Recipient address rejected: undeliverable address: host 192.168.1.210[192.168.1.210] said: 530 SMTP authentication is required. (in reply to RCPT TO command); from=user@gmail.com to=user@lyngbakken.dk proto=ESMTP helo=mail-yb1-f173.google.com


/Kenneth

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

Re: Help needed:said: 530 SMTP authentication is required

Post by jimimaseye » 2020-04-23 10:35

Your email is going to google servers (that is not a hmailserver error).

The dns records for lyngbakken.dk are not configured for pointing to your server as you want them to.

[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

User avatar
SorenR
Senior user
Senior user
Posts: 3826
Joined: 2006-08-21 15:38
Location: Denmark

Re: Help needed:said: 530 SMTP authentication is required

Post by SorenR » 2020-04-23 10:53

kestrup wrote:
2020-04-23 10:11
Hi

When i add domain name number 3, I get these errors from the frontend spamgateway SMTP (ScroolOutF1)
Only whit one domain on the HMailserver it works.

Apr 23 09:56:09 unassigned postfix/smtpd[1782]: NOQUEUE: reject: RCPT from mail-yb1-f173.google.com[209.85.219.173]: 550 5.1.1 user@lyngbakken.dk: Recipient address rejected: undeliverable address: host 192.168.1.210[192.168.1.210] said: 530 SMTP authentication is required. (in reply to RCPT TO command); from=user@gmail.com to=user@lyngbakken.dk proto=ESMTP helo=mail-yb1-f173.google.com


/Kenneth
That message comes from ScrollOutF1 ?
hMailServer is installed on 192.168.1.210 ?
You are a TDC customer ?

Det er ikke meget du har givet os at arbejde med!

Jeg gætter på du ikke har oprettet/enablet domæne lyngbakken.dk og dit IP Range derfor kræver authentication for External to External... Tæt på?
SørenR.

“Those who don't know history are doomed to repeat it.”
― Edmund Burke

User avatar
Dravion
Senior user
Senior user
Posts: 1688
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Help needed:said: 530 SMTP authentication is required

Post by Dravion » 2020-04-23 12:31

It looks like you are behind a NAT-Router, which is connected to the Public Internet.
Your Local Network ip address is obviously auto configured by your NAT-Router (to a 24-Bit Subnet like this: 192.168.x.y)
Problem is, your Subnet is only known to our local Office/Company/House Local Network but not visible to the public internet, except by
the public ip address of your NAT-Router which is also setup as Dynamic ip address (DHCP) by your Broadband Internet Service Provider (ISP).

Unfortunately, a dynamic, public ip address was often used by Spammers so most Email Hosters like Gmail or Yahoo doesn't allow directly sent
Emails by a Dynamic ip address is mostly rejected in general, because in the early days of the Internet a lot of Spam came from such dynamic ip addresses.

You have two options:
1) Get a Static ip address and run your SMTP-Appliance on it on the public internet
2) Use a SMTP Relay server / Smart Host on your SMTP-Appliance

User avatar
SorenR
Senior user
Senior user
Posts: 3826
Joined: 2006-08-21 15:38
Location: Denmark

Re: Help needed:said: 530 SMTP authentication is required

Post by SorenR » 2020-04-23 16:48

Dravion wrote:
2020-04-23 12:31
It looks like you are behind a NAT-Router, which is connected to the Public Internet.
Your Local Network ip address is obviously auto configured by your NAT-Router (to a 24-Bit Subnet like this: 192.168.x.y)
Problem is, your Subnet is only known to our local Office/Company/House Local Network but not visible to the public internet, except by
the public ip address of your NAT-Router which is also setup as Dynamic ip address (DHCP) by your Broadband Internet Service Provider (ISP).

Unfortunately, a dynamic, public ip address was often used by Spammers so most Email Hosters like Gmail or Yahoo doesn't allow directly sent
Emails by a Dynamic ip address is mostly rejected in general, because in the early days of the Internet a lot of Spam came from such dynamic ip addresses.

You have two options:
1) Get a Static ip address and run your SMTP-Appliance on it on the public internet
2) Use a SMTP Relay server / Smart Host on your SMTP-Appliance
In other words... You have no clue... If you bothered to check you'd see that Kenneth already have a static address. It is obvious from the rDNS.

From that single message - and the fact I downloaded ScrollOutF1 to check it out - it is safe to assume the following Config:

Google --> TDC Customer Router --> PC w/ Debian Unix/ScrollOutF1 --> PC w/ Windows/hMailServer

or..

209.85.219.173 --> 93.161.89.15 / 192.168.1.1 --> ??? --> 192.168.1.210
SørenR.

“Those who don't know history are doomed to repeat it.”
― Edmund Burke

User avatar
Dravion
Senior user
Senior user
Posts: 1688
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Help needed:said: 530 SMTP authentication is required

Post by Dravion » 2020-04-23 17:57

undeliverable address: host 192.168.1.210[192.168.1.210
Yeah, Sherlock.
Looks totally like a public internet address :lol:

User avatar
SorenR
Senior user
Senior user
Posts: 3826
Joined: 2006-08-21 15:38
Location: Denmark

Re: Help needed:said: 530 SMTP authentication is required

Post by SorenR » 2020-04-23 20:55

Dravion wrote:
2020-04-23 17:57
undeliverable address: host 192.168.1.210[192.168.1.210
Yeah, Sherlock.
Looks totally like a public internet address :lol:
host 192.168.1.210[192.168.1.210] said: 530 SMTP authentication is required.
SørenR.

“Those who don't know history are doomed to repeat it.”
― Edmund Burke

User avatar
Dravion
Senior user
Senior user
Posts: 1688
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Help needed:said: 530 SMTP authentication is required

Post by Dravion » 2020-04-24 10:36

SorenR wrote:
2020-04-23 20:55
Dravion wrote:
2020-04-23 17:57
undeliverable address: host 192.168.1.210[192.168.1.210
Yeah, Sherlock.
Looks totally like a public internet address :lol:
host 192.168.1.210[192.168.1.210] said: 530 SMTP authentication is required.
You are right.

Changing the hMailServer ip range to allow External to Local delivery could help.

User avatar
SorenR
Senior user
Senior user
Posts: 3826
Joined: 2006-08-21 15:38
Location: Denmark

Re: Help needed:said: 530 SMTP authentication is required

Post by SorenR » 2020-04-24 14:23

Dravion wrote:
2020-04-24 10:36
SorenR wrote:
2020-04-23 20:55
Dravion wrote:
2020-04-23 17:57


Yeah, Sherlock.
Looks totally like a public internet address :lol:
host 192.168.1.210[192.168.1.210] said: 530 SMTP authentication is required.
You are right.

Changing the hMailServer ip range to allow External to Local delivery could help.
Something is fishy with the IP Ranges ... Maybe...

Assuming default IP Ranges ...
- IF "lyngbakken.dk" is defined in hMailServer then it should be "External to Local" delivery.

- IF on the other hand "lyngbakken.dk" is NOT defined in hMailServer then it is "External to External" delivery and then everything is working as intended - but not as expected. :mrgreen:

It may be worth mentioning that there is a "backup-mx" in DNS that point to a Microsoft cloud server.

Anyways, OP seems to have gone AWOL. :wink:
SørenR.

“Those who don't know history are doomed to repeat it.”
― Edmund Burke

Post Reply