/ I'm testing a new setup of postfix using deliver to put the messages into the user's maildir, and am curious if there is a way to make deliver create custom maildirs when it delivers to a valid user without a maildir? Right now it only creates the inbox, I'd like it to create the .sent/ .Trash/ and .SPAM dirs. Is this possible? Thanks -------------------------------------- / /Steve Roemen// /
on 5-5-2008 8:01 AM Steve Roemen spake the following:> / I'm testing a new setup of postfix using deliver to put the messages > into the user's maildir, and am curious if there is a way to make > deliver create custom maildirs when it delivers to a valid user without > a maildir? > > Right now it only creates the inbox, I'd like it to create the .sent/ > .Trash/ and .SPAM dirs. Is this possible? > > > Thanks > -------------------------------------- > / /Steve Roemen// > / >You could create a login script that tests for and creates them if they don't exist. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20080505/6a051c03/attachment-0002.bin>
On Mon, 5 May 2008, Steve Roemen wrote:> / I'm testing a new setup of postfix using deliver to put the messages > into the user's maildir, and am curious if there is a way to make > deliver create custom maildirs when it delivers to a valid user without > a maildir?I don't know as far as deliver, but what I do is put the mailboxes I want to be sure exist in my /etc/skel. That way, on user creation, the directories are already there. If others know more Dovecotty ways to handle this, please speak up! -- Asheesh. -- The church saves sinners, but science seeks to stop their manufacture. -- Elbert Hubbard