Guy wrote:
> Hi guys,
>
> Mar 24 08:58:48 gateway amavis[8421]: (08421-02)
> (!)policyd/process_policy: Failed to parse in queue id from received
> line '5'
>
> I've found a mail thread about this error, but found no actual
> solution. In the thread the guy looking for help, tried enabling an
> amavis module in cluebringer.conf, but there's no Amavis.pm file in
> the cbp/modules directory for cluebringer 2.0.6. I've found no other
> suggestions on what might be giving that error.
>
> I'm running amavisd-new-2.6.1 (20080629) and used the 2.6.1 patch file
> on the amavisd-new file without any errors.
> I've put amavisd-policyd.pm in /etc/amavis/conf.d along with the other
> amavis conf files and with the same permissions as the other conf
> files. The include line was put in the 50-user config file.
>
> Any suggestions on where else I can look for the source of this error?
> I've got greylisting setup and it seems to be working fine regardless
> of the error.
Try the attached patch.
Regards
Nigel
Index: contrib/amavisd-new/amavisd-policyd.pm
===================================================================
--- contrib/amavisd-new/amavisd-policyd.pm (revision 422)
+++ contrib/amavisd-new/amavisd-policyd.pm (revision 423)
@@ -138,7 +138,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;
}
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users