Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My understanding from the manuals is that -r sets the return path and -f sets the sender's email address, however I'm finding that they both set both, and whichever one comes latest takes the priority.

Since this binary is actually provided by Exim4, should I assume all bets are off regarding the behavior of classic sendmail?

share|improve this question
up vote 2 down vote accepted

This is what I see from the exim doc,

-r -> This is a documented (for Sendmail) obsolete alternative name for -f.

So, both the arguments are same :)

share|improve this answer
I should have seen that. Thanks! – andyortlieb Jul 20 '11 at 14:39

Yes, you can't compare the behaviour of the two for anything other than the fairly straightforward cases. Either the sendmail behaviour was misdocumented (so it was implemented wrong in Exim), not tested correctly (someone made an incorrect assumption when they implemented it in Exim), or it used to work that way in Sendmail (at some ill-defined point in the past) and it's changed in newer versions of sendmail.

On the other hand, if the Exim sendmail man page says something, and the sendmail compatibility shim provided by Exim acts differently, that's a bug in Exim, and should be reported and dealt with accordingly.

share|improve this answer

Your Answer


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.