Thread View: alt.os.linux.mandrake
5 messages
5 total messages
Started by Greg Gailer
Tue, 13 Apr 2004 06:51
Fetchmail - setup question
Author: Greg Gailer
Date: Tue, 13 Apr 2004 06:51
Date: Tue, 13 Apr 2004 06:51
12 lines
1978 bytes
1978 bytes
Greetings I have set up fetchmail to retrieve my emails from an external server and deliver them to my small home network. I have a broadband connection and have set fetchmail up in an hourly cron job. It works wonderfully well. However, fetchmail sends an email to my internal user each time it is run. I cannot find any reference to this in the manual pages and my internal mailbox is rapidly filling up! Does anyone know of a way to turn this off? I would be quite satisfied with it only putting an entry in the syslog (which it is doing) and not sending the emails. Any help is greatly appreciated. Greg Gailer g_gailer@yahoo.com.au
Re: Fetchmail - setup question
Author: Maurice Janssen
Date: Tue, 13 Apr 2004 07:00
Date: Tue, 13 Apr 2004 07:00
16 lines
2104 bytes
2104 bytes
In comp.os.linux.networking, Greg Gailer wrote: >Greetings >I have set up fetchmail to retrieve my emails from an external server and >deliver them to my small home network. I have a broadband connection and >have set fetchmail up in an hourly cron job. It works wonderfully well. >However, fetchmail sends an email to my internal user each time it is run. It's not fetchmail that is sending those emails, but cron. Any output from a cron job is 'captured' by cron and sent to the owner of the cron job. If you redirect the standard output from fetchmail to /dev/null (by adding "> /dev/null" to the end of the fetchmail command) no output from fetchmail is seen by cron and no email will be sent. -- Maurice mauricej (at) xs4all (dot) nl
Re: Fetchmail - setup question
Author: Gregory Toomey
Date: Tue, 13 Apr 2004 09:49
Date: Tue, 13 Apr 2004 09:49
19 lines
1884 bytes
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
Re: Fetchmail - setup question
Author: Phill Edwards
Date: Mon, 10 May 2004 04:37
Date: Mon, 10 May 2004 04:37
28 lines
2227 bytes
2227 bytes
"Greg Gailer" <g_gailer@yahoo.com.au> wrote in message
news:407b8bf2$0$27649$61ce578d@news.syd.swiftdsl.com.au...
> Greetings
> I have set up fetchmail to retrieve my emails from an external server and
> deliver them to my small home network. I have a broadband connection and
> have set fetchmail up in an hourly cron job. It works wonderfully well.
> However, fetchmail sends an email to my internal user each time it is run.
I
> cannot find any reference to this in the manual pages and my internal
> mailbox is rapidly filling up! Does anyone know of a way to turn this off?
I
> would be quite satisfied with it only putting an entry in the syslog
(which
> it is doing) and not sending the emails. Any help is greatly appreciated.
>
> Greg Gailer
> g_gailer@yahoo.com.au
You don't have to run fetchmail form cron. In the fetchmailrc file you can
make it run in daemon mode and tell it how often to poll the mail servers.
Eg:
set daemon 300
makes it run in daemon mode and poll every 5 minutes. No cron required.
Regards,
Phill
Re: Fetchmail - setup question
Author: Martin
Date: Wed, 12 May 2004 01:31
Date: Wed, 12 May 2004 01:31
25 lines
2073 bytes
2073 bytes
Phill Edwards wrote: [...] > You don't have to run fetchmail form cron. In the fetchmailrc file you can > make it run in daemon mode and tell it how often to poll the mail servers. > Eg: > > set daemon 300 > > makes it run in daemon mode and poll every 5 minutes. No cron required. If you run fetchmail as a service, eg: "service fetchmail start", then you must also edit the /etc/rc.d/init.d/fetchmail script to delete the "-d nn" on the command line there. See "man fetchmail" about "-d". Good luck, Martin -- ---------- Give a man a fish and you have fed him for today. - Martin - Teach him how to fish and he won't bother you for weeks! - 53N 1W - - Anon ----------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads