ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sodom <sodom@sodom.ru>
To: "mercenary@mail.ru" <community@altlinux.ru>
Subject: Re[2]: [Comm] spamassassin
Date: Fri, 26 Mar 2004 11:50:46 +0300
Message-ID: <1759304256.20040326115046@sodom.ru> (raw)
In-Reply-To: <20040326103707.526a8f5d@AIM-lnx>

Здравствуйте, mercenary.

Вы писали 26 марта 2004 г., 11:37:07:

mmr> On Fri, 26 Mar 2004 10:43:08 +0300
mmr> Sodom <sodom@sodom.ru> wrote:

>> 
>> Можно так:
>> /usr/bin/sa-learn --showdots --spam /var/spam --dbpath
>> /etc/mail/spamassassin/.spamassassin/ service spamd restart
>> echo Clean spam directory...
>> rm -f /var/spam/*
>> echo Done
mmr>   Спасибо. Тема очень своевременно поднялась, я как раз занялся настройкой
mmr> плагина spamassassin в sylpheed-claws. Но возникла проблемка, может не совсем
mmr> по теме, но:

mmr> # /sbin/service spamd restart
mmr> spamd: unrecognized service

mmr> хотя:

mmr> # /sbin/service --status-all | grep spamd
mmr> spamd (pid 1224) выполняется...

mmr> Где чего подкрутить?

в настройках юзера, от которого выполняется spamd.
Посмотрите внимательнейшим образом.
Насколько я смутно помню, у меня такая штука была с самосборным
спамасассином, который я обновлял потом на сизифовский.
Так вот - в сизифе, что небезопасно, спамасассин запускается от рута.
А мой - от левого юзера.

Вот мои настройки:
в /etc/sysconfig/spamd прописал SPAMDOPTIONS="-x -m 10 -a -u spam"
т.е. юзер - spam
кусок /etc/init.d/spamd:

start()
{
        start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user s
pam -- \
                        spamd -d --pidfile=$PIDFILE $SPAMDOPTIONS
        RETVAL=$?
        return $RETVAL
}

stop()
{
        stop_daemon --name spamd --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --e
xpect-user spam spamd
        RETVAL=$?
        return $RETVAL


Что тут менял (и менял ли) уже не помню - сравните со своим
оригинальным.


-- 
С уважением,
 Sodom                          mailto:sodom@sodom.ru



  reply	other threads:[~2004-03-26  8:50 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-26  7:08 tutov.roman
2004-03-26  7:18 ` Sodom
2004-03-26  7:27   ` Mikhailov Vladimir
2004-03-26  7:35     ` Gleb Stiblo
2004-03-26  7:43     ` Re[2]: " Sodom
2004-03-26  8:21       ` [JT] " Antonio
2004-03-26  8:30         ` Sodom
2004-03-26 21:12           ` Re[2]: " Alexander Leschinsky
2004-03-27 21:46             ` welcome to... (was: [Comm] spamassassin) Michael Shigorin
2004-03-26  8:37       ` [Comm] spamassassin mercenary
2004-03-26  8:50         ` Sodom [this message]
2004-03-26 21:06           ` Re[3]: " Alexander Leschinsky
2004-03-26 21:07         ` Re[2]: " Alexander Leschinsky
2004-03-26 12:52       ` Michael Bykov
2004-03-26 13:13         ` Re[4]: " Sodom
2004-03-26 21:02       ` Re[3]: " Alexander Leschinsky
2004-03-26  8:39   ` Re[2]: " Alexander Leschinsky
2004-03-26 10:14     ` Re[3]: " Sodom
2004-03-26 11:25       ` Re[4]: " Тутов Роман Викторович
2004-03-26 12:03         ` Antonio
2004-03-27  7:07           ` Re[5]: " Тутов Роман Викторович
2004-03-27 14:59             ` Sergey Degtyaryov
2004-03-27 23:28               ` Re[2]: " Alexander Leschinsky
2004-03-28 14:22                 ` Sergey V. Degtyaryov
2004-03-28 17:18                   ` Re[2]: " Maksim Otstavnov
2004-03-28 18:11                     ` Sergey V. Degtyaryov
2004-03-29  7:22                     ` [Comm] Re: Thunderbird vs Mozilla-mail (was: spamassassin) Vitaly Ostanin
2004-03-29  7:49                       ` Michael Shigorin
2004-03-29  8:40                       ` Alexey Morozov
2004-03-29  9:59                         ` [Comm] Re: Thunderbird vs Mozilla-mail Vitaly Ostanin
2004-03-29 16:07                       ` [Comm] Re: Thunderbird vs Mozilla-mail (was: spamassassin) Maksim Otstavnov
2004-03-30  6:36                         ` [Comm] Re: Thunderbird vs Mozilla-mail Roman Savelyev
2004-03-30  6:49                           ` Anton Farygin
2004-03-30 10:01                             ` Андрей Новосёлов
2004-03-29  7:14               ` Re[2]: [Comm] spamassassin Тутов Роман Викторович
2004-03-29  8:22                 ` Re[3]: " Alexander Leschinsky
2004-03-29  8:44                   ` Sergey Degtyaryov
2004-03-29  8:56                   ` Re[4]: " Тутов Роман Викторович
2004-03-29  9:15                     ` Re[5]: " Alexander Leschinsky
2004-03-29 10:11                       ` Re[6]: " Тутов Роман Викторович
2004-03-27 23:26             ` Alexander Leschinsky
2004-03-28  0:33         ` Re[5]: " Alexander Leschinsky
2004-03-28  2:40       ` Re[4]: " Alexander Leschinsky
2004-03-29  5:34         ` Re[5]: " Sodom
2004-04-12  7:46         ` Re[4]: " Vladimir V. Kamarzin
2004-04-12  7:59           ` Mike Lykov
2004-04-12  8:05             ` Vladimir V. Kamarzin
2004-04-12 10:09               ` Re[6]: " Alexander Leschinsky
2004-04-12 10:07             ` Alexander Leschinsky
2004-04-12 10:06           ` Alexander Leschinsky
2004-04-12 13:13             ` Vladimir V. Kamarzin
2004-04-12 14:57               ` Re[8]: " Alexander Leschinsky
2004-03-26 10:47     ` [Comm] spamassassin Michael Shigorin
2004-03-26 20:50       ` Alexander Leschinsky
2004-03-27 21:02         ` Michael Shigorin
2004-03-26  9:48 ` [Comm] spamassassin Vladimir Alyekhin
2004-03-26 11:57   ` crux
2004-03-26 20:49     ` Re[2]: " Alexander Leschinsky
2004-04-12  8:11       ` Vladimir V. Kamarzin
2004-03-26 20:31   ` Alexander Leschinsky
2004-03-29  7:31     ` Vladimir Alyekhin
2004-03-29 10:03       ` Re[2]: " Alexander Leschinsky
2004-03-29 11:58         ` [Comm] spamassassin Michael Shigorin

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=1759304256.20040326115046@sodom.ru \
    --to=sodom@sodom.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