On Sunday, June 21, 2009 at 08:35 CEST, Stéphane MERLE <stephane.me...@distrigame.com> wrote:
> Terry Carmen a écrit : > > > This should work: > > > > In main.cf: > > header_checks = regexp:/etc/postfix/header_checks > > > > In /etc/postfix/header_checks: > > /^To:....@temporarydeaddomain.com/ HOLD > > Hi, thanks, this worked perfectly as I send only one mail per person > and use only the To field. Don't get into bad habits. You have been warned. Why implement something that's known to be bad when there are equally simple solutions without those drawbacks? > I just forgot to do a postmap on the header_checks file in the first > place :) `regexp' maps aren't meant to be run through postmap(1), and if it didn't work the first time it had nothing to do with you running postmap(1). -- Magnus Bäck mag...@dsek.lth.se