Problem
My mail server connects to multiple remote sites. How can I
force sendmail to process and deliver only mail for the specific
remote site I'm connected with? Solution
In the shell script you use to make your connection and initiate
mail processing with the remote site, start sendmail(ADMN) with
the -qR option. For instance, if the site you're connected to is
"store1.company.com", you would use a command like:/usr/lib/sendmail -qR@store1.company.comAny mail sitting in the queue for "store2", "store3", and so on, will stay in the queue and wait for the connection to the correct site.