I beleive the following patch to the Solaris sendmail.cf will fix it.
--
Andy Hooper, Queen's University Information Technology Services
*** sendmail.cf.9611 Mon Feb 3 15:54:36 1997
--- sendmail.cf Mon Feb 3 15:54:46 1997
***************
*** 232,238 ****
# (but leave it focused)
S9
R$=w!@ $@$w!$n
! R@ $@$n handle <> error addr
R$*<$*LOCAL>$* $1<$2$m>$3 change local info
R<@$+>$*:$+:$+ <@$1>$2,$3:$4 <route-addr> canonical
--- 232,238 ----
# (but leave it focused)
S9
R$=w!@ $@$w!$n
! R@ $@$n expand <> error addr
R$*<$*LOCAL>$* $1<$2$m>$3 change local info
R<@$+>$*:$+:$+ <@$1>$2,$3:$4 <route-addr> canonical
***************
*** 331,337 ****
# Send mail on the Defense Data Network
# (such as Arpanet or Milnet)
! Mddn, P=[TCP], F=msDFMuCX, S=22, R=22, A=TCP $h, E=\r\n
# map containing the inverse of mail.aliases
# Note that there is a special case mail.byaddr will cause reverse
--- 331,337 ----
# Send mail on the Defense Data Network
# (such as Arpanet or Milnet)
! Mddn, P=[TCP], F=msDFMuCX, S=12, R=22, A=TCP $h, E=\r\n
# map containing the inverse of mail.aliases
# Note that there is a special case mail.byaddr will cause reverse
***************
*** 340,345 ****
--- 340,354 ----
# and uncomment the line after that
DZmail.byaddr
#DZREVERSE.mail_aliases.org_dir
+
+ S12
+ # same as original Sun S22 with addition of special handling for <> substitute
+ R$*<@LOCAL>$* $:$1
+ R$-<@$-> $:$>3${Z$1@$2$} invert aliases
+ R$*<@$+.$*>$* $@$1<@$2.$3>$4 already ok
+ R$+<@$+>$* $@$1<@$2.$m>$3 tack on our domain
+ R@ $@ undo <> substitution
+ R$+ $@$1<@$j> tack on our full name
S22
R$*<@LOCAL>$* $:$1
|