[Clamav-users] Re: aliases.db Permission denied

2005-02-15 Thread Ren Berber
Sergey Yudin wrote:
Please can someone tell me, what these errors means ? 
Does clamav try to rehash aliases.db ? 

== 
Feb 15 13:49:17 mail.crit astra sendmail[3469]: j1F8nHog003469: SYSERR(clamav): Cannot 
open hash database /etc/mail/aliases.db: Permission denied 

Feb 15 13:49:17 mail.crit astra sendmail[3469]: j1F8nHog003469: SYSERR(clamav): 
collect: Cannot write ./dfj1F8nHog003469 (bfcommit, uid=121, gid=25): Permission denied 

Feb 15 13:49:17 mail.alert astra sendmail[3469]: j1F8nHog003469: SYSERR(clamav): 
queueup: cannot create queue file ./qfj1F8nHog003469, euid=121, fd=-1, fp=0x0: 
Permission denied 
== 
It means you have a wrong sendmail configuration and probably a full 
file system in top of that.

As already pointed out, it has nothing to do with clamav, but the 
SYSERR(clamav) part means you are running sendmail as user clamav... 
which is probably not what you wanted to do.

Regards.
--
Ren Berber
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] Re: aliases.db Permission denied

2005-02-15 Thread Sergey Yudin
?? Please can someone tell me, what these errors means ?
?? Does clamav try to rehash aliases.db ?
??
?? 
==
?? Feb 15 13:49:17 mail.crit astra sendmail[3469]: j1F8nHog003469: 
SYSERR(clamav): Cannot
?? open hash database /etc/mail/aliases.db: Permission denied
??
?? Feb 15 13:49:17 mail.crit astra sendmail[3469]: j1F8nHog003469: 
SYSERR(clamav):
?? collect: Cannot write ./dfj1F8nHog003469 (bfcommit, uid=121, gid=25): 
Permission denied
??
?? Feb 15 13:49:17 mail.alert astra sendmail[3469]: j1F8nHog003469: 
SYSERR(clamav):
?? queueup: cannot create queue file ./qfj1F8nHog003469, euid=121, fd=-1, 
fp=0x0:
?? Permission denied
?? 
==
RB It means you have a wrong sendmail configuration and probably a full
RB file system in top of that.
RB As already pointed out, it has nothing to do with clamav, but the
RB SYSERR(clamav) part means you are running sendmail as user clamav...
RB which is probably not what you wanted to do.
Hello Rene!
let me post more logs
=Beginning of the citation==
Feb 15 13:49:15 mail.info astra sendmail[3467]: NOQUEUE: connect from 
srv.rasprodaga.ru
[83.222.5.53]
Feb 15 13:49:15 mail.info astra sendmail[3467]: j1F8nFvV003467: dns 
53.5.222.83.in-addr.arpa.
= srv.rasprodaga.ru
Feb 15 13:49:15 mail.info astra sendmail[3467]: j1F8nFvV003467: Milter 
(spfmilter): init
success to negotiate
Feb 15 13:49:15 mail.info astra sendmail[3467]: j1F8nFvV003467: Milter 
(clamav): init success
to negotiate
Feb 15 13:49:15 mail.info astra sendmail[3467]: j1F8nFvV003467: Milter: 
connect to filters
Feb 15 13:49:17 mail.info astra sendmail[3467]: j1F8nFvV003467: from=, 
size=42859, class=0,
nrcpts=1, [EMAIL PROTECTED],
proto=SMTP, daemon=MTA, relay=srv.rasprodaga.ru [83.222.5.53]
Feb 15 13:49:17 mail.info astra sendmail[3467]: j1F8nFvV003467: Milter add: 
header: Received-SPF:
none (astra.ufa.iib.ru: [EMAIL PROTECTED] does not designate permitted sender
hosts) receiver=astra.ufa.iib.ru; client-ip=83.222.5.53; helo=srv.rasprodaga.ru;
envelope-from=; x-software=spfmilter 0.95 
http://www.acme.com/software/spfmilter/ with libspf2;
Feb 15 13:49:17 mail.info astra sendmail[3467]: j1F8nFvV003467: Milter add: 
header: X-Virus-Scanned:
ClamAV version 0.83, clamav-milter version 0.83 on astra.ufa.iib.ru
Feb 15 13:49:17 mail.info astra sendmail[3467]: j1F8nFvV003467: Milter add: 
header: X-Virus-Status:
Infected with Worm.SomeFool.P
=== Here Clamav is reporting a virus
Can you explain how clavav sends EMAIL ? via smtp:25 or running 
/usr/sbin/sendmail -t ?
by the way
sendmail has atrributes:
# ls -l /usr/sbin/sendmail
-r-xr-sr-x  1 root  smmsp  562348 Feb 11 22:03 /usr/sbin/sendmail
Press any key to continue...
Feb 15 13:49:17 mail.info astra sendmail[3469]: NOQUEUE: connect from [EMAIL 
PROTECTED]
Feb 15 13:49:17 mail.crit astra sendmail[3469]: j1F8nHog003469: 
SYSERR(clamav): Cannot open
hash database /etc/mail/aliases.db: Permission denied
Feb 15 13:49:17 mail.info astra sendmail[3469]: j1F8nHog003469: alias postmaster 
= root
Feb 15 13:49:17 mail.info astra sendmail[3469]: j1F8nHog003469: alias root = 
sergey
Feb 15 13:49:17 mail.crit astra sendmail[3469]: j1F8nHog003469: 
SYSERR(clamav): collect:
Cannot write ./dfj1F8nHog003469 (bfcommit, uid=121, gid=25): Permission denied
Feb 15 13:49:17 mail.info astra sendmail[3469]: j1F8nHog003469: from=clamav, 
size=447,
class=0, nrcpts=2, [EMAIL PROTECTED]
Feb 15 13:49:17 mail.debug astra sendmail[3469]: j1F8nHog003469:   0: fl=0x2, 
mode=1: FIFO:
dev=0/0, ino=0, nlink=0, u/gid=0/0, size=0
Feb 15 13:49:17 mail.debug astra sendmail[3469]: j1F8nHog003469:   1: fl=0x1, 
mode=20666: CHR:
dev=131/131072, ino=4499, nlink=1, u/gid=0/0, size=0
Feb 15 13:49:17 mail.debug astra sendmail[3469]: j1F8nHog003469:   2: fl=0x1, 
mode=20666: CHR:
dev=131/131072, ino=4499, nlink=1, u/gid=0/0, size=0
Feb 15 13:49:17 mail.debug astra sendmail[3469]: j1F8nHog003469:   3: fl=0x2, 
mode=140666:
SOCK [0]-[[UNIX: /var/run/log]]
Feb 15 13:49:17 mail.debug astra sendmail[3469]: j1F8nHog003469:   4: fl=0x1, 
mode=20666: CHR:
dev=131/131072, ino=4499, nlink=1, u/gid=0/0, size=0
Feb 15 13:49:17 mail.alert astra sendmail[3469]: j1F8nHog003469: 
SYSERR(clamav): queueup:
cannot create queue file ./qfj1F8nHog003469, euid=121, fd=-1, fp=0x0: 
Permission denied
Feb 15 13:49:17 mail.info astra sendmail[3467]: j1F8nFvV003467: Milter: data, 
reject=554
5.7.1 virus Worm.SomeFool.P detected by ClamAV - http://www.clamav.net
=The end of the citation
With best regards... 

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users