LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-05-2011, 10:10 AM   #1
txscooterd
LQ Newbie
 
Registered: May 2011
Posts: 2

Rep: Reputation: 0
Email staying in queue on server...


Appologizing up front, because I'm not a Linux server admin... AT ALL..., but I'm trying!

I've installed xampp on my Red Hat server, and as far as I can tell, my sendmail is setup. I'm able to send mail internally on the server; however, that isn't what I really want to be able to do.

I understand that sendmail is a mail engine that will distribute emails, but what I want to be able to do is configure my server to connect to my domain server and route emails through there.

In other words, I have a domain name registered by FXDomains, and with that I have email accounts established. I've got an eCommerce server running on my Red Hat Server so that when someone uses my domain name, it takes you right to my eCommerce.

As someone registers or anything happens on that eCommerce server, i'd like for the email to be sent from the eCommerce server to the appropriate location, but if replied to, it would go to an account that is on my FX Domain. right now, it wont even send an email out...

Any help would be greatly appreciated!
 
Old 05-06-2011, 03:09 PM   #2
lrtward
Member
 
Registered: Feb 2011
Distribution: CentOS, Ubuntu
Posts: 97

Rep: Reputation: 9
Okay you kind of lost me with the FXDomains and the eCommerce and the "appropriate location"... sounded to me like it's all the same server but apparently not.

ANYway.. to get sendmail to connect to my domain server and route emails through there you need to identify your smart relay host in your sendmail.cf file. In RedHat, this is in /etc/mail/sendmail.cf

Quote:
# "Smart" relay host (may be null)
DSmy.domainserver.com
or, if you want to identify it by IP:
Quote:
# "Smart" relay host (may be null)
DS[11.222.33.444]
Save the sendmail.cf file and restart sendmail:
Code:
service sendmail restart
This will work as long as the remote host (your domain server) is configured to accept SMTP traffic from you and relay it.

Send a couple of emails after making the above change and then run "mailq". If there are some messages in the queue, wait about 10 minutes and run "mailq" again. If there's an asterisk beside the ID number they're being processed. When the asterisk goes away, if the message is still in your mail queue, there's a problem. Check your mail log (/var/log/maillog) for hints about what is going wrong.
or
Code:
/etc/init.d/sendmail restart
 
Old 05-09-2011, 11:32 AM   #3
txscooterd
LQ Newbie
 
Registered: May 2011
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for replying back... this was very helpful.

I think what I am finding is that my outgoing mail from my server is going to my Domain Server that is managed by an outside company. this outgoing mail relay requires a login and password configuration. Is this something that I need to include in that same mail configuration?

Thanks
 
Old 05-10-2011, 07:07 AM   #4
lrtward
Member
 
Registered: Feb 2011
Distribution: CentOS, Ubuntu
Posts: 97

Rep: Reputation: 9
If they require a login and password then yes you'll have to configure that. Do a search for "SMTP auth" or "SMTP authentication" and you'll find what you need.
 
  


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
How to untar my tarred mail queue folder back to the sendmail queue directory again? Md.Abul Quashem Linux - Server 6 02-16-2010 08:32 AM
Postfix - Disable incoming email but still process queue FragInHell Linux - Server 4 06-09-2009 09:37 PM
Is it possible for me to write in front of queue in case of message queue? hemanthv414 Linux - Newbie 1 11-17-2008 04:40 PM
Postfix Email Is Stuck In Queue carlosinfl Linux - Server 3 06-19-2008 10:19 PM
Migrating from Lotus Domino Email Server 6.5 to Linux email Server sailu_mvn Linux - Software 0 08-22-2006 11:04 PM

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

All times are GMT -5. The time now is 02:19 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