procmail
[Top] [All Lists]

Re:Specify log

2000-12-04 11:33:46
At 11:39 AM -0500 12/4/00, Alberto Pereira is rumored to have typed:

I want to log only this action,
someone knows how can i do that?

:0
* ^(To|From|Recieved|Reply-To|Sender): .*somedomain\.com
{
   LOG="somedomain.com Email Dumped
"
   :0
   /dev/null
}

   That is...

<conditions>
{
   <set log message; note included <LF> for neatness>

   <do whatever with the mail we planned to do>
}

   Of course, it would probably be easier to reject SMTP connections from
those machines completely...

         Charlie


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Specify log, Alberto Pereira
    • Re:Specify log, Charlie Summers <=