Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Congratulations for your great site. This site helped me more than university..."

Geography

Where in the world do Tek-Tips members come from?

Trying to use header_checks to only pass email with a specific header.

blongman (IS/IT--Management)
20 Oct 11 19:13
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

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close