Accepting Users

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Spudbrain

Accepting Users

Postby Spudbrain » Fri Mar 18, 2005 6:06 pm

I have installed Scalix 9.2 on a fresh install of FC3. Everything seems to be working fine. The one problem I am having is, no matter who I send mail too, the Scalix box will accept the user as long as the domain is correct. For example:

User1@domain1.com is a valid user.

You telnet to the Scalix box on port 25.
Scalix Box: HELLO HOW ARE YOU ……..
You do the normal HELO somewhere.com
Scalix Box: OK …. Pleased To Meet You ……
Then MAIL FROM: someone@somewhere.com
Scalix Box: OK
Then RCPT TO:User1@domain1.com
Scalix Box: OK (This is good)
Then RCPT TO:User1@somewhereelse.com
Scalix Box: DENIED DO TO SPAM LIST (So far I like it)
Then RCPT TO:SomeNoneUser@domain1.com
Scalix Box: OK (Don’t like that)

It does not matter what the username is, the Scalix box will accept the user as long as the domain is correct. How do you get it to reject the None Registered User with User Not Known or something?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Sun Mar 20, 2005 7:04 am

That's correct.

SMTP Relay will lookup the recipient address in the SYSTEM directory and, if there is no match, it will pass the message to sendmail for further processing.

The RELAY accept rules that are in /var/opt/scalix/sys/smtpd.cfg basically tell the relay that if the domain is a known on, i.e. domain1.com, it can be passed to sendmail. If not, it will immediately reject it.

To get a "User Unknown" non-delivery message, you need to configure /etc/mail/local-host-names to include domain1.com.

However, you could also edit smtpd.cfg to replace RELAY accept .domain1.com with RELAY reject .domain1.com BUT this means that any MTA or client that connects to the relay MUST authenticate if you want to allow it to mail messages outside of the domain.

Cheers

Dave


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests