Select Articles, Forum, or Blog. gmail ! However, I hate to say that I am encountering another error message. alvinwong View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by alvinwong 06-04-2012, 02:27 AM #5 jsaravana87 Member Registered: Aug 2011 Location: Chennai,India Source
I am receiving this error message in the maillog: Sep 19 11:10:41 scorpio postfix/virtual: D5CCE2286D: to=<[hidden email]>, relay=virtual, delay=0.12, delays=0.11/0/0/0.01, dsn=4.2.0, status=deferred (delivery failed to mailbox /var/mail/vhosts/seibercom.net/budman: unable to create lock See the man page, specifically the section on the uid and gid maps I mentioned in my initial reply. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. 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. http://serverfault.com/questions/448075/postfix-unable-to-create-lock-file-permission-denied
Postfix never creates any directory structure. I chose to send it to [email protected] to test the alias setup as well. I got the problem log below Jun 29 14:47:48 centos-vm postfix/virtual: A043137ACA: to=< [email protected]>, relay=virtual, delay=305, delays=304/1/0/0.02, dsn=4.2.0, status=deferred (delivery failed to mailbox /home/vmail//home/vmail/khmerict.com/makara: unable to create lock file /home/vmail//home/vmail/khmerict.com/makara.lock: No comments powered by Disqus Stay Updated Twitter RSS Feed Recent Posts Why Subdirectories Beat Subdomains for SEO How I Update My Blog With Jenkins Delete Queues In RabbitMQ Auto-fixing Passive FTP
unix.bounce unix.defer unix.local unix.smtp unix.cleanup unix.dovecot unix.retry [email protected]:~# ls -al /var/spool/postfix/pid/unix. Thank you ali888, Sep 26, 2011 #15 Mark_NL New Member Still looks like the dirs being created do not have the correct user/group ownership Your postfix vmail stuff runs as Please visit this page to clear all LQ-related cookies. I did not get any bounce email from Yahoo which indicates the email sent from my Yahoo account might be wandering somewhere .
Do I have to pre-create the directory structure? Why did my credit score plummet in a week? 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 Posts: 15 Original Poster Rep: When I try to flush the postqueue a similar error appears: Code: Jun 3 13:13:06 localhost postfix/flush: fatal: open lock file pid/unix.flush: cannot open file: Permission
On Sat, 5 Feb 2005 01:48:30 -0700, Pat Maddox
However, what concerns me now is every time there are new incoming emails coming to user: user1, I received the following errors in mail.log, Sep 26 12:54:29 server1 dovecot: IMAP(lincoln.myer): open(/home/vmail/user2/Maildir/cur/1317005646.V806I401ccM36867.mailtest:2,) http://brrian.net/unable-to/unable-to-create-lock-file-var-mail-root-lock-permission-denied.html All because of SELinux. And more of the log file: Code: Jun 2 20:35:43 localhost postfix/virtual: fatal: open lock file pid/unix.virtual: cannot open file: Permission denied Jun 2 20:35:44 localhost postfix/master: warning: process /usr/libexec/postfix/virtual pid current community blog chat Server Fault Meta Server Fault your communities Sign up or log in to customize your list.
So I still can't find the problem. The problem was in Postfix while I was constantly trying to make changes to Dovecot (which always broke my Atmail sql-database and login system). Being able to create ‘fake’ addresses is a handy feature :) Now, if you were paying attention you would have noticed that the config lines for the mailbox and aliases files http://brrian.net/unable-to/unable-to-create-lock-file-permission-denied-postfix.html HesabımAramaHaritalarYouTubePlayHaberlerGmailDriveTakvimGoogle+ÇeviriFotoğraflarDaha fazlasıDokümanlarBloggerKişilerHangoutsGoogle'a ait daha da fazla uygulamaOturum açınGizli alanlarGrupları veya mesajları ara Support LQ: Use code LQ3 and save $3 on Domain Registration Blogs Recent Entries Best Entries Best Blogs Blog
Mark_NL, Sep 27, 2011 #18 ali888 New Member Thanks Mark_NL, Good news, it works now. How to find the total time I spent on my laptop in this year? don't change it to 777!!
This time, it was the permission issue. 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 You will have to register before you can post in the forums. (Be aware the forums do not accept user names with a dash "-") Also, logging in lets you avoid I got \ the problem log below
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 As soon as I changed the uid of user2 to 1004 (same as vmail's uid number). 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 ... http://brrian.net/unable-to/unable-to-create-lock-file-var-mail-root-lock-file-exists.html Steven Wright Sahil Tandon Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Postfix with virtual users & domains On
But mails sent to local users on the server are not delivered. I have a machine acts as a mail server - running on Ubuntu Server 10.04 with Postfix, Dovecot, openLDAP and squirrelmail.