initial commit
This commit is contained in:
15
example.yaml
Normal file
15
example.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
- server1: mail.exampleserver1.de
|
||||||
|
user1: exampleuser1
|
||||||
|
pass1: examplepass1
|
||||||
|
server2: mail.exampleserver2.de
|
||||||
|
user2: exampleuser2
|
||||||
|
pass2: examplepass2
|
||||||
|
|
||||||
|
- server1: mail.exampleserver1.de
|
||||||
|
user1: anotherexampleuser1
|
||||||
|
pass1: anotherexamplepass1
|
||||||
|
server2: mail.exampleserver2.de
|
||||||
|
user2: anotherexampleuser2
|
||||||
|
pass2: anotherexamplepass2
|
||||||
|
|
||||||
8
imapsync.nu
Executable file
8
imapsync.nu
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/env nu
|
||||||
|
|
||||||
|
def main [conffile] {
|
||||||
|
|
||||||
|
open $conffile | each {|u| print $"server1: ($u.server1), user1: ($u.user1), \n server2: ($u.server2), user2: ($u.user2)" }
|
||||||
|
|
||||||
|
""
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user