diff options
author | Erich Eckner <git@eckner.net> | 2019-02-04 14:25:08 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-04 14:25:08 +0100 |
commit | 4da98d1cb93791357a5eda221f48158e4e4fc83e (patch) | |
tree | 37661e8bdebd68a39a4d5f86768559bf02b3177a /spamassassin-courier/AuthCourier.pm | |
parent | 7abc89d750ee8acd052507482740862c4397a8b1 (diff) | |
download | archlinuxewe-4da98d1cb93791357a5eda221f48158e4e4fc83e.tar.xz |
spamassassin-courier: find socket in /run/authdaemon/socket, too
Diffstat (limited to 'spamassassin-courier/AuthCourier.pm')
-rw-r--r-- | spamassassin-courier/AuthCourier.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spamassassin-courier/AuthCourier.pm b/spamassassin-courier/AuthCourier.pm index 532a28158..cadd660e5 100644 --- a/spamassassin-courier/AuthCourier.pm +++ b/spamassassin-courier/AuthCourier.pm @@ -57,6 +57,7 @@ sub getpwnam { my $name = shift; my $socket = IO::Socket::UNIX->new('/usr/lib/courier/var/authdaemon/socket'); $socket = IO::Socket::UNIX->new('/var/run/courier/authdaemon/socket') unless $socket; + $socket = IO::Socket::UNIX->new('/run/authdaemon/socket') unless $socket; die "authdaemond socket error: $!\n" unless $socket; print $socket "PRE . login $name\n"; |