Home > Unable To > Unable To Create Lock File Permission Denied Postfix

Unable To Create Lock File Permission Denied Postfix

Reason: typo rosehosting.com View Public Profile View LQ Blog View Review Entries View HCL Entries Visit rosehosting.com's homepage! remove the "= " and postmap the file and try again Mark_NL, Sep 22, 2011 #8 ali888 New Member Hi Mark_NL, Yes, that solved the problem as soon as I ali888, Sep 28, 2011 #19 Mark_NL New Member That's good to hear! I have to go down to every sub-directories to change the permission. http://brrian.net/unable-to/unable-to-create-lock-file-var-mail-root-lock-permission-denied.html

When I've got normal-looking permissions on /var/mail, postfix gives that error, "cannot create file." Courier-IMAP says, "imapd: chdir javaspot.net/pergesu: No such file or directory" chmod 777 /var/mail and they both work sudo touch /var/mail/$USER sudo chown $USER:mail /var/mail/$USER sudo chmod o-r /var/mail/$USER sudo chmod g+rw /var/mail/$USER 10.04 postfix share|improve this question edited Sep 27 '13 at 18:46 Florian Diesch 48.8k13112137 asked Sep The /var/mail directory is shown as thus: drwxrwxr-x 2 root mail 512B Sep 19 13:28 ./ drwxr-xr-x 27 root wheel This little one liner may help with removing the comments, but copy the files to another location before running it so you dont make any mistakes: cat |sed '/#.*$/d' http://serverfault.com/questions/448075/postfix-unable-to-create-lock-file-permission-denied

Page 1 of 2 1 2 Next > ali888 New Member Hi, I was wondering if I could get some help with the question I have with Postfix. Do I have to pre-create the directory structure? This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. Anyone have any idea?

Are you new to LinuxQuestions.org? The mail system (expanded from ): cannot update mailbox ~/mail/someone for user someone. Reply With Quote 25-Mar-2011,15:43 #4 Joeg1484 View Profile View Forum Posts View Blog Entries View Articles Newcomer Join Date Mar 2011 Posts 41 Re: Postfix issue - no local mail delivery Thanks! –John Bowlinger Nov 13 '12 at 16:04 I'll be a little more precise: Whatever GID you set in virtual_gid_maps needs to have write access to the folder.

Interview question "How long will you stay with us?" One for All, and All for One Son's music tastes When hiking, why is the right of way given to people going But that's of course not the permissions I want on it. I see this in the maillog: Code: postfix/virtual fatal: open lock file pid/unix.virtual: cannot open file: permission denied However, when I run `postfix stop; postfix start` postfix starts delivering mail to More Help Posts: 15 Original Poster Rep: I found the file: `/var/spool/postfix/pid/unix.virtual` All files in `/var/spool/postfix/pid/` are owned by root and has permission "-rw-------".

The only thing I don't get is what the hell is missing now, a file, a folder ?? Check the permissions of your '/pid/unix.virtual' file. what else should I try to troubleshoot this? now every single user on the server can read any person's mail!

The good news is I can see in my Inbox in my squirrelmail, there are 5 emails (test emails), but the bad news is I could not view or read the http://www.linuxquestions.org/questions/linux-server-73/postfix-virtual-can't-deliver-to-virtual-mailbox-948121/ drwxr-xr-x 21 root root 4096 2012-05-07 19:15 .. -rw------- 1 root root 0 2012-05-05 22:21 inet.smtp -rw------- 1 root root 17 2012-06-04 09:42 master.pid -rw------- 1 root root 0 2012-05-05 22:22 Post your answer as official so I can accept it. It solved the permission issue.

That user is called user2. this contact form What is the intuition behind the formula for the average? How can I keep the computers on my spaceship from dying after a hull breach? Any ideas?

I chmodded the directory to 0775 from 0755. From VIRTUAL_README: "mail delivery happens with the recipient's UID/GID privileges specified with virtual_uid_maps and virtual_gid_maps." > Should I change the permissions on the /var/mail directory to > something like "1777"? Any thoughts on this? http://brrian.net/unable-to/unable-to-create-lock-file-mailbox-lock-permission-denied.html See the man page, specifically the section on the uid and gid maps I mentioned in my initial reply.

I'm trying to set up an admin email account for 3 virtually hosted Apache websites. This is not a good sign. Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest

What I see in the mail.log is Sep 22 15:16:44 server1 postfix/qmgr[2064]: 7B7F4240021: from=<[emailprotected]>, size=4127, nrcpt=1 (queue active) Sep 22 15:16:44 server1 postfix/virtual[2489]: B57C22400B2: to=<[emailprotected]>, relay=virtual, delay=2290, delays=2290/0.01/0/0.03, dsn=2.0.0, status=sent (delivered

drwxrwxr-x 8 1007 vmail 4096 2011-09-26 13:04 .. -rw------- 1 vmail vmail 4233 2011-09-26 12:54 1317005646.V806I401ccM36867.mailtest:2, I am not sure if this permission issue may be caused by different users. The time now is 10:22. © 2015 SUSE, All Rights Reserved. current community blog chat Server Fault Meta Server Fault your communities Sign up or log in to customize your list. What does "d" mean in definition of Double.NaN = 0.0d / 0.0?

No, but you should compare the ownership of the delivery location with what you have specified in $virtual_uid_maps and $virtual_gid_maps. -- Sahil Tandon <[hidden email]> Jerry-124 Reply | Threaded Open this How to find the total time I spent on my laptop in this year? I found that hostname is server1.example.com. Check This Out Golf a Numerical Growing Braid Snowman Bowling What's the meaning of "farmer by trade"?

else it's not allowed to read/write files. drwxr-xr-x 8 root root 4096 2012-05-05 22:15 .. If you'd like to contribute content, let us know.