Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

How to move users Maildirs

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


alex at adaptive-it

Jun 18, 2008, 7:06 AM

Post #1 of 4 (741 views)
Permalink
How to move users Maildirs

Hello,

I have a mail server which runs Exim. The problem I have is that the users
maildir is visible inside their home directories. This is a potential
problem because it can be easily deleted my mistake.

Is the Exim MTA able to be configured so that the maildir can be hidden as
.maildir?

Thanks
--
View this message in context: http://www.nabble.com/How-to-move-users-Maildirs-tp17983458p17983458.html
Sent from the Exim Users mailing list archive at Nabble.com.


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


renaud at llorien

Jun 19, 2008, 1:57 AM

Post #2 of 4 (705 views)
Permalink
Re: How to move users Maildirs [In reply to]

Hello,

keenboy wrote:
> Hello,
>
> I have a mail server which runs Exim. The problem I have is that the users
> maildir is visible inside their home directories. This is a potential
> problem because it can be easily deleted my mistake.
>
> Is the Exim MTA able to be configured so that the maildir can be hidden as
> .maildir?
>

Of course, in your transport for maildir, you probably have something like:
maildir_home:
driver = appendfile
directory = $home/Maildir
delivery_date_add
envelope_to_add
return_path_add
maildir_format
mode = 0600
mode_fail_narrower = false

What you have to do is to change the "directory" variable to the one you
wish (i.e: directory = $home/.maildir) .

However, you will also have to move all mails to this directory
manually, and you may have to reconfigure your pop/imap/webmail services
too to reflect this change.
Attachments: smime.p7s (3.21 KB)


hs at schlittermann

Jun 19, 2008, 2:03 AM

Post #3 of 4 (700 views)
Permalink
Re: How to move users Maildirs [In reply to]

keenboy <alex [at] adaptive-it> (Mi 18 Jun 2008 16:06:24 CEST):
>
> Hello,
>
> I have a mail server which runs Exim. The problem I have is that the users
> maildir is visible inside their home directories. This is a potential
> problem because it can be easily deleted my mistake.
>
> Is the Exim MTA able to be configured so that the maildir can be hidden as
> .maildir?

In the exim.conf you should find a config line with the path to the
maildir of the user. Just change this line and let exim reload it's
config (mostly near the local_delivery transport).

And of course, merge the old mail dirs into the new ones. Since the file
names should be unique, it could be done after pointing exim to the new
destination.


Best regards from Dresden
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann HS12-RIPE -----------------------------------------
gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B -
Attachments: signature.asc (0.18 KB)


alex at adaptive-it

Jun 19, 2008, 2:04 AM

Post #4 of 4 (716 views)
Permalink
Re: How to move users Maildirs [In reply to]

Thanks Renaud,

This will do the trick!

Many Thanks


Renaud Allard wrote:
>
> Hello,
>
> keenboy wrote:
>> Hello,
>>
>> I have a mail server which runs Exim. The problem I have is that the
>> users
>> maildir is visible inside their home directories. This is a potential
>> problem because it can be easily deleted my mistake.
>>
>> Is the Exim MTA able to be configured so that the maildir can be hidden
>> as
>> .maildir?
>>
>
> Of course, in your transport for maildir, you probably have something
> like:
> maildir_home:
> driver = appendfile
> directory = $home/Maildir
> delivery_date_add
> envelope_to_add
> return_path_add
> maildir_format
> mode = 0600
> mode_fail_narrower = false
>
> What you have to do is to change the "directory" variable to the one you
> wish (i.e: directory = $home/.maildir) .
>
> However, you will also have to move all mails to this directory
> manually, and you may have to reconfigure your pop/imap/webmail services
> too to reflect this change.
>
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>

--
View this message in context: http://www.nabble.com/How-to-move-users-Maildirs-tp17983458p18000515.html
Sent from the Exim Users mailing list archive at Nabble.com.


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.