Re: [exim] exigrep on rejectlog

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: jean-paul natola
Ημερομηνία:  
Προς: wbh, exim-users
Αντικείμενο: Re: [exim] exigrep on rejectlog


> >
>*snip*
>
> > i tried
> > sudo exigrep jnatola /var/log/exim/rejectlog
> > sudo: Command not found.
>
>Good news, actually.
>
>*BSD should not, by default, have 'sudo' installed (nasty security
>headaches).
>
>I had ass-u-me'd Linux. Sorry 'bout that!
>
> >
> > but you were correct in stating that grep and exigrep have different
>perms
> > -rwxr-xr-x 1 root wheel 4485 Aug 6 15:08 exigrep
> > -r-xr-xr-x 9 root wheel 72284 May 8 2005 grep
> >
>
>Yes, but not in a way that matters.
>
>Both have the all-other users execute bit set.
>
>Do an:
>
>ls -lFG /var/log/exim
>
>And see who 'owns' the log files, plus insuring that there are no subdirs
>of same.


it appears the both logs are owned by the same

milter# ls -lFGh /var/log/exim
total 9968
-rw-r--r--  1 root      mail   1.3M Oct 24 22:50 1
-rw-r-----  1 mailnull  mail   268K Jan  5 16:23 mainlog
-rw-r-----  1 mailnull  mail   914K Jan  5 10:51 mainlog.0.gz
-rw-r--r--  1 root      mail     0B Nov  9 10:16 p5-Mail-SpamAssassin-3.1.7
-rw-r-----  1 mailnull  mail   470K Jan  5 15:33 paniclog
-rw-r-----  1 mailnull  mail   1.3M Jan  5 16:23 rejectlog
-rw-r-----  1 mailnull  mail   5.3M Jan  5 10:51 rejectlog.0.gz


_________________________________________________________________
The MSN Entertainment Guide to Golden Globes is here. Get all the scoop.
http://tv.msn.com/tv/globes2007/?icid=nctagline2