1

Topic: Can not sent mail

I installed today iredmail 0.7.0 with mysql on centos 5.5

Error in /var/log/maillog


Apr  7 00:20:43 mail postfix/smtpd[5937]: warning: problem talking to service rewrite: Success
Apr  7 00:20:43 mail postfix/smtpd[5991]: warning: problem talking to service rewrite: Success
Apr  7 00:20:43 mail postfix/master[5920]: warning: process /usr/libexec/postfix/trivial-rewrite pid 6010 exit status 1
Apr  7 00:20:43 mail postfix/master[5920]: warning: process /usr/libexec/postfix/trivial-rewrite pid 6011 exit status 1
Apr  7 00:20:43 mail postfix/smtpd[5998]: warning: problem talking to service rewrite: Success
Apr  7 00:21:43 mail postfix/proxymap[5928]: warning: connect to mysql server 127.0.0.1: Host '192.168.4.1' is not allowed to connect to this MySQL server
Apr  7 00:21:43 mail postfix/proxymap[5928]: warning: connect to mysql server 127.0.0.1: Host '192.168.4.1' is not allowed to connect to this MySQL server
Apr  7 00:21:43 mail postfix/trivial-rewrite[6014]: fatal: proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem
Apr  7 00:21:43 mail postfix/trivial-rewrite[6015]: fatal: proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem
Apr  7 00:21:43 mail postfix/trivial-rewrite[6016]: fatal: proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem
Apr  7 00:21:43 mail postfix/trivial-rewrite[6017]: fatal: proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem
Apr  7 00:21:44 mail postfix/master[5920]: warning: process /usr/libexec/postfix/trivial-rewrite pid 6014 exit status 1
Apr  7 00:21:44 mail postfix/master[5920]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
Apr  7 00:21:44 mail postfix/smtpd[5927]: warning: problem talking to service rewrite: Success
Apr  7 00:21:44 mail postfix/smtpd[5937]: warning: problem talking to service rewrite: Success
Apr  7 00:21:44 mail postfix/master[5920]: warning: process /usr/libexec/postfix/trivial-rewrite pid 6015 exit status 1
Apr  7 00:21:44 mail postfix/smtpd[5991]: warning: problem talking to service rewrite: Success
Apr  7 00:21:44 mail postfix/master[5920]: warning: process /usr/libexec/postfix/trivial-rewrite pid 6016 exit status 1
Apr  7 00:21:44 mail postfix/smtpd[5998]: warning: problem talking to service rewrite: Success
Apr  7 00:21:44 mail postfix/master[5920]: warning: process /usr/libexec/postfix/trivial-rewrite pid 6017 exit status 1

cat /etc/postfix/mysql/virtual_mailbox_domains.cf

user        = vmail
password    = xxxxxxxxxxxxxxxxxxxxx
hosts       = 127.0.0.1
port        = 3306
dbname      = vmail
query       = SELECT domain FROM domain WHERE domain='%s' AND backupmx=0 AND active=1

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Can not sent mail

clucian wrote:

Apr  7 00:21:43 mail postfix/proxymap[5928]: warning: connect to mysql server 127.0.0.1: Host '192.168.4.1' is not allowed to connect to this MySQL server

You have to solve this issue first.

3 (edited by clucian 2011-04-07 21:00:59)

Re: Can not sent mail

Apr  7 00:21:43 mail postfix/proxymap[5928]: warning: connect to mysql server 127.0.0.1: Host '192.168.4.1' is not allowed to connect to this MySQL server

for the error above use next solutions:

get into mysql and make next change

grant all privileges on db_base.* to 'user'@'192.168.4.1' identified by '<password>';

And now work.

My problem is """ Why postfix do not conect with 127.0.0.1 ??? """"

4

Re: Can not sent mail

clucian wrote:

My problem is """ Why postfix do not conect with 127.0.0.1 ??? """"

Did you change something after iRedMail installed?