ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Serge V Kompan <skompan@kspu.kr.ua>
To: community@altlinux.ru
Subject: [Comm] SpamAssassin: connection refused
Date: Fri, 3 Dec 2004 15:15:49 +0200
Message-ID: <3925686187.20041203151549@kspu.kr.ua> (raw)


Добрый день!
имею в настройках postfix'a в файле master.cf

myfilter        unix    -       n       n       -       -       pipe
        flags=R user=mail argv=/1/myfilter.sh -f ${sender} -- ${recipient}

 spamd запускаю от пользователя mail
 часть файла spamd:
SourceIfNotEmpty /etc/sysconfig/spamd
                                                                                
PIDFILE=/var/run/spamd.pid                                                      
LOCKFILE=/var/lock/subsys/spamd                                                 
RETVAL=0                                                                        
                                                                                
start()                                                                         
{                                                                               
start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user mail \   
-- spamd -d --pidfile=$PIDFILE $SPAMDOPTIONS                                    
RETVAL=$?                                                                       
return $RETVAL                                                                  
}                                                                               
 Права на каталог /var/run уже выставил 777
но по прежнему в результате получаю такое сообщение

Dec  3 13:52:00 s spamc[24599]: connect(AF_UNIX) to spamd /var/run/spamd.pi
d failed: Connection refused                                                    
Dec  3 13:55:41 s spamc[24753]: connect(AF_UNIX) to spamd /var/run/spamd.pi
d failed: Connection refused                                                      

Под каким пользователем нужно запускать spamd и фильтр myfilter?
Как решить данную проблему?

-- 
С уважением,
 Serge                          mailto:skompan@kspu.kr.ua



             reply	other threads:[~2004-12-03 13:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-03 13:15 Serge V Kompan [this message]
2004-12-03 14:54 ` Artem Pastukhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3925686187.20041203151549@kspu.kr.ua \
    --to=skompan@kspu.kr.ua \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git