trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2015

Re: [trinity-users] Re: imaping an existing kmail maild atabase

From: Gene Heskett <gheskett@...>
Date: Fri, 4 Dec 2015 06:49:27 -0500
On Friday 04 December 2015 06:25:10 Lisi Reisz wrote:

> On Friday 04 December 2015 10:59:52 Gene Heskett wrote:
> > On Friday 04 December 2015 02:50:02 Dr. Nikolaus Klepp wrote:
> > > Am Donnerstag, 3. Dezember 2015 schrieb Gene Heskett:
> > > > On Thursday 03 December 2015 06:56:53 deloptes wrote:
> > > > > > How hard would it be to setup an imap server on this
> > > > > > machine, that uses the existing email corpus database,
> > > > > > /home/gene/Mail, and serves it to any other kmail agents
> > > > > > running on my local network?
> > > > >
> > > > > I am using devecot imap on the server at home and access the
> > > > > mailbox on that server from multiple clients. There is nothing
> > > > > special for that.
> > > > >
> > > > > You have to tell dovecot where your mail is and in which
> > > > > format. usually I would configure the server side mailbox
> > > > > aside from the home directory.
> > > > > You could use imap to copy your local mailbox data to the
> > > > > server dir after you set it up once.
> > > > > This is in /etc/dovecot/conf.d/10-mail.conf
> > > > >
> > > > > you can use anything like fetchmail to get mails to the
> > > > > mailbox and serve it to all clients. If you have any other
> > > > > pop3 accounts. This is what I would do. Thus you collect your
> > > > > mails in one mailbox and access them via imap by any client.
> > > > >
> > > > > I also had my mailbox set in the user home years ago and this
> > > > > was I guess by default set by Kmail, but turned to be
> > > > > misleading.
> > > > >
> > > > > However the flexibility of all this is so big that there is
> > > > > surely a way to get what you want or get it really wrong.
> > > > >
> > > > > I hope this helps
> > > >
> > > > Knowing where it keeps its log would help.  Its running, hasn't
> > > > reported any errordbut no logfile can be found. I also asked
> > > > kmail on one of the machines to access kit, and then had to
> > > > leave for about 5 hours. at the end of which that " client"
> > > > kmail was still trying to read the server.
> > > >
> > > > dovecot -n reports:
> > > >
> > > > # 2.1.7: /etc/dovecot/dovecot.conf
> > > > # OS: Linux 3.4-9-amd64 x86_64 Debian 7.9
> > > > mail_location = maildir:~/Mail/*/cur
> > > > mail_plugins = IMAP
> > > > namespace inbox {
> > > >   inbox = yes
> > > >   location =
> > > >   mailbox Drafts {
> > > >     special_use = \Drafts
> > > >   }
> > > >   mailbox Junk {
> > > >     special_use = \Junk
> > > >   }
> > > >   mailbox Sent {
> > > >     special_use = \Sent
> > > >   }
> > > >   mailbox "Sent Messages" {
> > > >     special_use = \Sent
> > > >   }
> > > >   mailbox Trash {
> > > >     special_use
> > > >
> > > > Hints?
> > > >
> > > > Thank you.
> > > >
> > > > Cheers, Gene Heskett
> > >
> > > Hi Gene!
> > >
> > > I might miss the point, but what would happen if you just run
> > > kmail on the remote comuter - that where your mails are and where
> > > you have kmail working - like this:
> > >
> > > $ ssh -X gene@remote /opt/trinity/bin/kmail
> > >
> > > Nik
> >
> > That would imply, I believe, that I have the /sshnet/machine network
> > using sshfs set up to function both ways. Presently I do not but
> > have been trying to figure out a way to do that.
> >
> > Refresh me on how I can make that work from the individual machines.
> >
> > Currently its only from this machine /to/ the other 3. EG, I have a
> > dir called /sshnet here, that when the whole net is up and
> > connected, looks like this:
> > gene@coyote:/etc/dovecot/conf.d$ ls -l /sshnet
> > total 12
> > drwxr-xr-x 1 root root 4096 Nov 10 13:37 GO704
> > drwxr-xr-x 1 root root 4096 Sep 24 11:30 lathe
> > drwxr-xr-x 1 root root 4096 Sep 24 11:44 shop
> > gene@coyote:/etc/dovecot/conf.d$
> >
> > And as me, gene, I can do anything to those machines that gene has
> > perms to do.  But its not mirrored at those machines, something I
> > would like to do.
> >
> > Thanks Nic.
> >
> > Cheers, Gene Heskett
>
> Have you got openssh-client and openssh-server installed on all the
> machines?
>
> Lisi

On the machine (GO704.coyote.den) I am currently trying to work with, 
yes.  And likely on all 3, which would include lathe.coyote.den and 
shop.coyote.den.  If not, its certainly fixable.

And the keys have been imported, apparently w/o error on that machine, 
but that was not done from its own console, it was done via an 
"ssh -Y GO704" login from here on coyote. I think that makes a 
difference.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>