"Thomas Cameron" <[EMAIL PROTECTED]> writes:
> 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.
Sendmail generates that. That's what the FEATURE statement in the
sendmail.mc file does. It passes the necessary data to procmail when
it runs procmail.
> 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
This all looks good.
> 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)
Did [EMAIL PROTECTED] get a confirmation request sent
back? If so, did you reply to it? Once you do, there will be more
log messages that will give us a better idea of what's happening.
Have you checked the contents of the ~/.tmda/lists/confirmed file?
Finally, could you post your incoming filter? I don't believe you
have changed the default location, so it should be at
~/.tmda/filters/incoming.
Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users