Joerg Thuemmler wrote:
Hi,

im using postfix as mta for automatic mail sending out of our db. All db
users a logged in as the same (linux) user, as it's a terminal based
system. So a created mail has usually <db_user>@domain.tld from and
return-path headers. Of course that's not what I want, every db user
should have his own from/return-path. So I let mutt build own headers
(my_hdr From: ... and my_hdr Return-path:...)

Until now I was still on postfix 1.1.11 now changed to 2.5.5.6.7 (SuSEs
11.1. version).

Before this the From: and Return-path: were as I wanted, now I had to
set "use_from" in /etc/postfix/main.cf to "no" for the correct setting
of from and there's no way to prevent "my_hdr Return-path: ..." from
rewriting. Is there a way to reget my old method, some config command or
 other header field to set from which postfix uses the value to set
"Return-path".

I found some articles in the archives, but I didn't find out a solvation
for my problem.



Your question is unclear, so I'll give you some general information.

The Return-path: header cannot be set directly, but is set by controlling the envelope sender address. This really should be set by the sending application, but can be modified by postfix.

Postfix address rewriting controls are described in
http://www.postfix.org/ADDRESS_REWRITING_README.html

For further help, please see:
http://www.postfix.org/DEBUG_README.html#mail


  -- Noel Jones

Reply via email to