Hi there,

I'm trying to integrate tmda in my dial-setup. I'm using
qmail+fetchmail without virtualdomains.

My problem is, tmda works quite nice on my local test account. But when
I use it with my real email account, confirmation responses trigger
another confirmation response on so on.  I'm totally stuck with this. So
please, it would be nice if someone could comment on this. 

One note: Qmail is not setup to be responsible for my domain
(antbear.org) (I'm not sure if this counts). Email for *@antbear.org
will be delivered to [EMAIL PROTECTED]

Ok, here it goes: On my mailserver I fetch my email with fetchmail and
insert with formail an X-Originally-To header with the address where the
email orginally belongs to (my provider provides a special header but I
want to ensure that only one such header exists). Thus: 

        Envelope-to: [EMAIL PROTECTED]
becomes:
        X-Originally-To: [EMAIL PROTECTED]
or when a confirmation is received:
        Envelope-to: [EMAIL PROTECTED]
becomes:
        X-Originally-To: [EMAIL PROTECTED]

.. then I forward the email to my work account.

In my ~/.tmda/config I set:

import os

RECIPIENT_HEADER = 'X-Originally-To'

LOGFILE_DEBUG    = os.path.expanduser('~/.tmda/logs/debug.log')
LOGFILE_INCOMING = os.path.expanduser('~/.tmda/logs/incoming.log')
LOGFILE_OUTGOING = os.path.expanduser('~/.tmda/logs/outgoing.log')

FILTER_INCOMING = os.path.expanduser('~/.tmda/filters/incoming')
FILTER_OUTGOING = os.path.expanduser('~/.tmda/filters/outgoing')

Here is my incoming tmda-log:

Date: Thu Oct 24 15:16:45 CEST 2002
From: Tester Totest <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subj: now?
Actn: CONFIRM action_incoming (0)

Date: Thu Oct 24 15:16:45 CEST 2002
From: Tester Totest <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subj: now?
Actn: CONFIRM pending 1035465405.1195.msg (0)

Date: Thu Oct 24 15:18:19 CEST 2002
From: Tester Totest <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subj: Re: Please confirm your message
Actn: CONFIRM action_incoming (2250)

Date: Thu Oct 24 15:18:19 CEST 2002
From: Tester Totest <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subj: Re: Please confirm your message
Actn: CONFIRM pending 1035465499.1218.msg (2250)

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

Reply via email to