I use (under defaults):

mda "/path/to/procmail -d %T"

in my ~home/.fetchmailrc is this what you are looking for?

Greg

Paul Fraser wrote:

I looked into that, and found the fetchmail init.d script, but...

I need to run fetchmail with the ' -a -m "procmail -d %T" ' command appended, to deliver mail for a non-root user. How would I be able to do that?

On Thu, Oct 23, 2003 at 11:41:57PM -0700, Pat Kerwan wrote:


On Fri, Oct 24, 2003 at 02:06:40PM +1000, Paul Fraser wrote:


Whenever a cron task executes, vcron tries to email the results to me. Each time it fails, and outputs "sendmail: unable to open port 25" onto the console. Since one of the cron jobs is to check email every 5 minutes with fetchmail, this is really a pain in the rear end.

How can I tell vcron to stop trying to email me?



I'm not sure how to fix sendmail, but you could make fetchmail run in
daemon mode instead of using a cron job.

You can either set up daemon mode with the -d <interval> option on the
command line:

$ fetchmail -d 300 ...

or set it up in your .fetchmailrc with the line:

set daemon 300

- PK



--
Paul J. Fraser
[EMAIL PROTECTED]


--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list







--
[EMAIL PROTECTED] mailing list



Reply via email to