|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Test (test
remedial-teacher.nl)
Date: Sat Apr 19 2008 - 15:40:54 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 19 Apr 2008 22:34:02 +0200
mouss <mouss
netoyen.net> wrote:
> Test wrote:
> > Hi Wietse,
> >
> > Hope this is ok ?
> >
> > [root
polco postfix]# postconf header_checks
> > header_checks = regexp:/etc/postfix/header_checks
> > [root
polco postfix]# postmap regexp:header_checks < sample_header.txt
> > postmap: fatal: unsupported map type: regexp
> >
>
> if it's unsupported, how do you want postfix to implement it?
> use 'postconf -m' to see what map types are supported in your postfix.
> if regexp is not supported, don't use it. you can try pcre. if you are
> on a system with dynamic map types, ask the packager how you can enable
> regexp.
postconf -m i already tried, and regexp should be supported.
>
> > [root
polco postfix]# postmap hash:header_checks < sample_header.txt
> >
>
> if these are regular expressions, a hash won't match.
>
> > [root
polco postfix]# tail -5 header_checks
> >
> > /^Received:/ HOLD
> >
>
> so you want to hold all mail?
That is used for MailScanner (hold-que method.)
> > /^X-Mailer:/ IGNORE
> > /^User-Agent:/ IGNORE
> > /^X-Originating-IP:/ IGNORE
> >
> >
> > gr.
> >
> >
>
--
Test <test
remedial-teacher.nl>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]