7 msgPostfix 2.2.5 on latest Solaris 9 x86
5 msgPostfix Relay, and Pop-before-smtp
12 msgNewb Question
13 msgBest defense against this?
1 msgundelivered mail problem - SOLVED
4 msgLegal local-part
3 msgvirtual_alias_domains with mysql: 'User unknown...
6 msgSubmission port (587): howto to use differente ...
5 msgWhen does smtpd_reject_unlisted_recipient kick in?
4 msgPostfix 'falling back' on sasldb? I don't want ...
3 msgNested access maps (I think ;))
3 msgSuppression of encoding bad header function in ...
4 msgRE: Catchall ??
3 msgproblem with .forward files + forwarding loops
5 msgPostfix Strange Behaviours

Content filter question, based upon auth'ed or not
\ Gary W. Smith (20 Sep 2007)
. \ Jesse Long (21 Sep 2007)
. . \ Duane Hill (21 Sep 2007)
. . . \ mouss (21 Sep 2007)
. . . . \ Gary W. Smith (23 Sep 2007)
. \ Duane Hill (21 Sep 2007)
. \ Gary W. Smith (21 Sep 2007)

28 msgMail stuck in active queue for loooong time
11 msgHow to stop a user from changing the 'From:' he...
10 msg[Semi-OT] blocked port 465, anywhere?
7 msgchroot problems on Nexenta (OpenSolaris)
Subject:Content filter question, based upon auth'ed or not
Group:Postfix-users
From:Gary W. Smith
Date:20 Sep 2007


 

Hello,

We have a need to implement a specific content filter to extract specific elements of incoming emails. We hook this into the same chain as spamassassin as we need right after scanning for spam. What I would like know if there is a way to determine, within the content filter, if the incoming email was auth'ed or not.

I know we can setup a different chain on a different ip or port but that's beyond my control at this point. My original recommendation was to run split chains, one on port 25 for all incoming, and one on port 587 for all outgoing, but the contract doesn't want this, as they have several end users/apps already configured for port 25. So the only thing I can think of is trying to derive a flag from postfix determining weather it's authed or not.

I was looking at the filter_readme and there is some information on filtering mail fro outside users only, but I need to filter for both, so that really didn't apply.

Any ideas would be greatly appreciated.

Gary








© 2004-2008 readlist.com