mbsync error: unknown section keyword 'SSLType'

Kernels & Hardware, configuring network, installing services

mbsync error: unknown section keyword 'SSLType'

Postby bedtime » 2018-09-21 21:11

When I run mbsync user, I get:
Code: Select all
~/.mbsyncrc:6: unknown section keyword 'SSLType'
~/.mbsyncrc:6: unknown section keyword 'CertificateFile'
~/.mbsyncrc:6: unknown section keyword 'Subfolders'
~/.mbsyncrc:6: unknown section keyword 'Path'


~/.mbsyncrc:
Code: Select all
~/.mbsyncrc
IMAPAccount gmail
# Address to connect to
Host imap.gmail.com
User username@gmail.com
Pass ***************
# To store the password in an encrypted file use PassCmd instead of Pass
# PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mailpass.gpg"
#
# Use SSL
SSLType IMAPS
# The following line should work. If get certificate errors, uncomment the two following lines and read the "Troubleshooting" section.
#CertificateFile /etc/ssl/certs/ca-certificates.crt
CertificateFile ~/.cert/imap.gmail.com.pem
#CertificateFile ~/.cert/Equifax_Secure_CA.pem

IMAPStore gmail-remote
Account gmail

MaildirStore gmail-local
Subfolders Verbatim
# The trailing "/" is important
Path ~/.mail/gmail/
Inbox ~/.mail/gmail/Inbox

Channel gmail
Master :gmail-remote:
Slave :gmail-local:
# Exclude everything under the internal [Gmail] folder, except the interesting folders
Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail"
# Or include everything
#Patterns *
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Save the synchronization state files in the relevant directory
SyncState *


I followed this tutorial: https://wiki.archlinux.org/index.php/Isync

Perhaps SSL is not installed, but after having installed several SSL apps, this error remains.

Any ideas?
OS: Debian GNU/Linux (Buster—testing); Kernel: 4.16.0-2-amd64; Shell: sh; WM: i3
Machine: HP ProDesk 600 G3—i7-7700, 8GB RAM, 256 SSD, Intel HD Graphics 630

bedtime
 
Posts: 93
Joined: 2012-12-16 19:34

Re: mbsync error: unknown section keyword 'SSLType'

Postby bw123 » 2018-09-21 22:26

Maybe instead of arch wiki, try the example in /usr/share/doc/isync/examples/mbsyncrc.sample

https://packages.debian.org/stretch/amd ... c/filelist

When asking for help, it's important to include debian version in the question.
bedtime wrote:...
Perhaps SSL is not installed, but after having installed several SSL apps, this error remains.


Pkg isync depends on libssl1.1 (>= 1.1.0) I don't see why you would say perhaps ssl is not installed?

Code: Select all
$ apt show isync | grep Dep

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Depends: libc6 (>= 2.14), libdb5.3, libsasl2-2, libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.1.4)
User avatar
bw123
 
Posts: 3572
Joined: 2011-05-09 06:02
Location: TN_USA

Re: mbsync error: unknown section keyword 'SSLType'

Postby debiman » 2018-09-22 07:10

maybe the config file syntax has changed recently?
looking at /usr/share/doc/isync/examples/mbsyncrc.sample should help.
User avatar
debiman
 
Posts: 3064
Joined: 2013-03-12 07:18

Re: mbsync error: unknown section keyword 'SSLType'

Postby bedtime » 2018-09-22 11:23

bw123 wrote:Maybe instead of arch wiki, try the example in /usr/share/doc/isync/examples/mbsyncrc.sample

https://packages.debian.org/stretch/amd ... c/filelist

When asking for help, it's important to include debian version in the question.

Version 9.5.

Pkg isync depends on libssl1.1 (>= 1.1.0) I don't see why you would say perhaps ssl is not installed?
Code: Select all
$ apt show isync | grep Dep


Thank you. Next time I know to check this. :)

debiman wrote:maybe the config file syntax has changed recently?
looking at /usr/share/doc/isync/examples/mbsyncrc.sample should help.

This is ever so bizarre; the configuration that I posted was the working one I use on my Fedora 28 system, which is a newer version: isync 1.3.0, Debian's version is: isync 1.2.1. Yet Debian's isync says that these commands are depreciated?

I'm not sure what type of logic this is, but I question if Thales or Pythagoras would approve of it. :roll:

I tried installing isync with Debian backports, and there is no newer version. As to Debian's sample configuration, I fiddled for hours, and nothing came of it.

I have fetchmail working nicely in both Debian and Fedora, but apparently it is no longer being maintained...

Ultimately, the hope is that, once this is all setup, I won't have to touch it for long time. I want something that is lightweight and can dependably check for and download mail in the background, so that mutt or 'mail' can just grab the files on the computer and read it.
OS: Debian GNU/Linux (Buster—testing); Kernel: 4.16.0-2-amd64; Shell: sh; WM: i3
Machine: HP ProDesk 600 G3—i7-7700, 8GB RAM, 256 SSD, Intel HD Graphics 630

bedtime
 
Posts: 93
Joined: 2012-12-16 19:34

Re: mbsync error: unknown section keyword 'SSLType'

Postby GarryRicketson » 2018-09-22 11:36

This is ever so bizarre; the configuration that I posted was the working one I use on my Fedora 28 system, which is a newer version: isync 1.3.0, Debian's version is: isync 1.2.1. Yet Debian's isync says that these commands are depreciated?

Not really , Fedora and Debian are 2 different distros, what they use on Fedora, might not be the same, nor have the same status as what is used for Debian, and in the Debian packages.
User avatar
GarryRicketson
 
Posts: 5190
Joined: 2015-01-20 22:16
Location: Durango, Mexico


Re: mbsync error: unknown section keyword 'SSLType'

Postby GarryRicketson » 2018-09-22 12:39

"Any ideas ? "
Maybe a little patience :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906955
We believe that the bug you reported is fixed in the latest version of
isync, which is due to be installed in the Debian FTP archive.

I see it is available in Debian testing,
https://packages.debian.org/buster/isync
Package: isync (1.3.0-2)


In the current Debian stable (stretch) it is still :
Package: isync (1.2.1-2)

The OP maybe could wait, and some one will do it for them,or backport/compile the package from Debian testing, and use it in Debian stable, ?
( I think, but am not positive)
It does look like the newer version should appear soon, in some updates.
User avatar
GarryRicketson
 
Posts: 5190
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: mbsync error: unknown section keyword 'SSLType'

Postby debiman » 2018-09-22 18:09

bedtime wrote:This is ever so bizarre; the configuration that I posted was the working one I use on my Fedora 28 system, which is a newer version: isync 1.3.0, Debian's version is: isync 1.2.1. Yet Debian's isync says that these commands are depreciated?

nothing in your op says deprecated. just unknown.
why don't you try recreating the config with the help of the example file, the current man page, and/or a tutorial for your specific version?
User avatar
debiman
 
Posts: 3064
Joined: 2013-03-12 07:18

Re: mbsync error: unknown section keyword 'SSLType'

Postby bedtime » 2018-09-23 13:27


I see that others have had like issues, but there doesn't seem to be any solution to their posts.

GarryRicketson wrote:"Any ideas ? "
Maybe a little patience :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906955
We believe that the bug you reported is fixed in the latest version of
isync, which is due to be installed in the Debian FTP archive.

I see it is available in Debian testing,
https://packages.debian.org/buster/isync
Package: isync (1.3.0-2)


In the current Debian stable (stretch) it is still :
Package: isync (1.2.1-2)

The OP maybe could wait, and some one will do it for them,or backport/compile the package from Debian testing, and use it in Debian stable, ?
( I think, but am not positive)
It does look like the newer version should appear soon, in some updates.

I installed Buster, and it's working now; this was only a small virtual install to check the mail so was quite quick. :D
OS: Debian GNU/Linux (Buster—testing); Kernel: 4.16.0-2-amd64; Shell: sh; WM: i3
Machine: HP ProDesk 600 G3—i7-7700, 8GB RAM, 256 SSD, Intel HD Graphics 630

bedtime
 
Posts: 93
Joined: 2012-12-16 19:34


Return to System configuration

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable