Plesk SMTP respon slow

Mempercepat SMTP respon :

secara standar , plesk pada OS freebsd sangat lambat pada saat menampilkan koneksi smtp. hal ini dikarenakan dilakukannya pengecekan reverse-dns lookup untuk alasan yg tidak penting. hal ini dapat menimbulkan terasa lambat pada saat mengirimkan email (default timeout reverse DNS lookup ialah 26 detik).

disable reverse DNS pada  Plesk freebsd :

edit /etc/inetd.conf

smtp stream tcp nowait root /usr/local/psa/qmail/bin/tcp-env tcp-env  /usr/local/psa/qmail/bin/rblsmtpd   -rbl.spamcop.net -r sbl.spamhaus.org –r zen.spamhaus.org /usr/local/psa/qmail/bin/relaylock /usr/local/psa/qmail/bin/qmail-smtpd /usr/local/
psa/qmail/bin/smtp_auth /usr/local/psa/qmail/bin/true /usr/local/psa/qmail/bin/cmd5checkpw /usr/local/psa/qmail/bin/true

smtps stream tcp nowait root /usr/local/psa/qmail/bin/tcp-env tcp-env  /usr/local/psa/qmail/bin/rblsmtpd  -r bl.spamcop.net -r sbl.spamhaus.org -r zen.spamhaus.org /usr/local/psa/qmail/bin/relaylock /usr/local/psa/qmail/bin/qmail-smtpd /usr/local
/psa/qmail/bin/smtp_auth /usr/local/psa/qmail/bin/true /usr/local/psa/qmail/bin/cmd5checkpw /usr/local/psa/qmail/bin/true

 

tambahkan –Rt0 setelah kata “tcp-env”

smtp stream tcp nowait root /usr/local/psa/qmail/bin/tcp-env tcp-env -Rt0 /usr/local/psa/qmail/bin/rblsmtpd   -rbl.spamcop.net -r sbl.spamhaus.org –r zen.spamhaus.org /usr/local/psa/qmail/bin/relaylock /usr/local/psa/qmail/bin/qmail-smtpd /usr/local/
psa/qmail/bin/smtp_auth /usr/local/psa/qmail/bin/true /usr/local/psa/qmail/bin/cmd5checkpw /usr/local/psa/qmail/bin/true

smtps stream tcp nowait root /usr/local/psa/qmail/bin/tcp-env tcp-env -Rt0 /usr/local/psa/qmail/bin/rblsmtpd  -r bl.spamcop.n
et -r sbl.spamhaus.org -r zen.spamhaus.org /usr/local/psa/qmail/bin/relaylock /usr/local/psa/qmail/bin/qmail-smtpd /usr/local
/psa/qmail/bin/smtp_auth /usr/local/psa/qmail/bin/true /usr/local/psa/qmail/bin/cmd5checkpw /usr/local/psa/qmail/bin/true

Free Yahoo Messenger for handphone

berikut aplikasi ym untuk dihandphone. semua tipe handphone harusnya bisa asalkan support java.
yamee
Features
  • add and remove contact
  • conference
  • contacts grouping
  • send message to group or several selected contacts (press # to show the mark)
  • send and receive BUZZ
  • receive offline message
  • incoming mail notifications
  • typing notification
  • offline/online notifications
  • show/hide offline contacts (shortcut: press 0)
  • set or view status (status shown on the top screen)
  • skinnable (4 type skins)

download disini

How to download CIsco IOS free

bagaimanakan cara mendownload cisco IOS tanpa punya account login dicisco.

gunakan google searching untuk mendownload cisco IOS secara gratis menggunakan keyword “intitle of”.

caranya :

buka www.google.com

contoh:

mencari 7200 series IOS : ketikkan –> intitle:index.of c7200*.bin -site:cisco.com

mencari 3660 series IOS : ketikkan –> intitle:index.of c3660*.bin -site:cisco.com

mencari pix series IOS : ketikkan –> intitle:index.of cisco pix*.bin -site:cisco.com

how to manage qmail queue

Salah satu software yg dapat menghandle antrian message email yaitu qmhandle. untuk mendownload versi terbaru di sini. versi terbaru qmhandle 1.3.2.

#wget http://nchc.dl.sourceforge.net/sourceforge/qmhandle/qmhandle-1.3.2.tar.gz
#tar -zxvf qmhandle-1.3.2.tar.gz
edit qmhandle directory file untuk menyesuaikan letak direktori qmail: my ($queue) = ‘/var/qmail/queue/’;
my ($stopqmail) = ‘/etc/init.d/qmail stop’;
my ($startqmail) = “/etc/init.d/qmail start”;
my ($pidcmd) = ‘pidof qmail-send’;

cara menggunakan qmHandle :
-a : mecoba mengirimkan antrian pesan sekarang (qmail service harus running)
-l : daftar antrian email
-L : daftar antrian email dilokal
-R : daftar antrian email remote
-s : show statatistik
-vN : display email nomor N
-dN : delete email nomon N
-Stext : delete semua email mengandung kata2 sbg subject
-D : delete semua email dalam antrian(lokal&remote)

contoh:
melihat list antrian email :
#qmHandle -l
delete semua pesan yang mengandung kata2/sebagai subject:
#qmHandle -l -S yahoo.com.tw

cacti machine very slow

very intersting to find what’s wrong with my cacti machine. it’s very slow to view graph traffic. after i try to clear user_log tables and also delete cacti.log file, it’s faster than before.

# mysql -u cactidb -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 211685 to server version: 4.0.24_Debian-10ubuntu2.3-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use cacti ;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show tables;
+---------------------------+
| Tables_in_cacti           |
+---------------------------+
| cdef                      |
| cdef_items                |
| colors                    |
| data_input                |
| data_input_data           |
| data_input_fields         |
| data_local                |
| data_template             |
| data_template_data        |
| data_template_data_rra    |
| data_template_rrd         |
| graph_local               |
| graph_template_input      |
| graph_template_input_defs |
| graph_templates           |
| graph_templates_gprint    |
| graph_templates_graph     |
| graph_templates_item      |
| graph_tree                |
| graph_tree_items          |
| host                      |
| host_graph                |
| host_snmp_cache           |
| host_snmp_query           |
| host_template             |
| host_template_graph       |
| host_template_snmp_query  |
| poller                    |
| poller_command            |
| poller_item               |
| poller_output             |
| poller_reindex            |
| poller_time               |
| rra                       |
| rra_cf                    |
| settings                  |
| settings_graphs           |
| settings_tree             |
| snmp_query                |
| snmp_query_graph          |
| snmp_query_graph_rrd      |
| snmp_query_graph_rrd_sv   |
| snmp_query_graph_sv       |
| user_auth                 |
| user_auth_perms           |
| user_auth_realm           |
| user_log                  |
| version                   |
+---------------------------+
48 rows in set (0.51 sec)

mysql> delete from user_log;

mrtg:/var/www/cacti/log# rm cacti.log

upgrading cacti

This is how to  from cacti website how to upgrade cacti version. cacti is opensource software for monitoring traffic data.

  • Backup the old Cacti database.

    shell> mysqldump -l --add-drop-table cacti > mysql.cacti


    Note: You will probably have to specify the -u and -p flags for the MySQL username and password. This user must have permission to read from Cacti's database or you will end up with an empty backup.





  • Backup the old Cacti directory.



    shell> mv cacti cacti_old




  • Extract the distribution tarball.



    shell> tar xzvf cacti-version.tar.gz




  • Rename the new Cacti directory to match the old one.



    shell> mv cacti-version cacti




  • Edit include/config.php and specify the MySQL user, password and database for your Cacti configuration.



    $database_type = "mysql";
    $database_default = "cacti";
    $database_hostname = "localhost";
    $database_username = "cactiuser";
    $database_password = "cacti";




  • Copy the *.rrd files from the old Cacti directory.



    shell> cp cacti_old/rra/* cacti/rra/




  • Copy any relevant custom scripts from the old Cacti directory. Some script are updated between versions. Therefore, make sure you only over write if the scripts either don't exist or are newer than the distribution's.



    shell> cp -u cacti_old/scripts/* cacti/scripts/




  • Copy any relevant custom resource XML files from the old Cacti directory. Some resource XML files are updated between versions. Therefore, make sure you only over write if the XML files either don't exist or are newer than the distribution's.



    shell> cp -u -R cacti_old/resource/* cacti/resource/




  • Set the appropriate permissions on Cacti's directories for graph/log generation. You should execute these commands from inside Cacti's directory to change the permissions.



    shell> chown -R cactiuser rra/ log/


    (Enter a valid username for cactiuser, this user will also be used in the next step for data gathering.)





  • Point your web browser to:






    http://your-server/cacti/





  • freebsd install packet using port

    To begin, change to the directory for the port you want to install:
    # cd /usr/ports/sysutils/lsof

    Once inside the lsof directory, you will see the port skeleton. The next step is to compile, or “build”, the port. This is done by simply typing make at the prompt. Once you have done so, you should see something like this:
    # make
    >> lsof_4.57D.freebsd.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
    >> Attempting to fetch from ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/.
    ===>  Extracting for lsof-4.57
    ...
    [extraction output snipped]
    ...
    >> Checksum OK for lsof_4.57D.freebsd.tar.gz.
    ===>  Patching for lsof-4.57
    ===>  Applying FreeBSD patches for lsof-4.57
    ===>  Configuring for lsof-4.57
    ...
    [configure output snipped]
    ...
    ===>  Building for lsof-4.57
    ...
    [compilation output snipped]
    ...
    #

    Notice that once the compile is complete you are returned to your prompt. The next step is to install the port. In order to install it, you simply need to tack one word onto the make command, and that word is install:
    # make install
    ===>  Installing for lsof-4.57
    ...
    [installation output snipped]
    ...
    ===>   Generating temporary packing list
    ===>   Compressing manual pages for lsof-4.57
    ===>   Registering installation for lsof-4.57
    ===>  SECURITY NOTE:
          This port has installed the following binaries which execute with
          increased privileges.
    #

    Once you are returned to your prompt, you should be able to run the application you just installed. Since lsof is a program that runs with increased privileges, a security warning is shown. During the building and installation of ports, you should take heed of any other warnings that may appear.

    It is a good idea to delete the working subdirectory, which contains all the temporary files used during compilation. Not only does it consume valuable disk space, but it would also cause problems later when upgrading to the newer version of the port.

    # make clean
    ===> Cleaning for lsof-4.57
    #

    Followers