mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
update getmail location and name
This commit is contained in:
parent
a539b6cb12
commit
b4cc602b0e
|
@ -15,5 +15,5 @@ else
|
|||
fi
|
||||
|
||||
for FILE in /etc/getmailrc.d/getmailrc*; do
|
||||
/usr/local/bin/getmail --getmaildir "${GETMAILDIR}" --rcfile "${FILE}" --dump | tail -n +7
|
||||
getmail --getmaildir "${GETMAILDIR}" --rcfile "${FILE}" --dump | tail -n +7
|
||||
done
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
for FILE in /etc/getmailrc.d/getmailrc*; do
|
||||
if ! pgrep -f "${FILE}$" &>/dev/null; then
|
||||
/usr/local/bin/getmail --getmaildir /var/lib/getmail --rcfile "${FILE}"
|
||||
getmail --getmaildir /var/lib/getmail --rcfile "${FILE}"
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -25,9 +25,9 @@ function teardown_file() { _default_teardown ; }
|
|||
assert_line 'received = false'
|
||||
assert_line 'delivered_to = false'
|
||||
|
||||
_run_in_container stat /usr/local/bin/debug-getmail
|
||||
_run_in_container_bash '[[ -f /usr/local/bin/debug-getmail ]]'
|
||||
assert_success
|
||||
_run_in_container stat /usr/local/bin/getmail-cron
|
||||
_run_in_container_bash '[[ -f /usr/local/bin/getmail-cron ]]'
|
||||
assert_success
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue