Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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:

    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[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.


  2. #2
    It seems this entry only in /etc/postfix/ 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/ 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