[Mimedefang] mimedefang cannot open clamd socket
Jason Englander
jason at englanders.cc
Mon Oct 28 14:46:01 EST 2002
On Mon, 28 Oct 2002 Alberto.daSilva at rmb.co.za wrote:
> I had a look at some examples and mimedefang.pl and only by changing
> my $sock = IO::Socket::UNIX->new($clamd_sock);
> to
> my $sock = IO::Socket::UNIX->new(Peer=>$clamd_sock);
> could I get MD to talk to clamd.
>
> Is this correct? Is this a Solaris issue?
It's probably an old version of perl issue, but that's just a guess.
According to the pod docs in IO::Socket::UNIX in perl 5.6.1 and perl
5.8.0:
If the constructor is only passed a single argument, it is assumed
to be a "Peer" specification.
Maybe older versions didn't make that same assumption. ?
Can you mail me (off-list) your /usr/lib/perl5/IO/Socket/UNIX.pm (or
wherever it is)?
Jason
--
Jason Englander <jason at englanders.cc>
394F 7E02 C105 7268 777A 3F5A 0AC0 C618 0675 80CA
More information about the MIMEDefang
mailing list