Hans Ginzel: > On Tue, Aug 25, 2015 at 11:30:07AM +0200, Christian Kivalo wrote: > >Maybe this applies to your problem, from > >http://www.postfix.org/header_checks.5.html > > > > Message headers added by the cleanup(8) daemon itself are > >excluded from inspection. Examples of such message headers are From:, > >To:, Message-ID:, Date:. > > Thank you, Christian! > > But how to influence the way Cleanup is creating the From: header > for a particular user? Not to use the e-mail address > username@hostname.domainname > but a specific one? And not to use the user full name from gecos field from > /etc/passwd. >
Try using smtp_header_checks instead. Wietse