Home > Unable To > Unable To Create Lock File /home/vmail

Unable To Create Lock File /home/vmail

As soon as I changed the uid of user2 to 1004 (same as vmail's uid number). For further assistance, please send mail to postmaster. ali888, Sep 28, 2011 #19 Mark_NL New Member That's good to hear! Connected to localhost. http://brrian.net/unable-to/unable-to-create-lock-file-var-mail-root-lock-file-exists.html

Where should a galactic capital be? 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,) 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) If you see ‘(delivered to maildir)’ then all is well: Jun 24 15:04:48 ubuntu-test postfix/qmgr[2987]: F063C7F9F3: from=<[email protected]>, size=309, nrcpt=2 (queue active)

Yes, my postfix vmail stuff still runs as 1004 except that I changed the group id back to 1004 (which is earlier), so in the main.cf, it now looks like the Postfix never creates any directory > structure. 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 Next, create the directory to store the emails.

This is my first attempt to get virtual users & domains working. Stay logged in Sign up now! the solution is right there! ;-) (euid=1005 egid=1004 missing +x perm: /home/vmail)Click to expand... valias.txt’s syntax is similar to vmaps.txt, however it allows you to redirect emails to multiple accounts, for example: [email protected] [email protected], [email protected] Notice that Tom’s address doesn’t actually exist.

I have also changed it in /etc/hosts. Code: chmod +x /home/vmail Mark_NL, Sep 23, 2011 #12 ali888 New Member Thanks Mark_NL Will try that on Monday. hf with your working server! Wonder if there are any way of enabling to apply the +r to directories cur/, new/, tmp/ once and for all.

This is my first attempt to get virtual users & domains working. OK, now I am sort of confused. I set the following parameters in place: home_mailbox=/var/mail/%u mail_spool_directory=/var/mail mailbox_command=/usr/bin/procmail Restarted the postfix server and did some tests. 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? What does the compression setting do to a PNG? Add the user (I tend to call it ‘vmail’) like so: useradd -m vmail Next, you’ll need to get it’s user and group IDs so that Postfix will know which user Within your vmail dir tree ALL files and directories should be 1004.8l (don't know what uid /gid those are) Then your imap/pop server daemon needs to access the cirtual mailbox dirs

Thank you Last edited: Sep 22, 2011 ali888, Sep 22, 2011 #7 Mark_NL New Member Hehe, nice work on fixing some of your problems. this contact form more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science don't change it to 777!! no such file or directory Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the dovecot mailing list [prev in list] [next

I have a machine acts as a mail server - running on Ubuntu Server 10.04 with Postfix, Dovecot, openLDAP and squirrelmail. 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 For example, I’ve added the following: domain1.internal domain2.internal To allow for more flexibility, Postfix doesn’t check if these domains actually exist, so you can call them whatever you want, really. http://brrian.net/unable-to/unable-to-create-lock-file-var-mail-root-lock-permission-denied.html 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

This is not a good sign. Ruth Weston Ricardo Carrillo Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Postfix with virtual users & domains In What's the result of: Code: vi /etc/postfix/ldap-user-auth.cf Mark_NL, Sep 21, 2011 #2 ali888 New Member Hi Mark_NL Thanks for your help.

Query: FETCH 1:5 (FLAGS UID RFC822.SIZE INTERNALDATE BODY.PEEK[HEADER.FIELDS (Date To Cc From Subject X-Priority Importance Priority Content-Type)]) The more I sit back and wondering what's going on, the more I am

Here is my dovecot.conf base_dir = /var/run/dovecot protocols = imap protocol imap { listen = *:143 } disable_plaintext_auth = no log_timestamp = "%Y-%m-%d %H:%M:%S " ssl = no login_dir = /var/run/dovecot/login Steven Wright Sahil Tandon Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Postfix with virtual users & domains In However this is obviously not useful for mail servers which need to handle multiple virtual mail accounts. Also, don’t specify the entire path to the user’s directory.

I have finally been able to read my incoming emails after fixing the permission. Name service error for name=mailtest type=A: Host not found) Sep 21 18:10:39 mailtest postfix/bounce[2326]: warning: 9C3F42400BC: undeliverable postmaster notification discarded Sep 21 18:10:39 mailtest postfix/qmgr[2249]: 9C3F42400BC: removed Many thanks Last more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed http://brrian.net/unable-to/unable-to-create-lock-file-mailbox-lock-permission-denied.html That user is called user2.

else it's not allowed to read/write files.