Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Nov 12, 2013 1:10 pm 
Offline
Senior Newbie

Joined: Sat Nov 09, 2013 9:07 pm
Posts: 10
Hi, i just got started with linode (ubuntu/nginx), and i'm running a forum with xenforo. one of the first things i've noticed is that my email isn't being sent for forgotten password requests, new topic notifications, etc.

my question is: do i NEED to install an email server on my vps for this to work? i thought i could just use sendmail, but even though i have the sendmail location specified in my php.ini, emails are failing to be sent.

i don't have a need for an email like me@mydomain.com, i just need to be able to send out forgotten password requests and other notification emails.

thanks for any help you can give!


Top
   
PostPosted: Tue Nov 12, 2013 1:56 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Yep you need something that can speak SMTP to talk to the recipients email server, I suggest postfix and firewall off Port 25 so you can't receive email.

_________________
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
   
PostPosted: Tue Nov 12, 2013 4:43 pm 
Offline
Newbie

Joined: Sat Nov 02, 2013 10:04 am
Posts: 4
The default sendmail configuration will also work, as it's designed for a desktop box that only does outgoing mail. (There are comments in the sendmail.mc config file for how to enable receiving mail.) But you do need to enable the daemon so that it will listen for mail connections from local processes: "chkconfig sendmail on". (That turns it on when the system boots.) "service sendmail start" will start the service immediately.


Top
   
PostPosted: Wed Nov 13, 2013 2:27 pm 
Offline
Senior Newbie

Joined: Sat Nov 09, 2013 9:07 pm
Posts: 10
ScratchMonkey wrote:
The default sendmail configuration will also work, as it's designed for a desktop box that only does outgoing mail. (There are comments in the sendmail.mc config file for how to enable receiving mail.) But you do need to enable the daemon so that it will listen for mail connections from local processes: "chkconfig sendmail on". (That turns it on when the system boots.) "service sendmail start" will start the service immediately.


hmm i started following the documentation for installing postfix, and i'm about 90% there, (working on an issue with outgoing mail) but i noticed that running apt-get install sendmail, wants to remove postfix, but i don't want to lose all my work, so i'm going to try and finish that.


Top
   
PostPosted: Thu Nov 21, 2013 3:26 am 
Offline
Newbie

Joined: Sat Nov 02, 2013 10:04 am
Posts: 4
That's reasonable. I'm used to sendmail but I know plenty of people prefer postfix. Use what works.

My comment is more for those who discover this thread, looking for a similar situation, and already have sendmail installed.


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


Who is online

Users browsing this forum: mkorsak and 2 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