🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.mandrake
Article #110

Re: Fetchmail - setup question

#110
From: Gregory Toomey
Date: Tue, 13 Apr 2004 09:49
19 lines
1884 bytes
Maurice Janssen wrote:

> adding "> /dev/null" to the end of the fetchmail command) no output from
> fetchmail is seen by cron and no email will be sent.


You can also send stderr & stdout to /dev/null by appending 2>&1 . In
addition you can set the shell, email address and default directory for
cron.


SHELL=/bin/bash
MAILTO=spam_me_not@site.com
HOME=/home/gmt/

10 * * * * fetchmail ... >/dev/null 2>&1


gtoomey
Technical Details
Message-ID: <2054949.zhQ8b3JGAS@GMT-hosting-and-pickle-farming>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!ess-p-144-138-73-195.mega.tmns.net.AU!not-for-mail
References: <407b8bf2$0$27649$61ce578d@news.syd.swiftdsl.com.au> <c5g36e$lvh$1@linux.z74.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8a83,f4fdd0ba7f760d35
X-Google-Attributes: gidf8a83,public
X-Google-Thread: f9b51,f4fdd0ba7f760d35
X-Google-Attributes: gidf9b51,public
X-Google-Thread: 102983,f4fdd0ba7f760d35
X-Google-Attributes: gid102983,public
X-Google-Thread: 10669a,f4fdd0ba7f760d35
X-Google-Attributes: gid10669a,public
X-Google-ArrivalTime: 2004-04-13 02:49:13 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!ess-p-144-138-73-195.mega.tmns.net.AU!not-for-mail
From: Gregory Toomey <nospam@bigpond.com>
Newsgroups: alt.os.linux.mandrake,aus.computers.linux,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Fetchmail - setup question
Followup-To: alt.os.linux.mandrake,aus.computers.linux,comp.os.linux.networking,comp.os.linux.setup
Date: Tue, 13 Apr 2004 19:49:04 +1000
Lines: 19
Message-ID: <2054949.zhQ8b3JGAS@GMT-hosting-and-pickle-farming>
References: <407b8bf2$0$27649$61ce578d@news.syd.swiftdsl.com.au> <c5g36e$lvh$1@linux.z74.net>
NNTP-Posting-Host: ess-p-144-138-73-195.mega.tmns.net.au (144.138.73.195)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Trace: news.uni-berlin.de 1081849751 1375294 I 144.138.73.195 ([202028])
User-Agent: KNode/0.7.2
X-Hello: Why are you looking at my headers - your Outlook Express cant do this