Type /usr/lib/sendmail -bt and press Return.
Information is displayed.
At the last prompt (>) type a 3,0 (zero) and the mail address you want to test.
Type Control-d to end the session.
Here is an example of the output:
% /usr/lib/sendmail -bt ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter <ruleset> <address> > 3,0 shimara@raks rewrite: ruleset 3 input: shimara @ raks rewrite: ruleset 6 input: shimara <@ raks> rewrite: ruleset 6 returns: shimara <@ raks> rewrite: ruleset 3 returns: shimara <@ raks> rewrite: ruleset 0 input: shimara <@ raks> rewrite: ruleset 9 input: shimara <@ raks> rewrite: ruleset 9 returns: shimara <@ raks> rewrite: ruleset 0 returns: $# ether $# mailhost $: shimara < @ raks > > |
See Chapter 3, Customizing sendmail Configuration Files, for a complete description of the diagnostic information.