-
Notifications
You must be signed in to change notification settings - Fork 78
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
MAILFROM should probably substitute variables #26
Comments
PRs welcome |
My personal C-fu is definitely not strong enough to get this done anywhere near "quickly". Have to look into outsourcing. |
I am interested in working on it. Is it still relevant? |
I'm definitely still interested in reaching this feature. |
Hi @lkraav. I am a bit new to open source. So I didn't understand what you mean. Do you intend to work on it or are you encouraging me to work on it? |
Ecnouraging you. I'm still very weak at C, as all my time is spent in scripting languages. |
Hi, as @lkraav I'm also interested in this feature. @thisHermit are you still willing to work on this? If not, let me know and I can go ahead and implement it. Thanks! |
Go ahead. |
Closes cronie-crond#26 Signed-off-by: Fernando Cappi <[email protected]>
Closes cronie-crond#26 Signed-off-by: Fernando Cappi <[email protected]>
* Expand MAILTO and MAILFROM environment variables * Update man pages about the MAILTO and MAILFROM variables Fixes #26 Signed-off-by: Fernando Cappi <[email protected]>
Hi, Now you can use environment variables(Using ${} or $ format) as part of MAILFROM and MAILTO. See the example below. Environment variable:
crontab:
Email sent by cron:
The feature should be included on next package release. For now, you have to build the code from master branch. |
#17 (comment)
Because hardened mail servers will refuse to accept mail without authentication, it would make sense to provide
MAILFROM
with the ability to substitute at least$USER
variable.Global configuration
MAILFROM=cron+$USER@server
resulting incron+maria@server
e-mail would be more clear than justcron@server
.The text was updated successfully, but these errors were encountered: