On 06-12-2003 at 16:50 EDT, Jason R. Mastaler <[EMAIL PROTECTED]> wrote:
> > DELIVERY = "|/usr/bin/procmail ~/.procmailrc"
>
> You can't deliver to the same .procmailrc that invoked tmda-filter in
> the first place. Deliver to another rcfile such as
> ~/.procmailrc-tmda, or don't deliver to procmail at all if you don't
> need to.
So, using sendmail with procmail as the delivery, being my .procmailrc:
# Uncomment this for users without valid shells.
# SHELL=/bin/sh
# Set the necessary environment variables.
EXTENSION="$1"
:0
* EXTENSION ?? .
{
DELIMITER="+"
}
RECIPIENT="[EMAIL PROTECTED]"
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
What value should my DELIVERY variable have?
Thank you very much!
--
David Collantes - College of Business Administration, UCF
Please do not forward, Cc or Bcc this email to anyone without my consent.
This email was meant for you and no one else, unless othewise specified.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users