Re: [newbie] Procmail and Fetchmail as system services

2003-09-05 Thread robin
HaywireMac wrote: On Wed, 03 Sep 2003 16:43:03 +1000 Stephen Kuhn <[EMAIL PROTECTED]> uttered: Why not /dev/null? Have you actually read through the entire RC file yet? Funnily enough, this is one of the first messages I received since a typo in my rc.mail sent all of my mail to /

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread Stephen Kuhn
On Wed, 2003-09-03 at 22:06, HaywireMac wrote: > On Wed, 3 Sep 2003 07:49:39 -0400 > Bryan Phinney <[EMAIL PROTECTED]> uttered: > > > This doesn't sound too hard. > > To a software test engineer maybe... Ok...step by step. 1.) Download the nkvir-rc and put it in your /etc/ directory 2.) Edit

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread Bryan Phinney
On Wednesday 03 September 2003 02:09 pm, HaywireMac wrote: > On Wed, 3 Sep 2003 13:51:49 -0400 > > Bryan Phinney <[EMAIL PROTECTED]> uttered: > > I don't think that it would be too hard. I could do a DNS query for > > an MX record and if you don't have one, simply deny the connect. If > > you are

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread Bryan Phinney
On Wednesday 03 September 2003 12:00 pm, HaywireMac wrote: ...snip > > How is that accomplished? That would be a procmail recipe, I assume, no? Yes, something like this: :0H * ^List-Owner: /var/spool/mail/user In the above recipe, it checks headers for the List-Owner he

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread HaywireMac
On Wed, 3 Sep 2003 12:02:15 -0400 Bryan Phinney <[EMAIL PROTECTED]> uttered: > If he really wants to try to do that, I can try to find where that was > again. Nah, I'm gonna stick with the info you guys have provided for now, keep it simple, right? Thanks for all the help and explanations, I'm s

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread Bryan Phinney
On Wednesday 03 September 2003 11:37 am, Derek Jennings wrote: > On Wednesday 03 Sep 2003 4:28 pm, Bryan Phinney wrote: > > On Wednesday 03 September 2003 10:45 am, HaywireMac wrote: > > > > IIRC, Fetchmail can pass mail through Procmail like a filter, > > > > > > like so:? > > > > > > postconnect

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread HaywireMac
On Wed, 3 Sep 2003 11:28:13 -0400 Bryan Phinney <[EMAIL PROTECTED]> uttered: > On Wednesday 03 September 2003 10:45 am, HaywireMac wrote: > > > > IIRC, Fetchmail can pass mail through Procmail like a filter, > > > > like so:? > > > > postconnect "procmail"? > > IIRC, I read this, but am not doin

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread HaywireMac
On Wed, 3 Sep 2003 16:25:42 +0100 Derek Jennings <[EMAIL PROTECTED]> uttered: > > If you install the fetchmail-daemon RPM then fetchmail will > automatically start as a root service using /etc/fetcmailrc as its > config file. > BTW: I may have mentioned this before, but there is a writeup on my >

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread Derek Jennings
On Wednesday 03 Sep 2003 4:28 pm, Bryan Phinney wrote: > On Wednesday 03 September 2003 10:45 am, HaywireMac wrote: > > > IIRC, Fetchmail can pass mail through Procmail like a filter, > > > > like so:? > > > > postconnect "procmail"? > > IIRC, I read this, but am not doing it myself. I would have

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread HaywireMac
On Wed, 3 Sep 2003 09:01:05 -0400 Bryan Phinney <[EMAIL PROTECTED]> uttered: > On Wednesday 03 September 2003 08:06 am, HaywireMac wrote: > > On Wed, 3 Sep 2003 07:49:39 -0400 > > > > Bryan Phinney <[EMAIL PROTECTED]> uttered: > > > > > 1. Run Fetchmail as root > > > > So, if I were to follow Ste

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread Bryan Phinney
On Wednesday 03 September 2003 08:06 am, HaywireMac wrote: > On Wed, 3 Sep 2003 07:49:39 -0400 > > Bryan Phinney <[EMAIL PROTECTED]> uttered: > > This doesn't sound too hard. > > To a software test engineer maybe... Hey, those who can't do, test. ;-} My personal skillset consists, modestly, of b

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread HaywireMac
On Wed, 3 Sep 2003 07:49:39 -0400 Bryan Phinney <[EMAIL PROTECTED]> uttered: > This doesn't sound too hard. To a software test engineer maybe... > 1. Run Fetchmail as root So, if I were to follow Stephen's advice and use cron instead of inetd, I could just su root and crontab -e to create a

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread HaywireMac
On Wed, 03 Sep 2003 16:43:03 +1000 Stephen Kuhn <[EMAIL PROTECTED]> uttered: > > Why not /dev/null? > > Have you actually read through the entire RC file yet? > The idea would be to collect the crap, inspect the crap, then delete > the crap... I generally don't want to inspect crap, but I se

Re: [newbie] Procmail and Fetchmail as system services

2003-09-03 Thread Bryan Phinney
On Tuesday 02 September 2003 09:15 pm, HaywireMac wrote: > On Wed, 03 Sep 2003 07:35:42 +1000 > > Stephen Kuhn <[EMAIL PROTECTED]> uttered: > > Look - it's dependent on your need and requirement. > > What I want to do is implement that wunderbar procmail recipe you linked > us to, and test it out,

Re: [newbie] Procmail and Fetchmail as system services

2003-09-02 Thread Stephen Kuhn
On Wed, 2003-09-03 at 12:12, HaywireMac wrote: > Why not /dev/null? Have you actually read through the entire RC file yet? The idea would be to collect the crap, inspect the crap, then delete the crap... What if something came through that WASN'T a bug and WAS important? > > Uh - why not jus

Re: [newbie] Procmail and Fetchmail as system services

2003-09-02 Thread HaywireMac
On Wed, 03 Sep 2003 11:53:52 +1000 Stephen Kuhn <[EMAIL PROTECTED]> uttered: > > > /etc/procmailrc calls the /etc/nkvir-rc from the INCLUDERC= file - so > you have to look through the nkvir-rc and make sure you create a > /var/spool/mail/virus/ directory - other than that, it's quite cool... W

Re: [newbie] Procmail and Fetchmail as system services

2003-09-02 Thread Stephen Kuhn
On Wed, 2003-09-03 at 11:15, HaywireMac wrote: > What I want to do is implement that wunderbar procmail recipe you linked > us to, and test it out, eventually I would like to have a mail server up > and running so that it: > > 1. Retrieves the mail from the ISP (fetchmail, precalls mailfilter as

Re: [newbie] Procmail and Fetchmail as system services

2003-09-02 Thread HaywireMac
On Wed, 03 Sep 2003 07:35:42 +1000 Stephen Kuhn <[EMAIL PROTECTED]> uttered: > Look - it's dependent on your need and requirement. What I want to do is implement that wunderbar procmail recipe you linked us to, and test it out, eventually I would like to have a mail server up and running so that

Re: [newbie] Procmail and Fetchmail as system services

2003-09-02 Thread Mark
On Tue, 2 Sep 2003, HaywireMac wrote: > > Most of the guides and tutorials I see use ~/.procmalrc as an example, > for use with Fetchmail. > > Now, I would like my machine to run Fetchmail as a system service, then > have Procmail twiddle with the mail once it's been delivered to the > appropria

Re: [newbie] Procmail and Fetchmail as system services

2003-09-02 Thread Bryan Phinney
On Tuesday 02 September 2003 03:10 pm, HaywireMac wrote: > Most of the guides and tutorials I see use ~/.procmalrc as an example, > for use with Fetchmail. > > Now, I would like my machine to run Fetchmail as a system service, then > have Procmail twiddle with the mail once it's been delivered to t