diff options
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 532a2815..cadd660e 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"; |