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.
Thats quite a few gigabytes, and a duplication operation.
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.
Here, fetchmail hands off to procmail which delivers that which survives
the spamassassin an clam inspections, and delivers it delivers to 1 of
3 /var/spool/mail/mailfiles.
Me, a niece, and virii. inotifywait sees the file closing, and if its me
or the niece, sends kmail over the message buss flavor of the week, a
get the mail message. kmail goes and gets it, sorting it to the correct
folder, so the incoming mail lands in foldername/cur. And there are
about 40 some foldernames.
One copy of the email corpus should be sufficient. Can dovecot be trained
to go look in ~/Mail/*/cur?
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.
Its the really wrong that bothers me.
I hope this helps
Perhaps. I'll install it and the docs and do some reading.
Does dovecot do a broadcast so that clients can find it, or is a complex
kmail setup required at the client side?
Thanks.
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>