Bluehost.com Web Hosting $6.95

Header Checks, examples?

This is a discussion on Header Checks, examples? within the mailing.postfix.users forums, part of the Mail Servers and Related category; Hey guys, I was wondering if I could see some examples of various header check implementations in Postfix. I've ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2005
Michael Nguyen
 
Posts: n/a
Default Header Checks, examples?

Hey guys,

I was wondering if I could see some examples of various header check
implementations in Postfix. I've gone through the READMEs and from what
I've read, I'm not certain if I can do what I need to do in Postfix. Here's
what I need:

- Emails come all come into a server (hopefully a Postfix server)
- If a header is present (x-sa-scanned), do nothing (basically deliver the
email)
- If a header is *not* present (x-sa-scanned, of course) do the following
- Set the header
- Use transport to send it off to another server

So this is what I was thinking:

header_checks = regexp:/etc/postfix/header_checks

!/^x-sa-scanned/ FILTER smtp:[10.1.2.110]:25
!/^x-sa-scanned/ PREPEND X-SA-Scanned: 1\n\r

Unfortunately, it sounds like I can only trigger one of these at a time.
I'd actually like to scan another header (to) so that I could do this for
particular users as I work on this.

What would be the right way to do this?


Michael


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:11 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0