diff options
-rwxr-xr-x | bin/porticron | 2 | ||||
-rw-r--r-- | etc/porticron.conf | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/bin/porticron b/bin/porticron index adcb733..dfb996c 100755 --- a/bin/porticron +++ b/bin/porticron @@ -120,7 +120,7 @@ DATE=$(date -R) PORTDIR=$(portageq get_repo_path $(portageq envvar EROOT) gentoo) # defaults, second half -: ${RCPT:=root@localhost} +: ${RCPT:=root} : ${FROM:=root@${FQDN}} : ${SYNC_CMD:=/usr/bin/emerge --sync} : ${SYNC_OVERLAYS_CMD:=/bin/true} diff --git a/etc/porticron.conf b/etc/porticron.conf index e1c2f02..1bff768 100644 --- a/etc/porticron.conf +++ b/etc/porticron.conf @@ -22,9 +22,11 @@ UPGRADE_OPTS="--deep --update" # sender of reports FROM="root@$(hostname --fqdn)" -# recipient for reports +# recipient for reports, local mailbox +RCPT=root + +# recipient for reports, e-mail address #RCPT="root@$(hostname -f)" -RCPT=root@localhost # format of the e-mail subject # use {FQDN}, {HOST}, {IP}, and {DATE} as variables |