Postfix with MySQL

Discussion in 'HOWTO-Related Questions' started by FreeVPS, Oct 18, 2006.

  1. FreeVPS

    FreeVPS New Member

    I've just done a complete rebuild of my VPS and when I try login to mail I get this in my logs:

    Oct 17 20:00:02 mercury pop3d: chdir freevps.co.uk/ed/: No such file or directory

    I've looked at:

    [root@mercury vmail]# ls -al
    total 5
    drwx------ 2 vmail vmail 1024 Oct 17 19:57 .
    drwxr-xr-x 3 root root 1024 Oct 17 18:49 ..
    -rw-r--r-- 1 vmail vmail 24 Oct 17 18:49 .bash_logout
    -rw-r--r-- 1 vmail vmail 191 Oct 17 18:49 .bash_profile
    -rw-r--r-- 1 vmail vmail 124 Oct 17 18:49 .bashrc
    [root@mercury vmail]# pwd
    /home/vmail

    Any ideas as to why it can't / won't seem to make the directories? Am i resigned to a new rebuild?
     
  2. FreeVPS

    FreeVPS New Member

    I did a fresh re-install of my new VPS and still no go, so i compared the setup too a server that it seems to work on, here's the settings of the vmail directory of the one that isn't working:

    Code:
    [root@mercury home]# ls -al
    total 3
    drwxr-xr-x  3 root  root  1024 Oct 17 21:56 .
    drwxr-xr-x 20 root  root  1024 Oct 17 22:20 ..
    drwx------  2 vmail vmail 1024 Oct 17 21:56 vmail
    [root@mercury home]# cd vmail
    [root@mercury vmail]# ls -al
    total 5
    drwx------ 2 vmail vmail 1024 Oct 17 21:56 .
    drwxr-xr-x 3 root  root  1024 Oct 17 21:56 ..
    -rw-r--r-- 1 vmail vmail   24 Oct 17 21:56 .bash_logout
    -rw-r--r-- 1 vmail vmail  191 Oct 17 21:56 .bash_profile
    -rw-r--r-- 1 vmail vmail  124 Oct 17 21:56 .bashrc
    [root@mercury vmail]#
    
    and heres the code of the one that is working:

    Code:
    [root@vps home]# ls -al
    total 132
    drwxr-xr-x  4 root  root   4096 Oct 17 06:07 .
    drwxr-xr-x 23 root  root   4096 Oct 18 00:45 ..
    drwxr-x---  3 root  root   4096 Sep 15  2005 apf-0.9.6-1
    -rw-r--r--  1 root  root  91798 Aug 16 09:26 apf-current.tar.gz
    drwx------  3 vmail vmail  4096 Oct 17 07:31 vmail
    [root@vps home]# cd vmail
    [root@vps vmail]# ls -al
    total 44
    drwx------ 3 vmail vmail 4096 Oct 17 07:31 .
    drwxr-xr-x 4 root  root  4096 Oct 17 06:07 ..
    -rw-r--r-- 1 vmail vmail   24 Oct 17 06:07 .bash_logout
    -rw-r--r-- 1 vmail vmail  191 Oct 17 06:07 .bash_profile
    -rw-r--r-- 1 vmail vmail  124 Oct 17 06:07 .bashrc
    drwx------ 3 vmail vmail 4096 Oct 17 07:31 domain.co.uk
    [root@vps vmail]#
    
    I'm really puzzled, it's a Fedora Core 5 Setup.
     
  3. falko

    falko Super Moderator

  4. FreeVPS

    FreeVPS New Member

    Hi,

    Yeah I looked :)

    SELinux is switched off :)

    I fixed it though, by changing my version of MySQL from MySQL 5 to MySQL 4 did the install ... then switched back to MySQL 5 all is working well now :)
     

Share This Page