You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by ma...@gmx.ch on 2021/06/26 07:37:51 UTC
spamass.sock - No such file or directory
Run with Debian 10
I dont see why "spamass.sock: No such file or directory" this message appair
>mail.log
Jun 26 09:27:12 nmail postfix/smtps/smtpd[9509]: warning: connect to Milter
service unix:/spamass/spamass.sock: No such file or directory
>main.cf
smtpd_milters = unix:/spamass/spamass.sock, unix:opendkim/opendkim.sock,
unix:opendmarc/opendmarc.sock
>/run/spamass# ls -la
-rw-r--r-- 1 spamass-milter spamass-milter 5 Jun 26 09:26
spamass.pid
srw-rw---- 1 postfix postfix 0 Jun
26 09:26 spamass.sock
or
srw-rw---- 1 spamass-milter spamass-milter 0 Jun 26 09:26
spamass.sock
>/etc/group
spamass-milter:x:128:postfix
thanks for any help
Mauri
Re: spamass.sock - No such file or directory
Posted by Dominic Raferd <do...@timedicer.co.uk>.
Check that postfix user has execute permission on /run/spamass directory
On Sat, 26 Jun 2021, 08:47 , <ma...@gmx.ch> wrote:
>
>
> Thanks for your quick answer!
>
>
>
> Update to:
>
> smtpd_milters = unix:spamass/spamass.sock, unix:opendkim/opendkim.sock,
> unix:opendmarc/opendmarc.sock
>
>
>
> systemctl restart spamass-milter spamassassin postfix
>
>
>
> postfix/smtpd[15586]: warning: connect to Milter service
> unix:spamass/spamass.sock: Connection refused
>
>
>
>
>
>
>
> *Von:* Dominic Raferd <do...@timedicer.co.uk>
> *Gesendet:* Samstag, 26. Juni 2021 09:42
> *An:* mauric@gmx.ch
> *Cc:* Postfix users <po...@postfix.org>
> *Betreff:* Re: spamass.sock - No such file or directory
>
>
>
> Remove the slash after unix:
>
> On Sat, 26 Jun 2021, 08:38 , <ma...@gmx.ch> wrote:
>
> Run with Debian 10
>
> I dont see why “spamass.sock: No such file or directory” this message
> appair
>
> >mail.log
> Jun 26 09:27:12 nmail postfix/smtps/smtpd[9509]: warning: connect to
> Milter service unix:/spamass/spamass.sock: No such file or directory
>
> >main.cf
> smtpd_milters = unix:/spamass/spamass.sock, unix:opendkim/opendkim.sock,
> unix:opendmarc/opendmarc.sock
>
>
> >/run/spamass# ls -la
> -rw-r--r-- 1 spamass-milter spamass-milter 5 Jun 26 09:26
> spamass.pid
> srw-rw---- 1 postfix postfix 0 Jun
> 26 09:26 spamass.sock
>
> Or
> srw-rw---- 1 spamass-milter spamass-milter 0 Jun 26 09:26
> spamass.sock
>
>
>
> >/etc/group
> spamass-milter:x:128:postfix
>
> thanks for any help
>
> Mauri
>
>
WG: spamass.sock - No such file or directory
Posted by ma...@gmx.ch.
Thanks for your quick answer!
Update to:
smtpd_milters = unix:spamass/spamass.sock, unix:opendkim/opendkim.sock, unix:opendmarc/opendmarc.sock
systemctl restart spamass-milter spamassassin postfix
postfix/smtpd[15586]: warning: connect to Milter service unix:spamass/spamass.sock: Connection refused
Von: Dominic Raferd <do...@timedicer.co.uk>
Gesendet: Samstag, 26. Juni 2021 09:42
An: mauric@gmx.ch
Cc: Postfix users <po...@postfix.org>
Betreff: Re: spamass.sock - No such file or directory
Remove the slash after unix:
On Sat, 26 Jun 2021, 08:38 , <mauric@gmx.ch <ma...@gmx.ch> > wrote:
Run with Debian 10
I dont see why “spamass.sock: No such file or directory” this message appair
>mail.log
Jun 26 09:27:12 nmail postfix/smtps/smtpd[9509]: warning: connect to Milter service unix:/spamass/spamass.sock: No such file or directory
>main.cf <http://main.cf>
smtpd_milters = unix:/spamass/spamass.sock, unix:opendkim/opendkim.sock, unix:opendmarc/opendmarc.sock
>/run/spamass# ls -la
-rw-r--r-- 1 spamass-milter spamass-milter 5 Jun 26 09:26 spamass.pid
srw-rw---- 1 postfix postfix 0 Jun 26 09:26 spamass.sock
Or
srw-rw---- 1 spamass-milter spamass-milter 0 Jun 26 09:26 spamass.sock
>/etc/group
spamass-milter:x:128:postfix
thanks for any help
Mauri
Re: spamass.sock - No such file or directory
Posted by Dave Funk <db...@engineering.uiowa.edu>.
Make sure to start spamasmilter before postfix.
The milter creates the socket which must exist for postfix to be able to open
it.
Start the milter then use "lsof" to make sure that it has created the socket and
that it's in the place which postfix expects to find it.
Also make sure that the permissions on the path thru the directories containing
the socket are traversable by postfix and that the permissions on the socket
itself provide postfix 'rw' rights.
On Sun, 27 Jun 2021, Dominic Raferd wrote:
> Try unix:/run/spamass/spamass.sock
>
> On Sun, 27 Jun 2021, 18:28 , <ma...@gmx.ch> wrote:
> Still the same....
>
> Jun 27 19:21:03 nmail postfix/smtps/smtpd[4946]: warning: connect to Milter
> service unix:spamass/spamass.sock: No such file or directory
> Jun 27 19:25:37 nmail postfix/smtps/smtpd[5552]: warning: connect to Milter
> service unix:run/spamass/spamass.sock: No such file or directory
>
> Thanks for any update
>
>
> -----Ursprüngliche Nachricht-----
> Von: Reindl Harald <h....@thelounge.net>
> Gesendet: Samstag, 26. Juni 2021 12:15
> An: mauric@gmx.ch; users@spamassassin.apache.org
> Betreff: Re: spamass.sock - No such file or directory
>
> why do you think "/run/spamass" and "unix:/spamass/" are the same path?
>
> Am 26.06.21 um 09:37 schrieb mauric@gmx.ch:
> > Run with Debian 10
> >
> > I dont see why “spamass.sock: No such file or directory” this message
> > appair
> >
> >>mail.log
> >
> > Jun 26 09:27:12 nmail postfix/smtps/smtpd[9509]: warning: connect to
> > Milter service unix:/spamass/spamass.sock: No such file or directory
> >
> >>main.cf
> >
> > smtpd_milters = unix:/spamass/spamass.sock,
> > unix:opendkim/opendkim.sock, unix:opendmarc/opendmarc.sock
> >
> >>/run/spamass# ls -la
> >
> > -rw-r--r-- 1 spamass-milter spamass-milter 5 Jun 26 09:26
> spamass.pid
> > srw-rw---- 1 postfix postfix 0
> Jun 26 09:26 spamass.sock
> >
> > or
> >
> > srw-rw---- 1 spamass-milter spamass-milter 0 Jun 26 09:26
> spamass.sock
> >
> >/etc/group
> > spamass-milter:x:128:postfix
> >
> > thanks for any help
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center, 103 S Capitol St.
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{
Re: spamass.sock - No such file or directory
Posted by Dominic Raferd <do...@timedicer.co.uk>.
Try unix:/run/spamass/spamass.sock
On Sun, 27 Jun 2021, 18:28 , <ma...@gmx.ch> wrote:
> Still the same....
>
> Jun 27 19:21:03 nmail postfix/smtps/smtpd[4946]: warning: connect to Milter
> service unix:spamass/spamass.sock: No such file or directory
> Jun 27 19:25:37 nmail postfix/smtps/smtpd[5552]: warning: connect to Milter
> service unix:run/spamass/spamass.sock: No such file or directory
>
> Thanks for any update
>
>
> -----Ursprüngliche Nachricht-----
> Von: Reindl Harald <h....@thelounge.net>
> Gesendet: Samstag, 26. Juni 2021 12:15
> An: mauric@gmx.ch; users@spamassassin.apache.org
> Betreff: Re: spamass.sock - No such file or directory
>
> why do you think "/run/spamass" and "unix:/spamass/" are the same path?
>
> Am 26.06.21 um 09:37 schrieb mauric@gmx.ch:
> > Run with Debian 10
> >
> > I dont see why “spamass.sock: No such file or directory” this message
> > appair
> >
> >>mail.log
> >
> > Jun 26 09:27:12 nmail postfix/smtps/smtpd[9509]: warning: connect to
> > Milter service unix:/spamass/spamass.sock: No such file or directory
> >
> >>main.cf
> >
> > smtpd_milters = unix:/spamass/spamass.sock,
> > unix:opendkim/opendkim.sock, unix:opendmarc/opendmarc.sock
> >
> >>/run/spamass# ls -la
> >
> > -rw-r--r-- 1 spamass-milter spamass-milter 5 Jun 26 09:26
> spamass.pid
> > srw-rw---- 1 postfix postfix 0
> Jun 26 09:26 spamass.sock
> >
> > or
> >
> > srw-rw---- 1 spamass-milter spamass-milter 0 Jun 26 09:26
> spamass.sock
> >
> >/etc/group
> > spamass-milter:x:128:postfix
> >
> > thanks for any help
>
>
AW: spamass.sock - No such file or directory
Posted by ma...@gmx.ch.
Still the same....
Jun 27 19:21:03 nmail postfix/smtps/smtpd[4946]: warning: connect to Milter
service unix:spamass/spamass.sock: No such file or directory
Jun 27 19:25:37 nmail postfix/smtps/smtpd[5552]: warning: connect to Milter
service unix:run/spamass/spamass.sock: No such file or directory
Thanks for any update
-----Ursprüngliche Nachricht-----
Von: Reindl Harald <h....@thelounge.net>
Gesendet: Samstag, 26. Juni 2021 12:15
An: mauric@gmx.ch; users@spamassassin.apache.org
Betreff: Re: spamass.sock - No such file or directory
why do you think "/run/spamass" and "unix:/spamass/" are the same path?
Am 26.06.21 um 09:37 schrieb mauric@gmx.ch:
> Run with Debian 10
>
> I dont see why spamass.sock: No such file or directory this message
> appair
>
>>mail.log
>
> Jun 26 09:27:12 nmail postfix/smtps/smtpd[9509]: warning: connect to
> Milter service unix:/spamass/spamass.sock: No such file or directory
>
>>main.cf
>
> smtpd_milters = unix:/spamass/spamass.sock,
> unix:opendkim/opendkim.sock, unix:opendmarc/opendmarc.sock
>
>>/run/spamass# ls -la
>
> -rw-r--r-- 1 spamass-milter spamass-milter 5 Jun 26 09:26
spamass.pid
> srw-rw---- 1 postfix postfix 0
Jun 26 09:26 spamass.sock
>
> or
>
> srw-rw---- 1 spamass-milter spamass-milter 0 Jun 26 09:26
spamass.sock
>
>/etc/group
> spamass-milter:x:128:postfix
>
> thanks for any help