I am running sendmail as a MTA, fetchmail as a retriever and Procmail for
local delivery. Clients connect via POP3 to get their mail.
All the logs appear to show that all is normal (mail flows quit nicely). I
implemented recipes for procmail but they don't seem to do anything. The
procmail log file mentions that it is using the recipe file that I created
but does not act on anything. Verbose logging is turned on and all I see is:
procmail: Unlocking "/var/spool/mail/ted.lock"
From j...@no-domain.net Fri Jun 15 08:14:05 2001
Subject: test
Folder: /var/spool/mail/ted
1351
procmail: Notified comsat: "jay@549:/var/spool/mail/ted"
procmail: Assigning "INCLUDEC=/var/mail/procmail/rc.mail"
procmail: Assigning "INCLUDEC=/var/mail/procmail/testing.rc"
procmail: Locking "/var/spool/mail/ted.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/ted"
procmail: Opening "/var/spool/mail/ted"
procmail: Acquiring kernel-lock
procmail: Unlocking "/var/spool/mail/ted.lock"
My rc.mail recipe file should have directed this message to a "quorantine"
directory instead of delivering it to user ted because it contained "test"
in the Subject position.
Any thoughts ... I have tried many different recipes.. none work.
Thank you.
--
Michael Perry
mpe...@tsoft.com
--------------------
Thanks for pointing this out to me.
"Steve Ackman" <st...@nospam.twovoyagers.com> wrote in message
news:slrn9imoek...@wizard.dyndns.org...
> On Fri, 15 Jun 2001 09:34:48 -0400, Jay <king_p...@hotmail.com> wrote:
> >Hi,
> >
> >I am running sendmail as a MTA, fetchmail as a retriever and Procmail for
> >local delivery. Clients connect via POP3 to get their mail.
>
> Me too.
>
> >All the logs appear to show that all is normal (mail flows quit nicely).
I
> >implemented recipes for procmail but they don't seem to do anything. The
> >procmail log file mentions that it is using the recipe file that I
created
> >but does not act on anything. Verbose logging is turned on and all I see
is:
> >procmail: Unlocking "/var/spool/mail/ted.lock"
> >From j...@no-domain.net Fri Jun 15 08:14:05 2001
> > Subject: test
> > Folder: /var/spool/mail/ted
> >1351
> >procmail: Notified comsat: "jay@549:/var/spool/mail/ted"
> >procmail: Assigning "INCLUDEC=/var/mail/procmail/rc.mail"
> >procmail: Assigning "INCLUDEC=/var/mail/procmail/testing.rc"
> > (snip)
> >Any thoughts ... I have tried many different recipes.. none work.
>
> I'm fairly certain this won't work unless the
> variable is INCLUDERC.
>
> Here's a partial log when I switch logging to verbose:
> (addresses munged for the spambots)
>
> procmail: [9291] Sat Jun 16 09:22:18 2001
> procmail: No match on "^To: postmaster@twovoyagers"
> procmail: No match on "^Sender: owner-arachne@arachne"
> procmail: Assigning "INCLUDERC=/etc/procmail/spam/tag"
> procmail: Assigning "trash_header=X-Procmail: unwanted"
> procmail: Assigning "user_loop=X-Loop: steve@wizard"
> procmail: Assigning "sys_loop=X-Loop: wizard auto-responder"
> procmail: Assigning "tag_dir=/etc/procmail/spam"
> procmail: Assigning "aux_dir=/etc/procmail/spam"
> procmail: Assigning
"VALIDIP=([1-9]|[1-9][0-9]|1[0-9][0-9]|2([0-4][0-9]|5[0-5]))\.([0-9]|[1-9][0
-9]|1[0-9][0-9]|2([0-4][0-9]|5[0-5]))\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2([0-4]
[0-9]|5[0-5]))\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2([0-4][0-9]|5[0-5]))"
> procmail: No match on "^Received: .*(moneyworld\.com|Jemco USA)"
> procmail: No match on "^To:.*\<friend@"
> procmail: No match on
"^(To|From|Received|Reply-To|Sender):.*\<generalnets*\.com\>"
>
> (MANY not-matched recipes snipped)
>
> procmail: Assigning "INCLUDERC=/etc/procmail/spam/tag-contents"
>
> <more snippage>
>
> procmail: Assigning "INCLUDERC=/etc/procmail/spam/reply"
> procmail: No match on "^X-Procmail: unwanted"
> procmail: No match on "^X-Procmail: unwanted"
> procmail: Locking "/var/spool/mail/steve.lock"
> procmail: Assigning "LASTFOLDER=/var/spool/mail/steve"
> procmail: Opening "/var/spool/mail/steve"
> procmail: Acquiring kernel-lock
> procmail: Unlocking "/var/spool/mail/steve.lock"
> From steve@twovoyagers Sat Jun 16 09:22:18 2001
> Subject: test
> Folder: /var/spool/mail/steve 1197
> procmail: Notified comsat: "steve@0:/var/spool/mail/steve"
>
>
> --
> Steve Ackman
> http://twovoyagers.com
> Registered Linux User #79430
>