I should look into doing this with postfix. I am very nervous about
breaking my postfix config; so I'll use procmail to do it until I make
certain I've everything backed up.
I can certainly understand this. I use sendmail, and any time
I have to change something in it's config, I cringe while I make
the change, I hold my breath, and then with closed eyes press
the enter key to make the changes happen.
In truth, it should be relatively easy to whip together a
simple binary in C/C++ that basically just accepts the domain
name as it's argument, and returns a value based on a domain
check. There might already be something available to do this.
In that case, your procmail recipe strips off the domain name
and tests it for legitimacy.
procmail mailing list Procmail homepage: http://www.procmail.org/