infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Jira)" <>
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


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

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:


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

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

> .qmail files should be updated even if there is no LDAP mail attribute
> ----------------------------------------------------------------------
>                 Key: INFRA-19198
>                 URL:
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Mail (qmail)
>            Reporter: Sebb
>            Priority: Minor
> The script 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

View raw message