infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Stein (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-14566) Add cronjob to send list of .qmail ids to whimsy-vm4
Date Thu, 13 Jul 2017 23:50:00 GMT

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

Greg Stein commented on INFRA-14566:
------------------------------------

Note that we have about a half-dozen availid's that have hyphens in them.

I might also suggest "ls -a1" to ensure you get single-column output.

I would also suggest using a .sh file so that it can be manually run/tweaked/developed at
any point in time, rather than waiting for the cronjob (or a cut/paste to the cmdline). It
would also allow for much more complexity as needed.

And the final bit: the Infrastructure Team cannot think of a problem with this, so its concept
is APPROVED.


> Add cronjob to send list of .qmail ids to whimsy-vm4
> ----------------------------------------------------
>
>                 Key: INFRA-14566
>                 URL: https://issues.apache.org/jira/browse/INFRA-14566
>             Project: Infrastructure
>          Issue Type: Project
>          Components: Identity Management, Mail (qmail)
>            Reporter: Sam Ruby
>
> Add a cronjob to hermes to extract list of taken qmail ids:
> ls -a | sed -n '/^\.qmail-[a-z0-9]*$/ s/.qmail-//p' | ssh whimsy-vm4.apache.org 'cat
> /srv/subscriptions/qmail.ids'
> See https://issues.apache.org/jira/browse/WHIMSY-113 for rationale.
> The resolution of https://issues.apache.org/jira/browse/WHIMSY-114 may affect the actual
regular expression used.  sed doesn't support '+', but a tighter regular expression can be
used, for example: /^[a-z][a-z0-9][a-z0-9][a-z0-9]*$/
> Note: with this JIRA, I'm merely looking for review/approval.  The code is available
for review above, and I can do the deployment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message