weird sendmail request

2010-07-15 Thread Sean Roe
Hi Guys, I have had a weird request, how to configure sendmail to relay email to one receipient domain only and rejecting everything else. So if the access db worked with wild cards it would be something like: mydomain relay * reject Any ideas how to do this for

Re: weird sendmail request

2010-07-15 Thread Mike Ballon
You want /etc/mail/relay-domains, /etc/mail/access is more for allowing specific hosts to relay. Any domain that is not in relay-domains will be rejected. You may also want to look at mailertable if your host is simple MTA and not the final destination. *some versions may vary :) -Mike On Thu,