On Wed, Feb 20, 2019 at 12:23 PM Matthew Black <Matthew.Black@csulb.edu> wrote:
> Have you ever created a sendmail.cf without using M4?

I started using sendmail before sendmail started using M4. I'm still using the hand-hacked sendmail.cf I built up over time. I had to muck with the sendmail package on my Linux distro which really strongly wanted to generate sendmail.cf's from the M4 instead of using mine.

I only wish postfix had as good diagnostic tools for analyzing address transform and delivery selection.

[magic:root:/etc/mail:1202] sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> 3,0 bill@herrin.us
3                  input: bill @ herrin . us
6                  input: bill < @ herrin . us >
6                returns: bill < @ herrin . us >
3                returns: bill < @ herrin . us >
0                  input: bill < @ herrin . us >
47                 input: bill < @ herrin . us >
46                 input: bill @ herrin . us . < O > . bill @ herrin . us . < > .
46                 input: bill @ herrin . us . < O > . herrin @ dirtside . com . < > .
46                 input: bill @ herrin . us . < O > . herrin @ magic . dirtside . com . < > .
46               returns: bill @ herrin . us . < O > . herrin @ magic . dirtside . com . < unchd > . < > .
46               returns: bill @ herrin . us . < O > . herrin @ magic . dirtside . com . < unchd > . < > .
46               returns: bill @ herrin . us . < O > . herrin @ magic . dirtside . com . < unchd > . < > .
47               returns: herrin < @ magic . LOCAL >
30                 input: herrin
3                  input: herrin
3                returns: herrin
0                  input: herrin
9                  input: herrin
9                returns: herrin
0                returns: $# local $: herrin
30               returns: $# local $: herrin
0                returns: $# local $: herrin

Regards,
Bill Herrin

--
William Herrin ................ herrin@dirtside.com  bill@herrin.us
Dirtside Systems ......... Web: <http://www.dirtside.com/>