Improvements (cronmail) and fixes in mail utilities.

This commit is contained in:
Kovács Zoltán
2026-05-02 23:46:29 +02:00
parent 5b0b5ae2d3
commit 14d499350e
5 changed files with 65 additions and 12 deletions
+7 -3
View File
@@ -1,3 +1,7 @@
# Wrapper scripts to various mail transfer agents.
Only needed if your system does not provide the POSIX mailx compatible mail command. If sending email is prohibited from your environment use *mail.dummy* to avoid warnings from cron, etc.
To activate, choose a suitable one then place it somewhere in the path (~/bin or /usr/local/bin are recommended), name it mail and give it execute permission.
# Wrapper scripts to various mail agents
Only needed if your system does not provide a local MTA (e.g *sendmail*) and/or a POSIX *mailx* compatible mail command.
To activate, choose a suitable one then place it somewhere in the path (*/usr/local/bin* is recommended), name or symlink it to *mail* and give it execute permission to anyone.
To use them with *crond*, you may need the *cronmail* converter script, which can accept sendmail-formatted mail and convert it into a suitable *mailx* call. You can usually set this script as a mail sender for *crond* using the *CRONDARGS* environment variable.