On Thu, Oct 16, 2008 at 05:18:11PM +0200, mouss wrote:

> > Big thanks, but looks a bit cryptic since I am not very familiar with
> > regexps.
> > 
> > Is there nice way to test this from commandline?
> 
> you can use postmap -q.

    subject=$(printf "Subject: %s\t%s\t%s\t%s" testing 1 2 3)
    postmap -fq "$subject" pcre:/etc/postfix/header_checks.pcre

Note, header checks will apply to all messages transiting the system
in question.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[EMAIL PROTECTED]>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to