Tim -

OK, this is where I feel like a total boob.  I am not sure how to change or
check these variables in my .procmailrc.  I am unsure as to what is
generating the argument which I believe is being passed to procmail as $1 in
EXTENSION, below.

I have been through the pages you mention, and as I read it, all it tells me
is to make sure my sendmail installation supports procmail, which it does by
default.  My .procmailrc looks like this:

# Uncomment this for users without valid shells.
# SHELL=/bin/sh

# Set the necessary environment variables.
EXTENSION="$1"
:0
* EXTENSION ?? .
{
DELIMITER="+"
}
RECIPIENT="$LOGNAME$DELIMITER$EXTENSION@$HOST"
SENDER=`formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'`

# Run the message through tmda-filter.
:0 w
| /usr/bin/tmda-filter

# Take the exit code from TMDA.
EXITCODE=$?

# TMDA takes care of final delivery
DEFAULT=/dev/null

I've got a test account called spam on my mail server.  Here's what happens
when I send [EMAIL PROTECTED] an e-mail:

[spam@mail .tmda]$ cat logs/incoming
Date: Mon Jan 27 21:41:47 CST 2003
From: "Thomas Cameron" <[EMAIL PROTECTED]>
  To: [EMAIL PROTECTED]
Subj: test1
Actn: CONFIRM action_incoming
(654)

Date: Mon Jan 27 21:41:47 CST 2003
From: "Thomas Cameron" <[EMAIL PROTECTED]>
  To: [EMAIL PROTECTED]
Subj: test1
Actn: CONFIRM pending 1043725307.30716.msg
(654)


Any advice greatly appreciated.  Sorry if I'm being dense.
Thomas
----- Original Message -----
From: "Tim Legant" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 27, 2003 9:19 PM
Subject: Re: HOWTO with examples?


> "Thomas Cameron" <[EMAIL PROTECTED]> writes:
>
> > Only problem is, every single e-mail sent to me, TMDA sends back a
> > confirmation request even if the sender has replied.
> >
> > I was wondering - does anyone have a HOWTO with examples for a Red Hat
7.3
> > box using sendmail?  I am a little unsure as to whether or not my
> > ~/.tmda/config file is set up correctly.  This is what it looks like:
> >
> > MAIL_TRANSFER_AGENT = "sendmail"
> >
> > RECIPIENT_DELIMITER = "+"
> >
> > DELIVERY = "/var/spool/mail/thomas.cameron"
> >
> > CONFIRM_APPEND = os.path.expanduser("~/.tmda/lists/confirmed")
> > LOGFILE_DEBUG = os.path.expanduser("~/.tmda/logs/debug")
> > LOGFILE_INCOMING = os.path.expanduser("~/.tmda/logs/incoming")
> > LOGFILE_OUTGOING = os.path.expanduser("~/.tmda/logs/outgoing")
>
> This looks fine.  The first thing to check is whether you've gone
> through the two web pages devoted to mail server setup and followed to
> the letter the Sendmail-specific portions.
>
> http://www.tmda.net/config-pre.html
> http://www.tmda.net/config-server.html
>
> If the $SENDER, $RECIPIENT and $EXTENSION variables are not set properly,
> TMDA will never work and may show the symptoms you're having.  The
> $EXTENSION in particular, if incorrectly set, may cause problems.
>
> After you double-check that all of that is set correctly, send a test
> message to yourself, reply to the first confirmation message and post
> the incoming logfile here.
>
>
> Tim
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED])
> http://tmda.net/lists/listinfo/tmda-users
>

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to