Postfix fails to create mailbox

Discussion in 'Server Operation' started by satimis, Feb 16, 2012.

  1. satimis

    satimis Member

    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/PostfixBasicSetupHowto

    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=<[email protected]>
    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=<[email protected]>, 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=<[email protected]>
    Feb 16 18:50:21 ser01 postfix/qmgr[2189]: D5A6A9FE45: from=<[email protected]>, size=2991, nrcpt=1 (queue active)
    Feb 16 18:50:21 ser01 postfix/local[2364]: D5A6A9FE45: to=<[email protected]>, 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=<[email protected]>
    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=<[email protected]>, 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. sspitfire

    sspitfire New Member

    re

    did you send one email from root to fmaster locally? the mailbox is created when you send the first email
     
  3. satimis

    satimis Member

    Yes. Maildir/new has been created. Mails from yahoo arrive the server but could not be delivered to the mailbox Maildir/new, saying "Relate access denied"

    satimis
     

Share This Page