Prior to attempting to get tmda to work, sendmail/procmail combo works 
great.  Mail delivered to /var/mail/username.

Installed tmda according to instructions for sendmail and procmail.  
Rather than install individual user files, I opted for global 
configurations in /etc/tmdarc and /etc/procmailrc.  Config as follows:

/etc/tmdarc:
FILTER_INCOMING="/etc/tmda/incoming"
CRYPT_KEY_FILE="/etc/tmda/crypt_key"
LOGFILE_INCOMING="/var/log/tmda.in"
LOGFILE_OUTGOING="/var/log/tmda.out"
LOGFILE_DEBUG="/var/log/tmda.debug"

/etc/procmailrc (default from website):
# 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/bin/tmda-filter

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

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

****************
The above configuration results in no errors reported in tmda.debug, and 
entries in tmda.in appear to be processing the filters correctly.  Senders 
not identified as acceptable receive a confirmation message.

Two problems:

1) the message is NEVER delivered.
2) replies to the tmda generated address bounces back to the sender.

Any advice is appreciated.

Thanks,

Steve


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

Reply via email to