mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
7af7546d88
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Co-authored-by: Casper <casperklein@users.noreply.github.com>
10 lines
189 B
Bash
10 lines
189 B
Bash
#! /bin/bash
|
|
|
|
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}"
|
|
fi
|
|
done
|