Mihai Ibanescu wrote:

>         Is there a way to tell sendmail 8.9.x NOT to resolve the domains
> in RCPT TO? I want it just to queue the message, and the dial-up user to
> be able to close the line ASAP. I thought 'accept_unresolvable_domains'
> will do the trick, but no, this is only for MAIL FROM:.

It has to resolve the domain at some point in order to be able to
deliver the message. You can delay this by configuring sendmail for
offline use.

First, set the HoldExpensive option:

        # avoid connecting to "expensive" mailers on initial submission?
        O HoldExpensive=True

Then, add the expensive (e) flag to the `F=...' section of each of the
SMTP mailers, e.g.

        Msmtp,          P=[IPC], F=mDFMuXe, S=11/31, R=21, E=\r\n, L=990,
                                         ^

Check for any occurrences of $[ ... $] (which substitute any hostnames
with their canonical form by looking up CNAME records) and comment
them out, e.g.

        # pass to name server to make hostname canonical
        #R$* < @ $* $~P > $*            $: $1 < @ $[ $2 $3 $] > $4

Also, check that there aren't any occurences of $(host ... $), which
precludes the use of the realtime blacklist (RBL) feature.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to