From: Artem Pastukhov <past@yam.ru>
To: community@altlinux.ru
Subject: Re: [Comm] SpamAssassin: connection refused
Date: Fri, 3 Dec 2004 17:54:46 +0300
Message-ID: <200412031754.46297.past@yam.ru> (raw)
In-Reply-To: <3925686187.20041203151549@kspu.kr.ua>
В сообщении от 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
prev parent reply other threads:[~2004-12-03 14:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-03 13:15 Serge V Kompan
2004-12-03 14:54 ` Artem Pastukhov [this message]
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=200412031754.46297.past@yam.ru \
--to=past@yam.ru \
--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