What is it that you are trying to accomplish? IF you are setting your X-TMDA-Recipient headers, then they should be identifying the e-mail address that mail was sent TO (the recipient), not the address that it came FROM.
So if you are looking to reject or accept incoming messages based on the e-mail addresses that they were sent from, you should probably incorporate whitelist and blacklist files into your filter. How about lines like this in your incoming filter... from-file ~/.tmda/lists/blacklist bounce from-file ~/.tmda/lists/whitelist accept Then create the blacklist and whitelist files. Addresses that you want to bounce mail from go in the blacklist file, and addresses that you want to accept mail from go in your whitelist file. Any addresses that don't show up in either file, will be processed by TMDA and a challenge message can be sent back to the sender. If they accept the challenge and respond to it, then their mail can be let through. --- alexus <[EMAIL PROTECTED]> wrote: > Hello, > > in mine > ~vpopmail/domains/domain.com/postmaster/.tmda/filters/incoming > > i put something like this > > headers "X-TMDA-Recipient: [EMAIL PROTECTED]" accept > headers "X-TMDA-Recipient: [EMAIL PROTECTED]" drop > > body "viagra|penis" drop > body "BEGIN PGP MESSAGE" accept > body "BEGIN PGP SIGNED MESSAGE" accept > > not really sure about body, but headers part sure doesn't work ... > > any ideas? is something i did wrong with syntax? > or ideas where to look? how to fix that? > > thanks > > > > > _____________________________________________ > tmda-users mailing list ([email protected]) > http://tmda.net/lists/listinfo/tmda-users > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _____________________________________________ tmda-users mailing list ([email protected]) http://tmda.net/lists/listinfo/tmda-users
