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"

No comments:

Post a Comment