Redirect emails using alias script # vim /etc/aliases command: |/bin/grep Subject >> /tmp/emailgrep.txt commandperl: |/bin/test.pl Pay attention on the permissions the email system will use the mail account, so set the permissions on the script test sending the emails # […]
Postfix Email System
Mail Agents MUA Mail User Agent – Create new emails, and Read email. Ex.: Thunderbird,Evolution,Outlook,etc.. MTA Mail Transfer Agent – Distribute the emails to other MTAs or Locally. Examples: Postfix MDA Mail Delivery Agent or LDA Local Delivery Agent Handles […]
How to Setup a DNS server with BIND9
. . How to Setup a DNS server with BIND9. # apt-get install bind9 Configure a master domain: # vim /etc/bind/named.conf zone “provaes.com” { type master; file “/etc/bind/db.provaes.com”; }; Create the master zone file: # vim /etc/bind/db.provaes.com ; register SOA […]
GetMail from command line
. . Getting email from the command line was always something I wanted, also to be able to filter what I get. This great tool is something like fetchmail but better, thanks to Charles Cazabon who wrote this amazing tool […]
Open office 3 Ubuntu
Install/Update Open Office 3.0 on Ubuntu 8.04 The update method did not wokr for me. So First we will need to complete remove the current office instalation. system>administration>synaptic package manager Search For: open office-core.org scroll down and find it and […]
CheckFileSize VBS for Nagios
Nagio/NRPE_NT VBS Script to check the size of file(s) inside a Folder. IMPORTANT, From nagios you Must pass double slashes Usage: check_filesize -p “path” -f “file(s)” -w -c Example1(script localy using cscript ): check_filesize -p “E:mdbdata” -f priv1.edb,priv1.stm,pub1.edb,pub1.stm -w 5000 […]
Backup nagios
. . Nagios/Linux easy backup method No backup tapes, no FTP. Just simple, mount a remote share and put files there. The important part is to mount the share when the system starts up, so we will could also edit […]
