Re: lug-bg: qmail+qmail-scanner problem
- Subject: Re: lug-bg: qmail+qmail-scanner problem
- From: Viktor Vasilev <viktor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 17 Sep 2004 14:21:46 +0200
- Mail-followup-to: lug-bg@xxxxxxxxxxxxxxxxxx
On Fri, Sep 17, 2004 at 02:55:37PM +0300, Danail Petrow wrote:
> Здравейте,
> От няколко часа се опитвам да разбера
> какво става , и немога ...
> значи проблема е следния:
> Инсталирам Qmail+SpamAssasin+Qmail-Scanner (hvulih i edno oko na
> tozi simscan , no za sega predpochitam qmail-scanner-a dokato ne se uwerq w
> simscan-a) Проблема е следния. На oпределено
> време в директорията /var/spool/qmailscan stawa towa:
>
> -rw------- 1 *root root * 1968 Sep 17 14:22
> qmail-scanner-queue-version.txt
>
> Тоест файла става собственност на роот-а
> и в логовете виждам това:
>
> Sep 17 02:16:06 server X-Qmail-Scanner-1.23: [server10953765664828852]
> cannot open /var/spool/qmailscan/qmail-
> scanner-queue-version.txt - did you initialise the system by running
> "qmail-scanner-queue.pl -z"? - Permission
> denied
> Sep 17 02:17:15 server X-Qmail-Scanner-1.23: [server10953766354828880]
> cannot open /var/spool/qmailscan/qmail-
> scanner-queue-version.txt - did you initialise the system by running
> "qmail-scanner-queue.pl -z"? - Permission
> denied
> Sep 17 02:18:39 server X-Qmail-Scanner-1.23: [server10953767194828896]
> cannot open /var/spool/qmailscan/qmail-
> scanner-queue-version.txt - did you initialise the system by running
> "qmail-scanner-queue.pl -z"? - Permission
> denied
> Sep 17 02:19:57 server X-Qmail-Scanner-1.23: [server10953767974828921]
> cannot open /var/spool/qmailscan/qmail-
> scanner-queue-version.txt - did you initialise the system by running
> "qmail-scanner-queue.pl -z"? - Permission
> denied
> Sep 17 02:21:13 server X-Qmail-Scanner-1.23: [server10953768734828949]
> cannot open /var/spool/qmailscan/qmail-
> scanner-queue-version.txt - did you initialise the system by running
> "qmail-scanner-queue.pl -z"? - Permission
> denied
> и това:
> @40000000414ace8b38921bec warning: trouble injecting bounce message,
> will try later
> @40000000414ace8d385fffcc warning: trouble injecting bounce message,
> will try later
> @40000000414ace90386059a4 warning: trouble injecting bounce message,
> will try later
> @40000000414ace9338606944 warning: trouble injecting bounce message,
> will try later
> @40000000414ace9e3860079c warning: trouble injecting bounce message,
> will try later
> @40000000414acea1385f6b5c warning: trouble injecting bounce message,
> will try later
> @40000000414acea83860849c warning: trouble injecting bounce message,
> will try later
>
> Тоест нещо рън-ва qmail-scanner-queue.pl -z с роот
> привилегий , но в крона (нито ат) има такъв
> таск.
> когато стартирам setuidgid qscand
> /var/qmail/bin/qmail-scanner-queue.pl -z файла става
> собственност на qscand.qscand 600 и ефекта е
> същия ... и немога да разбера какво става
Вероятно собственикът на /var/spool/qmailscan не е qscand.
Пробвай следното:
chown -R qscand:qscand /var/spool/qmailscan
> Също така искам да попитам , по принцип
> след като съм компилирал qmail-scanner-a със
> --sa-delete and --sa-reject , защо след като
> спамассасина сложи X-Spam-Status: YES и има
> повече точки от колкото съм сложил в
> --sa-reject , писмото ВСЕ ПАК достига до
> потребителя ?
Може би във лог файлa (/var/spool/qmailscan/qmail-queue.log) на
qmail-scanner пише нещо по въпроса? Пробвай да направиш логовете
по-подробни (опции $sa_alt и $sa_debug) и да проследиш да не би да
бъдат пребебрегвани поради някаква причина командите --sa-delete и
--sa-reject.
Поздрави,
Виктор
--
Linux is for those who hate Windows.
FreeBSD is for those who love UNIX.
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|