Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
host - Ubuntu 1104 desktop 64bit
VM - Ubuntu 1004 server 64bit
Orcle VirtualBox
(this VM was cloned on another VM, a base and newly installed Ubuntu 1004 server without postfix/apache/server software, etc. installed)
Fixed IP
dig mx mydomain.com
nslookup mydomain.com
worked without problem showing mydomain.com and fixed IP
Mails came but unable to create a mailbox.
Then I made another test also following the same document. I installed the server on another VM, running Debian 600 desktop(64 bit) which was also cloned on another Debian 600 desktop VM. No problem was found. The document (Howto) works perfectly on Debian 600. Mails were received by postfix.
Please help me to understand the problem. I have injected hours of work on this test. TIA
Hi folks,
host - Ubuntu 1104 desktop 64bit VM - Ubuntu 1004 server 64bit Orcle VirtualBox
(this VM was cloned on another VM, a base and newly installed Ubuntu 1004 server without postfix/apache/server software, etc. installed) Fixed IP
entercountering the same problem, postfix unable to receive mails.
The problem started at:-
Code:
fmaster@ser01:~$ cd Maildir/new
-su: cd: Maildir/new: Not a directory
dig mx mydomain.com
nslookup mydomain.com
worked without problem showing mydomain.com and fixed IP
Mails came but unable to create a mailbox.
Then I made another test also following the same document. I installed the server on another VM, running Debian 600 desktop(64 bit) which was also cloned on another Debian 600 desktop VM. No problem was found. The document (Howto) works perfectly on Debian 600. Mails were received by postfix.
Please help me to understand the problem. I have injected hours of work on this test. TIA
I bolded the error above...the maildir/new directory either doesn't exist, or is a file instead of a directory. So, either delete the file and create the "new" directory, or just make the directory. An excerpt from the how-to you posted:
Code:
Maildir is a format for an e-mail spool that does not require file locking to maintain message integrity because the
messages are kept in separate files with unique names. A Maildir is a directory (often named Maildir) with three
subdirectories named tmp, new, and cur. The subdirectories should all reside on the same filesystem.
I bolded the error above...the maildir/new directory either doesn't exist, or is a file instead of a directory. So, either delete the file and create the "new" directory, or just make the directory. An excerpt from the how-to you posted:
Code:
Maildir is a format for an e-mail spool that does not require file locking to maintain message integrity because the
messages are kept in separate files with unique names. A Maildir is a directory (often named Maildir) with three
subdirectories named tmp, new, and cur. The subdirectories should all reside on the same filesystem.
Hi,
Thanks for your advice.
When the line
Code:
home_mailbox = Maildir/
is on /etc/postfix/main.cf, all incoming mails are loop-back and then rejected. When the aforesaid line is commented out all incoming mails are delivered on "Maildir" or "mail" as a big file.
I have been struggling several days without a solution. This is a Virtual machine(PC) running Oracle VirtualBox for 3~4 years without problem.
Host Ubuntu 11.04 desktop (64bit)
about 20 VMs have been created, NOT all of them running at the same time. I use this machine mainly for testing. The complete story, my bad dream, is as follows;
1)
Created a new VM, say VM1, running Ubuntu 10.04 (LTS) base server but without mail/web etc. software installed. On it I cloned a VM, say VM2 testing;
building another mail server. To my surprise I encountered the same problem, the mail server unable to receive mails.
I think I'll stop here. I just installed a Debien 6.0 base server (64bit). I shall test abovementioned documents on VM cloned on Debian 6.0 base server. Thanks
I ran into the same problem as I went through the Postfix Basic Setup How to for Ubuntu and it seemed related to permission for the directory that Maildir was making.
For the short term I removed the file "Maildir" under the user and then did mkdir Maildir. I had to chmod 777 so that maildir could make and use the sub-folders. Mail appears to deliver ok for the moment. But will I have to manage every new user?
I am also curious why Ubuntu 12.10 has trouble with Maildir and permissions?
Thanks all - Lusrmgr
My log:
Jan 15 09:16:40 mail postfix/local[4814]: warning: maildir access problem for UID/GID=1001/1001: create maildir file /home/fmaster/Maildir/tmp/1358263000.P4814.mail: Permission denied
Jan 15 09:16:40 mail postfix/local[4814]: warning: perhaps you need to create the maildirs in advance
Jan 15 09:16:40 mail postfix/local[4814]: B11AAA046B: to=<fmaster@localhost>, relay=local, delay=34, delays=34/0.02/0/0.09, dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /home/fmaster/Maildir/tmp/1358263000.P4814.mail: Permission denied)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.