Page 1 of 1

SCALIX Relay is accepting invalid mail users

Posted: Thu Apr 12, 2007 3:43 am
by n.boeckmann
Hi,

my Scalix Installation is accepting mail for invalid addresses.
Lets say, that I've got a User named user1@domain.com. This is my only user defined in Scalix. If I'am telnetting to my Server and try to send mail to user2@domain.com the mail is accepted.

That fact causes a really high load on my queues.

I've gote Suse 10.1 (OSS) and Scalix 11.

Is there a solution for checking mail users within the scalix relay smtpd daemon, so that it doesn't accept every incoming mail for a valid domain?

I've already tried the "RELAY accept" and /etc/mail/local-host-... hints posted in other topics. But now I don't know how to proceed ;)

Sincerly

Nils

Posted: Thu Apr 12, 2007 7:51 pm
by dougp23
Well this is not a relaying issue, if I understand you correctly.

Just because you don't have a user setup in your domain, doesn't mean the server won't attempt to deliver to that user. IN fact, you could send email to user3@domain.com, user4, etc all the way up where you got tired of trying new addresses.

Sendmail, by default, refuses to throw any messages away. It will always try to deliver. I do think there is some sort of timeout whereby if it's tried long enough, it gives up.

But I don't know what your solution is.

Posted: Tue Apr 24, 2007 8:09 am
by adhodgson
Hi,

You don't need to touch the smtpd.cfg. Just do the following:

echo domain.com >/etc/mail/local-host-names

Then restart Sendmail.

Thanks.
Andrew.