SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
@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
@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?
Thanks.
I don't remember where I got mine, but looking at the comments in the file itself it appears to be derived from the mozilla sources:
Code:
## ca-bundle.crt -- Bundle of CA Root Certificates
##
## Converted at: Tue Sep 22 09:25:27 2009 UTC
##
## This is a bundle of X.509 certificates of public Certificate Authorities
## (CA). These were automatically extracted from Mozilla's root certificates
## file (certdata.txt). This file can be found in the mozilla source tree:
## '/mozilla/security/nss/lib/ckfw/builtins/certdata.txt'
##
## It contains the certificates in PEM format and therefore
## can be directly used with curl / libcurl / php_curl, or with
## an Apache+mod_ssl webserver for SSL client authentication.
## Just configure this file as the SSLCACertificateFile.
##
I see a mozilla-1.9.2/security/nss/lib/ckfw/builtins/certdata.txt in a firefox source tarball, but it's not obvious to me how to extract ca-bundle.crt from certdata.txt.
Selecting slave INBOX... Maildir error: '/home/me/Maildir/' is no valid mailbox
Thanks.
It's a bit picky about its Maildir format. This should work:
# 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?
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?
"grep" and "less", mostly :-) I primarily use it for searching. But mutt reads from a Maildir quite nicely too.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.