[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Exim4 setup for LAMP web site.



On 2010-09-24 07:41:45 -0700, Gary Roach wrote:
> I got that a valid DNS name isn't present. What do I do about it.
> Does this mean that I need to submit something to my ISP or use one
> of my existing email accounts for a name or stick in something from
> the returns I get from running host. I know what them problem is. I
> just don't know how to fix it. I use Verizon Fios with  an M1424WR
> router if that is any help.
> 
> Gary R.
> 

Gary,

I understand you are setting up a LAMP server. My question is,
are you doing this from home? Are you using your normal residential
internet service to accomplish this task? Or do you have a server
located in some facility with an ISP, or is it a virtual server?

Either way, probably the easiest way to get Exim4 to send mails
is to send them through a smarthost. Rather than having Exim4 send
mail directly, it just relays them to your ISP's mail server, which
then does the work of delivering them.

The benefit of this approach is that ISP mail servers are generally
trusted, whereas random small mail servers are not trusted, for good
reason.

The way I accomplished this was to use the Exim4 automatic configurator
as much as possible:

    sudo dpkg-reconfigure exim4-config

The first question is where you say you're going to use a smarthost.
The following questions are also important. Try to make sense of
what they are asking, and answer appropriately.

To be able to send mail through your ISP's mail server, you need
to know:

  * the name of the mail server
  * a valid user name
  * the user's password

In my case I had to manually enter that information. I didn't know
exactly how to do it, so I consulted the man page for exim4 config files:

    man exim4-config_files

Reading that, I found out that I need to put my information into
/etc/exim4/passwd.client, and the format was like this:

    mail.myisp.com:myuser:mypassword

...where "mail.myisp.com" is the name of your ISP's mail server that
you're allowed to use, "myuser" is your user name with the ISP, and
"mypassword" is the password of the user.

That is a very quick overview of how my machine sends emails.
If you have not already tried this approach (sending through a
smarthost), it might be something to try.

An alternate to this approach is what someone else suggested:
you purchase a domain name and set yourself up as a full-on
mail server. That is probably overkill for what you want to do.

Hope this helps,

Phil


Reply to: