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

Fix and speed up make_alias_file Sympa command #1046

Closed

Conversation

racke
Copy link
Contributor

@racke racke commented Nov 29, 2020

Currently it breaks when alias_manager is set to Template which is the recommended setting as far as I know. It is also much faster than calling a script for each list.

@racke racke changed the title Fix and speed up make_alias_file Sympa command. Fix and speed up make_alias_file Sympa command Nov 29, 2020
else {
system($alias_manager, 'add', $list->{'name'}, $list->{'domain'},
$sympa_aliases);
}
Copy link
Member

Choose a reason for hiding this comment

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

I realized that --make_alias_file option should be effective only if the value of alias_manager is either "Template" or $SBINDIR/alias_manager.pl, and in both cases Sympa::Aliases::Template may be used.
In the other cases (none, CheckSMTP or arbitrary program) alias files won't be generated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, that makes sense to me. Should I adjust the PR accordingly?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, please. Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

I submitted #1084

ikedas added a commit that referenced this pull request Feb 2, 2021
Fix and speed up make_alias_file Sympa command (#1046)
@ikedas
Copy link
Member

ikedas commented Feb 2, 2021

See #1084.

@ikedas ikedas closed this Feb 2, 2021
@ikedas ikedas added this to the 6.2.62 milestone Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants