On Fri, Oct 24, 2003 at 04:55:54PM +1000, 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?
> 

Just add '-d 300' to your fetchmail command line.

I.e.

$ fetchmail -d 300 -a -m "procmail -d %T"

(And, as was already mentioned, you can also use the mda option in your
fetchmailrc.)

- PK

> 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
> 
> -- 
> Paul J. Fraser
> [EMAIL PROTECTED]
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list

Reply via email to