View Full Version : Configuring sendmail access file

30th May 2006, 10:40 AM
I have a domain called (for example purposes) domain1.com

I only have access to domain1.com and i want to configure domain1 to let all domain1 users to be able to send emails to baduser@domain2.com but i dont want baduser@domain2.com to be able to send any messages to my users on domain1.com.

How do i do this using the /etc/mail/access file


in the access file add TO or FROM before the email address:


FROM:baduser@domain2.com DISCARD
TO:baduser@domain2.com OK