Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,795

    Mailbox can't be created


    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


    I did following test twice by following;
    Postfix Basic Setup Howto
    https://help.ubuntu.com/community/Po...asicSetupHowto

    entercountering the same problem, postfix unable to receive mails.


    The problem started at:-

    fmaster@ser01:~$ cd Maildir/new
    Code:
    -su: cd: Maildir/new: Not a directory
    satimis@ser01:~$ tail /var/log/mail.log
    Code:
    Feb 16 18:39:43 ser01 postfix/cleanup[2196]: 012A59FE48: message-id=<20120216103943.012A59FE48@ser01.mydomain.com>
    Feb 16 18:39:43 ser01 postfix/bounce[2199]: EF49D9FE45: sender non-delivery notification: 012A59FE48
    Feb 16 18:39:43 ser01 postfix/qmgr[2189]: 012A59FE48: from=<>, size=2330, nrcpt=1 (queue active)
    Feb 16 18:39:43 ser01 postfix/qmgr[2189]: EF49D9FE45: removed
    Feb 16 18:39:43 ser01 postfix/local[2198]: 012A59FE48: to=<root@mydomain.com>, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to maildir)
    Feb 16 18:39:43 ser01 postfix/qmgr[2189]: 012A59FE48: removed
    Feb 16 18:39:46 ser01 postfix/smtpd[2191]: disconnect from unknown[xxx.xxx.xxx.xxx] (fixed IP)
    Feb 16 18:43:06 ser01 postfix/anvil[2194]: statistics: max connection rate 1/60s for ([smtp:xxx.xxx.xxx.xxx] (fixed IP)) at Feb 16 18:37:41
    Feb 16 18:43:06 ser01 postfix/anvil[2194]: statistics: max connection count 1 for ([smtp:xxx.xxx.xxx.xxx] (fixed IP)) at Feb 16 18:37:41
    Feb 16 18:43:06 ser01 postfix/anvil[2194]: statistics: max cache size 1 at Feb 16 18:37:41
    fmaster@ser01:~$ ls
    Code:
    Maildir
    fmaster@ser01:~$ cat Maildir
    No printout

    fmaster@ser01:~$ ls -al Maildir
    Code:
    -rw------- 1 fmaster fmaster 0 2012-02-16 18:31 Maildir
    satimis@ser01:~$ tail /var/log/mail.log
    Code:
    Feb 16 18:50:21 ser01 postfix/cleanup[2363]: D5A6A9FE45: message-id=<1329389418.67830.YahooMailNeo@web113210.mail.gq1.yahoo.com>
    Feb 16 18:50:21 ser01 postfix/qmgr[2189]: D5A6A9FE45: from=<somebody@yahoo.com>, size=2991, nrcpt=1 (queue active)
    Feb 16 18:50:21 ser01 postfix/local[2364]: D5A6A9FE45: to=<fmaster@mydomain.com>, relay=local, delay=0.8, delays=0.79/0/0/0.01, dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /home/fmaster/Maildir/tmp/1329389421.P2364.ser01.mydomain.com: Not a directory)
    Feb 16 18:50:21 ser01 postfix/cleanup[2363]: 756319FE48: message-id=<20120216105021.756319FE48@ser01.mydomain.com>
    Feb 16 18:50:21 ser01 postfix/bounce[2365]: D5A6A9FE45: sender non-delivery notification: 756319FE48
    Feb 16 18:50:21 ser01 postfix/qmgr[2189]: 756319FE48: from=<>, size=5059, nrcpt=1 (queue active)
    Feb 16 18:50:21 ser01 postfix/qmgr[2189]: D5A6A9FE45: removed
    Feb 16 18:50:21 ser01 postfix/smtpd[2358]: disconnect from nm25-vm0.bullet.mail.sp2.yahoo.com[98.139.91.228]
    Feb 16 18:50:25 ser01 postfix/smtp[2366]: 756319FE48: to=<somebody@yahoo.com>, relay=mta7.am0.yahoodns.net[66.94.238.147]:25, delay=3.8, delays=0/0/1.7/2.1, dsn=2.0.0, status=sent (250 ok dirdel)
    Feb 16 18:50:25 ser01 postfix/qmgr[2189]: 756319FE48: removed
    satimis@ser01:~$ cat /etc/postfix/main.cf | grep home_mailbox
    Code:
    home_mailbox = Maildir/
    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

    B.R.
    satimis

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    What happens when you delete the Maildir file and try to send mail to that user?

    Or perhaps delete it, and create the Maildir directory in the home folder.
    linux user # 503963

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,795
    Quote Originally Posted by scathefire View Post
    What happens when you delete the Maildir file and try to send mail to that user?

    Or perhaps delete it, and create the Maildir directory in the home folder.
    Hi,

    If commenting out;
    Code:
    home_mailbox = Maildir/
    on /etc/postfix/main.cf. all incoming mails were delivered on Maildir or new as a big file.

    What I don't understand is why there is no such problem on Debian? I built 4 servers on VMs on the same box, 3 running Ubuntu 1004 and one running Deb 600 respectively. All Ubuntu server have the same problem Postfix rejecting incoming mails. I just discovered this problem lately after installing Postfix on Debian 60.

    B.R.
    satimis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •