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 have Postfix installed on two servers. One of them writes e-mail (satellite) and the other one delivers the e-mails (smarthost). When I write e-mail from the satellite server I'm using the sendmail command.

My problem is that when e-mail arrives the Return-Path is set to the user@hostname where user is the user that is running sendmail and hostname is the servers hostname. If I use the parameter -f with sendmail I change that, but I'm hoping there is a way to do it in a configuration file for Postfix. Is this possible or should I just deal with having to configure all my software to add the -f argument?

Thanks in advanced.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

I ended up just using the -f parameter as much as I didn't want to. If anyone else finds a different solution please let me know.

share|improve this answer

http://www.postfix.org/basic.html#myorigin

share|improve this answer
    
Not effecting the Return-Path. I think I'm going to end up using the -f parameter. –  William Dec 17 '09 at 3:50

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.