tmda problems - anyone using it?

David Banning david at skytracker.ca
Tue Jul 8 17:38:24 PDT 2003


> 
> 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 at 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

-- 


More information about the freebsd-questions mailing list