no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | tech:linux:squirrelmail [2019/07/07 11:25] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Squirrelmail Notes ====== | ||
+ | |||
+ | ===== Squirrelmail back-end login ===== | ||
+ | The 1st invocation of Squirrelmail is slow for reasons I could not figure out. Also I have a number of filters setup on Squirrelmail that I want it to execute periodically - this allows my other IMAP clients to already have the mail in the correct folders. | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/bash | ||
+ | NOW=$(date +" | ||
+ | basicauth=" | ||
+ | squser=mymail@example.com | ||
+ | sqpass=mymailpassword | ||
+ | URL=" | ||
+ | timeoutsecs=10 | ||
+ | cookief=/ | ||
+ | # | ||
+ | #curl -k -u" | ||
+ | curl -k -u" | ||
+ | curl -k -u" | ||
+ | curl -k -u" | ||
+ | curl -k -u" | ||
+ | curl -k -u" | ||
+ | rm $cookief | ||
+ | # | ||
+ | exit | ||
+ | |||
+ | </ | ||
+ | |||
+ | Note: | ||
+ | * Remove Basic Auth if you don't have one enabled. | ||
+ | * Remove HTTPS and/or -k option depending on your SSL setup | ||
+ | * the -D of course is optional | ||