Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Feb 22, 2011 12:19 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
In order to my site be able to send emails, socialengine script, i think i need to follow this tutorial, right?
"Basic Postfix Email Gateway on Ubuntu 10.04"

Well, if that´s right, i have some doubts:

1. During the configuration of postfix, the documentation says:
Quote:
The next prompt will ask for the system mail name. This should correspond to the fully qualified domain name (FQDN) that points to your Linode's IP address. In this example, we're using a machine specific hostname for our server. Set the reverse DNS for your Linode's IP address to the fully qualified domain name you assign as the system mail name.


*Do i make up my system mail name? or is the same FQDN i created in /etc/hosts ? The documentation confused me?
*Do i need to set the reverse DNS for my linode´s IP to the system mail name?

Thanks for getting me starting, i´ll have some questions later.


Top
   
 Post subject:
PostPosted: Tue Feb 22, 2011 12:58 pm 
Offline
Senior Member

Joined: Sun Sep 13, 2009 11:37 pm
Posts: 65
If you actually need your emails to be delivered, I would look into the SaaS options for email. I spent months trying to configure my system to get delivery to yahoo and aol. It never worked. A yahoo rep frankly told me that they only deliver emails from large, established players.

Look into Amazon's SES. It's new, looks pretty awesome, and is CHEAP. I predict they will put most of the other players out of business.


Top
   
PostPosted: Tue Feb 22, 2011 1:31 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
grevan wrote:
*Do i make up my system mail name? or is the same FQDN i created in /etc/hosts ? The documentation confused me?
*Do i need to set the reverse DNS for my linode´s IP to the system mail name?


Whatever you have set as the reverse DNS for your IP is what you should use for the system mail name.


Top
   
 Post subject:
PostPosted: Tue Feb 22, 2011 1:48 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
deadwalrus wrote:
A yahoo rep frankly told me that they only deliver emails from large, established players.

Even mail from quite large organisations who do not have Yahoo's blessing fail to get through -- so Yahoo are, in effect, useless as a mail provider.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Tue Feb 22, 2011 3:03 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
Thanks guys. I don´t want to host any emails, i just want to get my site working, and it needs to send confirmation emails to users.
Do you think postfix is the right way to go?


Top
   
 Post subject:
PostPosted: Tue Feb 22, 2011 3:34 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Yes postfix is fine, for you FQDN and rDNS set it to whatever is in /etc/hostname

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Tue Feb 22, 2011 4:11 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
My FQDN is 'grevan.domain.com'.

In postfix configuration i set 'grevan.domain.com' as my system mail name. Then i went to set reverse DNS - In "Perform a forward lookup" a put 'grevan.domain.com', but
Quote:
No match was found for 'grevan'. Reverse DNS must have a matching forward entry that points to one of your IPs


How do i set reverse dns?
Thanks


Top
   
 Post subject:
PostPosted: Tue Feb 22, 2011 4:36 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
I figured it out that i can only set the reverse DSN to a domain i created a domain zone for.
But, then, do i have to create a domain zone for 'grevan.domain.com' and use it in the reverse DNS?


Top
   
 Post subject:
PostPosted: Tue Feb 22, 2011 6:56 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
In the zone for domain.com you want to create an A record for grevan and give it the IP address of your linode. See http://library.linode.com/dns-guides/co ... de-manager

Once that has had a chance to update you will be able to set your reverse DNS to that name.


Top
   
 Post subject:
PostPosted: Tue Feb 22, 2011 7:55 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
Thanks Stever, that help me.


Top
   
 Post subject:
PostPosted: Tue Feb 22, 2011 9:26 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
Reading the socialengine script documentation it says:
Quote:
Linux Server
The sendmail path may be incorrectly configured (php.ini - sendmail_path). Consult with your host to insure that this directive has been set properly.


Do you think i need only to make this path correct (it´s commented, disable, in my php.ini), but i think i need to install postfix either. Do you think?


Top
   
 Post subject:
PostPosted: Wed Feb 23, 2011 7:40 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
You do need to install postfix to send email, postfix provides the sendmail functionality, you may need to modify your sendmail path afterwards but probably not, I didn't need to.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Wed Feb 23, 2011 9:24 am 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
Thanks obs.

So recapitulating:

1. Install postfix
2. Configure on postfix my system mail name to "grevan.domain.com"
3. Create a DNS zone to "domain.com", add an A Record "grevan.domain.com"
4. Set the reverse DNS to "grevan.domain.com" (still can´t set the reverse DNS, maybe the A record is not resolved...)

* I´m actually using "domain.com", do i have to use my real domain name?

Is that it so far?

Thanks guys


Top
   
 Post subject:
PostPosted: Wed Feb 23, 2011 12:44 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
After reloading postfix i get this:

Quote:
postfix/postfix-script: fatal: the Postfix mail system is not running


Top
   
 Post subject:
PostPosted: Wed Feb 23, 2011 1:08 pm 
Offline
Senior Member

Joined: Sun Sep 13, 2009 11:37 pm
Posts: 65
[quote="grevan"]Thanks guys. I don´t want to host any emails, i just want to get my site working, and it needs to send confirmation emails to users.
Do you think postfix is the right way to go?[/quote]

Like I said, it depends on if you want your people to actually receive your confirmation emails. If they are using yahoo, they won't. You can get around this sometimes by telling them on the confirmation page that if they don't receive your emails to check their spam folders. Users often don't, though.

That being said, my setup uses postfix unless it detects a yahoo or aol email address, in which case it smpt's to gmail to send using their services (I have a google apps account).

To gain delivery to hotmail and live you also need to configure domainkeys and Microsoft's ID service (I forget what it is called at the moment).

Honestly, if I had to to it again I would just send everything via smtp to gmail and setup Amazon SES if I needed to send out over 500 per day. And actually, when I get some spare time I am going to move over that way anyways. Rolling your own is just asking for punishment and frustration -- if you actually care about having your emails delivered, that is.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group