Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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