Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-30-2007, 07:50 AM   #1
Registered: Sep 2005
Location: Kampala,Uganda
Posts: 41

Rep: Reputation: 15
Unhappy postfix mysql courier problem

Hi guys,I have a problem configuring postfix mysql and courier on SLES 9.0 I have the following errors in my logs

Jan 30 15:40:52 mail postfix/smtpd[3019]: fatal: /etc/postfix/ bad string length 0 < 1: table =
Jan 30 15:40:53 mail postfix/master[1647]: warning: process /usr/libexec/postfix/smtpd pid 3019 exit status 1
Jan 30 15:40:53 mail postfix/master[1647]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jan 30 15:41:53 mail postfix/smtpd[3068]: fatal: /etc/postfix/ bad string length 0 < 1: table =
Jan 30 15:41:54 mail postfix/master[1647]: warning: process /usr/libexec/postfix/smtpd pid 3068 exit status 1
Jan 30 15:41:54 mail postfix/master[1647]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

Here is the contents of my file which i guess is the root of the problem:

user = mail_admin
password = dwd
dbname = mail
query = SELECT destination FROM forwardings WHERE source='%s'
hosts =

I'll appreciate a speedy reply

Last edited by Sleen; 01-30-2007 at 08:38 AM.
Old 01-30-2007, 08:17 PM   #2
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
I Googled the error message, and it seems to indicate that you might be using an old version of postfix (2.1 or earlier)but the new (2.2 and later) sql query syntax. Check your version of postfix with
postconf mail_version
If you're using postfix 2.1 or earlier, you should use the syntax described in the mysql_table man page that came with your distribution.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fedora 5, postfix, courier-imap and mysql mmoor Fedora 8 05-15-2006 03:04 PM
Postfix + mysql + courier-imap + virual domains problem. jml75 Debian 2 08-12-2005 05:52 PM
Postfix + MySQL + Courier-Imap - can not find the maildir chakkerz Linux - Software 1 01-24-2005 10:32 PM
postfix + courier-imap + mysql tej Linux - Networking 3 09-01-2004 03:43 AM
Postfix-MySQL-Courier IMAP - Permission denied abapdr Linux - Software 0 06-24-2004 04:51 AM

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration