Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2009 22:28:17 +0300
From:      Ott =?utf-8?q?K=C3=B6stner?= <ottk@zzz.ee>
To:        freebsd-questions@freebsd.org, carmel_ny@hotmail.com
Subject:   Re: Unable to start clamsmtpd
Message-ID:  <200906142228.17898.ottk@zzz.ee>
In-Reply-To: <BLU0-SMTP5193F1D9DD6480F37C90F893410@phx.gbl>
References:  <BLU0-SMTP5193F1D9DD6480F37C90F893410@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 14 June 2009 9:28:31 pm Carmel wrote:
> I just installed clamsmtpd on a fresh FreeBSD-7.2 installation. When I
> attempt to start the program via the start up script supplied by the
> port maintainer, I receive this error message:
> 
> Clamsmtpd: invalid Outaddress socket name or ip: start

I have clamsmtp running fine on my mail server. Hope I can help You.

First, please check that the directory, where clamsmtpd creates socket, is writable by clamsmtpd user.
For example, I have yhe following lines in my config file:

[...]
# The address clamd is listening on
ClamAddress: /var/run/clamav/clamd.sock
[...]
# User to switch to
User: clamav

...and...

# ls -ld /var/run/clamav/
drwxr-xr-x  2 clamav  clamav  512 Nov 27  2008 /var/run/clamav/

# ls -l /var/run/clamav/clamd.sock
srwxrwxrwx  1 clamav  clamav  0 Nov 27  2008 /var/run/clamav/clamd.sock






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906142228.17898.ottk>