Restrict Sending mails for users
Posted: Thu Feb 14, 2008 11:52 am
hiya
how do we restrict users to send mails to only one domain or no domain at all. I tried by adding this line to /etc/mail/access
But this stops sending mail to all domains including the local domain i.e "domain123.com".
So how can i setup users to send mails to domain123.com and restrict all other domains.
how do we restrict users to send mails to only one domain or no domain at all. I tried by adding this line to /etc/mail/access
Code: Select all
from:mail@domain123.com REJECTBut this stops sending mail to all domains including the local domain i.e "domain123.com".
So how can i setup users to send mails to domain123.com and restrict all other domains.