Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I recently took the dark path to managing my own VPS with shell access (CentOS 5). I installed the LAMP stack, FTP etc. then setting up mail server I used postfix, dovecot and squirrel mail as client. After going through different tutorials online, I've succeeded in failing. This is a sample of the mail log:

Jul 20 01:18:16 www postfix/smtpd[1287]: warning: private/proxymap socket: service dict_proxy_open: Connection reset by peer
Jul 20 01:18:16 www postfix/master[1125]: warning: process /usr/libexec/postfix/proxymap pid 7431 exit status 1
Jul 20 01:18:16 www postfix/master[1125]: warning: /usr/libexec/postfix/proxymap: bad command startup -- throttling
Jul 20 01:19:16 www postfix/proxymap[7449]: fatal: unsupported dictionary type: mysql
Jul 20 01:19:17 www postfix/cleanup[1141]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
Jul 20 01:19:17 www postfix/cleanup[1141]: warning: private/proxymap socket: service dict_proxy_open: Success
Jul 20 01:19:17 www postfix/smtpd[1287]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
Jul 20 01:19:17 www postfix/smtpd[1287]: warning: private/proxymap socket: service dict_proxy_open: Connection reset by peer
Jul 20 01:19:17 www postfix/master[1125]: warning: process /usr/libexec/postfix/proxymap pid 7449 exit status 1
Jul 20 01:19:17 www postfix/master[1125]: warning: /usr/libexec/postfix/proxymap: bad command startup -- throttling

I cant get mail to be sent out or received. please help, I'm willing to paste any info as required.

share|improve this question

migrated from webmasters.stackexchange.com Jul 20 '11 at 2:07

This question came from our site for pro webmasters.

add comment

3 Answers

up vote 2 down vote accepted

According to this error message fatal: unsupported dictionary type: mysql, your postfix compiled without MySQL support. See Postfix MySQL Howto.

share|improve this answer
    
ok thx, ive fixed that, now i can send mail but cannot see or receive mail in the inbox. im starting to suspect its a squirrelmail issue –  Sir Lojik Jul 20 '11 at 14:21
    
I recommend opening another question with appropriate details and logs included. –  AlexD Jul 21 '11 at 2:50
add comment

just to add.. easy way to tell if mysql is compiled in

# ldd /usr/sbin/postfix  | grep sql
libmysqlclient.so.15 => /usr/lib64/mysql/libmysqlclient.so.15 (0x00002b7db008d000)
share|improve this answer
    
[root@veepiz ~]# ldd /usr/sbin/postfix | grep sql libmysqlclient.so.15 => /usr/lib64/mysql/libmysqlclient.so.15 (0x00007f7751f23000) –  Sir Lojik Jul 30 '11 at 8:19
    
It is even easier to issue postconf -m and look if it returns mysql. –  mailq Aug 18 '11 at 21:39
add comment

Additional hint for debian systems: install the package postfix-mysql:

apt-get install postfix-mysql
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.