ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] SpamAssassin: connection refused
@ 2004-12-03 13:15 Serge V Kompan
  2004-12-03 14:54 ` Artem Pastukhov
  0 siblings, 1 reply; 2+ messages in thread
From: Serge V Kompan @ 2004-12-03 13:15 UTC (permalink / raw)
  To: community


Добрый день!
имею в настройках 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] SpamAssassin: connection refused
  2004-12-03 13:15 [Comm] SpamAssassin: connection refused Serge V Kompan
@ 2004-12-03 14:54 ` Artem Pastukhov
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Pastukhov @ 2004-12-03 14:54 UTC (permalink / raw)
  To: community

В сообщении от 3 Декабрь 2004 16:15 Serge V Kompan написал(a):
> Добрый день!
> имею в настройках 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?
> Как решить данную проблему?
из под не рута он не может замапиться насвой порт.
-- 
С уважением 
Артем Пастухов, past (at) yam.ru
YAM International

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-03 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-03 13:15 [Comm] SpamAssassin: connection refused Serge V Kompan
2004-12-03 14:54 ` Artem Pastukhov

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