Hi,
I've been digging about the documentation for the better part of today trying to work out how to cause an email that contains a particular header (that only shows up on a particular brand of appliance) to make it through a postscript server, and reject everything else. I thought I could use header_checks for this, but what I've tried so far seems to reject all mail.
Right now I'm trying something along the lines of:
!/^X-Specific-Header.*/ REJECT
And many variations thereof like:
!/^X-Specific-Header .*/ REJECT
!/^X-Specific-Header .*00/ REJECT
But it seems to be rejecting all mail, even when I inject what should be a valid header:
X-Specific-Header: 00:00:00:00:00:00
into the outgoing mail with mutt.
Am I going about this the wrong way?
The logic I'm running is it should be rejecting on the lack of the text in the regular expression, but unfortunately what I've found in the docs doesn't seem to describe an obvious way about this.
Thanks,
-Ben
I've been digging about the documentation for the better part of today trying to work out how to cause an email that contains a particular header (that only shows up on a particular brand of appliance) to make it through a postscript server, and reject everything else. I thought I could use header_checks for this, but what I've tried so far seems to reject all mail.
Right now I'm trying something along the lines of:
!/^X-Specific-Header.*/ REJECT
And many variations thereof like:
!/^X-Specific-Header .*/ REJECT
!/^X-Specific-Header .*00/ REJECT
But it seems to be rejecting all mail, even when I inject what should be a valid header:
X-Specific-Header: 00:00:00:00:00:00
into the outgoing mail with mutt.
Am I going about this the wrong way?
The logic I'm running is it should be rejecting on the lack of the text in the regular expression, but unfortunately what I've found in the docs doesn't seem to describe an obvious way about this.
Thanks,
-Ben