email issue

I use a Solaris 9 box to host our pop3 mail.  From inside
the office all sending and recieving to all email is
fine.  When attemping from outside the office while
sending to an email (that is not our company email) it
gets rejected. Like if I send to a yahoo, AOL, hotmail
account.  What do I need to look at/adjust so we can send
and recieve email from all emails outside the office?
dtooth71Asked:
Who is Participating?
 
jlevieCommented:
The answer depends on what server is rejecting the mail. It may be that it is your local mail server rejecting the attempt to relay the message, which would happen since the sending machine isn't a part of the server's domain and it hasn't been told to relay for that IP via the access map or as a result of a successful SMTP AUTH. I suspect that this is the case here since you don't mention any difficulty in sending outgoing email while at the office.

The best solution, imy opinion, to safely allow external users to relay through your mail server is to use SMTP AUTH. You can read more about it at http://www.sendmail.org/~ca/email/auth.html

0
 
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
Sending email from a "residential" IP address to an AOL, Yahoo! or MSN (hotmal)
mailserver is blocked by these servers (for "security" reasons)!
You either will have to get an non-residential IP address for your server or route
all mail through an server with non-residential IP address.
0
 
dtooth71Author Commented:
what do you mean resiential , non-residential IP address?
0
 
dtooth71Author Commented:
No, there are no difficulties while inside the office.  outside I can send to a smith@compnay.com, but not a smith@yahoo.com.
0
 
jlevieCommented:
Then it is the anti-relay protections in sendmail that is the cause of your problem. Simply turning that off would solve the immediate problem, but it would create a worse problem. Without anti-relay protection your mail server will be found by spammers and abused to send spam across the Internet. That will quickly cause your site to be black listed and few mail servers will then accept mail from you.

What's needed is a way to selectively allow your users relay privs. If your users have static IP's when they aren't at the office you could use the access map to allow relaying for those IP's. That's not likely to be the case and SMTP AUTH solves the problem.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.