mirror of
https://github.com/docker-mailserver/docker-mailserver
synced 2024-10-18 10:18:07 +02:00
00018e7e2b
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Co-authored-by: Casper <casperklein@users.noreply.github.com>
8 lines
174 B
Bash
8 lines
174 B
Bash
#! /bin/bash
|
|
|
|
for FILE in /etc/getmailrc.d/getmailrc*; do
|
|
if ! pgrep -f "${FILE}$" &>/dev/null; then
|
|
getmail --getmaildir /var/lib/getmail --rcfile "${FILE}"
|
|
fi
|
|
done
|