Date: Sun, 14 Jun 2009 19:32:34 -0400 From: Jerry <gesbbb@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: Unable to start clamsmtpd Message-ID: <20090614193234.434c3922@scorpio> In-Reply-To: <200906142255.04001.ottk@zzz.ee> References: <BLU0-SMTP5193F1D9DD6480F37C90F893410@phx.gbl> <200906142228.17898.ottk@zzz.ee> <20090614154601.0cc0b47f@scorpio> <200906142255.04001.ottk@zzz.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/h=oCmOH7DhdO+Bzi+eaP=b= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 14 Jun 2009 22:55:03 +0300 Ott K=C3=B6stner <ottk@zzz.ee> wrote: >On Sunday 14 June 2009 10:46:01 pm Jerry wrote: > >> I had: >>=20 >> ClamAddress: /var/run/clamav/clamd >>=20 >> in my config file. I changed the clamd to clamd.sock but it did not >> make a difference. >>=20 >> The clamd.pin, clamd.sock=3D and freshclam.pid files are in >> the /var/run/clamav directory. >>=20 >> This is becoming really annoying. Aparently, clamdsmtp will not >> create its own clamsmtpd.pid file. > >Name does not matter, but '/var/run/clamav/' should be owned by >'clamsmtp' owner. Also 'clamd.conf' should be edited. The socket must >be the same in both configuration files. > ># Path to a local socket file the daemon will listen on. ># Default: disabled (must be specified by a user) >LocalSocket /var/run/clamav/clamd.sock > >All 3 programs should run under the same username: > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND >56863 clamav 3 45 0 236M 28292K ucond 0 0:03 0.98% >clamd 21484 clamav 1 4 0 15704K 984K accept 1 1:44 >0.00% clamsmtpd 56894 clamav 1 20 0 19188K 636K pause 1 >0:39 0.00% freshclam > >Works fine. I can send all my conf files, if needed. Probably not a >very good idea to copy/paste these into this list. My clamd works fine >for some time already. This very e-mail goes through my clamd... OK, when I reboot, clamsmtpd will install it's 'PID' file in the /var/run/clamav directory. There are no errors shown. Postfix then immediately starts. Now, when I receive a message, the maillog has an error message: clamsmtpd: 100007: CLAMAV: couldn't connect to : /var/run/clamav/clamd: No such file or directory. Now, the file and directory do exist. If I stop or restart clamsmtpd, that error message about "clamsmtpd: invalid OutAddress socket or ip:" reappears. --=20 Jerry gesbbb@yahoo.com How come only your friends step on your new white sneakers? --Sig_/h=oCmOH7DhdO+Bzi+eaP=b= Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAko1iJ0ACgkQBvaKIJWWCO1U8gCeNfnLQqqQwL70OTx1PMllP3bp xMoAnRZ5+pnbKxMd5QaTp8CmmC5N4PZd =znS7 -----END PGP SIGNATURE----- --Sig_/h=oCmOH7DhdO+Bzi+eaP=b=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090614193234.434c3922>