Coder Social home page Coder Social logo

Map folder names? about imapsync HOT 4 CLOSED

imapsync avatar imapsync commented on May 22, 2024
Map folder names?

from imapsync.

Comments (4)

gilleslamiral avatar gilleslamiral commented on May 22, 2024

Hi,

http://imapsync.lamiral.info/FAQ.d/FAQ.Folders_Mapping.txt

Le 26/08/2015 18:52, Alexandru Trandafir Catalin a écrit :

On the destination server by default the folders are named differently so it creates new folders instead of using existing ones, example:

Creates INBOX.Deleted+Messages instead of using existing INBOX.Trash
Creates INBOX.Sent+Messages instead of using existing INBOX.Sent

Maybe this is because of the source server, maybe they are named that way there. Not sure but anyway I think it would be interesting to have parameters to map folder names from source to destination.


Reply to this email directly or view it on GitHub #35.

Au revoir, 09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06

from imapsync.

atrandafir avatar atrandafir commented on May 22, 2024

Hi thanks, I see you can do it with regex but I'm really not too familiar with regex, I taught there would be a simpler way. But good to know, for now I'll leave it the way it creates them. But I'll keep it in mind in the future.

from imapsync.

gilleslamiral avatar gilleslamiral commented on May 22, 2024

Hi Alexandru,

Regex can be simple, for example:

imapsync ... --regextrans2 s,Deleted,Trash,

just does what expected:

INBOX.Deleted -> INBOX.Trash

Give me a simpler way to substitute "Deleted" by "Trash" and
I'll carefully consider it.

In fact, I'm currently thinking of doing this by default
without any option, automagically.

Le 27/08/2015 00:24, Alexandru Trandafir Catalin a écrit :

Hi thanks, I see you can do it with regex but I'm really not too familiar with regex, I taught there would be a simpler way. But good to know, for now I'll leave it the way it creates them. But I'll keep it in mind in the future.


Reply to this email directly or view it on GitHub #35 (comment).

Au revoir, 09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06

from imapsync.

gilleslamiral avatar gilleslamiral commented on May 22, 2024

It was implemented with the --automap option.

from imapsync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.