HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Hello, i have problem with postfix after update to ubuntu 11.04 (http://www.howtoforge.com/forums/showthread.php?t=54558)

uteliux 17th October 2011 19:12

Hello, i have problem with postfix after update to ubuntu 11.04
 
Hello, i have problem with postfix after update to ubuntu 11.04. Problem starter just after update. I cant send email from email clients outlook or thunderbird (error i got Relay access denied ) and asks for passwords?? P.S. i can get new mail. But moust interesting that i can send/recieve email thrue squirrelmail... in log files i see:

mail.log
Oct 17 19:43:02 **** postfix/smtpd[2256]: NOQUEUE: reject: RCPT from hst-226-133.444us.lt[11.11.222.124]: 554 5.7.1 <****@gmail.com>: Relay access denied; from=<arturas@*****.lt> to=<****.lap@gmail.com> proto=ESMTP helo=<[192.168.1.104]>

this error i saw just after update in mail.err

Oct 17 16:03:22 ******** postfix/smtpd[30104]: fatal: no SASL authentication mechanisms
Oct 17 16:10:22 ******** postfix/smtp[22220]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Oct 17 16:10:23 ******** postfix/error[22228]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Oct 17 16:10:24 ******** postfix/qmgr[22216]: fatal: mysql:/etc/postfix/mysql-virtual_relaydomains.cf(0,lock|fold_fix): table lookup problem
Oct 17 17:05:09 ******** spamd[1328]: spamd: respawning server at /usr/sbin/spamd line 1140.

mabey someone can hellp? and sorry for my english...

till 17th October 2011 19:30

Do you use ispconfig 3 on that server? Or is this the postfix virtual user setup from falko?

uteliux 17th October 2011 19:49

this is ubuntu perfect server with ispconfig 3 http://www.howtoforge.com/perfect-se...at-ispconfig-3

till 17th October 2011 19:53

Most likely the update has overwritten some config files. First you should check if mysql is working, e.g. with this command:

netstat -tap | grep mysql

If mysql works, then you can use the ispconfig update script to rebuild the config files. Download ispconfig 3.0.3.3 tar.gz, unpack it and run the update.php script which is in the install folder. Choose "yes" when the updater asks you if the services shall be reconfigured.

uteliux 17th October 2011 20:00

tcp 0 0 *:mysql *:* LISTEN 1056/mysqld
tcp 0 0 localhost.localdo:33074 localhost.localdo:mysql ESTABLISHED 1365/amavisd (ch9-a
tcp 0 0 localhost.localdo:mysql localhost.localdo:33074 ESTABLISHED 1056/mysqld
tcp 0 0 localhost.localdo:59605 localhost.localdo:mysql ESTABLISHED 1366/amavisd (ch9-a
tcp 0 0 localhost.localdo:mysql localhost.localdo:59605 ESTABLISHED 1056/mysqld

so... i need to try reconfigure ispconfig?

uteliux 17th October 2011 20:03

i already have newest ispconfig...

There are no updates available for ISPConfig 3.0.3.3

till 17th October 2011 21:54

Please do the exact steps that I described above. It does not matter for that if the intalled version is the latest version.

uteliux 18th October 2011 08:07

Till, i reconfigured like you said, same problem persist.... logs shows same problem, i can get mail but cant send, from external clients.... everything else works fine...

till 18th October 2011 08:26

Please try this:

Code:

sudo apt-get install libsasl2-2 libsasl2-modules libsasl2-modules-sql sasl2-bin libpam-mysql
and then restart postfix and saslauthd.

uteliux 18th October 2011 08:30

libpam-mysql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

and logs show:

Oct 18 09:24:10 ******* postfix/smtpd[4495]: connect from karamele.******* .lt[******* .177]
Oct 18 09:24:10 ******* postfix/smtpd[4495]: warning: karamele.******* .lt[******* .177]: SASL LOGIN authentication failed: no mechanism available
Oct 18 09:24:10 ******* postfix/smtpd[4495]: lost connection after AUTH from karamele.******* .lt[******* .177]
Oct 18 09:24:10 ******* postfix/smtpd[4495]: disconnect from karamele.******* .lt******* .177]


All times are GMT +2. The time now is 02:54.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.