ot: copy physical mail files ?
dumb question warning:
I have two email accounts, me@tld1 and me@tld2 often, get emails intended (by me) for me@tld2 sent to me@tld1
this is purely for my own preferred record keeping preference,
as I run the server, is it 'a really bad things' if I simply copy relevant mail files from /var/vmail/vmail1/tld1..../cur to /var/vmail/vmail1/tld2.../cur ?
rather than forward emails as I have been doing?
thanks
On May 6, 2020, at 9:45 PM, Voytek Eymont <voytek@sbt.net.au> wrote:
dumb question warning:
I have two email accounts, me@tld1 and me@tld2 often, get emails intended (by me) for me@tld2 sent to me@tld1
this is purely for my own preferred record keeping preference,
as I run the server, is it 'a really bad things' if I simply copy relevant mail files from /var/vmail/vmail1/tld1..../cur to /var/vmail/vmail1/tld2.../cur ?
rather than forward emails as I have been doing?
If you use the dovecot lmtp to deliver the mail, wouldn’t it be easier to use sieve to redirect?
Am 07.05.2020 um 17:15 schrieb Admin dishaw.org <admin@dishaw.org>:
On May 6, 2020, at 9:45 PM, Voytek Eymont <voytek@sbt.net.au> wrote:
dumb question warning:
I have two email accounts, me@tld1 and me@tld2 often, get emails intended (by me) for me@tld2 sent to me@tld1
this is purely for my own preferred record keeping preference,
as I run the server, is it 'a really bad things' if I simply copy relevant mail files from /var/vmail/vmail1/tld1..../cur to /var/vmail/vmail1/tld2.../cur ?
rather than forward emails as I have been doing?
If you use the dovecot lmtp to deliver the mail, wouldn’t it be easier to use sieve to redirect?
or even drag & drop in your mail client from one account to the other?
On Fri, May 8, 2020 1:18 am, admin@awib.it wrote:
Am 07.05.2020 um 17:15 schrieb Admin dishaw.org <admin@dishaw.org>:
If you use the dovecot lmtp to deliver the mail, wouldn’t it be easier to use sieve to redirect?
problem is it's only some emails, that relate to this project
this sender might send an email re this project, I want it in other tld; or, he might send stuff NOT related to this project emails relating to the project often include 'stuff' with them
everyone else, replies to my emails sent from'correct' tld, this person, gets me from his address book
maybe I'll edit his address book ...?
or even drag & drop in your mail client from one account to the other?
hmmm, I use Squirrel web mail, don't have mail client, except on phone (maybe Android mail client can do...? not sure, must check)
On May 8, 2020, at 1:15 AM, Voytek Eymont <voytek@sbt.net.au> wrote:
On Fri, May 8, 2020 1:18 am, admin@awib.it wrote:
Am 07.05.2020 um 17:15 schrieb Admin dishaw.org <admin@dishaw.org>:
If you use the dovecot lmtp to deliver the mail, wouldn’t it be easier to use sieve to redirect?
problem is it's only some emails, that relate to this project
this sender might send an email re this project, I want it in other tld; or, he might send stuff NOT related to this project emails relating to the project often include 'stuff' with them
everyone else, replies to my emails sent from'correct' tld, this person, gets me from his address book
maybe I'll edit his address book ...?
You can setup sieve to redirect email just from that one sender that shows up at the incorrect address—something like
if allof(address :is “from" "problem.sender@example.com”, address :is “to” “me@the-wrong-tld”) { redirect “me@the-correct-tld”; }
If needed, you can add keyword test for the subject line. I have tried testing the body for keyword, so no comment on that option.
or even drag & drop in your mail client from one account to the other?
hmmm, I use Squirrel web mail, don't have mail client, except on phone (maybe Android mail client can do...? not sure, must check)
Another option, is to have a script that connects to your IMAP server and moves mail for you. For example, I use a perl script to process timesheets. You would need to have the script open two IMAP connections (one for each TLD).
On 2020-05-08 07:15, Voytek Eymont wrote:
or even drag & drop in your mail client from one account to the other?
hmmm, I use Squirrel web mail, don't have mail client, except on phone (maybe Android mail client can do...? not sure, must check)
squirrelmail have no ajax, so not drag and drop support, try roundcube for this
android have not ajax
On 07 May 2020, at 23:15, Voytek Eymont <voytek@sbt.net.au> wrote:
hmmm, I use Squirrel web mail, don't have mail client, except on phone (maybe Android mail client can do...? not sure, must check)
Squiirrelmail has been abandoned for many years and hasn’t seen significant updates in about a decade. It does not work well with mobile devices.
It is long past time to move on. I moved to Roundcube, but Horde is also good.
-- 'An appointment is an engagement to see someone, while a morningstar is a large lump of metal used for viciously crushing skulls. It is important not to confuse the two.’
Voytek Eymont wrote:
dumb question warning:
I have two email accounts, me@tld1 and me@tld2 often, get emails intended (by me) for me@tld2 sent to me@tld1
this is purely for my own preferred record keeping preference,
as I run the server, is it 'a really bad things' if I simply copy relevant mail files from /var/vmail/vmail1/tld1..../cur to /var/vmail/vmail1/tld2.../cur ?
rather than forward emails as I have been doing?
thanks
I used to move mail files around but now use "doveadm move".
You can probably move mail from me@tld1 to me@tld2 with something like:
doveadm move -u me@tld2 INBOX user me@tld1 MAILBOX INBOX subject party
where party is a string that appears only in the subject line of the emails you want to move.
Richard.
participants (6)
-
@lbutlr
-
Admin dishaw.org
-
admin@awib.it
-
Benny Pedersen
-
Richard Siddall
-
Voytek Eymont