On Mon, 1 Mar 2004, Jason R. Mastaler wrote:
> Ed Colmar <[EMAIL PROTECTED]> writes:
>
> > I'm using postfix-1.1.11-4mdk only with procmail and tmda
>
> Verify that you are using procmail's '-p' option as described in
> http://tmda.net/config-server.html#exim-postfix
Confirmed:
[EMAIL PROTECTED] ed]$ cat .forward
"|/usr/bin/procmail -p"
> Also verify that Postfix is actually adding $SENDER to the
> environment. You can do this by adding the following line to your
> .forward in addition to the other lines already present:
>
> "|/usr/bin/env > ~/env.txt"
[EMAIL PROTECTED] ed]$ cat env.txt
MAIL_CONFIG=/etc/postfix
[EMAIL PROTECTED]
[EMAIL PROTECTED]
SHELL=/bin/bash
USER=ed
LOCAL=ed
PATH=/usr/bin:/bin
PWD=/var/spool/postfix
DOMAIN=greengraphics.net
SHLVL=1
HOME=/home/ed
LOGNAME=ed
_=/usr/bin/env
All looks good right?
I re-enabled tmda as a test, and now I dont get anything.
gah... Maybe I should wipe it and start fresh?
Here is my .procmailrc for refrence:
[EMAIL PROTECTED] ed]$ cat .procmailrc
# Preliminaries
SHELL=/bin/sh # use the bourne shell
MAILDIR=${HOME}/mail
LOGFILE=${HOME}/procmail.log
LOG="--- Logging ${LOGFILE} for ${LOGNAME}, "
PMDIR=${HOME}/Procmail
#Includerc
INCLUDERC=$PMDIR/rc.lists
# The order of recipies is significant
:0
* ^From: [EMAIL PROTECTED]
/dev/null
# Accept all the rest into my default mailbox
#:0:
#${DEFAULT}
# Run the message through tmda-filter.
:0 w
| /usr/local/tmda/bin/tmda-filter
# Take the exit code from TMDA.
EXITCODE=$?
# TMDA takes care of final delivery
DEFAULT=/dev/null
Thanks again for all the help guys. I really miss tmda
-e-
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users