I want sendmail to take all outgoing messages from user32 to be from "John Smith" with email address "jsmith_rocks@hotmail.com". How can I go about that without using the -f and -F sendmail options every time?

link|improve this question

67% accept rate
feedback

1 Answer

If understand you correctly, you can do so by modifying ruleset 0 (or ruleset 1) to rewrite the address:

LOCAL_RULE_0
R$* < @ $=w . > $*       jsmith_rocks < @ hotmail.com . > $3
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.