After some research it's been decided to leave mail sending as SMTP only, at least for now: interfacing with mail/mailx is much more complicated in Python than it is in PHP, for little visible gain.
Both changesets are ready for merging and adding to custom-scripts:
1. SMTP account to send email from. Local SMTP is acceptable.
2. Script configuration file: /etc/custom_scripts/escalate-reviews/escalate-reviews.conf (use escalate-reviews.conf.example from Gerrit changeset as the base).
3. Configuration file needs SMTP credentials (host, login, password, FROM address). If a certificate and/or private key are required for SMTP server, their paths are specified in configuration file.
4. Private key for Gerrit access to review.openstack.org. Script expects to find it in /etc/custom_scripts/escalate-reviews/review.openstack.org but other path can be specified in configuration file.
After some research it's been decided to leave mail sending as SMTP only, at least for now: interfacing with mail/mailx is much more complicated in Python than it is in PHP, for little visible gain.
Both changesets are ready for merging and adding to custom-scripts:
https:/ /review. fuel-infra. org/#/c/ 16196/ /review. fuel-infra. org/#/c/ 16416/
https:/
Required credentials for the script:
1. SMTP account to send email from. Local SMTP is acceptable. scripts/ escalate- reviews/ escalate- reviews. conf (use escalate- reviews. conf.example from Gerrit changeset as the base). openstack. org. Script expects to find it in /etc/custom_ scripts/ escalate- reviews/ review. openstack. org but other path can be specified in configuration file.
2. Script configuration file: /etc/custom_
3. Configuration file needs SMTP credentials (host, login, password, FROM address). If a certificate and/or private key are required for SMTP server, their paths are specified in configuration file.
4. Private key for Gerrit access to review.