John McDonald
2006-Nov-23 17:55 UTC
[Dovecot] Two email accounts writing to one nfs shared home directory
I use dovecot as a local imap server on my desktop machine due to the fact that my workplace only support POP3. I use fetchmail to pop, postfix to deliver, and dovecot for client access. At present I have a single email account which is the same as my system login and have postfix and dovecot setup to use ~/Maildir. The home directories on our system are served from a central file system, using nfs, which has full backup/disaster recovery policy implemented. I now need to setup a second separate email account for a specific task. Our sysadmins have setup this account for me on the POP3 server. The problem is that this account does not have a home directory on our system and therefore I can't write to ~/Maildir. What I would like to do is setup the same type of system for this second account without necessitating the creation of a home directory. That is, I would like a second Maildir folder in my own user account to which this second email account's messages are delivered. This way I will have full backup of the messages. What is the most straightforward way of achieving this? (or can it be done at all?) Thanks for the help. Regards, John McDonald.
Johannes Berg
2006-Nov-23 18:32 UTC
[Dovecot] Two email accounts writing to one nfs shared home directory
On Thu, 2006-11-23 at 17:55 +0000, John McDonald wrote:> What is the most straightforward way of achieving this? (or can it be > done at all?)Add a static userdb to your dovecot configuration for the second account and configure all the parameters there. johannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20061123/ffce27e3/attachment.bin>
Brian G. Peterson
2006-Nov-23 20:47 UTC
[Dovecot] Two email accounts writing to one nfs shared home directory
On Thursday 23 November 2006 11:55, John McDonald wrote:> That is, > I would like a second Maildir folder in my own user account to which > this second email account's messages are delivered. This way I will > have full backup of the messages. > > What is the most straightforward way of achieving this? (or can it be > done at all?If you don't need a separate local imap account, just have fetchmail retrieve the mail into a Maildir that is a subdirectory of ~/Maildir. Regards, - Brian