Koozali.org: home of the SME Server

move email between users

aussie

move email between users
« on: April 12, 2005, 06:29:26 AM »
(I have searched but found nothing!)

I have forwarded 'fred' to 'john' but there are messages still in 'fred'.
I need to push the messages from 'fred/Maildir/new' to 'john/Maildir/new' (sme 6.01) - how do I do this?

TIA Rob :pint:

Offline raem

  • *
  • 3,972
  • +4/-0
Re: move email between users
« Reply #1 on: April 12, 2005, 09:47:30 AM »
aussie

> I need to push the messages from 'fred/Maildir/new'
> to 'john/Maildir/new'

Move the messages to the corresponding folder in ../john using command line or mc
Then change ownership for all the messages to the new owner
cd .../john/Maildir/new
chown john:john *

Then read them with your email client.
...

aussie

Re: move email between users
« Reply #2 on: April 13, 2005, 12:11:16 AM »
Quote from: "RayMitchell"
aussie

> I need to push the messages from 'fred/Maildir/new'
> to 'john/Maildir/new'

Move the messages to the corresponding folder in ../john using command line or mc
Then change ownership for all the messages to the new owner
cd .../john/Maildir/new
chown john:john *

Then read them with your email client.


Thanks Ray!
It worked a charm (I knew there would be an easy way)
Thanks for sharing the knowledge

Offline raem

  • *
  • 3,972
  • +4/-0
Re: move email between users
« Reply #3 on: April 13, 2005, 12:19:04 AM »
aussie

> ....I knew there would be an easy way
>.....Thanks for sharing the knowledge

I'm finding more and more that most things in sme are quite easy to do once you know how, it's just getting that first bit of knowledge to get you going that is the tricky part !

You could do well to read about Linux permissions, ie chown & chmod, as it wil be very useful knowledge to have as you play more with sme.
...

aussie

Re: move email between users
« Reply #4 on: April 13, 2005, 02:03:52 AM »
Quote from: "RayMitchell"

I'm finding more and more that most things in sme are quite easy to do once you know how,...


Thanks for the extra suggestion!
I'm an old SCO application programmer, so finding linuxtestingly similar but different! (eg less == pg).
BUT I get by ok, just reckon with sme reconfiguring everything its best to try and stay away from too many os interferences!
Oh and for others reading this USE DECENT HARDWARE!
(chuck the 486 with 32MB and a 600MB disk - it just comsumes too many hours mucking with failures/limitations).

Your point is well made though - eg I use NFS to enable files stored on my SCO box to 'be on' the sme, so I can convert postscript to pdf and email (ps2df & ghostscript, which all instal if you add the hylafax 'stuff' - the easy way to get all the right version).
And the great thing about sme is the community of information and people like you who contribute knowledge -
ave a tooheys or 2 for me  :pint: Rob