infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Jira)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-19198) .qmail files should be updated even if there is no LDAP mail attribute
Date Wed, 02 Oct 2019 08:37:00 GMT

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

Sebb commented on INFRA-19198:
------------------------------

There are 77 entries without a mail attribute:

$ ldapsearch -x -LLL -o ldif-wrap=no -b ou=people,dc=apache,dc=org '(!(mail=*))' uid | sed
-ne 's/uid: //p' | wc -l
   77

However, AFAIK they are all for accounts with asfBanned=true or an invalid login shell.

It looks like most of them have .qmail files of the form:

.qmail-<id>
<id>@locus.apache.org

Not quite sure what that is for, but the script should presumably do the same if the mail
attribute goes missing

However there are 3 without .qmail files.
Given that this is rare, it seems to be an error, and the script should create the missing
files.

Note: the ids in question don't have -default files, nor -owner which is normally linked to
-default

> .qmail files should be updated even if there is no LDAP mail attribute
> ----------------------------------------------------------------------
>
>                 Key: INFRA-19198
>                 URL: https://issues.apache.org/jira/browse/INFRA-19198
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Mail (qmail)
>            Reporter: Sebb
>            Priority: Minor
>
> The script generate-dotqmail-availid.py creates qmail files for all availids that have
a mail address in the LDAP record.
> It skips ids that don't have a mail entry, so if the attribute is dropped from LDAP,
the .qmail file won't be updated.
> I think that is wrong.
> Either the qmail files should be removed, or the file should be updated to bounce email
with a suitable message.
> Note: if the file is removed, need to check that nothing assumes that the corresponding
availid is not in use if the file no longer exists.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message