Virtual Users And Domains With Postfix, Courier And MySQL with smtp-auth

Discussion in 'HOWTO-Related Questions' started by Anne_Kleyheeg, Sep 27, 2006.

  1. Anne_Kleyheeg

    Anne_Kleyheeg New Member

    I have got 2 problems my mail.log

    Sep 25 14:32:57 localhost imaplogin: chdir ansmeijlink.nl/root/: No such file or directory
    and
    Sep 25 14:24:27 localhost postfix/qmgr[8977]: 079332F80DD: to=<[email protected]>, relay=none, delay=1421, status=deferred (delivery temporarily suspended: connect to mail.ansmeijlink.nl[80.100.230.149]: Connection refused)
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -la /home/vmail
    ?
    Is your server hosted on a DSL line? Make sure your ISP doesn't block port 25.
     
  3. Anne_Kleyheeg

    Anne_Kleyheeg New Member

    This is my output from /home/vmail

    total 16
    drwxr-xr-x 2 vmail vmail 4096 2006-09-27 01:09 .
    drwxrwsr-x 5 root staff 4096 2006-09-27 01:09 ..
    -rw-r--r-- 1 vmail vmail 567 2006-09-27 01:09 .bash_profile
    -rw-r--r-- 1 vmail vmail 1834 2006-09-27 01:09 .bashrc

    I think i know what the problem is from my smtp.
    We now have a new ISP. And i think thay block the MX record from my hosting provider
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Is it possible that you have [email protected] in your users table? root mails should always be sent to the real user root instead to a virtual account.
     
  5. Anne_Kleyheeg

    Anne_Kleyheeg New Member

  6. falko

    falko Super Moderator Howtoforge Staff

  7. Anne_Kleyheeg

    Anne_Kleyheeg New Member

    But how does postfix make the Maildir files in vmail
     
  8. falko

    falko Super Moderator Howtoforge Staff

    If you have a virtual user [email protected], Postfix would save the mails in /home/vmail/example.com/user/Maildir.
     
  9. Anne_Kleyheeg

    Anne_Kleyheeg New Member

    I only have a virual user in my database or must i also create a account in debian it self.
     
  10. grasomega

    grasomega Member

    You just need to send an email to the virtual user's mailbos. The folders will be created automatically.
    You don't need to create a real user, the setup will not use it anyway, not for mail.

    grasomega
     

Share This Page