Ubuntu relay email server through ISPs SMTP

Easy way to setup 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

3. Test, using php, perl or install mail utils: apt-get install mailutils :

a. type: mail your@email.com

b. cc:

c: subject

d: body

e type single period (.) to send

Leave a Reply

Your email address will not be published.