Virtual Users And Domains With Postfix,.....Ubuntu 8.04 LTS) Again

Discussion in 'HOWTO-Related Questions' started by Morons, Aug 8, 2008.

  1. Morons

    Morons Member

    Setup used - > Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 8.04 LTS)

    Sorry I messed up or it seem some setting is missing around the /home/vmail maildrop. I prolly broken stuff trying to fix it!

    I am getting some errors, as you can see initially getting an deferred then as the queue get to it again it mentioned "such file or directory"
    Code:
    Aug  8 10:52:34 geekscraft postfix/error[12320]: 8678BD4554: to=<[email protected]>, relay=none, delay=0.04, delays=0.01/0.01/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
    Aug  8 10:55:03 geekscraft postfix/qmgr[12195]: 44D25D454F: from=<[email protected]>, size=1159, nrcpt=1 (queue active)
    Aug  8 10:55:03 geekscraft postfix/qmgr[12195]: warning: connect to transport 10485760: No such file or directory
    Aug  8 10:55:03 geekscraft postfix/error[12329]: 44D25D454F: to=<[email protected]>, relay=none, delay=1082, delays=1082/0/0/0.02, dsn=4.3.0, status=deferred (mail transport unavailable)
    Aug  8 11:00:03 geekscraft postfix/qmgr[12195]: 8678BD4554: from=<[email protected]>, size=1036, nrcpt=1 (queue active)
    transport unavailable)
    Code:
    root@hera:~# telnet ame.....za 25
    Trying 41......45...
    Connected to ame.....za.
    Escape character is '^]'.
    220 geekscraft.amo1.co.za ESMTP Postfix (Ubuntu)
    ehlo zonemail.co.za
    250-geekscraft.amo1.co.za
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH LOGIN PLAIN
    250-AUTH=LOGIN PLAIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    mail from:<[email protected]>
    250 2.1.0 Ok
    rcpt to:<[email protected]>
    250 2.1.5 Ok
    data
    354 End data with <CR><LF>.<CR><LF>
    Hello jonge
    .
    250 2.0.0 Ok: queued as C7BFED4373
    
    Another thing to note is the /etc/postfix/main.cf setting mailbox_command or the lack of it! How does postfix deliver to the maildir?
    Code:
    mynetworks = 127.0.0.0/8; 192.168.0.0/24
    mailbox_command =
    mailbox_size_limit = 10485760
    my vmail
    Code:
    root@geekscraft:~# ll /home/vmail/
    total 24
    drwxrwxr-x  3 vmail vmail 4096 2008-08-08 10:34 .
    drwxrwx--- 17 root  root  4096 2008-08-07 11:35 ..
    drwxrw-r-x  3 vmail vmail 4096 2008-08-08 10:34 amo1.co.za
    -rwxrwx---  1 vmail vmail  220 2008-06-16 17:02 .bash_logout
    -rwxrwx---  1 vmail vmail 2928 2008-06-16 17:02 .bashrc
    -rwxrwx---  1 vmail vmail  586 2008-06-16 17:02 .profile

    Thanx
     
  2. ralic

    ralic New Member

    Through the virtual_mailbox_base and virtual_mailbox_maps options.
    I'd suggest you replace that semi-colon on the mynetworks line with a comma and remove the mailbox_command. Don't recall seeing that one in the tutorial anywhere.

    See how things go after that.
     

Share This Page