1833700 Members
4440 Online
110062 Solutions
New Discussion

sendmail

 
SOLVED
Go to solution
Laszlo Pap
Occasional Advisor

sendmail

Hi,

can somebody tell me how can I setup sendmail to accept mail-delivery only for a few local computers with a well defined IP-addresses?

Thanks,

Laszlo
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: sendmail

You can create a little domain for those computers, if its internal, call it workgroup for example.

set up the users in /etc/mail/virtusertable to set up the users with the little workgroup

sean sean@workgroup

/etc/mail/genericstable

sean@workgroup sean

Then you limit the relay capacity in /etc/mail/access

ip_workstation1 RELAY
ip_workstation2 RELAY

You put it all together with a sendmail macro script. I only have hp access so i'm doing this link from memory:

http://www.hpux.ws/buildmail.hpux.txt

You will have questions. I will try to answer.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sanjay_6
Honored Contributor
Solution

Re: sendmail

Hi,

Maybe this link will help.

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000064128788

The ITRC doc id is IVKBRC00006733.

Hope this helps.

Regds