Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: SMTP send-only server
PostPosted: Thu Feb 11, 2010 4:55 pm 
Offline
Newbie

Joined: Thu Feb 11, 2010 4:34 pm
Posts: 2
Website: http://mario.ec
Hi,

I need to install an SMTP server so that i can send email from other servers. I'm using PHP and would like to configure it to send emails through this specific server.

Is it possible to do this with exim? With something like:
http://library.linode.com/email-guides/ ... an-5-lenny

Thanks in advance


Top
   
 Post subject:
PostPosted: Thu Feb 11, 2010 5:26 pm 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
Assuming that the "other servers" are within your current linode, then that guide looks like it'll be fine (PHP will just use the sendmail-like binary provided by Exim). You may also want to set an appropriate reverse dns etc.

If the other servers are actually located elsewhere, then you'll need to set up relaying for those IP addresses (though, of course you'd need some way of sending the mail on those nodes, which would largely defeat the purpose in this case unless you have a common mount point).


Top
   
 Post subject:
PostPosted: Thu Feb 11, 2010 5:47 pm 
Offline
Newbie

Joined: Thu Feb 11, 2010 4:34 pm
Posts: 2
Website: http://mario.ec
I will be using a PHP Class that allows me to send email through a smtp transport. To be precise i will be using: http://framework.zend.com/manual/en/zen ... mails.html .

So I would like to send the emails through, for example, smtp.example.com

So it's possible to do this with exim? I just need to configure the DNS?


Top
   
 Post subject:
PostPosted: Thu Feb 11, 2010 6:32 pm 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
I haven't used that class, but from a cursory glance it seems that it should be fine. Just configure Exim to act as a smarthost for your external server IP's.

From the api docs, it looks like zend_mail_transport_smtp will accept an IP address, but if not, /etc/hosts may be simpler than full DNS. (Obviously, you'll still need MX records for those domains.)


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


Who is online

Users browsing this forum: No registered users 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