After applying some changes to 10-master.conf as detailed at http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP I receive the following when trying to start:
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-master.conf line 49: Expecting '{'
I'm trying to enable LMTP. The instructions say:
Socket configuration
The actual socket is configured in /etc/dovecot/conf.d/10-master.conf. The LMTP service can be bound to both INET or Unix sockets. In this example a Unix socket is placed inside the Postfix spool with appropriate permissions set:
service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0600 user = postfix } }
I copied this block and placed it in my copy of 10-master.conf. Line 49 is the first line of this block, and there's clearly a left-brace there. The braces match, too. Thoughts?
There might be a whitespace. Try pasting what you copied to notepad or gedit (depending on your OS) then copy/pasting here again. On 12 Jun 2015 18:25, "Steve Matzura" number6@noisynotes.com wrote:
After applying some changes to 10-master.conf as detailed at http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP I receive the following when trying to start:
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-master.conf line 49: Expecting '{'
I'm trying to enable LMTP. The instructions say:
Socket configuration
The actual socket is configured in /etc/dovecot/conf.d/10-master.conf. The LMTP service can be bound to both INET or Unix sockets. In this example a Unix socket is placed inside the Postfix spool with appropriate permissions set:
service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0600 user = postfix } }
I copied this block and placed it in my copy of 10-master.conf. Line 49 is the first line of this block, and there's clearly a left-brace there. The braces match, too. Thoughts?
By the way, I looked at my own file, and it doesn't give full path of lmtp. On 13 Jun 2015 08:05, "Muzaffer Tolga Ozses" tolga@ozses.net wrote:
There might be a whitespace. Try pasting what you copied to notepad or gedit (depending on your OS) then copy/pasting here again. On 12 Jun 2015 18:25, "Steve Matzura" number6@noisynotes.com wrote:
After applying some changes to 10-master.conf as detailed at http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP I receive the following when trying to start:
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-master.conf line 49: Expecting '{'
I'm trying to enable LMTP. The instructions say:
Socket configuration
The actual socket is configured in /etc/dovecot/conf.d/10-master.conf. The LMTP service can be bound to both INET or Unix sockets. In this example a Unix socket is placed inside the Postfix spool with appropriate permissions set:
service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0600 user = postfix } }
I copied this block and placed it in my copy of 10-master.conf. Line 49 is the first line of this block, and there's clearly a left-brace there. The braces match, too. Thoughts?
On Sat, 13 Jun 2015 08:12:38 +0300, you wrote:
By the way, I looked at my own file, and it doesn't give full path of lmtp.
Yes, that confused me as well. I just copied it directly from the wiki which I cited. Interesting. I have removed that bit and corrected another error--an extra right-brace--and Dovecot is now *RUNNING*! Lots of testing begins now.
participants (2)
-
Muzaffer Tolga Ozses
-
Steve Matzura