I'm trying to setup the confirm function of TMDA correctly, but for some reason the hostname detection of my machine seems broken.
I'm running FreeBSD 4.8 with Python 2.3.2 and TMDA 0.86 (yes, i realise 0.87 is out, will upgrade soon)
My current config looks like:
MAIL_TRANSFER_AGENT = "postfix"
RECIPIENT_DELIMITER = "+"
DELIVERY = "/var/mail/nivo"
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")
ACTION_INCOMING = "hold"
ACTION_HEADER_INCOMING = 1
HOSTNAME = "example.org"
CGI_URL = "http://www.example.org/cgi-bin/tmda.cgi"
FINGERPRINT = ["message-id", "from", "date"]
PENDING_BLACKLIST_APPEND = os.path.expanduser("~/.tmda/lists/blacklist")
PENDING_LIFETIME = "1M"
PENDING_RELEASE_APPEND = os.path.expanduser("~/.tmda/lists/released")
PENDING_WHITELIST_APPEND = os.path.expanduser("~/.tmda/lists/whitelist")
SUMMARY_HEADERS = ['date', 'from', 'to', 'subject', 'x-spam-status']
TEMPLATE_DIR = os.path.expanduser("~/.tmda/templates")
X_TMDA_IN_SUBJECT = 1
PENDING_CACHE = os.path.expanduser("~/.tmda/pending/msgcache.txt")
PENDING_CACHE_LEN = 500There is no global config.
For some reason, %(confirm_accept_address)s does not give me the right hostname, alltho I force it in the config above.
My FQDN of the box is box1.example.org, and the %(confirm_accept_address)s just keeps on being in the form of [EMAIL PROTECTED], while the RCPT TO states [EMAIL PROTECTED]
On thing that might be related, is that Postfix is doing virtual-domains, and the user that the email is being delivered to is locally known as [EMAIL PROTECTED]
I use procmail as MDA for Postfix, which is called as:
mailbox_command = /usr/local/bin/procmail -a "$EXTENSION" -p procmail calls tmda as follows:
:0 w | /usr/local/bin/tmda-filter
How to I *force* TMDA to use a different address for both %(recipient_address)s and %(confirm_accept_address)s, which are both currently not what I want them to be ?
Grtz,
Nils. _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
