Re: [gentoo-user] vcron sendmail

2003-10-24 Thread Pat Kerwan


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



Re: [gentoo-user] vcron sendmail

2003-10-24 Thread Paul Fraser
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

-- 
Paul J. Fraser
[EMAIL PROTECTED]


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vcron sendmail

2003-10-24 Thread Smokey
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


Re: [gentoo-user] vcron sendmail

2003-10-24 Thread Pat Kerwan


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



Re: [gentoo-user] vcron sendmail

2003-10-24 Thread Paul Fraser
Alright, thanks. :) I'll give those a try and let you know how it goes.

On Fri, Oct 24, 2003 at 12:14:23AM -0700, Pat Kerwan wrote:
 
 
 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

-- 
Paul J. Fraser
[EMAIL PROTECTED]


--
[EMAIL PROTECTED] mailing list



[gentoo-user] vcron sendmail

2003-10-23 Thread Paul Fraser
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?

-- 
Paul J. Fraser
[EMAIL PROTECTED]


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vcron sendmail

2003-10-23 Thread Paul Fraser
Argh, no I didn't!
I added MAILTO= at the top of /etc/crontab, thinking that'd tell it not to mail to 
anyone - but it hasn't fixed it. So I'm back on the hunt again. If anybody could point 
out a solution, I'd be damned grateful.

Sorry for the multiple emails too.

On Fri, Oct 24, 2003 at 02:23:12PM +1000, Paul Fraser wrote:
 Oops, nevermind. I've sorted it out.. I should really learn to read more. :)
 
 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?
  
  -- 
  Paul J. Fraser
  [EMAIL PROTECTED]
  
  
  --
  [EMAIL PROTECTED] mailing list
 
 -- 
 Paul J. Fraser
 [EMAIL PROTECTED]
 
 
 --
 [EMAIL PROTECTED] mailing list

-- 
Paul J. Fraser
[EMAIL PROTECTED]


--
[EMAIL PROTECTED] mailing list