I send mail using PHP. Everything works good until I send mail to domain (@example.com) which I have in /etc/rc.conf >> hostname="box.example.com".
I guess sendmail catches mail for this domain (even when I use its subdomain in rc.conf) before sending it to world. So, how can I make sendmail to ignore local domain(s) other than localhost?