Sunday 8 March 2015

Configuring Exim on IncrediblePBX

Configuring Exim to use Gmail Step by Step
Run: 

#root/email-setup
As you go through the wizard select the following entries:
Mail Sent by SmartHost

System Mail Name:
localhost



 Listen on:
127.0.0.1

Other Domains:
blank
Other Machines:
blank
IP of Outgoing SmartHost: 
smtp.gmail.com::587
Hide Local Mail Name:
No

Dial on Demand:
No
Delivery Method: 
mbox
 Split Config:
No
Create app specific password in Google to be used for the gmail credentials in passwd.client :
pico /etc/exim4/passwd.client
 Entry should look like this:
 *.google.com:yourname@gmail.com:yourpassword
 Update Exim by running this command: 
update-exim4.conf
 Restart your mail gateway: 

service sendmail restart