LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-12-2009, 09:35 PM   #1
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Rep: Reputation: 199Reputation: 199
Sendmail configuration question


I have a small server with a Wordpress blog, and I need to configure sendmail as 'send only' to send out email notifications to new users. I'm running Slamd64 12.1 with sendmail 8.13. Any suggestions? Thanks.
 
Old 03-13-2009, 05:11 AM   #2
chitambira
Member
 
Registered: Oct 2008
Location: Online
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 51
In /etc/mail/sendmail.mc, check

define(`SMART_HOST', `smtp.your.provider')dnl
 
Old 03-13-2009, 12:47 PM   #3
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Original Poster
Rep: Reputation: 199Reputation: 199
Unhappy

Quote:
Originally Posted by chitambira View Post
In /etc/mail/sendmail.mc, check

define(`SMART_HOST', `smtp.your.provider')dnl
That worked (partially). Now I don't get the 'connection refused' message when I do a 'sendmail -v', but I get a bounceback in my mailbox with my ISP complaining about needing a 'valid sender domain'. How do I get sendmail to use my domain name (www.lenardspencer.com) instead of the computer's name (server.lenardspencer.com)? When I change /etc/hosts and /etc/HOSTNAME to reflect the domain name, the Apache server refuses to connect. So right now I have one or the other, but not both.
 
Old 03-16-2009, 05:26 PM   #4
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Original Poster
Rep: Reputation: 199Reputation: 199
I have finally solved my dilemma. I DUMPED Sendmail and went with Postfix. MUCH easier to configure, and it does what *I* want.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail access/configuration question NWBM Linux - Newbie 2 09-20-2008 07:24 AM
Sendmail Configuration skun11 Linux - Server 1 05-10-2007 01:41 AM
Sendmail configuration question.Mdk10.1 akihandyman Mandriva 3 12-23-2004 06:22 PM
Sendmail configuration question J_Szucs Linux - Software 0 08-09-2003 08:31 PM
A simple Sendmail configuration question J_Szucs Linux - Newbie 2 11-12-2002 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration