Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

rsynch and kmail

Help on MX KDE Re-spins
Post Reply
whbr
Forum Novice
Forum  Novice
Posts: 33
Joined: Sat Dec 13, 2014 10:58 am

rsynch and kmail

#1

Post by whbr » Sun Mar 31, 2019 10:16 am

I have recently taken to wanting to keep the in and sent mailboxes on my home office and work office computers synched. I use lucky backup to synch data files but it turns out that deep in the file structure of kmail a ":" is used in the file name and rsynch as near as I can tell doesn't recognize this character in file names. At least that is what I gather from the error messages and a bit of net sleuthing.

Short of switching mail packages** is anyone aware of a work around for this. I leave messages on the server when checking e-mail from work or on mobile devices but remove them when at home. This orphans messages that come in during the evening and overnight from my work e-mail and my students send me a lot of e-mails at night!

**I'm not completely against this but my contacts,calendars, etc are in and have been in kde for nearly 2 decades. My college has cloud space available but it is so twisted up with microsoft and dual authentication I try to stay away from it.
Dell Inspiron 15, series 5000
MX-16.1
DM KDE 4.14.2

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 9941
Joined: Wed Jul 12, 2006 1:42 am

Re: rsynch and kmail

#2

Post by Adrian » Sun Mar 31, 2019 10:27 am

Can you escape the characters? Like use a backslash before it \:

Also, give syncthing a try: https://syncthing.net/ It's a great sync tool that might be helpful for other things.

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4986
Joined: Wed Jul 12, 2006 4:05 pm

Re: rsynch and kmail

#3

Post by timkb4cq » Sun Mar 31, 2019 10:53 am

Rsync handles filenames with : in them just fine. Microsoft filesystems like fat32, exfat, & ntfs do not support them so you will get a failure trying to rsync files with : in the filename to one of those filesystems. Perhaps Lucky Backup is filtering those to prevent problems.

Rsync isn't too hard to run from the command line.
https://www.tecmint.com/rsync-local-rem ... -commands/
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

whbr
Forum Novice
Forum  Novice
Posts: 33
Joined: Sat Dec 13, 2014 10:58 am

Re: rsynch and kmail

#4

Post by whbr » Sun Mar 31, 2019 11:08 am

I'll see about trying synchthing when I get a minute.

As to Tims' comment: when I try to use luckybackup on mail dirs everything goes well until it hits the first message file in a cur or new folder. The error generated is:

rsync: mkstemp "/media/mark/Lexar/Mail/.e-commerce.directory/Credo/new/.1530189765.R472.mx1:2,S.xAsF86" failed: Invalid argument (22) rsync: mkstemp "/media/mark/Lexar/Mail/.e-commerce.directory/Credo/new/.1532468799.R376.mx1:2,S.w1ZzCm"

When I searched this Invalid argument (22) some respondent offered that the colon was a problem so I immediately assumed that was it. Perhaps its luckybackup.
Dell Inspiron 15, series 5000
MX-16.1
DM KDE 4.14.2

User avatar
DeMus
Forum Novice
Forum  Novice
Posts: 4
Joined: Tue Jun 04, 2019 1:29 pm

Re: rsynch and kmail

#5

Post by DeMus » Tue Jun 04, 2019 2:04 pm

whbr wrote:
Sun Mar 31, 2019 10:16 am
I have recently taken to wanting to keep the in and sent mailboxes on my home office and work office computers synched.
How do you handle your mail? Do you use IMAP or POP?
When using IMAP it is very easy to have it synced because both computers with just look at the mail on the server, like you do for example with your smartphone and your computer when using Gmail.
When the mail is on an MS server then use davmail (davmail.sourceforge.net/) to make it possible to connect to the server from home.

Post Reply

Return to “MX KDE”