1 |
On Thursday 26 Jun 2014 16:08:52 Neil Bothwick wrote: |
2 |
> On Thu, 26 Jun 2014 09:14:39 -0500, Dale wrote: |
3 |
> > Holy sheep. It worked. I lost my jaw yesterday I think it was. I'm |
4 |
> > not sure what I am going to be missing now. :-D Neil and Allan will so |
5 |
> > impressed. LOL |
6 |
> > |
7 |
> > OK. So, what will send me a message now? Do I need to tell it to send |
8 |
> > me something, say from smart stuff, or does it just know to do it? |
9 |
> |
10 |
> You tell cron where to mail reports by setting MAILTO=you@wherever at the |
11 |
> top of /etc/crontab. It will then mail you every time a cronjob produces |
12 |
> output. |
13 |
|
14 |
Or complete the /etc/ssmtp/ssmtp.conf and revaliases with the info I have sent |
15 |
you in this thread and set MAILTO=root in your /etc/crontab. |
16 |
|
17 |
I would think that your ISP providers in the US will be blocking outgoing port |
18 |
25 to stop compromised MSWindows machines spamming the rest of us. If you use |
19 |
my suggestion there shouldn't be a problem. |
20 |
|
21 |
If your internet connection is down for some reason, you should get deadletter |
22 |
files in /root/ with the output. |
23 |
|
24 |
-- |
25 |
Regards, |
26 |
Mick |