|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Create Maildir without using virtual
From: adp (dap99
i-55.com)
Date: Sat Apr 10 2004 - 00:18:24 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I want Postfix to create a Maildir if it does not exist when delivering the
first mail for a user. This is doable when using virtual, and it works quite
well. In this situation though we are using an Samba/Winbind for our
authentication (which works quite well). I can get pam_mkhomedir to create
directories if a user logs in, but we don't want users to have to login to
get a $HOME and $HOME/Maildir created.
In qmail I can specify MAKEHOMEDIR (I think that is the compile-time option)
and create a script dirmaker.sh to do this. Is there anything for Postfix
like this?
Again, I know that virtual can do this, but we aren't using virtual, and I
don't know of a way to trick virtual into working with our pam/winbind setup
just so that we can use this very useful feature.
Something that looks very promising is mailbox_command, but I have never
used this command before. Has anyone used mailbox_command to implement this
functionality?
I am using Postfix 2.0.x.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]