Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[deploy-vhost] Allow multiple emails in crontab MAILTO #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sagepe
Copy link
Member

@sagepe sagepe commented Jun 24, 2022

Cron permits a comma-separated list of emails in MAILTO, so we should support this too. The change will warn if none of the addresses are external.

@sagepe sagepe requested a review from dracos June 24, 2022 11:30
Copy link
Member

@dracos dracos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like one typo

bin/deploy-vhost Outdated
} elsif ($result != 0) {
warn "unexpected result code $result from lookup_google_apps_email.sh";
my $found_external;
foreach my $mailto (split(',' $1)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a comma missing here? Even perl isn't this forgiving ;)

@sagepe sagepe requested a review from dracos June 24, 2022 14:43
Cron permits a comma-separated list of emails in MAILTO, so we should
support this too. The change will warn if none of the addresses are
external.
@sagepe sagepe force-pushed the multiple-mails-in-cron branch from 52de00b to de0ccdf Compare June 24, 2022 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants