Entourage, CRON and, NAV

G

Gilles Dorion

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
 
C

Corentin Cras-Méneur [MVP]

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
 
G

Gilles Dorion

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 [email protected] Fri Jun 11 06:00:36 2004
X-Original-To: [email protected]
Delivered-To: [email protected]
From: [email protected] (Cron Daemon)
To: [email protected]
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
 
C

Corentin Cras-Méneur [MVP]

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
 
Top