Question : sendmail bouncing local mail

I suspect there is some *simple* configuration problem with either my dns local DNS server or my sendmail configuration. When Isend mail to my mail host (both from the internet and from localhost), I get a mail loop and the mail never gets delivered. Any help you can give me would be appreciated.

matt


data to follow:

Configuration -
  RH 9.0
  local net (192.168.1.*) configured through DDNS
  Linksys router (allows ports 25 and 80 to pass through)
  RH9 system servers dns, web, and mail
 
I can get web traffic to pass through just fine. My dns config also "appears" OK:

## named.conf - configuration for bind
#
# Generated automatically by redhat-config-bind, alchemist et al.
# Any changes not supported by redhat-config-bind should be put
# in /etc/named.custom
#
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

include "/etc/named.custom";

include "/etc/rndc.key";

zone  "0.0.127.in-addr.arpa" {
        type master;
        file  "0.0.127.in-addr.arpa.zone";
};


zone  "localhost" {
        type master;
        file  "localhost.zone";
};
zone  "rhuina.com" {
        type master;
        file  "rhuina.com.zone";
};


0.0.127.in-addr.arpa.zone:

$TTL 86400
@       IN      SOA     mail.rhuina.com.        root.localhost. (
                        13 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire
                        86400 ; ttk
                        )


@       IN      NS      mail.rhuina.com.

1       IN      PTR     localhost.


localhost.zone:


$TTL 86400
@       IN      SOA     localhost. (
                        11 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire
                        86400 ; ttl
                        )

@       IN      A       127.0.0.1


rhuina.com.zone:


$TTL 86400
@       IN      SOA     mail.rhuina.com.  root.mail.rhuina.com. (
                        17 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire
                        86400 ; ttl
                        )


        IN      NS      mail.rhuina.com.

@       IN      MX      1       mail.rhuina.com.

www     IN      A       192.168.1.101
mail    IN      A       192.168.1.101
@       IN      A       192.168.1.101


Further, on the DNS front:

[root@mail named]# nslookup -silent
> set type=any
> rhuina.com
Server:         192.168.1.101
Address:        192.168.1.101#53

Name:   rhuina.com
Address: 192.168.1.101
rhuina.com
        origin = mail.rhuina.com
        mail addr = root.mail.rhuina.com
        serial = 17
        refresh = 28800
        retry = 7200
        expire = 604800
        minimum = 86400
rhuina.com      nameserver = mail.rhuina.com.
rhuina.com      mail exchanger = 1 mail.rhuina.com.


and

[root@mail named]# host mail
mail.rhuina.com has address 192.168.1.101



HOWEVER, when I mail to root or any other user either using a FQPN or just root, the mail loops and never gets delivered.

[root@mail mail]# cat access
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost...
Connect:127.0.0.1 RELAY
Connect:192.168.0 RELAY


[root@mail mail]# cat local-host-names
# local-host-names - include all aliases for your machine here.
mail.rhuina.com
rhuina.com
www.rhuina.com
localhost
localhost.localdomain



and the sendmail.mc file:
divert(-1)dnl
dnl #
dnl # This is the sendmail macro config file for m4. If you make changes to
dnl # /etc/mail/sendmail.mc, you will need to regenerate the
dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is
dnl # installed and then performing a
dnl #
dnl #     make -C /etc/mail
dnl #
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
dnl #
dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
dnl define(`SMART_HOST',`smtp.your.provider')
dnl #
define(`confDEF_USER_ID',``8:12'')dnl
define(`confTRUSTED_USER', `smmsp')dnl
dnl define(`confAUTO_REBUILD')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
dnl # mjk define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
dnl define(`STATUS_FILE', `/etc/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confMAX_HOP', `3')dnl
dnl #
dnl # The following allows relaying if the user authenticates, and disallows
dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links
dnl #
dnl define(`confAUTH_OPTIONS', `A p')dnl
dnl #
dnl # PLAIN is the preferred plaintext authentication method and used by
dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do
dnl # use LOGIN. Other mechanisms should be used if the connection is not
dnl # guaranteed secure.
dnl #
dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLA
IN')dnl
dnl #
dnl # Rudimentary information on creating certificates for sendmail TLS:
dnl #     make -C /usr/share/ssl/certs usage
dnl #
dnl define(`confCACERT_PATH',`/usr/share/ssl/certs')
dnl define(`confCACERT',`/usr/share/ssl/certs/ca-bundle.crt')
dnl define(`confSERVER_CERT',`/usr/share/ssl/certs/sendmail.pem')
dnl define(`confSERVER_KEY',`/usr/share/ssl/certs/sendmail.pem')
dnl #
dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's
dnl # slapd, which requires the file to be readble by group ldap
dnl #
dnl define(`confDONT_BLAME_SENDMAIL',`groupreadablekeyfile')dnl
dnl #
dnl define(`confTO_QUEUEWARN', `4h')dnl
dnl define(`confTO_QUEUERETURN', `5d')dnl
dnl define(`confQUEUE_LA', `12')dnl
dnl define(`confREFUSE_LA', `18')dnl
define(`confTO_IDENT', `0')dnl
dnl FEATURE(delay_checks)dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
dnl #
dnl # The -t option will retry delivery if e.g. the user runs over his quota.
dnl #
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
dnl #
dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
dnl # mjk DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
dnl #
dnl # The following causes sendmail to additionally listen to port 587 for
dnl # mail from MUAs that authenticate. Roaming users who can't reach their
dnl # preferred sendmail daemon due to port 25 being blocked or redirected find
dnl # this useful.
dnl #
dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
dnl #
dnl # The following causes sendmail to additionally listen to port 465, but
dnl # starting immediately in TLS mode upon connecting. Port 25 or 587 followed
dnl # by STARTTLS is preferred, but roaming clients using Outlook Express can't
dnl # do STARTTLS on ports other than 25. Mozilla Mail can ONLY use STARTTLS
dnl # and doesn't support the deprecated smtps; Evolution <1.1.1 uses smtps
dnl # when SSL is enabled-- STARTTLS support is available in version 1.1.1.
dnl #
dnl # For this to work your OpenSSL certificates must be configured.
dnl #
dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl
dnl #
dnl # The following causes sendmail to additionally listen on the IPv6 loopback
dnl # device. Remove the loopback address restriction listen to the network.
dnl #
dnl # NOTE: binding both IPv4 and IPv6 daemon to the same port requires
dnl #       a kernel patch
dnl #
dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')dnl
dnl #
dnl # We strongly recommend not accepting unresolvable domains if you want to
dnl # protect yourself from spam. However, the laptop and users on computers
dnl # that do not have 24x7 DNS do need this.
dnl #
dnl # mjk FEATURE(`accept_unresolvable_domains')dnl
dnl #
dnl FEATURE(`relay_based_on_MX')dnl
dnl #
dnl # Also accept email sent to "localhost.localdomain" as local email.
dnl #
LOCAL_DOMAIN(`localhost')dnl
dnl # mjk LOCAL_DOMAIN(`localhost.localdomain')dnl
LOCAL_DOMAIN(`rhuina.com')dnl
dnl # mjk LOCAL_DOMAIN(`rhuina.com')dnl
dnl #
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com
dnl #
dnl MASQUERADE_AS(`mydomain.com')dnl
dnl #
dnl # masquerade not just the headers, but the envelope as well
dnl #
dnl FEATURE(masquerade_envelope)dnl
dnl #
dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well
dnl #
dnl FEATURE(masquerade_entire_domain)dnl
dnl #
dnl # MASQUERADE_DOMAIN(localhost)dnl
dnl # MASQUERADE_DOMAIN(localhost.localdomain)dnl
dnl MASQUERADE_DOMAIN(mydomainalias.com)dnl
dnl MASQUERADE_DOMAIN(mydomain.lan)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl

Sendmail debug indicates:
03473 >>> 220 mail.rhuina.COM ESMTP Sendmail 8.12.8/8.12.8/Submit; Tue, 10 Jun 2
003 11:25:28 -0400
03473 <<< EHLO mail.rhuina.COM
03473 >>> 250-mail.rhuina.COM Hello mail.rhuina.COM [192.168.1.101], pleased to
meet you
03473 >>> 250-ENHANCEDSTATUSCODES
03473 >>> 250-PIPELINING
03473 >>> 250-8BITMIME
03473 >>> 250-SIZE
03473 >>> 250-DSN
03473 >>> 250-DELIVERBY
03473 >>> 250 HELP
03473 <<< MAIL From:> SIZE=24
03473 >>> 250 2.1.0 ... Sender ok
03473 <<< RCPT To:
03473 >>> 250 2.1.5 ... Recipient ok
03473 <<< DATA
03473 >>> 354 Enter mail, end with "." on a line by itself
03473 <<< Received: (from root@localhost)
03473 <<<       by mail.rhuina.COM (8.12.8/8.12.8/Submit) id h5AFPSHp003471
03473 <<<       for root; Tue, 10 Jun 2003 11:25:28 -0400
03473 <<< Date: Tue, 10 Jun 2003 11:25:28 -0400
03473 <<< From: root
03473 <<< Message-Id: <200306101525.h5AFPSHp0034[email protected]uina.COM>

03473 <<< To: [email protected]
03473 <<< Subject: test
03473 <<<
03473 <<< .
03473 === CONNECT mail.rhuina.com.
03473 <<< Version 8.12.8
03473 <<<  Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
03473 <<<               MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET N
ETINET6
03473 <<<               NETUNIX NEWDB NIS PIPELINING SASL SCANF STARTTLS TCPWRAP
PERS
03473 <<<               USERDB USE_LDAP_INIT
03473 <<< getla(): 0.00
03473 <<< drop_privileges(1): Real[UG]id=0:0, get[ug]id=0:0, gete[ug]id=0:51, Ru
nAs[UG]id=0:0
03473 <<< setoption SevenBitInput (7)=False
03473 <<< setoption AliasWait (a)=10
03473 <<< setoption MinFreeBlocks (b)=100
03473 <<< setoption BlankSub (B)=.
03473 <<< setoption HoldExpensive (c)=False
03473 <<< setoption DeliveryMode (d)=i
03473 <<< setoption QueueFileMode (0xbe)=0660
03473 <<< setoption TempFileMode (F)=0600
03473 <<< setoption HelpFile (H)=/etc/mail/helpfile
03473 <<< setoption SendMimeErrors (j)=True
03473 <<< setoption ForwardPath (J)=
03473 <<< setoption ConnectionCacheSize (k)=2
03473 <<< setoption ConnectionCacheTimeout (K)=5m
03473 <<< setoption UseErrorsTo (l)=False
03473 <<< setoption LogLevel (L)=9
03473 <<< setoption CheckAliases (n)=False
03473 <<< setoption OldStyleHeaders (o)=True
03473 <<< setoption DaemonPortOptions (O)=Name=NoMTA, Addr=127.0.0.1, M=E
03473 <<< Daemon NoMTA flags:
03473 <<< setoption UseMSP (0xcc)=True
03473 <<< setoption PrivacyOptions (p)=goaway,noetrn,restrictqrun
03473 <<< setoption QueueDirectory (Q)=/var/spool/clientmqueue
03473 <<< setoption Timeout (r).queuereturn=5d
03473 <<< setoption Timeout (r).queuewarn=4h
03473 <<< setoption SuperSafe (s)=True
03473 <<< setoption StatusFile (S)=/var/spool/clientmqueue/sm-client.st
03473 <<< setoption TimeZoneSpec (t)=
03473 <<< setoption SmtpGreetingMessage (0x90)=$j Sendmail $v/$Z; $b
03473 <<< setoption UnixFromLine (0x91)=From $g $d
03473 <<< setoption OperatorChars (0x92)=.:%@!^/[]+
03473 <<< setoption DontInitGroups (0x93)=True
03473 <<< setoption RunAsUser (0x9d)=smmsp
03473 <<< setoption DontProbeInterfaces (0xa1)=True

03473 <<< setoption TrustedUser (0xa7)=smmsp
03473 <<< setoption PidFile (0x9f)=/var/run/sm-client.pid
03473 <<< drop_privileges(0): Real[UG]id=0:0, get[ug]id=0:0, gete[ug]id=0:0, Run
As[UG]id=51:51
03473 <<< getauthinfo: mail.rhuina.COM [192.168.1.101]
03473 <<<
03473 <<< ============ SYSTEM IDENTITY (after readcf) ============
03473 <<<       (short domain name) $w = mail
03473 <<<   (canonical domain name) $j = mail.rhuina.COM
03473 <<<          (subdomain name) $m = rhuina.COM
03473 <<<               (node name) $k = mail
03473 <<< ========================================================
03473 <<<
03473 <<< assign_queueid: assigned id h5AFPSaT003475, e=0x80e9ac0
03475 >>> 220 mail.rhuina.COM ESMTP Sendmail 8.12.8/8.12.8/Submit; Tue, 10 Jun 2
003 11:25:28 -0400
03473 <<< getla(): 0.00
03473 <<< getla(): 0.00
03473 <<< 220 mail.rhuina.COM ESMTP Sendmail 8.12.8/8.12.8/Submit; Tue, 10 Jun 2
003 11:25:28 -0400
03473 >>> EHLO mail.rhuina.COM
03475 <<< EHLO mail.rhuina.COM
03475 >>> 250-mail.rhuina.COM Hello mail.rhuina.COM [192.168.1.101], pleased to
meet you

03475 >>> 250-ENHANCEDSTATUSCODES
03475 >>> 250-PIPELINING
03475 >>> 250-8BITMIME
03475 >>> 250-SIZE
03475 >>> 250-DSN
03475 >>> 250-DELIVERBY
03475 >>> 250 HELP
03473 <<< 250-mail.rhuina.COM Hello mail.rhuina.COM [192.168.1.101], pleased to
meet you
03473 <<< 250-ENHANCEDSTATUSCODES
03473 <<< 250-PIPELINING
03473 <<< 250-8BITMIME
03473 <<< 250-SIZE
03473 <<< 250-DSN
03473 <<< 250-DELIVERBY
03473 <<< 250 HELP
03473 >>> MAIL From:> SIZE=306
03475 <<< MAIL From:> SIZE=306
03475 >>> 250 2.1.0 ... Sender ok
03473 <<< setsender(a.COM> SIZE=306)
03473 <<<
03473 <<< --parseaddr(ina.COM> SIZE=306)
03473 <<< rewrite: ruleset canonify           input: < root @ mail . rhuina . COM >
03473 <<< rewrite: ruleset Canonify2          input: root < @ mail . rhuina . CO
M >
03473 <<< map_lookup(host, mail.rhuina.COM) => host_map_lookup(mail.rhuina.COM)
=> map_rewrite(mail.rhuina.COM), av =
03473 <<<       mail.rhuina.COM
03473 <<< map_rewrite => mail.rhuina.COM.
03473 <<< FOUND mail.rhuina.COM
03473 <<< mail.rhuina.COM. (0)
03473 <<< rewrite: ruleset Canonify2        returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset canonify         returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset parse              input: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset Parse0             input: root < @ mail . rhuina . CO
M . >
03473 <<< map_lookup(dequote, root) => NOT FOUND (0)
03473 <<< rewrite: ruleset Parse0           returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset Parse1             input: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset Parse1           returns: $# local $: root
03473 <<< rewrite: ruleset parse            returns: $# local $: root
03473 <<< rewrite: ruleset 2                  input: root
03473 <<< rewrite: ruleset 2                returns: root
03473 <<< rewrite: ruleset EnvToL             input: root
03473 <<< rewrite: ruleset EnvToL           returns: root
03473 <<< rewrite: ruleset final              input: root
03473 <<< rewrite: ruleset final            returns: root
03473 <<< parseaddr-->0x80e9ad0=[email protected]ina.COM>:
03473 <<<       mailer 3 (local), host `'
03473 <<<       user `root', ruser `'
03473 <<<       state=OK, next=0x0, alias 0x0, uid 0, gid 0
03473 <<<       flags=180PINGONDELAY>
03473 <<<       owner=(none), home="(none)", fullname="(none)"
03473 <<<       orcpt="(none)", statmta=(none), status=(none)
03473 <<<       finalrcpt="(none)"
03473 <<<       rstatus="(none)"
03473 <<<       statdate=(none)
03473 <<< rewrite: ruleset canonify           input: < root @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset Canonify2          input: root < @ mail . rhuina . CO
M >
03473 <<< map_lookup(host, mail.rhuina.COM) => host_map_lookup(mail.rhuina.COM)
=> CACHE mail.rhuina.COM
03473 <<< map_rewrite(mail.rhuina.COM), av =
03473 <<<       mail.rhuina.COM
03473 <<< map_rewrite => mail.rhuina.COM.
03473 <<< mail.rhuina.COM. (0)
03473 <<< rewrite: ruleset Canonify2        returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset canonify         returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset 1                  input: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset 1                returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset final              input: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset final            returns: root @ mail . rhuina . COM
03473 <<< MAIL: got arg SIZE="306"
03473 <<< rewrite: ruleset check_mail         input: < root @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset Basic_check_mail   input: < root @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset tls_client         input: $| MAIL
03473 <<< rewrite: ruleset TLS_connection     input:
03473 <<< rewrite: ruleset TLS_connection   returns:
03473 <<< rewrite: ruleset tls_client       returns:
03473 <<< rewrite: ruleset CanonAddr          input: < root @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset canonify           input: < root @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset Canonify2          input: root < @ mail . rhuina . CO
M >
03473 <<< map_lookup(host, mail.rhuina.COM) => host_map_lookup(mail.rhuina.COM)
=> CACHE mail.rhuina.COM
03473 <<< map_rewrite(mail.rhuina.COM), av =
03473 <<<       mail.rhuina.COM
03473 <<< map_rewrite => mail.rhuina.COM.
03473 <<< mail.rhuina.COM. (0)
03473 <<< rewrite: ruleset Canonify2        returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset canonify         returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset Parse0             input: root < @ mail . rhuina . CO
M . >
03473 <<< map_lookup(dequote, root) => NOT FOUND (0)
03473 <<< rewrite: ruleset Parse0           returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset CanonAddr        returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset Basic_check_mail returns: < OKR >
03473 <<< rewrite: ruleset check_mail       returns: < OKR >
03473 <<< 250 2.1.0 ... Sender ok
03473 >>> RCPT To:
03473 >>> DATA
03475 <<< RCPT To:
03475 >>> 250 2.1.5 ... Recipient ok
03475 <<< DATA
03475 >>> 354 Enter mail, end with "." on a line by itself
03473 <<<
03473 <<< --parseaddr(ina.COM>)
03473 <<< rewrite: ruleset canonify           input: < root @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset Canonify2          input: root < @ mail . rhuina . CO
M >
03473 <<< map_lookup(host, mail.rhuina.COM) => host_map_lookup(mail.rhuina.COM)
=> CACHE mail.rhuina.COM
03473 <<< map_rewrite(mail.rhuina.COM), av =
03473 <<<       mail.rhuina.COM
03473 <<< map_rewrite => mail.rhuina.COM.
03473 <<< mail.rhuina.COM. (0)
03473 <<< rewrite: ruleset Canonify2        returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset canonify         returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset parse              input: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset Parse0             input: root < @ mail . rhuina . CO
M . >
03473 <<< map_lookup(dequote, root) => NOT FOUND (0)
03473 <<< rewrite: ruleset Parse0           returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset Parse1             input: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset Parse1           returns: $# local $: root
03473 <<< rewrite: ruleset parse            returns: $# local $: root
03473 <<< rewrite: ruleset 2                  input: root
03473 <<< rewrite: ruleset 2                returns: root
03473 <<< rewrite: ruleset EnvToL             input: root
03473 <<< rewrite: ruleset EnvToL           returns: root
03473 <<< rewrite: ruleset final              input: root
03473 <<< rewrite: ruleset final            returns: root
03473 <<< parseaddr-->0x81316ac=[email protected]ina.COM>:
03473 <<<       mailer 3 (local), host `'
03473 <<<       user `root', ruser `'
03473 <<<       state=OK, next=0x0, alias 0x0, uid 0, gid 0
03473 <<<       flags=180PINGONDELAY>
03473 <<<       owner=(none), home="(none)", fullname="(none)"
03473 <<<       orcpt="(none)", statmta=(none), status=(none)
03473 <<<       finalrcpt="(none)"
03473 <<<       rstatus="(none)"
03473 <<<       statdate=(none)
03473 <<< rewrite: ruleset check_rcpt         input: < root @ mail . rhuina . CO
M . >
03473 <<< map_lookup(dequote, root) => NOT FOUND (0)
03473 <<< rewrite: ruleset Parse0           returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset CanonAddr        returns: root < @ mail . rhuina . CO
M . >
03473 <<< map_lookup(dequote, root) => NOT FOUND (0)
03473 <<< rewrite: ruleset ParseRecipient   returns: root < @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset Rcpt_ok          returns: RELAY
03473 <<< rewrite: ruleset Basic_check_rcpt returns: RELAY
03473 <<< rewrite: ruleset check_rcpt       returns: RELAY
03473 <<<
03473 <<< recipient (0): 0x81316ac=a.COM>:
03473 <<<       mailer 3 (local), host `'
03473 <<<       user `root', ruser `'
03473 <<<       state=OK, next=0x0, alias 0x0, uid 0, gid 0
03473 <<<       flags=182FAILURE,QPINGONDELAY>
03473 <<<       owner=(none), home="(none)", fullname="(none)"
03473 <<<       orcpt="(none)", statmta=(none), status=(none)
03473 <<<       finalrcpt="(none)"
03473 <<<       rstatus="(none)"
03473 <<<       statdate=(none)
03473 <<< maplocaluser: 0x81316ac=a.COM>:
03473 <<<       mailer 3 (local), host `'
03473 <<<       user `root', ruser `'
03473 <<<       state=OK, next=0x0, alias 0x0, uid 0, gid 0
03473 <<<       flags=182FAILURE,QPINGONDELAY>
03473 <<<       owner=(none), home="(none)", fullname="(none)"
03473 <<<       orcpt="(none)", statmta=(none), status=(none)
03473 <<<       finalrcpt="RFC822; [email protected]"
03473 <<<       rstatus="(none)"
03473 <<<       statdate=(none)
03473 <<< rewrite: ruleset localaddr          input: root
03473 <<< rewrite: ruleset Local_localaddr    input: root
03473 <<< rewrite: ruleset ParseRecipient     input: root
03473 <<< rewrite: ruleset CanonAddr          input: root
03473 <<< rewrite: ruleset canonify           input: root
03473 <<< rewrite: ruleset Canonify2          input: root
03473 <<< rewrite: ruleset Canonify2        returns: root
03473 <<< rewrite: ruleset canonify         returns: root
03473 <<< rewrite: ruleset Parse0             input: root
03473 <<< map_lookup(dequote, root) => NOT FOUND (0)
03473 <<< rewrite: ruleset Parse0           returns: root
03473 <<< rewrite: ruleset CanonAddr        returns: root
03473 <<< rewrite: ruleset ParseRecipient   returns: root
03473 <<< rewrite: ruleset Local_localaddr  returns: $# relay $@ mail . rhuina .
 com $: root < @ mail . rhuina . COM >
03473 <<< rewrite: ruleset localaddr        returns: $# relay $@ mail . rhuina .
 com $: root < @ mail . rhuina . COM >
03473 <<< rewrite: ruleset 2                  input: root < @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset 2                returns: root < @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset MasqSMTP           input: root < @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset MasqSMTP         returns: root < @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset final              input: root < @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset final            returns: root @ mail . rhuina . COM
03473 <<<
03473 <<< recipient (1): 0x813178c=a.COM>:
03473 <<<       mailer 8 (relay), host `mail.rhuina.com'
03473 <<<       user `[email protected]', ruser `'
03473 <<<       state=OK, next=0x0, alias 0x81316ac, uid 0, gid 0
03473 <<<       flags=182FAILURE,QPINGONDELAY>
03473 <<<       owner=(none), home="(none)", fullname="(none)"
03473 <<<       orcpt="(none)", statmta=(none), status=(none)
03473 <<<       finalrcpt="RFC822; [email protected]"
03473 <<<       rstatus="(none)"
03473 <<<       statdate=(none)
03473 <<< getla(): 0.00
03473 <<< 250 2.1.5 ... Recipient ok
03473 <<< 354 Enter mail, end with "." on a line by itself
03473 >>> Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
03473 >>>       by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPSdV
003473
03473 >>>       for ; Tue, 10 Jun 2003 11:25:28 -0400
03473 >>> Received: (from root@localhost)
03473 >>>       by mail.rhuina.COM (8.12.8/8.12.8/Submit) id h5AFPSHp003471
03473 >>>       for root; Tue, 10 Jun 2003 11:25:28 -0400
03473 >>> Date: Tue, 10 Jun 2003 11:25:28 -0400
03473 >>> From: root
03473 >>> Message-Id: <200306101525.h5AFPSHp0034[email protected]uina.COM>
03473 >>> To: [email protected]
03473 >>> Subject: test
03473 >>>
03473 >>> .
03475 <<< Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
03475 <<<       by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPSdV
003473
03475 <<<       for ; Tue, 10 Jun 2003 11:25:28 -0400
03475 <<< Received: (from root@localhost)
03475 <<<       by mail.rhuina.COM (8.12.8/8.12.8/Submit) id h5AFPSHp003471
03475 <<<       for root; Tue, 10 Jun 2003 11:25:28 -0400
03475 <<< Date: Tue, 10 Jun 2003 11:25:28 -0400
03475 <<< From: root
03475 <<< Message-Id: <200306101525.h5AFPSHp0034[email protected]uina.COM>
03475 <<< To: [email protected]
03475 <<< Subject: test
03475 <<<
03475 <<< .
03473 <<< EOH
03473 <<< ----- collected header -----
03475 === CONNECT mail.rhuina.com.
03473 <<< Return-Path: <$g>
03473 <<< Received: ($?sfrom $s $.$?_($?s$|from $.$_)\n\t$.$?{auth_type}(authent
icated$?{auth_ssf} bits=${auth_ssf}$.)\n\t$.by $j ($v/$Z)$?r with $r$. id $i$?{t
ls_version}\n\t(version=${tls_version} cipher=${cipher} bits=${cipher_bits} veri
fy=${verify})$.$?u\n\tfor $u; $|;\n\t$.$b) from mail.rhuina.COM (mail.rhuina.COM
 [192.168.1.101])\n\tby mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5A
FPSaT003475\n\tfor ; Tue, 10 Jun 2003 11:25:28 -0400
03473 <<< Resent-Date: ($a) Tue, 10 Jun 2003 11:25:28 -0400
03473 <<< Date:
03473 <<< Resent-From: ($?x$x <$g>$|$g$.) crackaddr(root )
03473 <<< crackaddr=>`root <$g>'
03473 <<< root
03473 <<< From:
03473 <<< Full-Name: ($x) root
03473 <<< Resent-Message-Id: (<$t.$i@$j>) <200306101525.h5AFPSaT0034[email protected]ui
na.COM>
03473 <<< Message-Id:
03473 <<< Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])\n\tby
 mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPSdV003473\n\tfor [email protected]>; Tue, 10 Jun 2003 11:25:28 -0400
03473 <<< Received: (from root@localhost)\n\tby mail.rhuina.COM (8.12.8/8.12.8/S
ubmit) id h5AFPSHp003471\n\tfor root; Tue, 10 Jun 2003 11:25:28 -0400
03473 <<< Date: Tue, 10 Jun 2003 11:25:28 -0400
03473 <<< From: root
03473 <<< Message-Id: <200306101525.h5AFPSHp0034[email protected]uina.COM>
03473 <<< To: [email protected]
03473 <<< Subject: test
03473 <<< ----------------------------
03473 <<<
03473 <<< ===== SENDALL: mode i, id h5AFPSaT003475, e_from 0x80e9ad0=rhuina.COM>:
03473 <<<       mailer 3 (local), host `'
03473 <<<       user `root', ruser `'
03473 <<<       state=SENDER, next=0x0, alias 0x0, uid 0, gid 0
03473 <<<       flags=181FAILURE,QPINGONDELAY>
03473 <<<       owner=(none), home="/root", fullname="(none)"
03473 <<<       orcpt="(none)", statmta=(none), status=(none)
03473 <<<       finalrcpt="(none)"
03473 <<<       rstatus="(none)"
03473 <<<       statdate=(none)
03473 <<<       e_flags = 4204040AS_DF,SPLIT>
03473 <<< sendqueue:
03473 <<< 0x81316ac=a.COM>:
03473 <<<       mailer 3 (local), host `'
03473 <<<       user `root', ruser `'
03473 <<<       state=REPLACED, next=0x813178c, alias 0x0, uid 0, gid 0
03473 <<<       flags=80000182INGONFAILURE,QPINGONDELAY,QRCPTOK>
03473 <<<       owner=(none), home="(none)", fullname="(none)"
03473 <<<       orcpt="(none)", statmta=(none), status=(none)
03473 <<<       finalrcpt="RFC822; [email protected]"
03473 <<<       rstatus="(none)"
03473 <<<       statdate=(none)
03473 <<< 0x813178c=a.COM>:
03473 <<<       mailer 8 (relay), host `mail.rhuina.com'
03473 <<<       user `[email protected]', ruser `'
03473 <<<       state=OK, next=0x0, alias 0x81316ac, uid 0, gid 0
03473 <<<       flags=80000182INGONFAILURE,QPINGONDELAY,QRCPTOK>
03473 <<<       owner=(none), home="(none)", fullname="(none)"
03473 <<<       orcpt="(none)", statmta=(none), status=(none)
03473 <<<       finalrcpt="RFC822; [email protected]"
03473 <<<       rstatus="(none)"
03473 <<<       statdate=(none)
03473 <<<
03473 <<< >>>>> queueing /var/spool/clientmqueue/./qfh5AFPSaT003475 >>>>>
03473 <<< queueing 0x813178c=a.COM>:
03473 <<<       mailer 8 (relay), host `mail.rhuina.com'
03473 <<<       user `[email protected]', ruser `'
03473 <<<       state=OK, next=0x0, alias 0x81316ac, uid 0, gid 0
03473 <<<       flags=80000182INGONFAILURE,QPINGONDELAY,QRCPTOK>
03473 <<<       owner=(none), home="(none)", fullname="(none)"
03473 <<<       orcpt="(none)", statmta=(none), status=(none)
03473 <<<       finalrcpt="RFC822; [email protected]"
03473 <<<       rstatus="(none)"
03473 <<<       statdate=(none)
03473 <<< remotename(root )
03473 <<< remotename([email protected]a.COM)
03473 <<< <<<<< done queueing h5AFPSaT003475 <<<<<
03473 <<<
03473 <<<
03473 <<< --deliver, id=h5AFPSaT003475, mailer=relay, host=`mail.rhuina.com', fi
rst user=`[email protected]'
03473 <<< remotename(na.COM>)
03473 <<< rewrite: ruleset canonify           input: < root @ mail . rhuina . CO
M >
03473 <<< rewrite: ruleset Canonify2          input: root < @ mail . rhuina . CO
M >
03473 <<< map_lookup(host, mail.rhuina.COM) => host_map_lookup(mail.rhuina.COM)
=> CACHE mail.rhuina.COM
03473 <<< map_rewrite(mail.rhuina.COM), av =
03473 <<<       mail.rhuina.COM
03473 <<< map_rewrite => mail.rhuina.COM.
03473 <<< mail.rhuina.COM. (0)
03473 <<< rewrite: ruleset Canonify2        returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset canonify         returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset 1                  input: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset 1                returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset EnvFromSMTP        input: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset PseudoToReal       input: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset PseudoToReal     returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset MasqSMTP           input: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset MasqSMTP         returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset MasqEnv            input: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset MasqEnv          returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset EnvFromSMTP      returns: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset final              input: root < @ mail . rhuina . CO
M . >
03473 <<< rewrite: ruleset final            returns: root @ mail . rhuina . COM
03473 <<< remotename => `[email protected]'
03473 <<< getmxrr: res_search(mail.rhuina.com) failed (errno=0, h_errno=4)
03473 <<< hostsignature(mail.rhuina.com) = mail.rhuina.com.
03473 <<<
03473 <<< send to 0x813178c=a.COM>:
03473 <<<       mailer 8 (relay), host `mail.rhuina.com'
03473 <<<       user `[email protected]', ruser `'
03473 <<<       state=OK, next=0x0, alias 0x81316ac, uid 0, gid 0
03473 <<<       flags=80000182INGONFAILURE,QPINGONDELAY,QRCPTOK>
03473 <<<       owner=(none), home="(none)", fullname="(none)"
03473 <<<       orcpt="(none)", statmta=(none), status=(none)
03473 <<<       finalrcpt="RFC822; [email protected]"
03473 <<<       rstatus="(none)"
03473 <<<       statdate=(none)
03473 <<< checkcompat(to=rhuina.COM>, from=>)
03473 <<< openmailer: TCP mail.rhuina.com
03473 <<< makeconnection (mail.rhuina.com. [192.168.1.101].25 (2))
03473 <<< makeconnection: fd=7
03473 <<< smtpinit MCI@0x812fc94: flags=4,
03473 <<<       errno=0, herrno=0, exitstat=0, state=1, pid=0,
03473 <<<       maxsize=0, phase=initial connection, mailer=relay,
03473 <<<       status=(null), rstatus=(null),
03473 <<<       host=mail.rhuina.com., lastuse=Tue Jun 10 11:25:28 2003
03473 <<<
03473 <<< reply
03475 <<< Version 8.12.8
03475 <<<  Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
03475 <<<               MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET N
ETINET6
03475 <<<               NETUNIX NEWDB NIS PIPELINING SASL SCANF STARTTLS TCPWRAP
PERS
03475 <<<               USERDB USE_LDAP_INIT
03475 <<< getla(): 0.00
03475 <<< drop_privileges(1): Real[UG]id=0:0, get[ug]id=0:0, gete[ug]id=0:51, Ru
nAs[UG]id=0:0
03475 <<< setoption SevenBitInput (7)=False
03475 <<< setoption AliasWait (a)=10
03475 <<< setoption MinFreeBlocks (b)=100
03475 <<< setoption BlankSub (B)=.
3475 <<< setoption HoldExpensive (c)=False
3475 <<< setoption DeliveryMode (d)=i
3475 <<< setoption QueueFileMode (0xbe)=0660
3475 <<< setoption TempFileMode (F)=0600
3475 <<< setoption HelpFile (H)=/etc/mail/helpfile
3475 <<< setoption SendMimeErrors (j)=True
3475 <<< setoption ForwardPath (J)=
3475 <<< setoption ConnectionCacheSize (k)=2
3475 <<< setoption ConnectionCacheTimeout (K)=5m
3475 <<< setoption UseErrorsTo (l)=False
3475 <<< setoption LogLevel (L)=9
3475 <<< setoption CheckAliases (n)=False
3475 <<< setoption OldStyleHeaders (o)=True
3475 <<< setoption DaemonPortOptions (O)=Name=NoMTA, Addr=127.0.0.1, M=E
3475 <<< Daemon NoMTA flags:
3475 <<< setoption UseMSP (0xcc)=True
3475 <<< setoption PrivacyOptions (p)=goaway,noetrn,restrictqrun
3475 <<< setoption QueueDirectory (Q)=/var/spool/clientmqueue
3475 <<< setoption Timeout (r).queuereturn=5d
3475 <<< setoption Timeout (r).queuewarn=4h
3475 <<< setoption SuperSafe (s)=True
3475 <<< setoption StatusFile (S)=/var/spool/clientmqueue/sm-client.st
3475 <<< setoption TimeZoneSpec (t)=
3475 <<< setoption SmtpGreetingMessage (0x90)=$j Sendmail $v/$Z; $b


The qf* file contains (as expected):
V6
T1055258735
K0
N0
P35058
Fbs
$_mail.rhuina.COM [192.168.1.101]
$rESMTP
$smail.rhuina.COM
${daemon_flags}c u
S
C:
rRFC822; [email protected]
RPFD:>
H?P?Return-Path: <üg>
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPZ6I003523
        for ; Tue, 10 Jun 2003 11:25:35 -0400
H?x?Full-Name: root
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPZla003521
        for ; Tue, 10 Jun 2003 11:25:35 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPYb2003519
        for ; Tue, 10 Jun 2003 11:25:35 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPYoH003517
        for ; Tue, 10 Jun 2003 11:25:34 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPYct003515
        for ; Tue, 10 Jun 2003 11:25:34 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPXw9003513
        for ; Tue, 10 Jun 2003 11:25:34 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPXnv003511
        for ; Tue, 10 Jun 2003 11:25:33 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPXgb003508
        for ; Tue, 10 Jun 2003 11:25:33 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPWwi003506
        for ; Tue, 10 Jun 2003 11:25:33 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPWW4003504
        for ; Tue, 10 Jun 2003 11:25:32 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPWf1003502
        for ; Tue, 10 Jun 2003 11:25:32 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPWxO003500
        for ; Tue, 10 Jun 2003 11:25:32 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPVRt003498
        for ; Tue, 10 Jun 2003 11:25:31 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPV4t003496
        for ; Tue, 10 Jun 2003 11:25:31 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPVA1003493
        for ; Tue, 10 Jun 2003 11:25:31 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPUSD003491
        for ; Tue, 10 Jun 2003 11:25:31 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPUD7003489
        for ; Tue, 10 Jun 2003 11:25:30 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPUBN003487
        for ; Tue, 10 Jun 2003 11:25:32 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPWf1003502
        for ; Tue, 10 Jun 2003 11:25:32 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPWxO003500
        for ; Tue, 10 Jun 2003 11:25:32 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPVRt003498
        for ; Tue, 10 Jun 2003 11:25:31 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPV4t003496
        for ; Tue, 10 Jun 2003 11:25:31 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPVA1003493
        for ; Tue, 10 Jun 2003 11:25:31 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPUSD003491
        for ; Tue, 10 Jun 2003 11:25:31 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPUD7003489
        for ; Tue, 10 Jun 2003 11:25:30 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPUBN003487
        for ; Tue, 10 Jun 2003 11:25:30 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPUg6003485
        for ; Tue, 10 Jun 2003 11:25:30 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPTWr003483
        for ; Tue, 10 Jun 2003 11:25:29 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPT6F003481
        for ; Tue, 10 Jun 2003 11:25:29 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPTA0003479
        for ; Tue, 10 Jun 2003 11:25:29 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPS0h003477
        for ; Tue, 10 Jun 2003 11:25:29 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPSaT003475
        for ; Tue, 10 Jun 2003 11:25:28 -0400
H??Received: from mail.rhuina.COM (mail.rhuina.COM [192.168.1.101])
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) with ESMTP id h5AFPSdV003473
        for ; Tue, 10 Jun 2003 11:25:28 -0400
H??Received: (from root@localhost)
        by mail.rhuina.COM (8.12.8/8.12.8/Submit) id h5AFPSHp003471
        for root; Tue, 10 Jun 2003 11:25:28 -0400
H??Date: Tue, 10 Jun 2003 11:25:28 -0400
H??From: root
H??Message-Id: <200306101525.h5AFPSHp0034[email protected]uina.COM>
H??To: [email protected]
H??Subject: test
.


Answer : sendmail bouncing local mail

"Since sendmail is started from xinetd, it is not typically running" And that I believe is the problem. While not the recommended method of using sendmail managing it via inetd or xinetd worked okay in 8.11 and earlier. For security reasons the basic method of operation of sendmail changed in 8.12 and there are now two parts. Sendmail is run in two different ways now. One invokation acts as an MTA and accepts connections for inbound mail, the other invokation acts as a MSP (Message Submission Program) and is responsible for transfering locally generated mail into the MTA.

The fix is fairly simple. Delete the xinetd control file for sendmail and restart xinetd. Then re-enable the RedHat sendmail init script (checkconfig sendmail on) and start it up (service sendmail start). There shuld be two "OK"'s displayed and you'll find two different sendmail processes running, like:

wilowisp> ps -ef | grep sendmail | grep -v grep
root           3364     1  0 09:52 ?        00:00:00 sendmail: accepting connections
smmsp     3373     1  0 09:52 ?        00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue

At that point your mail system should be operating normally.
Random Solutions  
 
programming4us programming4us