Load plugins in qpsmtpd-forkserver at startup again (#311)

Removes the comment from line 196, which enables the loading of plugins at startup again. Otherwise there would have been the need for a SIGHUP in order to load the plugins initially.

Closes #308 and #288.
This commit is contained in:
Andreas Erhard 2023-09-12 17:10:09 +02:00 committed by GitHub
parent bf64ac9699
commit d3cf60d2c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,7 +193,7 @@ POSIX::setgid($qgid) or die "unable to change gid: $!\n";
POSIX::setuid($quid) or die "unable to change uid: $!\n"; POSIX::setuid($quid) or die "unable to change uid: $!\n";
$> = $quid; $> = $quid;
#$qpsmtpd->load_plugins; $qpsmtpd->load_plugins;
foreach my $addr (@LISTENADDR) { foreach my $addr (@LISTENADDR) {
::log(LOGINFO, "Listening on $addr->{addr}:$addr->{port}"); ::log(LOGINFO, "Listening on $addr->{addr}:$addr->{port}");