Linode Forum
https://forum.linode.com/

Can't receive or send emial [Postfix,Dovecot]
https://forum.linode.com/viewtopic.php?f=11&t=11727
Page 1 of 1

Author:  meesk [ Wed Apr 08, 2015 11:35 am ]
Post subject:  Can't receive or send emial [Postfix,Dovecot]

After I set my email server I did a test email and it didn't work. .

:~# tail /var/log/mail.log
Apr 8 15:25:05 kungfu2015 postfix/master[30872]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 8 15:25:28 kungfu2015 postfix/master[30872]: terminating on signal 15
Apr 8 15:25:29 kungfu2015 postfix/master[32560]: daemon started -- version 2.11.0, configuration /etc/postfix
Apr 8 15:25:29 kungfu2015 postfix/smtpd[32565]: warning: /etc/postfix/mysql-virtual-mailbox-maps.cf: logical line must not start with whitespace: " user = mailuser password = ..."
Apr 8 15:25:29 kungfu2015 postfix/smtpd[32565]: fatal: /etc/postfix/mysql-virtual-mailbox-maps.cf: bad string length 0 < 1: dbname =
Apr 8 15:25:30 kungfu2015 postfix/master[32560]: warning: process /usr/lib/postfix/smtpd pid 32565 exit status 1
Apr 8 15:25:30 kungfu2015 postfix/master[32560]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Apr 8 15:25:35 kungfu2015 dovecot: log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Apr 8 15:25:35 kungfu2015 dovecot: master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Apr 8 15:25:35 kungfu2015 dovecot: master: Dovecot v2.2.9 starting up (core dumps disabled)

nano /var/log/mail.log
postfix/smtpd[391]: warning: /etc/postfix/mysql-virt$
Apr 8 15:32:36 kungfu2015 postfix/smtpd[391]: fatal: /etc/postfix/mysql-virtua$
Apr 8 15:32:37 kungfu2015 postfix/master[32560]: warning: process /usr/lib/pos$
Apr 8 15:32:37 kungfu2015 postfix/master[32560]: warning: /usr/lib/postfix/smt$
Apr 8 15:33:37 kungfu2015 postfix/smtpd[428]: warning: /etc/postfix/mysql-virt$
Apr 8 15:33:37 kungfu2015 postfix/smtpd[428]: fatal: /etc/postfix/mysql-virtua$
Apr 8 15:33:38 kungfu2015 postfix/master[32560]: warning: process /usr/lib/pos$
Apr 8 15:33:38 kungfu2015 postfix/master[32560]: warning: /usr/lib/postfix/smt$

What's going on ?
anyone help ?
Thanks in advance

Author:  meesk [ Thu Apr 09, 2015 8:40 am ]
Post subject:  Re: Can't receive or send emial [Postfix,Dovecot]

Apr 9 00:06:21 kungfu2015 postfix/master[32560]: warning: /usr/lib/postfix/smtpd pid 14120 exit status 1
Apr 9 00:07:21 kungfu2015 postfix/smtpd[14159]: warning: /etc/postfix/mysql-virtual-mailbox-maps.cf: logical line must not start with whitespace: " user = mailuser password = ..."

Apr 9 00:07:21 kungfu2015 postfix/smtpd[14159]: fatal: /etc/postfix/mysql-virtual-mailbox-maps.cf: bad string length 0 < 1: dbname =
Apr 9 00:07:22 kungfu2015 postfix/master[32560]: warning: process /usr/lib/postfix/smtpd pid 14159 exit status 1

How to fix these ??

Anybody help ?

Author:  Vance [ Sat Apr 11, 2015 1:37 am ]
Post subject:  Re: Can't receive or send emial [Postfix,Dovecot]

meesk wrote:
Apr 8 15:25:29 kungfu2015 postfix/smtpd[32565]: warning: /etc/postfix/mysql-virtual-mailbox-maps.cf: logical line must not start with whitespace: " user = mailuser password = ..."
Apr 8 15:25:29 kungfu2015 postfix/smtpd[32565]: fatal: /etc/postfix/mysql-virtual-mailbox-maps.cf: bad string length 0 < 1: dbname =


You need to fix /etc/postfix/mysql-virtual-mailbox-maps.cf. Make sure that there are no spaces at the beginning of each line, and make sure you have set a value for dbname.

Author:  KelvinSmith [ Mon Apr 13, 2015 4:10 am ]
Post subject:  Re: Can't receive or send emial [Postfix,Dovecot]

Did you configured postfix to use dovecot for SASL auth?

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/