On Fri June 19 2009 10:28:25 Brian Evans - Postfix List wrote:
> Rodman Frowert wrote:
> > Thank you for your reply. That is a long way to go to simply
> > change the location that Postfix delivers to. Is that the only
> > way.
> >
> > I should be using Virtual Users anyway, as I'm the only one who
> > actually needs shell access. Everyone else is just needs mail...
>
> The only other way is to use a non-Postfix delivery agent that will
> support this.
Not true. See postconf.5.html#mail_spool_directory :
"Note: maildir delivery is done with the privileges of the recipient.
If you use the mail_spool_directory setting for maildir style delivery,
then you must create the top-level maildir directory in advance.
Postfix will not create it."
So, the way to do this with local(8) is to have a useradd(8) frontend
which creates the maildir at $mail_spool_directory/USER/ owned by said
user.
I think $mail_spool_directory mode 1777 might work too, but that might
not be a good idea.
> A virtual setup can be easier to maintain in the long run.
Can be ... in some cases. Probably not, in most cases.
I wonder, if the mail users are not needing shell or other access such
as CIFS/SMB or FTP, what was the point in keeping "home directories
clean"?
--
Offlist mail to this address is discarded unless
"/dev/rob0" or "not-spam" is in Subject: header