Quote:
This is my ~/.mbsyncrc, with some sekrit parts swapped out with "foo", "YOURGMAILPASSWORD", "YOURGMAILLOGIN", or "YOURNAME": Code:
Expunge None Come to think of it, putting this in /etc/cron.weekly seems like a pretty good idea. I will do that. |
@ttk thanks for your example config file, I added my info onto mine but when I run mbsync foo it complains about /etc/pki/tls/certs/ca-bundle.crt no such file or directory. Is there a package I'm missing, or is there something I need to do to create it?
Ok, sorted the cert issue out but I'm having trouble with Maildir Reading configuration file /home/me/.mbsyncrc Resolving imap.gmail.com... ok Connecting to 173.194.66.108:993... ok Connection is now encrypted Logging in... Channel foo Selecting slave INBOX... Maildir error: '/home/me/Maildir/' is no valid mailbox Thanks. |
Quote:
Code:
## ca-bundle.crt -- Bundle of CA Root Certificates Aha -- here's a script which claims to do it all for you. I haven't tested it, but see if it works for you: http://www.floodgap.com/software/tty...-ca-bundle.txt Alternatively, if you're feeling trusting, you could just download the file I've been using here: http://ciar.org/ttk/public/ca-bundle.crt.txt |
Quote:
# mkdir -p /home/me/Maildir/cur /home/me/Maildir/new /home/me/Maildir/tmp # chmod -R 700 /home/me/Maildir |
Thanks ttk, that worked :) ... I got my ca-certificates.crt in /etc/ssl/certs/ and it seems to work fine, whether that's the correct thing to do. I'll have a look at your links though. What do you use to read your mail from your inbox?
|
Quote:
You'll want to read this: http://www.elho.net/mutt/maildir/ |
Thanks once again ttk, everything seems to be working fine and mutt works great after that link you posted.
Cheers :) |
Yay! :-) I'm glad it works for you.
I just added this as /etc/cron.weekly/archive-gmail.sh: Code:
#!/bin/sh |
I use a cronjob to update a bash script every 5 mins that will echo to /etc/issue, so that when I open a terminal I see correct and updated values for HDD space, uptime, etc.
|
Among other things (backups, clean up tasks, etc.), I have a crontab entry to backup the crontab itself, just in case I screw it up, which has happened before.
Code:
5 17 * * sun crontab -l | gzip - > $HOME/Backup/crontab-$(date +%Y%m%d_%H%M%S).gz |
Personally I don't know why anyone would use mbsync when Slackware comes with perfectly good copies of fetchmail and getmail, but I digress.
Personally I use cron to run getmail every minute for my user account. My root's crontab is mainly used to do my nightly backups using rsync. I use /etc/cron.daily for this. Since I don't really use my root's mailspool for anything but receiving system messages, I turn off root crontab's default configuration of directing all system output to /dev/null and make it only output STDOUT to /dev/null. That way, if an error occurs with my backup, the root user will get an email notifying me of same. |
All times are GMT -5. The time now is 12:39 AM. |