add rc file name to output
This commit is contained in:
parent
6d8744b9c4
commit
c3384185a9
|
@ -16,6 +16,9 @@ GETMAIL_DIR=/var/lib/getmail
|
||||||
# If the nullglob option is set, and no matches are found, the word is removed.
|
# If the nullglob option is set, and no matches are found, the word is removed.
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
|
||||||
|
# Dump configuration from each RC file.
|
||||||
for RC_FILE in /etc/getmailrc.d/*; do
|
for RC_FILE in /etc/getmailrc.d/*; do
|
||||||
|
echo "${RC_FILE##*/}:"
|
||||||
|
echo
|
||||||
getmail --getmaildir "${GETMAIL_DIR}" --rcfile "${RC_FILE}" --dump | tail -n +6
|
getmail --getmaildir "${GETMAIL_DIR}" --rcfile "${RC_FILE}" --dump | tail -n +6
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue