Shirley Remedios rearranged electrons thusly:

> i have a problem with my sendmail....
> We have a relay host server named mail.jobpartners.com which can accept
> connections from any third party i want to restrict that to only the
> jobpartners users..our mail goes from the internet to
> mail.jobpartners.com to the firewall and then to exchange.At present
> anybody can use mail.jobpartners.com as a relay and send mail..i want to
> restrict incoming mail on mail.jobpartners.com so that it can receive
> mails only from @jobpartners.com
 
This is not a good idea.  What you must do instead is to restrict accepting
relay attempts (that is, sending mail from [EMAIL PROTECTED] through your machine, to
any other domain but those you control)

Hmmm...

suresh@mjollnir:~> telnet mail.jobpartners.com 25
Trying 194.193.83.99...
Connected to mail.jobpartners.com.
Escape character is '^]'.
220 mail.jobpartners.com ESMTP Sendmail 8.9.3/8.8.7; Fri, 5 Jan 2001 07:20:38 GMT

This strongly suggests that you have configured sendmail using linuxconf.
Throw that .cf file into the dustbin and regenerate a new sendmail.cf from the
/etc/sendmail.mc file (or it may be in /etc/mail in some versions)

For this you have to install the sendmail-cf-[your-version-number].rpm from the linux 
CD

See http://www.orbs.org/otherresources.html for more information (and see
http://www.sendmail.org/faq/ - that will answer 99.999% of the sendmail
questions I see posted here - this "open relay" is one of the top 5 questions
answered in that FAQ)

        --suresh

-- 
Suresh Ramasubramanian  <-->  mallet <at> efn <dot> org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin

----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to