sendmail [we do not relay]

I run sendmail ,, it works fine for our lan[200.1.1.0]
but for our wan[200.5.1.0 and 200.4.1.0] the sendmail
log reports "we do not relay"


What do i do to fix , is it DNS/MX record error or is it
just a sendmail.cw file error ,,
my current sendmail.cw = domaim_name.co.za

cresttyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jtgCommented:
Run:

# sendmail -d0.1 -bv root

If you are not running Sendmail 8.9.3 then got get it :

http://www.sendmail.org

If you are already then follow this:

The problem is related to the check_ rulesets within your sendmail.cf file. Copy the current file sideways & make it read only! This is your safety net.

Now check through the sendmail.cf file and modify the entries relating to :

F{LocalIP}
F{LocalNames}

Kill & restart sendmail.

This will then allow you to specify who is allowed to relay through your machine. You do NOT want to turn on relaying in general as some people like to abuse this 'feature' of your configuration.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cresttyAuthor Commented:
Sorry but you were wrong , i have already solved the problem,
or at least i think so

the problem was in the ip-allow file, SPAM control,

OR SO I think.

Regards
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.