If I understand correctly, the incoming filters are searched for first match from top to bottom. So if there is a blank subject line then the filter you have created will already work. But if there is no subject line, you might need an additional filter after that one to catch it. Is there a way to use a NOT expression, as if to say that if there is NO header that starts with "Subject:" then to bounce it?
Not sure about syntax, but something like: headers (Subject:.$) confirm=blank_bounce.txt headers !(Subject:.$) confirm=nosub_bounce.txt Not sure if that would work, but just an idea. Sure would be nice to hear from the TMDA creator on this one. Has ANYONE heard from Jason? Is this the last TMDA version that will exist? --- [EMAIL PROTECTED] wrote: > Hi, > > I'm trying to stop emails with no subject. I cause a confirm with a > custom template explaining I hate email with no subjects because it > makes > it very difficult to search my inbox later. > > This is what I got in my incoming file which seems to work fine: > headers (Subject:.$) confirm=blank_bounce.txt > > However if the user's MUA simply obmits the Subject: tag in the > headers > all together (like kmail and evolution) then the email still gets by. > > How do I write another regular expression that will cause a confirm > if the > Subject: tag just simply is not present? > > Thanks > Malcolm > > > _____________________________________________ > 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
