Mailing List Archive

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
AW: spamass.sock - No such file or directory [ In reply to ]
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.reindl@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
Re: spamass.sock - No such file or directory [ In reply to ]
Try unix:/run/spamass/spamass.sock

On Sun, 27 Jun 2021, 18:28 , <mauric@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.reindl@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
>
>
Re: spamass.sock - No such file or directory [ In reply to ]
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 , <mauric@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.reindl@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{