Easy  way to set-up fast, simple  and reliable email relay server which will work with ISPs smtp server.

 

  1. Install EXIM4 server: apt-get install exim4  exim4-config
  2. run : dpkg-reconfigure exim4-config; choose following config:

             a: mail sent by smarthost; no local mail

b: you domain name (example.com)

c:  loopback address

d: nothing

e: domain name (example.com)

f: ISP’s host name – smtp.comcast.net

g: No

h: Yes

  1. Test, using php, perl or install mail utils: apt-get install mailutils :
  2. type: mail your@email.com
  3. cc:

c: subject

d: body

e  type single period (.) to send