ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Re: SpamAssassin: connection refused
@ 2004-12-03 16:53 Serge V Kompan
  0 siblings, 0 replies; only message in thread
From: Serge V Kompan @ 2004-12-03 16:53 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?
>> Как решить данную проблему?
> из под не рута он не может замапиться насвой порт.
  Проблемма решилась таким образом:

   вместо строи
   #FILTER_SPAMC="/usr/bin/spamc -u mail -U /var/run/spamd.pid"
   написал:
     FILTER_SPAMC="/usr/bin/spamc -u mail"

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-03 16:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-03 16:53 [Comm] Re: SpamAssassin: connection refused Serge V Kompan

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