Nigel Kukard escribió: > Antonio J. wrote: > >> Ok, cleanup and reinstall. >> >> At policyd log I get now: (only amavis module enable to debug) >> >> [2009/02/25-12:00:35 - 15810] [CBPOLICYD] NOTICE: Policyd v2 / >> Cluebringer - v2.1.0a >> [2009/02/25-12:00:35 - 15810] [CBPOLICYD] NOTICE: Initializing system >> modules. >> [2009/02/25-12:00:35 - 15810] [CBPOLICYD] NOTICE: System modules >> initialized. >> [2009/02/25-12:00:35 - 15810] [CBPOLICYD] NOTICE: Module load started... >> [2009/02/25-12:00:35 - 15810] [CORE] NOTICE: => AccessControl: disabled >> [2009/02/25-12:00:35 - 15810] [CORE] NOTICE: => Accounting: disabled >> [2009/02/25-12:00:35 - 15810] [CORE] NOTICE: => Amavis: enabled >> [2009/02/25-12:00:35 - 15810] [CORE] NOTICE: => CheckHelo: disabled >> [2009/02/25-12:00:35 - 15810] [CORE] NOTICE: => CheckSPF: disabled >> [2009/02/25-12:00:35 - 15810] [CORE] NOTICE: => Greylisting: disabled >> [2009/02/25-12:00:35 - 15810] [CORE] NOTICE: => Quotas: disabled >> [2009/02/25-12:00:35 - 15810] [CORE] NOTICE: => Protocol(Postfix): enabled >> [2009/02/25-12:00:35 - 15810] [CORE] NOTICE: => Protocol(Bizanga): enabled >> [2009/02/25-12:00:35 - 15810] [CBPOLICYD] NOTICE: Module load done. >> [2009/02/25-12:00:35 - 15810] [CBPOLICYD] NOTICE: Session tracking is >> ENABLED. >> [2009/02/25-12:00:35 - 15810] [CBPOLICYD] DEBUG: Opening syslog. >> [2009/02/25-12:00:35 - 15810] [CBPOLICYD] DEBUG: Syslog open. >> >> But when policyd service is running I get: >> >> [2009/02/25-12:02:01 - 15812] [CBPOLICYD] DEBUG: Got request, running >> modules... >> [2009/02/25-12:02:01 - 15812] [CBPOLICYD] DEBUG: Running module: Access >> Control Plugin >> [2009/02/25-12:02:01 - 15812] [CBPOLICYD] DEBUG: Running module: >> HELO/EHLO Check Plugin >> [2009/02/25-12:02:01 - 15812] [CBPOLICYD] DEBUG: Running module: SPF >> Check Plugin >> [2009/02/25-12:02:01 - 15812] [CBPOLICYD] DEBUG: Running module: >> Greylisting Plugin >> [2009/02/25-12:02:01 - 15812] [CBPOLICYD] DEBUG: Running module: Quotas >> Plugin >> [2009/02/25-12:02:01 - 15812] [CBPOLICYD] DEBUG: Running module: >> Accounting Plugin >> [2009/02/25-12:02:01 - 15812] [CBPOLICYD] DEBUG: Done with modules >> >> I can't see any "Running module: Amavis Plugin". :-( >> >> >> > This is right. The only thing the Amavis plugin does in policyd is > enable tracking of email. > > The Amavis plugin for Amavis is what implements the message scanning. > > As I am very sure you know the Postfix policy delegation protocol does > NOT support sending of the body of the message, so how can it scan it?? > this is done when Amavis is processing the message. >
OK. I'm a little newbie about Amavis working. I'm trying to learn everyday. ;-) > > >> And at maillog, when amavis get a messages it shows: >> >> Feb 25 11:57:57 mail amavis[14878]: (14878-06) (!!)[TRACKING] ERROR: No >> session data >> Feb 25 11:57:57 mail amavis[14878]: (14878-06) >> (!)policyd/process_policy: No session data found >> >> and at outbound messages it shows: >> >> Feb 25 12:02:25 hermes amavis[14879]: (14879-09) >> (!)policyd/process_policy: Failed to parse in queue id from received >> line ' from USER ([XX.XX.XX.XX])\n\tby mail.example.com (Postfix) with >> ESMTPA id 2CC8F84DF45\n\tfor <u...@other_example.com>; Wed, 25 Feb 2009 >> 12:00:24 +0100 (CET)\n' >> >> > As I asked you before, what is ESMTPA ? Authenticated SMTP? Using a > default postfix config I cannot reproduce this. > > The Amavis plugin has a regex which matches the last Postfix Received: > line, it does not understand ESMTPA or where it comes from, if you can > clarify why this is not ESMTP or SMTP I can more than likely fix it. > > -N > I used Postfix 2.5.2. From version 2.5.1, postfix support RFC 3848 headers: ESMTPS, ESMTPA,ESMTPSA. At http://www.rfc-editor.org/rfc/rfc3848.txt you can se that ESMTPA indicates the use of ESMTP when the SMTP AUTH. Thank for your support!. -=AJ=- > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.policyd.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
