IP Ranges: local to local ?

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
User avatar
maggiore81
Normal user
Normal user
Posts: 171
Joined: 2008-01-11 16:02
Location: near Ravenna (Italy)
Contact:

IP Ranges: local to local ?

Post by maggiore81 » 2009-05-03 22:12

Hello
I got this problem here:

"SMTPD" 56368 2693 "2009-05-03 21:27:38.177" "212.97.32.64" "SENT: 220 mail2.spadhausen.com ESMTP - Spadhausen Corporation Network"
"SMTPD" 56368 2693 "2009-05-03 21:27:38.177" "212.97.32.64" "RECEIVED: EHLO smtp-out-01.comm2000.it"
"SMTPD" 56368 2693 "2009-05-03 21:27:38.177" "212.97.32.64" "SENT: 250-mail2.spadhausen.com[nl]250-SIZE 20480000[nl]250 AUTH LOGIN"
"SMTPD" 56368 2693 "2009-05-03 21:27:38.177" "212.97.32.64" "RECEIVED: MAIL FROM:<forum@ballilatini.it> SIZE=1085"
"SMTPD" 56368 2693 "2009-05-03 21:27:39.927" "212.97.32.64" "SENT: 250 OK"
"SMTPD" 56368 2693 "2009-05-03 21:27:39.927" "212.97.32.64" "RECEIVED: RCPT TO:<cristina@ballilatini.it>"
"SMTPD" 56368 2693 "2009-05-03 21:27:39.927" "212.97.32.64" "SENT: 530 SMTP authentication is required."
"SMTPD" 56368 2693 "2009-05-03 21:27:39.943" "212.97.32.64" "RECEIVED: RSET"
"SMTPD" 56368 2693 "2009-05-03 21:27:39.943" "212.97.32.64" "SENT: 250 OK"
"SMTPD" 56368 2693 "2009-05-03 21:27:39.943" "212.97.32.64" "RECEIVED: QUIT"
"SMTPD" 56368 2693 "2009-05-03 21:27:39.943" "212.97.32.64" "SENT: 221 goodbye"
"SMTPD" 56368 2694 "2009-05-03 21:27:39.974" "212.97.32.64" "SENT: 220 mail2.spadhausen.com ESMTP - Spadhausen Corporation Network"
"SMTPD" 56368 2694 "2009-05-03 21:27:39.974" "212.97.32.64" "RECEIVED: EHLO smtp-out-01.comm2000.it"
"SMTPD" 56368 2694 "2009-05-03 21:27:39.974" "212.97.32.64" "SENT: 250-mail2.spadhausen.com[nl]250-SIZE 20480000[nl]250 AUTH LOGIN"
"SMTPD" 56368 2694 "2009-05-03 21:27:39.974" "212.97.32.64" "RECEIVED: MAIL FROM:<> SIZE=2419"
"SMTPD" 56368 2694 "2009-05-03 21:27:39.990" "212.97.32.64" "SENT: 250 OK"
"SMTPD" 56368 2694 "2009-05-03 21:27:39.990" "212.97.32.64" "RECEIVED: RCPT TO:<forum@ballilatini.it>"
"SMTPD" 56368 2694 "2009-05-03 21:27:39.990" "212.97.32.64" "SENT: 250 OK"
"SMTPD" 56368 2694 "2009-05-03 21:27:39.990" "212.97.32.64" "RECEIVED: DATA"
"SMTPD" 56368 2694 "2009-05-03 21:27:39.990" "212.97.32.64" "SENT: 354 OK, send."
"SMTPD" 56368 2694 "2009-05-03 21:27:40.005" "212.97.32.64" "SENT: 250 Queued (0.016 seconds)"






localdomain: ballilatini.it
mailbox: forum@ballilatini.it (virtual mailbox because who sent to forum send to cristina@... and mailbox2@... both on the local domain on the server)
So, a mailbox forum@ballilatini.it tried to contact cristina@ballilatini.it from the externa withouth auth.

The message was originated by a script on a remote website. (mail sender set to forum@...)

Well, In the ip ranges section named INternet I need to disable "require auth for LOCAL to LOCAL" ?

Is that a good way for anti-spamming ? I think yes, but what happens if a remote user tries to send a mail to a local mailbox using as sender one local box too?

I have disabled deliveries ext to ext.

other deliveries enabled.

require auth:
local to ext
local to local NO
ext to local NO
ext to ext DISABLE

Are these settings correcT?
Mr. Spadoni
Network Administrator
--
Spadhausen ISP
admin (at) spadhausen . com

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: IP Ranges: local to local ?

Post by martin » 2009-05-03 22:40

> Well, In the ip ranges section named INternet I need to disable "require auth for LOCAL to LOCAL" ?

No, you need to make sure that script uses SMTP authentication to send email messages.

> Is that a good way for anti-spamming ? I think yes

Why do you think that disabling SMTP authentication requirement is good for anti-spamming? :)

> I think yes, but what happens if a remote user tries to send a mail to a local mailbox using as sender one local box too?

He will be able to send, without any authentication.

> Are these settings correcT?

That depends on what your requirements are.

User avatar
maggiore81
Normal user
Normal user
Posts: 171
Joined: 2008-01-11 16:02
Location: near Ravenna (Italy)
Contact:

Re: IP Ranges: local to local ?

Post by maggiore81 » 2009-05-03 22:59

martin wrote:> Well, In the ip ranges section named INternet I need to disable "require auth for LOCAL to LOCAL" ?

No, you need to make sure that script uses SMTP authentication to send email messages.

> Is that a good way for anti-spamming ? I think yes

Why do you think that disabling SMTP authentication requirement is good for anti-spamming? :)
I wanted to say that using smtp auth is good for anti-spamming :)

> I think yes, but what happens if a remote user tries to send a mail to a local mailbox using as sender one local box too?

He will be able to send, without any authentication.

> Are these settings correcT?

That depends on what your requirements are.

The problem is that the website sends a mail to

box1@domain.local using as sender address box2@domain.local

the website send the email using an external smtp relayer (smarthost) and on it it doesnt need to use smtp auth...

How can we do?
Last edited by maggiore81 on 2009-05-03 23:02, edited 1 time in total.
Mr. Spadoni
Network Administrator
--
Spadhausen ISP
admin (at) spadhausen . com

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Re: IP Ranges: local to local ?

Post by martin » 2009-05-03 23:01

> I wanted to say that using smtp auth is good for anti-spamming

Okay, then you're right. :)

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

Re: IP Ranges: local to local ?

Post by mattg » 2009-05-04 14:11

maggiore81 wrote:The problem is that the website sends a mail to

box1@domain.local using as sender address box2@domain.local

the website send the email using an external smtp relayer (smarthost) and on it it doesnt need to use smtp auth...

How can we do?
Does the smart host / external SMTP relayer have the ability to connect and send by using SMTP authentication? IIS SMTP does.
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
maggiore81
Normal user
Normal user
Posts: 171
Joined: 2008-01-11 16:02
Location: near Ravenna (Italy)
Contact:

Re: IP Ranges: local to local ?

Post by maggiore81 » 2009-05-04 15:50

Unfortunately it is the relay smtp of my ISP where the server is located in colocation.
I am not able to permit that.

I have to keep local to local messages without auth for now..
Mr. Spadoni
Network Administrator
--
Spadhausen ISP
admin (at) spadhausen . com

Post Reply