diff options
| author | EuAndreh <eu@euandre.org> | 2020-12-03 14:36:52 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2020-12-03 14:36:52 -0300 |
| commit | c72589bd5ae4da7f672493ea51a9c955e486f29f (patch) | |
| tree | ef4fd35c995e0bd08e1c683ec53491043f9d3e23 /scripts | |
| parent | fake-symlinks: Refactor from scratch (diff) | |
| download | dotfiles-c72589bd5ae4da7f672493ea51a9c955e486f29f.tar.gz dotfiles-c72589bd5ae4da7f672493ea51a9c955e486f29f.tar.xz | |
mailing-list-import-mbox.sh: Replace mail.sh with vanilla GNU Mailutils
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/ad-hoc/mailing-list-import-mbox.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/ad-hoc/mailing-list-import-mbox.sh b/scripts/ad-hoc/mailing-list-import-mbox.sh index 2fe14aa3..a7e8fcbd 100755 --- a/scripts/ad-hoc/mailing-list-import-mbox.sh +++ b/scripts/ad-hoc/mailing-list-import-mbox.sh @@ -36,7 +36,9 @@ gnu_mailing_list_import() { # Subscribe to the mailing list local -r recipient="${MAILING_LIST_NAME}-join@gnu.org" local -r subject="Subscribe to ${MAILING_LIST_NAME} mailing list" - mail.sh "${recipient}" "${subject}" ' ' 'mailing-list@euandre.org' + mail "$recipient" \ + -s "$subject" \ + -aFrom:mailing-list@euandre.org <<<'' # Download existing archive as MBOX files wget -c -r "${GNU_MBOX_ARCHIVE_URL}/${MAILING_LIST_NAME}/" |
