Computing.Net > Forums > Linux > Sendmail not looking at domain name

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Sendmail not looking at domain name

Reply to Message Icon

Name: Ashley
Date: March 14, 2003 at 05:44:27 Pacific
OS: Linux 7.1
CPU/Ram: unknown
Comment:

Hi,

I've set up an email server running Linux that works very well, but I've just noticed the following:

if I send an email from ashley@mydomain.com account to ashley@dfsdfjklsddfgj.com ... it gets delivered to me.

if I send an email from ashley@mydomain.com to all@sjdjkasdjkfasdf.com ... everyone in the company gets sent it.

Obviously it's something to do with my aliases ('all' is an alias for the whole company) but why is my server not looking at the domain name ?

Does anyone know where I can look for checking that only email addressed to mydomain.com will get delivered ?

Any help most appreciated,
Ashley



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: March 17, 2003 at 04:57:08 Pacific
Reply:

The file specifying names of machine accepting mail for local delivery used to be /etc/mail/sendmail.cw but was changed to
/etc/mail/local-host-names

Also this could be affected by the values in your virtusertable file.


0

Response Number 2
Name: captainash
Date: March 18, 2003 at 01:16:58 Pacific
Reply:

That's what I was thinking, but my local-host-names only contains mydomain.com and mail0.mydomain.com (the server name), and my virusertable is empty.

Any other thoughts .. ?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Sendmail not looking at domain name

cron script www.computing.net/answers/linux/cron-script/17544.html

Linux Sendmail www.computing.net/answers/linux/linux-sendmail/18111.html

Sendmail/Multiple Domains www.computing.net/answers/linux/sendmailmultiple-domains/9636.html