Hi,

While exploring the command-line interface I noticed that NAV sends e-mail
to the local user.

Is there a way for Entourage to retrieve these messages? If so, how is it
done?

TIA

Re: Entourage, CRON and, NAV by Corentin

Corentin
Thu Jun 10 11:51:32 CDT 2004

On Wed, 9 Jun 2004 21:14:58 -0500, Gilles Dorion wrote
(in article <BCED3C62.1095B%gdorion1@haha.aei.ca>):

>
> While exploring the command-line interface I noticed that NAV sends e-mail
> to the local user.
>
> Is there a way for Entourage to retrieve these messages? If so, how is it
> done?

Nav 9 comes with a command line app. Here are the options for this app:

corentin:~ corentin$ navx -h
Usage: navx [OPTION]... [FILE]...
Options are:
-a report all files scanned
-c scan inside of compressed files
-f force run, even if the file specified with -o can't be opened
-h report files that were inaccessible for scanning
-Q quarantine files that can't be repaired
-r do not repair infected files (invalidates -Q)
-v display the version number
-o <file> append output to <file>

I don't see any built-in command that mails the logs to a local user.
You can nevertheless easily configure your commands (or scripts) to pipe the
results of a scan to the mail command and send it to whomever you want...


Corentin


--
--- Mac:MS MVP (Francophone) ---
http://www.mvps.org/ http://mvp.support.microsoft.com/
MVPs are not MS employees... / Les MVP ne travaillent pas pour MS...
Retirez NoSpam de mon adresse pour m'écrire / Remove NoSpam to e-mail me


Re: Entourage, CRON and, NAV by Corentin

Corentin
Thu Jun 10 14:00:23 CDT 2004

On Thu, 10 Jun 2004 11:51:32 -0500, Corentin Cras-Méneur [MVP] wrote
(in article <#FW7vswTEHA.2704@TK2MSFTNGP10.phx.gbl>):

> Nav 9 comes with a command line app. Here are the options for this app:

BTW, what part of the question was about cron ???


Corentin



--
--- Mac:MS MVP (Francophone) ---
http://www.mvps.org/ http://mvp.support.microsoft.com/
MVPs are not MS employees... / Les MVP ne travaillent pas pour MS...
Retirez NoSpam de mon adresse pour m'écrire / Remove NoSpam to e-mail me


Re: Entourage, CRON and, NAV by Gilles

Gilles
Fri Jun 11 05:35:34 CDT 2004

in article uyO$v0xTEHA.1368@TK2MSFTNGP11.phx.gbl, Corentin Cras-Méneur [MVP]
at korventeen@NoSpam.mvps.org wrote on 10/06/04 15:00:

> On Thu, 10 Jun 2004 11:51:32 -0500, Corentin Cras-Méneur [MVP] wrote
> (in article <#FW7vswTEHA.2704@TK2MSFTNGP10.phx.gbl>):
>
>> Nav 9 comes with a command line app. Here are the options for this app:
>
> BTW, what part of the question was about cron ???
>
>
> Corentin
>
>
I just added CRON for good measure!

Here is what I get:

Last login: Fri Jun 11 06:12:11 on ttyp2
Welcome to Darwin!
You have mail.
iMac1250:~ gillesdorion$ mail -v
Mail version 8.1 6/6/93. Type ? for help.
"/var/mail/gillesdorion": 2 messages 2 new
>N 1 gillesdorion@iMac125 Fri Jun 11 06:00 31/1209 "Cron <gillesdorion@iM"
N 2 gillesdorion@iMac125 Fri Jun 11 06:00 31/1209 "Cron
<gillesdorion@iM"

And this is what it looks like:

& n
Message 2:
From gillesdorion@iMac1250.local Fri Jun 11 06:00:36 2004
X-Original-To: gillesdorion@iMac1250.local
Delivered-To: gillesdorion@iMac1250.local
From: gillesdorion@iMac1250.local (Cron Daemon)
To: gillesdorion@iMac1250.local
Subject: Cron <gillesdorion@iMac1250> "/Library/Application Support/Norton
Solutions Support/Scheduler/schedLauncher" -n 0 "/Library/Application
Support/Norton Solutions Support/Norton AntiVirus/scheduledScanner" " "
"NVsi" "SCae" "path" "/System"
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/Users/gillesdorion>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=gillesdorion>
X-Cron-Env: <USER=gillesdorion>
Date: Fri, 11 Jun 2004 06:00:33 -0400 (EDT)

Scanning...

Scan results:
46431 files encountered.
46429 files accessible for scanning.
22492 files inside of archives encountered.
22492 files inside of archives examined.
0 files inside of archives infected.

Scan started : Fri Jun 11 06:00:01 2004
Scan finished: Fri Jun 11 06:00:33 2004

So I was wondering if I could set up Entourage to retrieve these and delete
them as I go along.

From limited knowledge I assume that CRON executes a series of tasks
inserted in a task list but that is the extent of it.

Thanks


Re: Entourage, CRON and, NAV by Corentin

Corentin
Fri Jun 11 16:24:30 CDT 2004

On Fri, 11 Jun 2004 05:35:34 -0500, Gilles Dorion wrote
(in article <BCEF0336.10ACE%gdorion1@aei.ca>):

>
> So I was wondering if I could set up Entourage to retrieve these and delete
> them as I go along.
>
> From limited knowledge I assume that CRON executes a series of tasks
> inserted in a task list but that is the extent of it.


I see. You must have some tasks scheduled through NAV to scan your drive.
This looks like the log it generates. I don't see that on my Mac (but I
didn't schedule scans).

It looks like the Norton Scheduler uses cron to schedule the tasks (which is
not a bad idea...).
I looked in cronnix and the entry looks like that:
"/Library/Application Support/Norton Solutions
Support/Scheduler/schedLauncher" -n 0 "/Library/Application Support/Norton
Solutions Support/Norton AntiVirus/scheduledScanner" " " "NVsi" "SCae" "path"
"/Volumes/Gloubi/Users/corentin"


I don;t quite see any option to redirect the log. One thing you can probably
though though is to place a .forward file in ~/ with the address you want the
mail forwarded to. I don;t quite know how well it'd work without activating
postfix on the Mac (and I can't test because it already is active on my Mac
and I can't deactivate it just for the test...).


Corentin



--
--- Mac:MS MVP (Francophone) ---
http://www.mvps.org/ http://mvp.support.microsoft.com/
MVPs are not MS employees... / Les MVP ne travaillent pas pour MS...
Retirez NoSpam de mon adresse pour m'écrire / Remove NoSpam to e-mail me