[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bouncing mail with procmail



On Thu, Apr 30, 1998 at 07:01:44AM -0400, Paul Miller wrote:
> 
> How can I bounce mail with procmail?  I've tried using |exit 111, but it
> complains about not being able to open the exit mail file...  Here is my
> current .procmailrc:
> 
> LOGFILE=$HOME/mail.log
> :0
> * ! ^(FROM|TO).*tcimet.net
> |exit 111
> :0
> * ^(FROM|TO).*tcimet.net
> !paul-tcimet@3dillusion.com
> 
> This it not on my server, so I only have .forward and .procmailrc to work
> with.  Their MTA is sendmail 8.8.5.. Is there another way using .forward?

VERBOSE=off
MAILDIR=$HOME/.mail
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
SHELL=/bin/sh

:0
! ^(From:|To:).*tcimet.net
{
 EXITCODE=67

 :0
 /dev/null
}

:0
!paul-tcimet@3dillusion.com

Attachment: pgph2LQqkkIXH.pgp
Description: PGP signature


Reply to: