Postfix configuration problem
I am trying to set up Postfix and Dovecot for the first time, following the Ubuntu 10.4 tutorial at
My email.log reveals the following error:
May 17 05:31:24 equaltext dovecot: Dovecot v1.2.9 starting up (core dumps disabled)
May 17 05:31:24 equaltext dovecot: auth-worker(default): mysql: Connected to 127.0.0.1 (mail)
May 17 05:34:57 equaltext postfix/smtpd[2343]: fatal: /etc/postfix/mysql-virtual_email2email.cf: bad string length 0 < 1: dbname =
May 17 05:34:58 equaltext postfix/master[2033]: warning: process /usr/lib/postfix/smtpd pid 2343 exit status 1
May 17 05:34:58 equaltext postfix/master[2033]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
I can telnet to port 25, but there is no interaction with the server; making me wonder what else I've misconfigured.
The email2email.cf file uses the line
dbname = mail
, which is the name of my mysql database. The whole process is making me want to pull out hand fulls of hair wondering why my config isn't seeing the string.
Thanks in advance for any assistance/ideas.
2 Replies
I was wondering how did you solve this issue. I am having the same problem.
Thank you,
Mark
@tdevries:
Hello,
I am trying to set up Postfix and Dovecot for the first time, following the Ubuntu 10.4 tutorial at
and have run into a snag. http://library.linode.com/email/postfix … _and_users">http://library.linode.com/email/postfix/postfix-dovecot-mysql-ubuntu-10.04-lucid#setupmysqlforvirtualdomainsand_users My email.log reveals the following error:
May 17 05:31:24 equaltext dovecot: Dovecot v1.2.9 starting up (core dumps disabled) May 17 05:31:24 equaltext dovecot: auth-worker(default): mysql: Connected to 127.0.0.1 (mail) May 17 05:34:57 equaltext postfix/smtpd[2343]: fatal: /etc/postfix/mysql-virtual_email2email.cf: bad string length 0 < 1: dbname = May 17 05:34:58 equaltext postfix/master[2033]: warning: process /usr/lib/postfix/smtpd pid 2343 exit status 1 May 17 05:34:58 equaltext postfix/master[2033]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
I can telnet to port 25, but there is no interaction with the server; making me wonder what else I've misconfigured.
The email2email.cf file uses the line
dbname = mail
, which is the name of my mysql database. The whole process is making me want to pull out hand fulls of hair wondering why my config isn't seeing the string.Thanks in advance for any assistance/ideas.