Thursday, June 14, 2012

How to change default SMTP 25 port in postfix on CentOs?

How to change default SMTP 25 port in postfix on CentOs?

Check and open master.cf

vi /etc/postfix/master.cf
-------------------------------------------------------------------
#Comment default line as below.
#smtp      inet  n       -       n       -       -       smtpd
#Add new line with port as you like as below.
9485      inet  n       -       n       -       -       smtpd
-------------------------------------------------------------------

Then you need to restart postfix service.

/etc/init.d/postfix restart

And configue you SMTP as

Hostname            Port no   Username  Password   
SMTP.domain.com     9485       abc      passwd

  
Thats it.!

Saturday, June 2, 2012

FiGlet is (figlet) text font for linux.!

FiGlet is (figlet) text font for linux

FIGlet is a computer program that generates text banners, in a variety of.. It used for Display Large Colourful Text Banner On Screen in linux.
Figlets are often used in email signatures. We also use them for commenting source code when programming


http://www.figlet.org/

wget http://www.jave.de/figlet/figletfonts40.zip

http://www.figlet.org/examples.html
http://www.0xcb0.com/2010/01/14/using-figlet-to-pimp-your-scripts/


[root@localhost fonts]# figlet Fearless -f bell
 .____                      .
 /       ___    ___  .___   |     ___    ____   ____
 |__.  .'   `  /   ` /   \  |   .'   `  (      (
 |     |----' |    | |   '  |   |----'  `--.   `--.
 /     `.___, `.__/| /     /\__ `.___, \___.' \___.'



[root@localhost proddb]# figlet Fearless
 _____               _
|  ___|__  __ _ _ __| | ___  ___ ___
| |_ / _ \/ _` | '__| |/ _ \/ __/ __|
|  _|  __/ (_| | |  | |  __/\__ \__ \
|_|  \___|\__,_|_|  |_|\___||___/___/


So basically you can use simply like this:

[root@localhost ]# figlet Fearless -f 


Go Rocks..!
@ Linux Administration Blog.!