mirror of
https://github.com/tomav/docker-mailserver
synced 2025-08-31 06:15:28 +00:00
Improve VIRUSMAILS_DELETE_DELAY usage (#2281)
This commit is contained in:
@@ -1720,17 +1720,6 @@ function _setup_user_patches
|
||||
fi
|
||||
}
|
||||
|
||||
function _setup_environment
|
||||
{
|
||||
_notify 'task' 'Setting up /etc/environment'
|
||||
|
||||
if ! grep -q "# Docker Mail Server" /etc/environment
|
||||
then
|
||||
echo "# Docker Mail Server" >>/etc/environment
|
||||
echo "VIRUSMAILS_DELETE_DELAY=${VIRUSMAILS_DELETE_DELAY}" >>/etc/environment
|
||||
fi
|
||||
}
|
||||
|
||||
function _setup_fail2ban
|
||||
{
|
||||
_notify 'task' 'Setting up fail2ban'
|
||||
|
Reference in New Issue
Block a user