Re: testing procmail
After all of that, you didn't even post what the resolution was!@!!! /jgh - Original Message - From: J McKitrick <[EMAIL PROTECTED]> Date: Wednesday, March 15, 2000 1:00 pm Subject: Re: testing procmail > Nevermind. Figured it out. > > jm > -- > - > Jonathon McKitrick / [EMAIL PROTECTED] \ > "I prefer the term Artificial Person myself."/ > - >
Re: testing procmail
Enable verbose logging in procmail. And remember that you need a local lockfile for file deliveries. This is really off-topic here. A searchable procmail mailing list archive is at http://www.xray.mpe.mpg.de/mailing-lists/procmail/ J McKitrick writes: > Well, i took your advice, and according to the test, this should work. > I tried the most basic possible procmail filter: > I'm trying to match subjects with 'test' in them. But every time i > send myself such a message, it disappears into oblivion. > > The procmail rule sends it to 'chat', which is a mailbox > ~/mail/chat > > But it never shows up in chat. No thing returns from the mailing, no > errors. It just disappears. > > jm > -- > - > Jonathon McKitrick / [EMAIL PROTECTED] \ > "I prefer the term Artificial Person myself."/ > - -- "We demand rigidly defined areas of doubt and uncertainty!" -- Vroomfondel
Re: testing procmail
On Wed, Mar 15, 2000 at 05:32:50PM +, J McKitrick wrote: :I realize this is a mutt list, not a procmail list, :but this is just a quick question not worth subscribing to another :list for: : :Here's my test .procmailrc : :Problem is, nothing sent from me is ending up in chat. it all goes to :the default directory. To your .procmailrc, add this line to enable extended diagnostics: VERBOSE=on Then send another test email, and check your LOGFILE to see what Procmail is doing. The recipe looks fine, so I'm guessing that Procmail isn't even running. In which case you need to fix your $HOME/.forward file, if your local MTA (Sendmail, qmail, etc.) isn't configured to call Procmail automatically. -- Eugene Lee [EMAIL PROTECTED]
Re: testing procmail
I realize this is a mutt list, not a procmail list, but this is just a quick question not worth subscribing to another list for: Here's my test .procmailrc Problem is, nothing sent from me is ending up in chat. it all goes to the default directory. In .muttrc, i have: mailboxes ~/mail ~/mail/chat jm -- - Jonathon McKitrick / [EMAIL PROTECTED] \ "I prefer the term Artificial Person myself."/ - MAILDIR=/usr/home/jcm/mail LOGFILE=/usr/home/jcm/procmail.log :0 * ^From:.*jcm $MAILDIR/chat # Fall back to the default mailbox.
Re: testing procmail
Nevermind. Figured it out. jm -- - Jonathon McKitrick / [EMAIL PROTECTED] \ "I prefer the term Artificial Person myself."/ -
Re: testing procmail
Well, i took your advice, and according to the test, this should work. I tried the most basic possible procmail filter: I'm trying to match subjects with 'test' in them. But every time i send myself such a message, it disappears into oblivion. The procmail rule sends it to 'chat', which is a mailbox ~/mail/chat But it never shows up in chat. No thing returns from the mailing, no errors. It just disappears. jm -- - Jonathon McKitrick / [EMAIL PROTECTED] \ "I prefer the term Artificial Person myself."/ -
Re: testing procmail
There is an excellent procmail FAQ. It shows you step-by-step method to test the procmail. If it worked for me, it must be easy. I was able to set up procmail in my personal mail account w/o any problem. However, I'm having trouble w/ my work mail account. For some reason I can not "|" or write to file from my .forward file which renders my procmail useless. It says I don't have the right shell. Oh well, I'll probably have to look somewhere else for the answer. * J McKitrick ([EMAIL PROTECTED]) [000315 08:49]: > I'm trying to test procmail with mutt. I'm new to mutt, and *very* > new to procmail I used a friend's procmailrc as a template, but i > need to know if there s a way to test it without losing mail. > > jm > -- > - > Jonathon McKitrick / [EMAIL PROTECTED] \ > "I prefer the term Artificial Person myself."/ > - -- -- Robert W. Kim e-mail: [EMAIL PROTECTED] --
Re: testing procmail
On Wed, Mar 15, 2000 at 11:30:07AM -0500, J McKitrick wrote: > I'm trying to test procmail with mutt. I'm new to mutt, and *very* > new to procmail I used a friend's procmailrc as a template, but i > need to know if there s a way to test it without losing mail. Check out http://www.uwasa.fi/~ts/info/proctips.html. Specifically, look at Tip #2: Building a test-bench. How can I test individual procmail recipes? -- Thanks, Jon Walthour, BSCD Cincinnati, Ohio ~~~ The 21st century begins on January 1, 2001
Re: testing procmail
I got started with this...and it helped out very much http://www.ii.com/internet/robots/procmail/qs/ /jgh - Original Message - From: Jag <[EMAIL PROTECTED]> Date: Wednesday, March 15, 2000 11:12 am Subject: Re: testing procmail > On Wed, 15 Mar 2000, J McKitrick wrote: > > > I'm trying to test procmail with mutt. I'm new to mutt, and *very* > > new to procmail I used a friend's procmailrc as a template, but i > > need to know if there s a way to test it without losing mail. > > Check out 'man procmailex' It's nothing but example > .procmailrc's. If > you search for 'backup' in the man page it'll give you a recipe > you can > put at the top of your .procmailrc to store all your mail in a backup > file before it tries to process the message. Be careful with that > recipe though, I think it's setup for Maildir and not mbox format. > > Jag >
Re: testing procmail
On Wed, 15 Mar 2000, J McKitrick wrote: > I'm trying to test procmail with mutt. I'm new to mutt, and *very* > new to procmail I used a friend's procmailrc as a template, but i > need to know if there s a way to test it without losing mail. Check out 'man procmailex' It's nothing but example .procmailrc's. If you search for 'backup' in the man page it'll give you a recipe you can put at the top of your .procmailrc to store all your mail in a backup file before it tries to process the message. Be careful with that recipe though, I think it's setup for Maildir and not mbox format. Jag