Re: Changing Users' Mail Spool Destination
On 2011-12-16 17:28, Charles Marcus wrote: On 2011-12-16 5:27 AM, Jeroen Geilman jer...@adaptr.nl wrote: On 2011-12-13 12:30, Charles Marcus wrote: On 2011-12-13 3:11 AM, Jeroen Geilman jer...@adaptr.nl wrote: Yes, I caught that. (But thanks for the note, anyway). I plan to let inbox be mbox format, just like it is in a normal mail spool. So, no maildir, then ? You can't exactly mix the formats - it's one or the other. Sure you can... dovecot is fine with the INBOX being mbox and everything else being maildir... /Postfix/ will not deliver to both mbox and maildirs for the same mailbox. No one said anything about 'postfix *delivering* to both mbox and maildir at the same time'. He said he was going to make the *INBOX* (where mail is *delivered*) mbox, and leave the other folders as maildirs. Dovecot is perfectly happy with this setup. Eeenteresting... thank you. -- J.
Re: Changing Users' Mail Spool Destination
On 2011-12-13 12:30, Charles Marcus wrote: On 2011-12-13 3:11 AM, Jeroen Geilman jer...@adaptr.nl wrote: Yes, I caught that. (But thanks for the note, anyway). I plan to let inbox be mbox format, just like it is in a normal mail spool. So, no maildir, then ? You can't exactly mix the formats - it's one or the other. Sure you can... dovecot is fine with the INBOX being mbox and everything else being maildir... /Postfix/ will not deliver to both mbox and maildirs for the same mailbox. -- J.
Re: Changing Users' Mail Spool Destination
On 2011-12-16 5:27 AM, Jeroen Geilman jer...@adaptr.nl wrote: On 2011-12-13 12:30, Charles Marcus wrote: On 2011-12-13 3:11 AM, Jeroen Geilman jer...@adaptr.nl wrote: Yes, I caught that. (But thanks for the note, anyway). I plan to let inbox be mbox format, just like it is in a normal mail spool. So, no maildir, then ? You can't exactly mix the formats - it's one or the other. Sure you can... dovecot is fine with the INBOX being mbox and everything else being maildir... /Postfix/ will not deliver to both mbox and maildirs for the same mailbox. No one said anything about 'postfix *delivering* to both mbox and maildir at the same time'. He said he was going to make the *INBOX* (where mail is *delivered*) mbox, and leave the other folders as maildirs. Dovecot is perfectly happy with this setup. -- Best regards, Charles
Re: Changing Users' Mail Spool Destination
On 2011-12-11 19:38, Jim Seymour wrote: On Sun, 11 Dec 2011 13:15:28 -0500 (EST) Wietse Venemawie...@porcupine.org wrote: [snip] To turn on maildir support, append a trailing '/' to the name. Yes, I caught that. (But thanks for the note, anyway). I plan to let inbox be mbox format, just like it is in a normal mail spool. So, no maildir, then ? You can't exactly mix the formats - it's one or the other. Dovecot is perfectly happy with that. I don't know if Postfix will auto-create ~user/mail directories. That's easily addressed with a simply shell or Perl script I can create. Heck, I could even set up a cron job to make sure they all exist, in case I got absent-minded when creating a new user. Thanks, Jim -- J.
Re: Changing Users' Mail Spool Destination
On 2011-12-13 3:11 AM, Jeroen Geilman jer...@adaptr.nl wrote: Yes, I caught that. (But thanks for the note, anyway). I plan to let inbox be mbox format, just like it is in a normal mail spool. So, no maildir, then ? You can't exactly mix the formats - it's one or the other. Sure you can... dovecot is fine with the INBOX being mbox and everything else being maildir... -- Best regards, Charles
Re: Changing Users' Mail Spool Destination
Jim Seymour: G'day Postfix'ers, I'm in the process of building-up a new company mail server. It'll be an IMAP4 beast, using Maildir, and so I allocated the vast majority of the freespace to /home, for IMAP folder storage. Then it occurred to me: I know my users have poor habits, and tend to leave much of their email in INBOX forever and ever. Hmmm... Then it occurred to me: I was pretty certain I'd read that I could have both Postfix and Dovecot use per-user inboxen in their home directories. Do I understand correctly that all I need do is, in main.cf: home_mailbox = mail/inbox To turn on maildir support, append a trailing '/' to the name. I don't know if Postfix will auto-create ~user/mail directories. Wietse
Re: Changing Users' Mail Spool Destination
On Sun, 11 Dec 2011 13:15:28 -0500 (EST) Wietse Venema wie...@porcupine.org wrote: [snip] To turn on maildir support, append a trailing '/' to the name. Yes, I caught that. (But thanks for the note, anyway). I plan to let inbox be mbox format, just like it is in a normal mail spool. Dovecot is perfectly happy with that. I don't know if Postfix will auto-create ~user/mail directories. That's easily addressed with a simply shell or Perl script I can create. Heck, I could even set up a cron job to make sure they all exist, in case I got absent-minded when creating a new user. Thanks, Jim -- Note: My mail server employs *very* aggressive anti-spam filtering. If you reply to this email and your email is rejected, please accept my apologies and let me know via my web form at http://jimsun.LinxNet.com/contact/scform.php.
Re: Changing Users' Mail Spool Destination
On Sunday, December 11, 2011 at 18:38:07 UTC, jseym...@linxnet.com confabulated: On Sun, 11 Dec 2011 13:15:28 -0500 (EST) Wietse Venema wie...@porcupine.org wrote: [snip] To turn on maildir support, append a trailing '/' to the name. Yes, I caught that. (But thanks for the note, anyway). I plan to let inbox be mbox format, just like it is in a normal mail spool. Dovecot is perfectly happy with that. I don't know if Postfix will auto-create ~user/mail directories. That's easily addressed with a simply shell or Perl script I can create. Heck, I could even set up a cron job to make sure they all exist, in case I got absent-minded when creating a new user. You could also use Dovecot LDA or LMTP. Dovecot will create the directory structure automatically upon the first login or message delivery. -- If at first you don't succeed, so much for skydiving.
Re: Changing Users' Mail Spool Destination
On Sun, 11 Dec 2011 19:30:12 + Duane Hill duih...@gmail.com wrote: [snip] You could also use Dovecot LDA or LMTP. Dovecot will create the directory structure automatically upon the first login or message delivery. Wouldn't I lose Postfix' header and body processing if I did that? There's also the +d address support, .forward, etc. I think I can also handle the automatic creation of the ~/mail directory, and perhaps empty inbox mbox file, in the Linux user creation stuff. (Never looked into that yet.) Anyway: My question was more one of: If I wanted to do it the way I described: Were the configs I noted really all I need do? Regards, Jim -- Note: My mail server employs *very* aggressive anti-spam filtering. If you reply to this email and your email is rejected, please accept my apologies and let me know via my web form at http://jimsun.LinxNet.com/contact/scform.php.