uriel1998

example_imapfilter

Jul 6th, 2020
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.54 KB | None | 0 0
  1. account1 = IMAP {
  2.   server = "ideatrash.net",
  3.   username = "USERNAME",
  4.   password = "PASSWORD",
  5.   ssl = "tls1"
  6. }
  7.  
  8.  
  9.  
  10. --dating
  11. messages = account1["INBOX"]:contain_from("bounces@mail1.oknotify2.com")
  12.     + account1["INBOX"]:contain_from("bounces@alerts.oknotify2.com")
  13.     + account1["INBOX"]:contain_from("donotrespond@pof.com")
  14.     + account1["INBOX"]:contain_from("@bumble.com")
  15.     + account1["INBOX"]:contain_from("@connect.match.com")
  16.     + account1["INBOX"]:contain_to("okcupid@ideatrash.net")
  17. messages:move_messages(account1["dating"])
Add Comment
Please, Sign In to add comment