Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2007 12:27:10 -0600 (CST)
From:      Mark Tinguely <tinguely@casselton.net>
To:        aryeh.friedman@gmail.com, keramida@ceid.upatras.gr
Cc:        freebsd-questions@freebsd.org
Subject:   Re: smart_host on sendmail min config
Message-ID:  <200712111827.lBBIRArf009896@casselton.net>
In-Reply-To: <475ED0A2.7030205@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It has been a long time since I tested rule sets, but try this:

(system prompt)$ sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> 3,0 user@gmail.com

Sendmail will print the rules it uses to parse the address. It should end
with something like:

 parse            returns: $# relay $@ YOUR . SMARTMAILER . DOMAIN $: user < @ gmail . com . >

Where YOUR.SMARTMAILER.DOMAIN is defined in your /etc/mail/sendmail.cf
as your relay mailer.

It should return your smart mailer even if the mail address does not resolve,
the smart mailer.

--Mark Tinguely.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712111827.lBBIRArf009896>