Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 20:38:19 -0400
From:      David Banning <david@skytracker.ca>
To:        Jason Taylor <jason-dated-1058138758.23dde8@infinitebubble.com>
Cc:        questions@freebsd.org
Subject:   Re: tmda problems - anyone using it?
Message-ID:  <20030709003818.GA22898@skytrackercanada.com>
In-Reply-To: <3F0B52FC.7080204@infinitebubble.com>
References:  <20030702191058.GA60452@skytrackercanada.com> <3F09F44A.6000308@infinitebubble.com> <20030708025242.GA365@skytrackercanada.com> <3F0B52FC.7080204@infinitebubble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Sure, here's my entire .procmailrc.  I also hacked around in my .cf file 
> to get the delimiter to work.  Between the make cf and make install, I 
> changed all occurrences of ' + ' to ' - ' (no quotes, but *with* the 
> spaces).  AFAIK, doing so hasn't broken anything.

Thanks. What I find interesting is that you get -anything- from $1.
I get nothing set to EXTENSION using that. I tried even $@ and there
was nothing. I wonder now if it's a difference in our sendmail .mc files
that make the difference. 


> 
> # Set the necessary environment variables.
> EXTENSION="$1"
> :0
> * EXTENSION ?? .
> {
>   DELIMITER="-"
> }
> RECIPIENT="$LOGNAME$DELIMITER$EXTENSION@infinitebubble.com"
> SENDER=`formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'`
> 
> # Run the message through tmda-filter.
> :0 w
> |/usr/local/bin/tmda-filter
> 
> # Take the exit code from TMDA.
> EXITCODE=$?
> 
> # TMDA takes care of final delivery
> DEFAULT=/dev/null

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030709003818.GA22898>