Technical article 109565

How to manually get sendmail to process and deliver mail for a specific domain.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4UnixWare 7.0.0

Written · Last revised

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.com

Any 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.

From the Xinuos technical article database, record 109565. Reproduced with permission. The original is at www.sco.com/ta/109565, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.