On 11/10/2010 08:37 AM, Toomas Vendelin wrote:
Jeroen, thank you for taking time to answer.

The problem was that I have put /sbin/nologin for a login shell
instead of /bin/false. Don't ask, why on Earth did I do that (I'm
asking that myself). Anyway, with this changed, mail goes through as
expected. The moral being, don't work too long hours.

I seriously doubt that this would cause the reported error.
Yesh - tutorials often get things wrong, or assume you know more about
postfix than you do.
I'd suggest the actual documentation instead, located at
http://www.postfix.org/VIRTUAL_README.html
Nobody's perfect. Yes, I've read the "official HOWTO" as well. In this
particular case, the HowtoForge.com tutorial was both correct and
better written.

But not complete. No such tutorial ever is.
Run namei -l /var/spool/vmail/minu.biz/toomas/tmp to verify *complete*
access.
I've got:
namei: invalid option -- l
usage: namei [-mx] pathname [pathname ...]


Odd. My distribution (ubuntu 10.04) has many more options to namei.

HOW did you create the maildir ?
If postfix created the maildir, it would obviously be able to write to it
afterwards.
With mkdir.

That is not a valid method of creating a maildir, which requires a very precise permission structure. Please let the MTA or MDA create your maildirs, or use a third-party supplied utility such as courier's maildirmake.

This mandates that ALL virtual mailboxes MUST be writable by either uid 5000
or gid 5000. Are they ?
Yes. I should have written it explicitly, of course.
You haven't shown us any sort of directory listing for the virtual mailboxes. That would have eliminated all of these uncertainties.

What is the contents of virtual_mailbox_maps ?
You left out one of the principal deciding factors by not including it.
My mistake. Fortunately, as we know by now, it was irrelevant in this case.

Maybe, but impossible to tell if you don't provide that information.


--
J.

Reply via email to