> Is it possible to configure sendmail to send directly to certain (local)
> domains and queue all the rest until forced to send with -q?
> I know that if I remove the "expensive" configuration it will try to send
> all the time and queue those that cannot be sent, but I think I will end
> up having my /var/log/mail filled up with DNS warnings...
> So, is there any other way to do it "better"? Thank you.
You can use mailertable + http://www.sendmail.org/faq/section4.html#4.12
make only relay mailer expensive, honor expensive flag and
use mailertable to select not expensive mailer for some domains
# default route via "expensive" mailer
# route for
Subject: Q4.12 -- How can I batch remote mail to be sent using my ISP while
local mail immediately?
Date: October 14, 1997
Updated: February 9, 1999
Andrzej (Andrew) A. Filip - Warsaw, Poland | http://bigfoot.com/~anfi