Here is the contents of my incoming filter as requested by Drew.

Thanks for the help,
Kent

### ~/.tmda/filters/incoming (first match wins) ###

# drop all bounces for confirmation requests.
body [EMAIL PROTECTED] drop

# Accept all bounces (messages with an empty envelope sender)
from <> ok

# Accept all messages to postmistress
# to postmistress@* accept

# Bounce all messages from badboy.dom
# from *@=badboy.dom bounce

# Accept all messages from mycorp.dom
from *@=bread.com ok

# Include my blacklist and whitelist
# from-dbm ~/.tmda/lists/blacklist.db drop
# from-cdb ~/.tmda/lists/whitelist.cdb accept
# from-file -autodbm ~/.tmda/lists/nastygrams bounce
# from-file -autocdb ~/.tmda/lists/confirmed ok
from-file ~/.tmda/lists/whitelist accept
from-file ~/.tmda/lists/whitelist_user accept
from-file /usr/local/etc/whitelist_global accept
from-file ~/.tmda/lists/blacklist drop

# Mailman mailing list subscribers and digest subscribers
# from-mailman -attr=members ~mailman/lists/viewnet-news ok
# from-mailman -attr=digest_members ~mailman/lists/viewnet-news ok

# ezmlm mailing list subscribers and digest subscribers
# from-ezmlm ~alias/all-acl-users ok
# from-ezmlm ~alias/all-acl-users/digest ok

# Revoked addresses
# to [EMAIL PROTECTED] bounce
# to [EMAIL PROTECTED] confirm

# Examine the message content
# body "viagra|ginseng" confirm
# headers 'Precedence:.*junk' reject
# headers -case 'MAKE MONEY FAST' drop

# Accept all messages smaller than 10KB, but drop messages larger than 1MB
# size <10000 deliver
# size >1000000 exit

from *@* confirm

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

Reply via email to