Re: Postfix Error in Ubuntu 12.04

2014-10-20 Thread Austin Einter
The final error I am getting when I start postfix is as below postfix/cleanup[8682]: warning: connect to mysql server 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111) So it looks as a permission issue. I hope, postfix uses DB user/password given in alias-maps (in my case

Re: Postfix Error in Ubuntu 12.04

2014-10-20 Thread Paul Hoffman
On Mon, Oct 20, 2014 at 12:38:25PM +0530, Austin Einter wrote: The final error I am getting when I start postfix is as below postfix/cleanup[8682]: warning: connect to mysql server 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111) So it looks as a permission issue. I wouldn't

Re: Postfix Error in Ubuntu 12.04

2014-10-20 Thread Austin Einter
Hi Paul Thanks. Used netstat -tap and the output is tcp0 0 *:9876 *:* LISTEN 9306/mysqld From ps -ef | grep mysql mysql 9306 1 0 03:22 ?00:00:00 /usr/sbin/mysqld More over, same mysql server I am using for web server purpose, and my site is

Re: Postfix Error in Ubuntu 12.04

2014-10-20 Thread Koko Wijatmoko
Seems you're using non-standard port for mysql (9306). If I'm not wrong, mysql use port 3306... $ cat /etc/services|grep 3306 mysql 3306/tcp mysql 3306/udp Hi Paul Thanks. Used netstat -tap and the output is tcp0 0 *:9876 *:* LISTEN

Re: Postfix Error in Ubuntu 12.04

2014-10-20 Thread Austin Einter
Looks resolved, need to verify though... port= line not required hosts=127.0.0.1:9876 , this is what working looks... Any idea whats the difference between these 2 config styles. If I want to send a test mail from terminal.., how can I do that ..., any simple command or link to follow pls

Re: Postfix Error in Ubuntu 12.04

2014-10-20 Thread Wietse Venema
Austin Einter: Used netstat -tap and the output is tcp0 0 *:9876 *:* LISTEN 9306/mysqld That is port 9876. What TCP port did you configure POSTFIX connect to? Wietse

Postfix Error in Ubuntu 12.04

2014-10-19 Thread Austin Einter
Dear All I am trying to setup postfix/dovecot in an Ubuntu 12.04 system. Though I have installed postfix, dovecot and spamassin (with complete configurations), when I start service postfix, in terminal it shows everything fine. In /var/log/mail.log and syslog I see below errors. 29615 Oct 19

Re: Postfix Error in Ubuntu 12.04

2014-10-19 Thread Austin Einter
I have referred all the steps from https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassasin Thanks kamal On Sun, Oct 19, 2014 at 11:10 PM, Austin Einter austin.ein...@gmail.com wrote: Dear All I am trying to setup

Re: Postfix Error in Ubuntu 12.04

2014-10-19 Thread Edgar Pettijohn
On 10/19/2014 12:41 PM, Austin Einter wrote: I have referred all the steps from https://www.digitalocean.com/community/tutorials/how-to-configure-a-mail-server-using-postfix-dovecot-mysql-and-spamassasin Thanks kamal On Sun, Oct 19, 2014 at 11:10 PM, Austin Einter austin.ein...@gmail.com

Fwd: Postfix Error in Ubuntu 12.04

2014-10-19 Thread Austin Einter
Can anybody help me in this pls ? -- Forwarded message -- From: Austin Einter austin.ein...@gmail.com Date: Sun, Oct 19, 2014 at 11:10 PM Subject: Postfix Error in Ubuntu 12.04 To: postfix-users@postfix.org Dear All I am trying to setup postfix/dovecot in an Ubuntu 12.04

Re: Fwd: Postfix Error in Ubuntu 12.04

2014-10-19 Thread Wietse Venema
Austin Einter: 29617 Oct 19 13:33:37 Austin postfix/cleanup[2139]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socke t '/var/run/mysqld/mysqld.sock' (2) Error 2 means No such file or directory. As someone already posted here, is the MyqSQL

Re: Fwd: Postfix Error in Ubuntu 12.04

2014-10-19 Thread Austin Einter
I did chorrt modification , no luck Next I modified in maps config files , I changed the line hosts = localhost to hosts = 127.0.0.1 After that I find below error Oct 19 23:03:24 Kamal postfix/master[2336]: daemon started -- version 2.9.6, configuration /etc/postfix Oct 19 23:03:24 Kamal

Re: Fwd: Postfix Error in Ubuntu 12.04

2014-10-19 Thread Benny Pedersen
On October 20, 2014 5:08:08 AM Austin Einter austin.ein...@gmail.com wrote: I did chorrt modification , no luck Next I modified in maps config files , I changed the line hosts = localhost to hosts = 127.0.0.1 Check my.cnf, your mysql only binds to socket not inet pr default

Re: Fwd: Postfix Error in Ubuntu 12.04

2014-10-19 Thread Austin Einter
Hi Benny. Thanks for help. I modified below stuff. 1. In /etc/mysql/my.cnf , I had bind-address = 0.0.0.0 and changed it to 127.0.0.1 2. In postfix maps files, I did put socket = /var/run/mysqld/mysqld.sock Then I restarted postfix. Similar error, given below. 128250 Oct 20 01:50:50 Austin