On Thu, Jun 10, 2004 at 12:55:04AM +0300, David Harel wrote:

> Some time ago I asked this group about an idea of mine to track smtp 
> activity.
>[snip]
> The program /usr/local/mozilla/mozilla-bin  pid 15914
> sends SMTP message using tcp Protocol to
> Remote_Address 212.117.129.230

Very nice.
 
> The program detects if you got X11 running (again looking for processes 
> in /proc but this time looking for the file cmdline) . In that case it 
> will use xmessage to send you the warning. otherwise it sends the 
> message to /dev/console.

A better way would be using syslog.

An about X11, prehaps it would be better if it uses some more sophisticated 
notification method like xnotify.py, which I described in my blog:

http://www.livejournal.com/users/da_x/2972.html

-- 
Dan Aloni
[EMAIL PROTECTED]

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to