Commit ba526902 authored by Marius Burkard's avatar Marius Burkard
Browse files

- listen on loopback for no-mail option, fixes #8

parent 8ef2d234
......@@ -599,6 +599,12 @@ mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"';
'dovecot-lmtpd'
);
$this->installPackages($packages);
} else {
$cmd = 'postconf -e "inet_interfaces = loopback-only"';
$result = $this->exec($cmd);
if($result === false) {
ISPConfigLog::warn('Command ' . $cmd . ' failed.', true);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment