SMTP open relay problem

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

mvrk
Posts: 15
Joined: Tue Oct 16, 2007 9:45 am

SMTP open relay problem

Postby mvrk » Fri Dec 28, 2007 11:30 am

Hello,

I've got a scalix server runing for a long time, and i've detected a strange situation.

i can telnet to the smtp port (25) and send mail to my own mail domain without authenticating...
if i try any other domain fails (which is what i want)
but i want to force authentication also for my own mail domain...


EXAMPLE:

220 "My Mail Domain - SMTPd"
helo xpto.com
250 mail.mymaildomain.com Hello [84.91.76.77], pl
mail from: re@xpto.com
250 re@xpto.pt... Sender ok
rcpt to: xpto@gmail.com
550 Denied due to spam list
rcpt to: xpto@mymaildomain.com
550 5.1.1 xpto@mymaildomain.com... User unknown
rcpt to: testuser@mymaildomain.com
250 2.1.5 testuser@mymaildomain.com... Recipient ok




my smtpd.cfg:

GREETING="My Mail Domain - SMTPd"

EXTENSIONS=AUTH,DSN,8BITMIME

SMTPFILTER=TRUE
RELAY accept 127.0.0.1
RELAY accept .mymaildomain.com
RELAY Log_Reject ALL

RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
Last edited by mvrk on Fri Dec 28, 2007 11:44 am, edited 4 times in total.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Jan 02, 2008 3:46 am

The RELAY accept .mymaildomain.com will accept without requiring authentication. Remove that and you will be good to go.

You won't receive mail from others on the Internet for anything going to that account, though, since they won't be able to authenticate.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron