Tutorial & Tips & Macem 2x

3g broadband internet connection test result part1

More >

  • Share/Bookmark

exim-problem , a little “is currently not permitted to relay”

One of our clients having trouble receiving my to their domain, let’s say (a.com). The MX record is correct and I can send out from my account. Here is the error I get when I try to send to a@a.com from another account outside of this server…

SMTP error from remote mailer after RCPT TO:<a@a.com>:
host a@.com [69.44.57.240]: 550-relay1.hrnoc.net [216.120.226.254] is currently not permitted to relay
550-through this server. Perhaps you have not logged into the pop/imap server
550-in the last 30 minutes or do not have SMTP Authentication turned on in your
550 email client.

Local hosts work just fine and relay it is outside entities… even if we send from webmail, not from e-mail client, we still have this problem. it looks like we sent it from e-mail clients but we didn’t.

To solve this problem, it’s quite simple ;)

Login to your server, as root of course…

Check at your /etc/localdomains , and make sure that “a.com” without quote is listed on that file..

and….voila! then you should have an e-mail after you try to send it.

  • Share/Bookmark

#2002 – The server is not responding on phpMyAdmin

Well, seringkali untuk server yang memakai cPanel , terutama cPanel 11x mengalami kemacetan atau mungkin bisa dikatakan sebagai socket mengsle, sehingga antara phpmyadmin tidak bisa membaca socket dari yang mysql pake. biasanya, kalau kita coba masuk ke phpmyadmin akan ada peringatan seperti dibawah ini :

#2002 – The server is not responding (or the local MySQL server’s socket is not correctly configured)

memang, untuk masalah itu, kita harus coba benerin manual, kasarannya kita harus kasih tahu itu phpmyadmin untuk socket nya ke mana dengan command :

ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

well, adakah cara yang lebih optimal biar kita gak repot repot ngerun hal hal seperti itu? capek lageeeeeeee

xixixixixixiix

ok , since kita memakai cPanel, maka coba kita telusuri

perhatikan dan mari kita menuju ke /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

gunakan editor favorit entah itu pakai nano, vi, joe, etc, atau kalau mau pake sed jg silakan aja sak karep e ndiasmu

cari lah line yang memuat hal dibawah ini : $cfg[’Servers’][$i][’socket’] = ”;
kalau udah ketemu, ubah menjadi $cfg[’Servers’][$i][’socket’] = ‘/var/lib/mysql/mysql.sock’;

Setelah itu, beralih ke line berikutnya pastikan untuk tipe koneksi kita perkuat :

cari line berikut : $cfg[’Servers’][$i][’connect_type’] = ‘tcp’;

dan ubah jg menjadi : $cfg[’Servers’][$i][’connect_type’] = ’socket’;

Yo wes, simpen dan semoga masalah teratasi n gak perlu lagi kasih “ln -s xxxx” cape deeeeeeh :) )

ps:

sekedar tambahan dikit,

sed -i -e” s/\$cfg\[’Servers’\]\[\$i\]\[’socket’\].*/\$cfg[’Servers’][\$i][’socket’] = ‘\/var\/lib\/mysql\/mysql.sock’;/; s/\[’connect_type’\].*/[’connect_type’] = ’socket’/” /usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

  • Share/Bookmark