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

mail to username not working #22

Open
PatrickPaul-NRC opened this issue Jul 9, 2020 · 4 comments
Open

mail to username not working #22

PatrickPaul-NRC opened this issue Jul 9, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@PatrickPaul-NRC
Copy link
Collaborator

Email to the username should be sent to the email address known to centrify.

@itamblyn
Copy link
Contributor

As an intermediate fix, you should be able to add a flag in slurm with an email address as part of the job submission script

@PatrickPaul-NRC
Copy link
Collaborator Author

PatrickPaul-NRC commented Jul 16, 2020

I know how to work around that but this should just work.

@itamblyn
Copy link
Contributor

👍

@itamblyn itamblyn added the enhancement New feature or request label Sep 10, 2020
@nrcfieldsa
Copy link

Mail alias maps are not present in the domain. Instead the User Principal is set to the local domain which cannot receive email directly. Setting up a mapping by default requires populating the mail aliases in /etc/aliases and a postalias hash:/etc/aliases; postfix reload or per-user in the $HOME local forward path.

A script was written to attempt to form the alias mappings by querying users from the domain. The issue is that in some cases it is best effort and would require to be constantly refreshed into /etc/aliases file and distributed to nodes.

Therefore, it is suggested the best practice on the cluster instead, is to make use of the SLURM directives and specify a full email address for the recipient as suggested above.

That being stated an attempt at making mail forwarding work on trixie-hn1 to NRC addresses has been performed. If it shows to work as expected, the aliases can be distributed to the compute nodes, so the defaults work as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants