Bug 22231 - local sockets instead of connections to host:port
Summary: local sockets instead of connections to host:port
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: imapsync (show other bugs)
Version: unstable
Hardware: all Linux
: P3 enhancement
Assignee: Nikolay A. Fetisov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-10 05:12 MSK by Ivan Zakharyaschev
Modified: 2012-09-07 18:49 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2009-11-10 05:12:22 MSK
imapsync-1.255-alt1

Now the source and the destination for imapsync can only be network ports:

$ imapsync --help | head -20

usage: /usr/bin/imapsync [options]

Several options are mandatory. 

--host1       <string> : "from" imap server. Mandatory.
--port1       <int>    : port to connect on host1. Default is 143.
--user1       <string> : user to login on host1. Mandatory.
--authuser1   <string> : user to auth with on host1 (admin user). 
                         Avoid using --authmech1 SOMETHING with --authuser1.
--password1   <string> : password for the user1. Dangerous, use --passfile1
--passfile1   <string> : password file for the user1. Contains the password.
--host2       <string> : "destination" imap server. Mandatory.
--port2       <int>    : port to connect on host2. Default is 143.
--user2       <string> : user to login on host2. Mandatory.
--authuser2   <string> : user to auth with on host2 (admin user).
--password2   <string> : password for the user2. Dangerous, use --passfile2
--passfile2   <string> : password file for the user2. Contains the password.
--noauthmd5            : don't use MD5 authentification.
--authmech1   <string> : auth mechanism to use with host1:
$ 

It would be quite convenient if one could use imapsync with a local imap server through a local socket, so that the imap server runs completely privately, without any exposure to unpredictable connections on the network port.

(This would be useful for creating and maintaining a local copy of a remote mailbox on a computer which is not supposed to be set up as an IMAP server accepting untrusted incoming connections, doing authentication etc.)
Comment 1 Boris Savelev 2009-11-12 13:30:11 MSK
patches are welcome!
Comment 2 Vitaly Lipatov 2012-09-07 18:49:09 MSK
Да, без автора не обойтись.