Final version as used today
This commit is contained in:
@ -27,7 +27,8 @@ def "main test_creds" [conffile] {
|
|||||||
print $" host1: ($u.host1), user1: ($u.user1),"
|
print $" host1: ($u.host1), user1: ($u.user1),"
|
||||||
print $" host2: ($u.host2), user2: ($u.user2)\n"
|
print $" host2: ($u.host2), user2: ($u.user2)\n"
|
||||||
|
|
||||||
imapsync --justlogin --host1 $u.host1 --user1 $u.user1 --password1 $u.password1 --host2 $u.host2 --user2 $u.user2 --password2 $u.password2 | print
|
imapsync --justlogin --host1 $u.host1 --user1 $u.user1 --password1 $u.password1 --host2 $u.host2 --user2 $u.user2 --password2 $u.password2 | grep -P "^Host[12]:? (failure|success)" | print
|
||||||
|
print " "
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
""
|
""
|
||||||
|
|||||||
Reference in New Issue
Block a user