script to get one mail after another with mailx
sudo -u userwhowantshismails mailx <<<$(echo “type 1”) It writes a mbox file into this users home. On some systems you should put this user into the unix mail group.
sudo -u userwhowantshismails mailx <<<$(echo “type 1”) It writes a mbox file into this users home. On some systems you should put this user into the unix mail group.
poll imap.mydomain.tld with protocol IMAP user “myuser” password “mypassword” is “mylocalunixuser” here ssl sslfingerprint “5A:16:55:1D:61:1A:B3:B0:84:6C:04:8E:E6:15:A5:82” sslcertck sslcertpath /usr/local/homegrown/maildock/.certs For the sslfingerprint type and get the fingerprint. For the cert type openssl s_client -connect imap.mydomain.tld:993 get the cert and put it into a imapcert.pem file. Put that file into a .certs folder. Then rehash it with […]
check the mysqld.err log for damaged tables. Use the mysql console for a REPAIR TABLE MYDAMAGEDTABLE;