Page 1 of 1
Unknown User
Posted: Wed Dec 07, 2005 6:33 pm
by cpaluch
I am currently evaluating Scalix and I've come across a minor issue. I've set things up so my Scalix server is going to be the server for the domain "something.com". If someone sends an email to "info@something.com", which is not setup as a user and won't be; the email is not immediately rejected as "unknown user". Instead sendmail just loops it around to itself, because this server has been setup as MX for "something.com" until the maximum number of hops is reached.
Is there someway to setup things so if the user is unknown it immediately rejects the email?
Thanks.
Posted: Wed Dec 07, 2005 7:05 pm
by ScalixSupport
Hi. Check your /etc/mail/local-host-names file and see if you've put something.com in there. If not, sendmail doesn't know it's responsible for that domain. Add the entry, then restart sendmail and you should be good to go.
Thanks,
Rachel
Posted: Thu Dec 08, 2005 11:33 am
by cpaluch
I checked the local-host-names file and it is empty. But the DNS MX record has this server as being the mail server for the domain, how else do I direct mail for that domain to this server? So I can't take that away.
My old IMAP server(sendmail/Cyrus) will respond with an invalid user if it receives an email for an unknown user. But for some reason with sendmail/Scalix, if the user isn't defined to Scalix, then Scalix won't touch the email eventhough it is the mail server serving that domain. But then sendmail doesn't know what to do with it because it just knows by the MX record that he is supposed to be serving that domain name but can't send it anywhere.
Posted: Thu Dec 08, 2005 1:37 pm
by ScalixSupport
cpaluch wrote:I checked the local-host-names file and it is empty. But the DNS MX record has this server as being the mail server for the domain, how else do I direct mail for that domain to this server? So I can't take that away.
My old IMAP server(sendmail/Cyrus) will respond with an invalid user if it receives an email for an unknown user. But for some reason with sendmail/Scalix, if the user isn't defined to Scalix, then Scalix won't touch the email eventhough it is the mail server serving that domain. But then sendmail doesn't know what to do with it because it just knows by the MX record that he is supposed to be serving that domain name but can't send it anywhere.
Hi,
please do what Rachel wrote, that is the way to get it to work. It has nothing to do with DNS.
Add your domain to /etc/mail/local-host-names, e.g.
# /etc/mail/local-host-names
# Format:
#
#<aliases for local host>
domain.com
Cheers,
Sascha.
Posted: Thu Dec 08, 2005 2:57 pm
by cpaluch
Sorry I read her email too quickly. I thought she was telling me to make sure that file was empty. Thanks for your help.