You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Sebb (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/01/26 13:39:42 UTC

[jira] [Issue Comment Edited] (INFRA-4365) Improve check_badheaders script

    [ https://issues.apache.org/jira/browse/INFRA-4365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13193421#comment-13193421 ] 

Sebb edited comment on INFRA-4365 at 1/26/12 12:38 PM:
-------------------------------------------------------

Add "A" rating support
Add c-s and c-i matching as per comments
Remove tabs
Tidy indentation

This patch includes the previous patch

N.B.
It assumes that the comments in the badheaders control file are correct, i.e. h = case-insensitive, H = c-s
If applied, the existing entries should perhaps be changed to use H as that is how they have been interpreted until now.
                
      was (Author: sebb@apache.org):
    Add "A" rating support
Add c-s and c-i matching as per comments
Remove tabs
Tidy indentation

This patch includes the previous patch
                  
> Improve check_badheaders script
> -------------------------------
>
>                 Key: INFRA-4365
>                 URL: https://issues.apache.org/jira/browse/INFRA-4365
>             Project: Infrastructure
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: Mail (qmail)
>            Reporter: Sebb
>         Attachments: INFRA-4365_1.patch, INFRA-4365_2.patch
>
>
> The badheaders configuration file [1] says that:
> - "rating" can be "A", to accept all mail
> - "where" can be H or h for case-sensitive and case-insensitive header matching
> However, the script that processes it [2] does not handle the "A" rating, nor does it handle "where" with the value "H".
> Further, the script actually uses case-sensitive matching even though it only processes 'h' lines.
> [1] https://svn.apache.org/repos/infra/infrastructure/trunk/qmail/control/badheaders
> [2] https://svn.apache.org/repos/infra/infrastructure/qpsmtpd/plugins/check_badheaders

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira