ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] dspam & postfix & всё , всё , всё ...
@ 2007-10-01  6:45 Алексей Шенцев
  2007-10-03 11:01 ` Алексей Шенцев
  0 siblings, 1 reply; 6+ messages in thread
From: Алексей Шенцев @ 2007-10-01  6:45 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Привет всем!
Ковыряю dspam ...
Время от времени вижу в логах postfix'а такое:

[root@gw ~]# cat /var/log/mail/all | grep 'Oct  1 08:53:3'
Oct  1 08:53:35 gw postfix/lmtp[4458]: 156891DB923: to=<invest@nsrz.ru>, 
relay=gw.nsrz.ru[/var/spool/postfix/dspam.sock], conn_use=3, delay=21859, 
delays=14741/7071/0/47, dsn=4.3.0, status=deferred (host 
gw.nsrz.ru[/var/spool/postfix/dspam.sock] said: 421 4.3.0 <invest@nsrz.ru> 
Unable to connect to server (in reply to end of DATA command))
Oct  1 08:53:35 gw dspam[31469]: Unable to accept: Too many open files
Oct  1 08:53:37 gw dspam[31469]: Unable to accept: Too many open files
Oct  1 08:53:37 gw postfix/lmtp[4475]: 128161DC1BD: to=<many@nsrz.ru>, 
relay=gw.nsrz.ru[/var/spool/postfix/dspam.sock], delay=28568, 
delays=21447/6812/307/1.3, dsn=4.3.0, status=deferred (host 
gw.nsrz.ru[/var/spool/postfix/dspam.sock] said: 421 4.3.0 <many@nsrz.ru> 
Unable to connect to server (in reply to end of DATA command))
[root@gw ~]#

Всё, что нашёл в инете по данному вопросу вот такое:
http://mailing-list.nuclearelephant.com/4190.html

Кто, что может сказать по данному вопросу?

Система текущий сизиф, ядро:
[root@gw ~]# uname -r
2.6.18-std-smp-alt3
[root@gw ~]#
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

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

* Re: [sisyphus] dspam & postfix & всё , всё , всё ...
  2007-10-01  6:45 [sisyphus] dspam & postfix & всё , всё , всё Алексей Шенцев
@ 2007-10-03 11:01 ` Алексей Шенцев
  2007-10-03 11:56   ` Epiphanov Sergei
  2007-10-03 13:51   ` Глодин С.В.
  0 siblings, 2 replies; 6+ messages in thread
From: Алексей Шенцев @ 2007-10-03 11:01 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Привет, всем!
Продолжим про dspam.
Сейчас он вызывается у меня из amavis-new. При этом в логах вижу такое:
Oct  3 14:54:49 gw dspam[16586]: Unable to create 
directory: /var/lib/dspam/data: Permission denied
Oct  3 14:54:49 gw dspam[16586]: Unable to open file for 
writing: /var/lib/dspam/data/m/a/mail/mail.stats: Permission denied

[root@gw /]# id dspam
uid=142(dspam) gid=438(dspam) группы=438(dspam),12(mail)
[root@gw /]# id amavis
uid=624(amavis) gid=624(amavis) группы=624(amavis),12(mail),19(proc),22
(cdrom),71(floppy),80(cdwriter),81(audio),83(radio),108(xgrp),36(camera),37
(scanner)
[root@gw /]#       

[root@gw /]# ls -al /var/lib/dspam/data/m/a/mail/mail.stats
-rw-rw-rw- 1 dspam mail 16 Окт  3 
13:24 /var/lib/dspam/data/m/a/mail/mail.stats
[root@gw /]#

Что не так?
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

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

* Re: [sisyphus] dspam & postfix & всё , всё , всё ...
  2007-10-03 11:01 ` Алексей Шенцев
@ 2007-10-03 11:56   ` Epiphanov Sergei
  2007-10-03 13:28     ` Алексей Шенцев
  2007-10-03 13:51   ` Глодин С.В.
  1 sibling, 1 reply; 6+ messages in thread
From: Epiphanov Sergei @ 2007-10-03 11:56 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

В сообщении от Wednesday 03 October 2007 15:01:24 Алексей Шенцев написал(а):
> [root@gw /]# ls -al /var/lib/dspam/data/m/a/mail/mail.stats
> -rw-rw-rw- 1 dspam mail 16 Окт  3
> 13:24 /var/lib/dspam/data/m/a/mail/mail.stats
> [root@gw /]#
>
> Что не так?

Первое предположение: проверить все права на вышестоящие каталоги:
/var/lib
/var/lib/dspam
/var/lib/dspam/data
и т.д.

Поглядеть при помощи ls -l и lsattr.

-- 
С уважением, Епифанов Сергей

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

* Re: [sisyphus] dspam & postfix & всё , всё , всё ...
  2007-10-03 11:56   ` Epiphanov Sergei
@ 2007-10-03 13:28     ` Алексей Шенцев
  0 siblings, 0 replies; 6+ messages in thread
From: Алексей Шенцев @ 2007-10-03 13:28 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

В сообщении от Wednesday 03 October 2007 15:56:59 Epiphanov Sergei написал(а):
> Первое предположение: проверить все права на вышестоящие каталоги:
> /var/lib
Ага, drwxr-xr-x 47 root root      1216 Сен 21 17:12 lib

> Поглядеть при помощи ls -l и lsattr.

[root@gw /]# ls -l /var/lib/dspam/data/m/a/mail && 
lsattr /var/lib/dspam/data/m/a/mail
итого 8
-rw-rw-rw- 1 dspam mail 1299 Окт  3 13:24 mail.log
-rw-rw-rw- 1 dspam mail   16 Окт  3 13:24 mail.stats
lsattr: Неприменимый к данному устройству ioctl While reading flags 
on /var/lib/dspam/data/m/a/mail/mail.stats
lsattr: Неприменимый к данному устройству ioctl While reading flags 
on /var/lib/dspam/data/m/a/mail/mail.log
[root@gw /]#

-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

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

* Re: [sisyphus] dspam & postfix & всё , всё , всё ...
  2007-10-03 11:01 ` Алексей Шенцев
  2007-10-03 11:56   ` Epiphanov Sergei
@ 2007-10-03 13:51   ` Глодин С.В.
  2007-10-03 14:08     ` Алексей Шенцев
  1 sibling, 1 reply; 6+ messages in thread
From: Глодин С.В. @ 2007-10-03 13:51 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

середа, 03-жов-2007, Алексей Шенцев написав:
> Привет, всем!
> Продолжим про dspam.
> Сейчас он вызывается у меня из amavis-new. При этом в логах вижу такое:
> Oct  3 14:54:49 gw dspam[16586]: Unable to create
> directory: /var/lib/dspam/data: Permission denied
> Oct  3 14:54:49 gw dspam[16586]: Unable to open file for
> writing: /var/lib/dspam/data/m/a/mail/mail.stats: Permission denied

Запустить dspam от имени amavis?

-- 
С уважением,
               С.В. Глодин



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

* Re: [sisyphus] dspam & postfix & всё , всё , всё ...
  2007-10-03 13:51   ` Глодин С.В.
@ 2007-10-03 14:08     ` Алексей Шенцев
  0 siblings, 0 replies; 6+ messages in thread
From: Алексей Шенцев @ 2007-10-03 14:08 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

В сообщении от Wednesday 03 October 2007 17:51:26 Глодин С.В. написал(а):
> Запустить dspam от имени amavis?
Как это указать в /etc/amavisd/conf.d/50-extprograms.conf ?
Там указано сейчас вот так:
[root@gw /]# cat /etc/amavis/conf.d/50-extprograms.conf | grep dspam
$dspam  = 'dspam';
[root@gw /]# 
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

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

end of thread, other threads:[~2007-10-03 14:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-01  6:45 [sisyphus] dspam & postfix & всё , всё , всё Алексей Шенцев
2007-10-03 11:01 ` Алексей Шенцев
2007-10-03 11:56   ` Epiphanov Sergei
2007-10-03 13:28     ` Алексей Шенцев
2007-10-03 13:51   ` Глодин С.В.
2007-10-03 14:08     ` Алексей Шенцев

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git