Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-11-2011, 03:11 PM   #1
Marcus
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Posts: 3,472
Techies: How do you send email through locahost?

On my site when a member messages someone else my website sends a confirmation email saying "You have a message on ______.com".
The email gets sent out through my host i.e. mail.myhost.com

My host wants me to stop running the emails through them and instead through localhost.

Im very retarded when it comes to emails. How do I send emails out through localhost?

I have to fix this or they're going to throw me off

Last edited by Marcus; 08-11-2011 at 03:12 PM..
Marcus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 04:19 PM   #2
CYF
Coupon Guru
 
CYF's Avatar
 
Industry Role:
Join Date: Mar 2009
Location: Minneapolis
Posts: 10,973
what MTA are you running? postfix? sendmail?
__________________
Webmaster Coupons Coupons and discounts for hosting, domains, SSL Certs, and more!
AmeriNOC Coupons | Certified Hosting Coupons | Hosting Coupons | Domain Name Coupons

CYF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 04:51 PM   #3
2MuchMark
Videochat Solutions
 
2MuchMark's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 48,668
http://www.authsmtp.com
__________________

Custom Software | Server Management | Integration and Technology Solutions
https://www.2much.net
2MuchMark is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 04:57 PM   #4
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,304
you can run sendmail with local only, being it doesnt actually use port 25, but it lets you send mail. just no outside access can use it for smtp (spamming mostly).

what os, linux, freebsd, etc?
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 08:02 PM   #5
BestXXXPorn
Confirmed User
 
BestXXXPorn's Avatar
 
Join Date: Jun 2009
Location: Asheville, NC
Posts: 2,277
Definitely depends on the OS. Also there's a bit more to it than just a one liner response; particularly if you want ensure your mail is actually delivered.

1) You need to setup your mail.hostname.com DNS record to point to your box. I HIGHLY recommend using a separate IP address for this.

2) You should setup a reverse DNS record as well to avoid a lot of spam traps. AKA a PTR record. This is another reason you should use a completely separate IP address.

3) Configure your sendmail, qmail, postfix (your choice) server to recognize your domain that you will be sending mail from.

4) If you really want to ensure your mail gets delivered (and this goes for a lot of sponsors out there because I see a ton of mail going straight to spam) you should setup three very important email authentication services; Sender Policy Framework (SPF), Sender ID, and DomainKeys Identified Mail (DKIM). These service tell the big players' (and people with good mail servers) servers that you are legit and will make sure your mail actually lands in someone's inbox rather than their spam folder.
__________________
ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com

Last edited by BestXXXPorn; 08-11-2011 at 08:03 PM..
BestXXXPorn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-11-2011, 08:06 PM   #6
Serge Litehead
Confirmed User
 
Serge Litehead's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
if you run your site through php, smtp server can be defined in php.ini and then when you do mail() in php it uses whatever your have defined in php.ini
__________________
Serge Litehead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.