freelance84 Posted October 13, 2011 Share Posted October 13, 2011 I'm currently trying to set up postfix on ubuntu 11.04, but it is pretty tricky! Which are peoples favourite email programs on their servers? Quote Link to comment Share on other sites More sharing options...
trq Posted October 13, 2011 Share Posted October 13, 2011 postfix is probably the most popular mta around. Quote Link to comment Share on other sites More sharing options...
freelance84 Posted October 13, 2011 Author Share Posted October 13, 2011 Ok, i've been trying for what feels like an eternity now to get any kind of mta setup on my ubuntu 11.04 srever. All i need to be able to do is send simple emails out (no batches, but single emails) when someone registers to my site, but i just cant get the php mail function working properly. I first found a site which said it is easiest to use sendmail. Then one that said exim, then post fix.... (I've just tried following this guide, the author is clearly is pretty flippin good, but i got to a stage which said 'telnet localhost 25', but i just got 'bash: incorrect command' in return. I can only assume i missed a step somewhere along the lines, but i think what this guide is trying to setup up something which may be a little excessive for my needs. For one i do not need squirel mail, nor do i have multiple sites on the server) Does anyone know of a really really basic and novice guide which I could follow that will enable me to get the php mail function working on ubuntu 11.04... pllleeeeaaaassee (if there was a little begging smiley face i would use it here) PS/ This (i think) is the last hurdle for me in getting this server up and running correctly... any help would be absolutely amazing Quote Link to comment Share on other sites More sharing options...
trq Posted October 13, 2011 Share Posted October 13, 2011 It might be easier to install ssmtp, this is a drop in for sendmail which will allow you to use a remote smtp server such as Gmail. Postfix can get quite complicated to configure and it really has to be done right to avoid it being abused. Quote Link to comment Share on other sites More sharing options...
freelance84 Posted October 13, 2011 Author Share Posted October 13, 2011 Ah, ok. Cool. I've already installed postfix onto my server now. I'm guessing it would be best to remove it before using ssmtp? Quote Link to comment Share on other sites More sharing options...
freelance84 Posted October 13, 2011 Author Share Posted October 13, 2011 never mind. ssmtp removed it all on its own. Thanks for the tip i'll start hunting for a guide on ssmtp now Quote Link to comment Share on other sites More sharing options...
trq Posted October 14, 2011 Share Posted October 14, 2011 The config file should be pretty well documented depending on your distro. It'll be in /etc/ssmtp/ssmtp.conf or similar. Quote Link to comment Share on other sites More sharing options...
freelance84 Posted October 14, 2011 Author Share Posted October 14, 2011 I have started a new thread specific and in the correct board.... i really need some help if any one is knowledgeable in setting up mail() on their own server http://www.phpfreaks.com/forums/index.php?topic=345838.0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.