Home > Unable To > Unable To Create Lock File /var/mail/root.lock Permission Denied

Unable To Create Lock File /var/mail/root.lock Permission Denied

For further assistance, please send mail to postmaster. Output the sign Golf a Numerical Growing Braid When hiking, why is the right of way given to people going up? Has Darth Vader ever been exposed to the vacuum of space? Select Articles, Forum, or Blog. http://brrian.net/unable-to/unable-to-create-lock-file-mailbox-lock-permission-denied.html

I'm trying to set up an admin email account for 3 virtually hosted Apache websites. Delivery by postfix is as the target user's account, therefor the directory where the lock file is created must be owned by the user, and probably should not be not world How to make a shell read the whole script before executing it? Dont' change "virtual_mailbox_domains" to example.com, unless you change "mydomain" as well. (in other words, don't use the domain you'll be using for virtual mailboxes for your local server settings as well)

Why does a (D)DoS attack slow down the CPU and crash a server? Why credit card information mostly not stolen? Based on mail.log or syslog, here is the snapshot from syslog. There are quite a few users. -- Gerard [hidden email] TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mailTO (UN)SUBSCRIBE see http://www.postfix.org/lists.htmlI went into a general store ...

up vote 25 down vote favorite 3 I get this error whenever I try to install programs using the terminal: [email protected]:~$ apt-get install myunity E: Could not open lock file /var/lib/dpkg/lock vBulletin ©2000 - 2016, Jelsoft Enterprises Ltd. Enviado desde mi oficina móvil BlackBerry® de Telcel -----Original Message----- From: Gerard <[hidden email]> Date: Sat, 19 Sep 2009 11:22:55 To: <[hidden email]> Subject: Postfix with virtual users & domains Running Neither of those numbers = 5000.

You can run groups command to check in which groups you are. asked 4 years ago viewed 135247 times active 2 years ago Blog Stack Overflow Gives Back 2016 Developers, Webmasters, and Ninjas: What’s in a Job Title? Is scroll within a card good or bad? (In desktop) What's the difference between ls and la? http://arstechnica.com/civis/viewtopic.php?f=16&t=1128360 Xenforo skin by Xenfocus Contact Us Help Imprint Home Top RSS Terms and Rules Forum software by XenForo™ ©2010-2014 XenForo Ltd.

Reply With Quote 25-Mar-2011,04:26 #2 ken_yap View Profile View Forum Posts View Blog Entries View Articles Flux Capacitor Penguin Join Date Jun 2008 Location UTC+10 Posts 9,936 Re: Postfix issue - Results 1 to 5 of 5 Thread: Postfix issue - no local mail delivery on postfix server Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to And what is the output of groups fmaster? –Radu Rădeanu Sep 28 '13 at 13:24 | show 2 more comments 1 Answer 1 active oldest votes up vote 4 down vote What is the intuition behind the formula for the average?

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. http://forums.mozillazine.org/viewtopic.php?f=28&t=205791 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' Are zipped exe files harmless for linux servers? Before removing a lock file you have to be triple sure that the process holding it has closed, or crashed, or whatever.

I must admit that when I saw the error, I knew something is missing there but was not sure what I needed to do to fix it . http://brrian.net/unable-to/unable-to-create-lock-file-permission-denied-postfix.html Jul 24 at 21:00 add a comment| up vote 2 down vote just run sudo apt-get update sudo is for running it as super user share|improve this answer answered Mar 10 Every works fine, the mail for the internet are forwarded by postfix to my ISP's SMTP server and they are correctly delivered to the destination. because you are not.

share|improve this answer answered Feb 28 '14 at 13:20 Braiam 40.2k1696158 Thanks for the help gents,as I have not set root I didn't think I'd need to use sudo Here is my virtual_mailboxes [emailprotected] = user1/Maildir I noticed that no matter what I changed the search_base in the ldap-user-auth.ldif, for example search_base = o=testmailserverorg, it just kept saying "warning: dict_ldap_lookup: Browse other questions tagged email permissions file-permissions postfix or ask your own question. http://brrian.net/unable-to/unable-to-create-lock-file-var-mail-root-lock-file-exists.html Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode June 3rd, 2010 #1 jerome1232 View Profile View Forum Posts Private

Checking to see if a string is alphabetic What is a real-world metaphor for irrational numbers? 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 The college in 'Electoral College' What are the considerations for waterproofing a building's first few floors?

The only thing I don't get is what the hell is missing now, a file, a folder ??

Output the first position in your program for each input character Why credit card information mostly not stolen? Steven Wright Sahil Tandon Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Postfix with virtual users & domains On I did not get any bounce email from Yahoo which indicates the email sent from my Yahoo account might be wandering somewhere . the solution is right there! ;-) (euid=1005 egid=1004 missing +x perm: /home/vmail)Click to expand...

asked 2 years ago viewed 4606 times active 2 years ago Blog Stack Overflow Gives Back 2016 Developers, Webmasters, and Ninjas: What’s in a Job Title? Why is this 'Proof' by induction not valid? Forum Statistics Discussions: 54,258 Messages: 287,519 Members: 92,330 Latest Member: llhardwarell Share This Page Tweet Howtoforge - Linux Howtos and Tutorials Home Forums > Linux Forums > Server Operation > English Check This Out Thank you ali888, Sep 22, 2011 #6 ali888 New Member Hi, Just an update.

Why do compact cameras keep using 4:3 and not 3:2 like DSLRs? Thus, you command should be sudo apt-get install myunity If you want to update your system, run sudo apt-get update sudo apt-get dist-upgrade This will update your system's package database and up vote 1 down vote favorite I've been suffering a permission problem in Postfix/Dovecot for a couple of days now. Note: for a test purpose, I have 5 different users, each with different UIDs but same GID that I added to LDAP server.

Here's my postfix main.cf file: myhostname = ip-XX-XXX-XX-XXX.us-west-2.compute.internal alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = ip-XX-XXX-XX-XXX.us-west-2.compute.internal, localhost.us-west-2.compute.internal, , localhost relayhost = mynetworks = [::ffff:]/104 [::1]/128 mailbox_size_limit The permission problem occurred because you have this defined in the postfix config: Code: virtual_uid_maps = static:1004 virtual_gid_maps = static:1004 that is most likely user "vmail" you can check by executing try testing via command line with ldapseach Mark_NL, Sep 21, 2011 #5 ali888 New Member Hi Mark_NL, I did try to perform ldapsearch as follows ldapsearch -h server1 -b "dc=server1,dc=example,dc=com" Do I have to pre-create the directory structure?

You can test this by yourself by doing this as a normal user (not root): $ mkdir -m 2670 /tmp/testdir $ ls -ld /tmp/testdir drw-rws--- 2 vmail vmail 4096 Apr 3 Wonder if there are any way of enabling to apply the +r to directories cur/, new/, tmp/ once and for all. Code: sudo touch /var/mail/ sudo chown :mail /var/mail/ sudo chmod o-r /var/mail/ sudo chmod g+rw /var/mail/ seemed to fix the issue - at least the error is gone. Linked 1 How do I get root in terminal? 4 Solving /var/lib/dpkg/lock - open (13: Permission denied) with “are you root?” error 3 How to install Git on Ubuntu? 1 checking