4 msgForwards vs aliases ?
4 msgno content-filter for authed users
2 msgpostfix does not flush queued mails
1 msgRe: [dkim-milter-beta] mlfi_negotiate() problem
2 msgnewby Q
14 msgPAM 'smtp' file question
5 msgCyrus SASL2 + Postfix + PAM - part 3
9 msgtransport error?
3 msgCan't figure out if this rejection is coming fr...
8 msgAlias with check_recipient_access: /etc/ppostfi...
2 msgNDR reports
7 msgSender-ID and the Hotmail devil...
2 msgPostifx with IMAP
2 msgPostfix and procmail
4 msgdestination limits - what is 'destination'
1 msgRedirect message based on Conditions
1 msgCyrus SASL2 + Postfix + PAM - part 2
6 msgCyrus SASL2 + Postfix + PAM

header_checks and content_filter documentation ...
\ Stefan Palme (14 Nov 2007)
. \ (Wietse Venema) (14 Nov 2007)
. . \ Stefan Palme (14 Nov 2007)
. . . \ (Wietse Venema) (14 Nov 2007)
. . . . \ Stefan Palme (14 Nov 2007)

2 msgSome problem configuring postfix/procmail with ...
Subject:header_checks and content_filter documentation misunserstanding?
Group:Postfix-users
From:Stefan Palme
Date:14 Nov 2007


 

Hello,

I am using postfix for several years and I am very lucky with it :-)
Just one question regarding the current online documentation: In the
description of "all main.cf parameters" I find the following:

content_filter: ... This setting has a lower precedence than
a content filter that is specified with an access(5) table or
in a header_checks(5) or body_checks(5) table.

I've always thought, that header_checks happens BEFORE queueing a mail,
and content_filter happens AFTER queueing. So in theory, one could
define a header_checks filter that rejects certain mail and lets
others through, while a later content_filter could do more expensive
checks with the mails that came through the header_checks filter.

So actually header_checks and content_filter have no "precedence"
in this sense, because if both are specified, both will be executed
(of course, only if the mail passes the first one).

Am I wrong? I guess I must have misunderstood something...

Thanks and regards
-stefan-


--
-------------------------------------------------------------------
Dipl. Inf. (FH) Stefan Palme

email: kleiner
www: http://hbci4java.kapott.org
http://converter-db.de
icq: 36376278
fax: +49 1212 517956219
mobil: +49 178 3227887

key fingerprint: 1BA7 D217 36A1 534C A5AD F18A E2D1 488A E904 F9EC
-------------------------------------------------------------------



© 2004-2008 readlist.com