|
In
order for TMDA's outgoing message filtering (including bare=append) to work,
TMDA needs to be invoked at some point along the mail deleivery path. For
example if you were using Pine on your mail server host, to get pine to be able
to use TMDA's outgoing filters you would need to configure pine to use
tmda-sendmail as it's sendmail-path. I have the following in my
.pinerc:
sendmail-path="/usr/bin/tmda-sendmail"
You
would need to do something similar if you are using a different mail reader on
your mail host.
For
other mail user agents external to your mail server, you would need to configure
them to connect to an SMTP server (or SMTP server proxy) that is set up to call
TMDAs filtering and taging features. That's wher tofmipd comes in.
It'a an SMTP server proxy that hooks into TMDA to filter and tag outgoing mail
before injecting it into the mail transport path.
Hi,
Thanks to all the people who have
kindly given me advice so far.
Could anybody please tell me why sent
emails aren't being automatically being added to users whitelist ? I have
tried different advice from previous posts but all to no avail.
Could the problem be that I am not using
tmda-ofmipd ? I am using postfix with redhat.
TMDA-CGi works otherwise great.
My config file looks like:
import os CONFIRM_APPEND =
"/home/sylvan/.tmda/lists/confirmed" DATADIR =
"/home/sylvan/.tmda/" FILTER_INCOMING =
"/home/sylvan/.tmda/filters/incoming" FILTER_OUTGOING =
"/home/sylvan/.tmda/filters/outgoing" LOGFILE_DEBUG =
"/home/sylvan/tmdadebug.log" LOGFILE_INCOMING =
"/home/sylvan/tmdaincoming.log" LOGFILE_OUTGOING =
"/home/sylvan/tmdaincoming.log" ADDED_HEADERS_CLIENT =
{"X-Primary-Address": "[EMAIL PROTECTED]"} PENDING_BLACKLIST_APPEND
= "/home/sylvan/.tmda/lists/blacklist" PENDING_WHITELIST_APPEND =
"/home/sylvan/.tmda/lists/whitelist" TEMPLATE_DIR =
"/home/sylvan/.tmda/templates/" ACTION_OUTGOING =
"bare=append" BARE_APPEND =
os.path.expanduser("~/.tmda/lists/whitelist")
I have tried replacing the bottom line with a
straight BARE_APPEND = "/home/sylvan/.tmda/lists/whitelist"
Do I need another line/rule in my filter outgoing ? I have the defaults
left in there.
My etc/tmdarc file looks like:
MAIL_TRANSFER_AGENT = "postfix" RECIPIENT_DELIMITER =
"-" LOGFILE_DEBUG = "/var/log/tmda.log"
PRIMARY_ADDRESS_MATCH = 0
CONFIRM_APPEND =
os.path.expanduser("~/.tmda/lists/whitelist") PENDING_RELEASE_APPEND =
os.path.expanduser("~/.tmda/lists/whitelist") PENDING_WHITELIST_APPEND =
os.path.expanduser("~/.tmda/lists/whitelist")
Does anybody have any ideas or advice they can share ? Much appreciated
!
Regards
Sylvan
|