On Fri, Aug 07, 2015 at 01:51:34PM +0200, Vincent Pelletier wrote: > foo.com mangle_from: > > master.cf: > mangle_from unix - - - - - smtpd > -o header_checks=pcre:/etc/postfix/mangle_from.pcre
Don't confuse "smtp" with "smtpd". $ postconf -Mf smtp/unix smtp unix - - n - - smtp replace the first "smtp" with "mangle_from", keep the rest the same (unless you want "chroot"), and add a suitably indented "-o" line. -- Viktor.