docker-mailserver/target/bin/debug-fetchmail

17 lines
358 B
Bash
Executable File

#!/bin/bash
# shellcheck source=../scripts/helpers/log.sh
source /usr/local/bin/helpers/log.sh
# shellcheck source=../scripts/startup/setup-stack.sh
source /usr/local/bin/setup-stack.sh
_setup_fetchmail
su -s /bin/sh -c "/usr/bin/fetchmail \
--verbose \
--daemon 0 \
--check \
--nosyslog \
--nodetach \
-f /etc/fetchmailrc" fetchmail <&- 2>&1