Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all I'm trying to setup an email server on a CentOS system with Postfix, Dovecot and MySQL. I'm following this article for an Ubuntu system: library.linode.com/email/postfix/postfix2.9.6-dovecot2.0.19-mysql I can connect ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2012
    Posts
    6

    SMTP issues - unable to connect : CentOS 6.5, Postfix, Dovecot, MySQL


    Hi all

    I'm trying to setup an email server on a CentOS system with Postfix, Dovecot and MySQL.

    I'm following this article for an Ubuntu system: library.linode.com/email/postfix/postfix2.9.6-dovecot2.0.19-mysql

    I can connect to the server using both secure pop/imap but can't with SMTP. I have tried sending an email from root and it remains in the queue. I get the follow error when the emails queue: connect to osiris.example.com[private/dovecot-lmtp]: No such file or directory

    Here's the version that's installed on my system:
    MySQL v5.5.36
    Postfix v2.6.6
    Dovecot v2.0.9

    Thank you in advance.

    Sophal

  2. #2
    Just Joined!
    Join Date
    Dec 2012
    Posts
    6
    It seems this entry only in /etc/postfix/main.cf applies to Ubuntu/Debian systems.
    virtual_transport = lmtp:unixrivate/dovecot-lmtp

    With CentOS systems you'll need to specify the following:
    virtual_transport = dovecot

    You'll also need add this entry in the /etc/postfix/master.cf file:
    dovecot unix - n n - - pipe
    flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient}

Posting Permissions

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