Postfix sendmail -f configuration

Posted by William on Server Fault See other posts from Server Fault or by William
Published on 2009-12-17T03:31:16Z Indexed on 2010/03/08 20:08 UTC
Read the original article Hit count: 388

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.

© Server Fault or respective owner

Related posts about postfix

Related posts about sendmail