Internal open relay
Posted: Mon Jun 26, 2006 4:56 pm
From all I have read, Scalix says that SMTP Auth is enabled by default. Currently, we are only allowing HTTPS access to our Scalix server from outside of our network. We would like to change this to allow IMAPS, POP3S, and SMTPS all via stunnel, from the outside.
Below is the dialog from a machine on my internal network. As you can see, anyone who knows how can currently spoof mail internally. How do I fix this? I have searched and it seems like support doesn't have an answer for this.
The contents of my smtp.cfg:
Below is the dialog from a machine on my internal network. As you can see, anyone who knows how can currently spoof mail internally. How do I fix this? I have searched and it seems like support doesn't have an answer for this.
Code: Select all
$ telnet myscalixserver.mydomain 25
Trying <public IP>...
Connected to myscalixserver.mydomain (public IP).
Escape character is '^]'.
220 myscalixserver.mydomain ESMTP Scalix SMTP Relay 10.0.1.3; Mon, 26 Jun 2006 16:28:05 -0400 (EDT)
MAIL From:<relaytest@relaytest.com>
250 relaytest@relaytest.com... Sender ok
RCPT To:<scalix.user@mydomain>
250 Ok
data
354 Enter mail, end with "." on a line by itself (relay)
From: relaytest@relaytest.com
To: scalix.user@mydomain
Subject: This is an open relay internally
This is the message body
.
250 Ok
quit
221 myscalixserver.mydomain closing connection
Connection closed by foreign host.
The contents of my smtp.cfg:
Code: Select all
EXTENSIONS=AUTH,DSN,8BITMIME
RELAY accept 127.0.0.1
RELAY accept .mydomain
AUTH_SUCCESS accept ALL
RELAY Log_Reject ALL
# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*