[CentOS] Sendmail and the $h (solved)

Sat Jan 12 18:32:38 UTC 2008
Jason Pyeron <jpyeron at pdinc.us>

I feel dirty after trolling throught the .cf file.

Plussed addresses will not work w/ procmail if there is a typo in the
sendmail.mc



Works:

/etc/mail/sendmaill.mc
  Addr     0 1  2 3  4 5  6 7  8 9  A B  C D  E F 0 2 4 6 8 A C E
--------  ---- ---- ---- ---- ---- ---- ---- ---- ----------------
00000610  ---- ---- --0a 4645 4154 5552 4528 6d61 -----.FEATURE(ma
00000620  7371 7565 7261 6465 5f65 6e76 656c 6f70 squerade_envelop
00000630  6529 0a-- ---- ---- ---- ---- ---- ---- e).-------------


Does not work (note the space before the new line):

/etc/mail/sendmaill.mc.bad
  Addr     0 1  2 3  4 5  6 7  8 9  A B  C D  E F 0 2 4 6 8 A C E
--------  ---- ---- ---- ---- ---- ---- ---- ---- ----------------
00000600  ---- ---- ---- 0a46 4541 5455 5245 286d ------.FEATURE(m
00000610  6173 7175 6572 6164 655f 656e 7665 6c6f asquerade_envelo
00000620  7065 2920 0a-- ---- ---- ---- ---- ---- pe) .-----------

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Sr. Consultant                    10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited.