mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-02 09:05:14 +02:00
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>
9 lines
189 B
Bash
9 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
|