Failed to open /home/mail/ for writing...

13 posts / 0 new
Last post
#1 Thu, 07/03/2008 - 03:51
ashier

Failed to open /home/mail/ for writing...

I'm getting this error.. please help... I'm really new to this.

Creating mailbox for administration user .. .. mailbox failed : Failed to open /home/mail/ for writing : Bad file descriptor at ../web-lib-funcs.pl line 982.

What should I do?

Thu, 07/03/2008 - 04:16
sgrayban

Looks like the file web-lib-funcs.pl is bad.

What distro is this ?

Thu, 07/03/2008 - 04:19 (Reply to #2)
ashier

CentOS Linux 5.2

Thu, 07/03/2008 - 04:19 (Reply to #3)
sgrayban

Actually why is it trying to write to /home/mail/ ?

Unless your user is mail which you can't have cause its a system accuount you will get this error.

Thu, 07/03/2008 - 04:27 (Reply to #4)
ashier

i see... so do you have any suggestions how to fix this?

Thu, 07/03/2008 - 04:30 (Reply to #5)
ashier

actually I just followed instructions on how to configure postfix here... http://swelltech.com/support/virtual-servers/index.html#postfix

I really don't know how to fix this. Any ideas?

Thu, 07/03/2008 - 04:32 (Reply to #6)
sgrayban

Well I hope VM was smart enough to not even setup anything otherwise you now have a broke system.

Thu, 07/03/2008 - 04:37 (Reply to #7)
sgrayban

Oh geez ignore that HOWTO !!! If you installed using the script you were all done.

That was written BEFORE they fixed the backup issues not backing up email correctly.

Undo everything you did if you can.

Thu, 07/03/2008 - 04:44 (Reply to #8)
ashier

I tried changing the spool directory with /var/spool/mail.. I believe that fixed it.

Well, I guess VM was really smart. Woooot!.

Thanks!

Thu, 07/03/2008 - 04:45 (Reply to #9)
sgrayban

In fact ignore all docs there -- read and use the ones at http://www.virtualmin.com/documentation/ instead.

We keep those up-to-date.

Thu, 07/03/2008 - 04:47 (Reply to #10)
ashier

Great! Thanks

Thu, 07/03/2008 - 04:49 (Reply to #11)
sgrayban

welcome

Thu, 07/03/2008 - 04:53 (Reply to #12)
sgrayban
Topic locked