On Thu, May 17, 2012 at 01:19:52PM -0400, Wietse Venema wrote:
> Ben Rosengart:
> > I enabled verbose mode in smtpd(8), but I don't know what to look for
> 
> Adding headers is implemented in cleanup(8).

Before or after header_checks?

> Headers will never be
> added when smtpd(8) is followed by a before-queue content filter.
> Perhaps that is your problem?

My problem is partially between my chair and my keyboard.  The milter
*is* adding the header, but a mystery remains.

The milter is in msa-in.

  msa-in/header_checks:
    /^X-MS-Floodstopper:(.*)/   HOLD $1

  msa-out/header_checks:
    # Don't leak this, it's for our use only.
    /^X-MS-Floodstopper:/       IGNORE

Messages aren't held, so I examined them in queue in msa-out and saw no
header -- but of course, that was due to the IGNORE.  My mistake, sorry.
However, I do not understand why the HOLD check doesn't fire.

-- 
  Ben Rosengart           "Like all those possessing a library,
  Sendmail, Inc.           Aurelian was aware that he was guilty of
  +1 718 431 3822          not knowing his in its entirety [...]"
                                      -- Jorge Luis Borges

NOTICE: If received in error, please destroy and notify sender.
Sender does not waive confidentiality or privilege, and use is prohibited.

Reply via email to