Friday, January 17, 2014

how does mail works in asterisk / centos ?

1. setup the postfix

cd /etc/postfix

a)download ca-bundle.crt
b)enter the following into generic

c)postmap /etc/postfix/generic
d)edit main.cf  <-- in="" key="" name="" p="" router="" server="" smtp="" the="">e) postmap /etc/postfix/sasl_passwd
/etc/init.d/postfix restart

2. Test the mail

mail -s "Hello World" XXXXXX@yahoo.com -- -f"sender address" -F"sender name"

/usr/share/a2billing/Cronjobs/a2billing_batch_autodialer.php create a lot of dummy mail to vm@vioblue.com

what is the functions of a2billing_batch_autodialer ?

1. Check on the /etc/crontab
[root@ip-10-142-157-15 cron]# cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

5 * * * * /usr/bin/perl /var/monitortools/checkconf.pl


and there are also schedule jobs within each of those hourly, daily, weekly and monthly. 

Other than the above, you shall also check on the /var/spool/cron
in this directory, your will find those users who has cron job setup e.g asterisk 


How to login in as owner for the happy diary and post new blog ?

Although the blog was created back in 2009 but things had changed over the past few years. including the way how you can login in as owner of your own blog.

1. access to your own blog site http://khlee-happydiary.blogspot.com/
2. Click on the top right corner - Sign In
3. You will see one google, one account, change the manage account for this device
4. key in kwonghong@yahoo and password XXXXXXXX
5. then you can start posting new blog ... Great !!