Operating System - HP-UX
1829812 Members
1844 Online
109993 Solutions
New Discussion

restrict outgoing mail on sendmail

 
Warren_9
Honored Contributor

restrict outgoing mail on sendmail

Hi,

I want to restrict the out-going address on sendmail, which can only send mail to *@mydomain.com, ppl_A@domainA.com and ppl_B@domainB.com.

can sendmail do this?

WARREN.
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: restrict outgoing mail on sendmail

Yes it can, see this link: http://www.sendmail.org/~ca/email/restrict.html

live free or die
harry d brown jr
Live Free or Die
Warren_9
Honored Contributor

Re: restrict outgoing mail on sendmail

thanks Harry but i want to restrict the outgoing mail address which is not limit to localhost only.

local user can send mail to anyone in our company domain, ppl A and ppl B are external.

your solution is close but I don't know how to change the rule set to accept ppl A and B.

I'm using the sendmail 8.9.

is it using the RS Scheck_rcpt, any idea?

WARREN