Ubuntu relay email server through ISPs SMTP

| | Comments (4)

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

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 

 

 

4 Comments

Kenton said:

Thanks for this!!!

Been trying to get this working for absolutely ages. Your simple description of what to do is excellent. Thank you.

Brandon said:

THANK YOU SO MUCH!

I've been wanting to do this for so long, and you just made it so incredibly simple.

I thought I was going to have to install postfix from scratch, but NO you made it so fast and easy.

Everything is working so great now!

Alex Yuffa said:

Thank you so much for this tutorial. It works great. No more 'The IP you're using to send email is not authorized...' errors.

Leave a comment

About this Entry

This page contains a single entry by published on December 14, 2007 5:59 PM.

Some Useful UNIX Commands was the previous entry in this blog.

Useful Windows XP Run Commands for Developer is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

  • My Photo Album

    Powered by Movable Type 4.01