![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Coupon Guru
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Videochat Solutions
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 48,668
|
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
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
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |