Re: [exim] exigrep on rejectlog

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



>
>Muhhh...
>
>Works here on fractional email addresses (FreeBSD 6.X, euid of 0)
>
>So ... what user are you running each as?
>
>I *suspect* that:
>
>- you are NOT 'root'
>
>- your 'grep' binary has execute privileges for all users & read-acess to
>the
>~/rejectlog file
>
>- your 'exigrep' binary may not have (both) for the euid you are invoking
>it as...
>
>Can you try it as . ELSE su to
>'root', and/or change the perms?



>I *suspect* that:
>
>- you are NOT 'root'

I'm not ENTIRELY sure I understand you

I'm still pretty new at BSD Exim

but I did run both commands as root by su-

this machine is only a filter that passes mail to my exchange box-
the only user account is jnatola aside from root-

i tried
sudo exigrep jnatola /var/log/exim/rejectlog
sudo: Command not found.

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

_________________________________________________________________
Dave vs. Carl: The Insignificant Championship Series.  Who will win?
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001