Antonio J. wrote:
> Nigel Kukard escribió:
>>>>> 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.
>>>       
>> Could you show me your postfix config?
>>
Try this ....

Index: amavisd-policyd.pm
===================================================================
--- amavisd-policyd.pm    (revision 415)
+++ amavisd-policyd.pm    (working copy)
@@ -140,7 +140,7 @@
    
     # Get message ID
     my $lastReceived = $msginfo->orig_header_fields->{'received'};
-    if (!($lastReceived =~ /with E?SMTP id ([0-9A-Z]+)/)) {
+    if (!($lastReceived =~ /with E?SMTPS?A? id ([0-9A-Z]+)/)) {
         do_log(-1,"policyd/process_policy: Failed to parse in queue id
from received line '$lastReceived'");
         return $pbn;
     }

-N

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to