LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-30-2007, 06:50 AM   #1
Sleen
Member
 
Registered: Sep 2005
Location: Kampala,Uganda
Distribution: RHEL,FC,SUSE,UBUNTU
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/mysql-virtual_forwardings.cf: 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/mysql-virtual_forwardings.cf: 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 mysql-virtual_forwardings.cf 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 = 127.0.0.1

I'll appreciate a speedy reply

Last edited by Sleen; 01-30-2007 at 07:38 AM.
 
Old 01-30-2007, 07:17 PM   #2
Berhanie
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
Quote:
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.
 
  


Reply


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 02:04 PM
Postfix + mysql + courier-imap + virual domains problem. jml75 Debian 2 08-12-2005 04:52 PM
Postfix + MySQL + Courier-Imap - can not find the maildir chakkerz Linux - Software 1 01-24-2005 09:32 PM
postfix + courier-imap + mysql tej Linux - Networking 3 09-01-2004 02:43 AM
Postfix-MySQL-Courier IMAP - Permission denied abapdr Linux - Software 0 06-24-2004 03:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:32 PM.

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