"Jason R. Mastaler" <[EMAIL PROTECTED]> writes: > Lloyd Zusman <[EMAIL PROTECTED]> writes: > >> Is there any way where TMDA (latest version) can add custom headers >> to whitelisted email that has been accepted? > > Not currently. And do you mean mail that has been accepted for any > reason (whitelist, valid dated address, etc), or specifically just > because of a whitelist match? > > What problem are you trying to solve?
I have set up a somewhat complex chain of email filtering steps, of which TMDA is but one. Various conditions take place at the end of each filtering step which determine whether or not a subsequent step will take place. Furtherfore, some user ID's have different sets and sequences of these filtering steps configured. Therefore, for any given piece of email that makes it through my filters into my inbox, I'm not always sure which filtering steps have actually "touched" it. Therefore, I'd like each step to add a custom header, so that I can see the path that a given email has gone through before delivery. Both SpamProbe and SpamAssassin (two of the filters that can be invoked during my filtering chain) can be easily configured to add such a header, and I am in the process of causing my custom "perlfilter" email filter in Courier to also add its own header. So, what remains is TMDA, the only link in the chain that doesn't add its own header. >> By the way, I'm not using the tmda-ofmipd script, because it's too >> hard to integrate it with my existing, highly configured Courier >> setup. > > Details, please. Well, email is sent out in several ways on my system: 1. Via my IMP webmail server. In this case, all outgoing email is sent through a custom wrapper around sendmail. This wrapper performs some address munging before sending out the email. 2. Another custom delivery method sends email to a local address via the IMAP "append" command, if that is possible, thereby totally avoiding SMTP and sendmail. 3. Sometimes, email is sent out via direct SMTP. 4. Sometimes, sendmail is used. 5. Mail is sometimes sent out from my local machine at home, with the headers munged to make it look like the mail is being sent from my email account on the remote server that I manage. In this case, the account from which my email is sent out from my local machine is completely different from the TMDA-ized account on my server whose address is my return address of my emails. Most of this is managed through Courier, although some of it is also handled through certain custom scripts that I wrote. If I set up TMDA to use tmda-ofmipd to deliver its email locally, I think that I could then get it to use the ADDED_HEADERS_SERVER to append an appropriate header (is that correct, or am I misunderstanding something about tmda-ofmipd?). But I don't think that I can count on that, given this complex chain of delivery methods, and given the chain of filters that I mentioned above. Or maybe I've just completely confused myself about all this, and I'm missing an otherwise obvious solution ... ??? -- Lloyd Zusman [EMAIL PROTECTED] _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
