LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-25-2006, 11:13 AM   #1
it@stcroixknits.com
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
sendmail to send all email to another mail server


I am running Red Hat ES 4.0 and want to configure sendmail (mail or mailx) to send all email for unknown users to my other email server without appending the domain name.
Ex: user name is joeuser on the linux box my application can send the email to joeuser, but without an alias of joeuser@mydomain.com it will remain on the local unix box. I would like to be able to have my application send an email to joeuser and not have to set up an alias for all users. Is there a way to configure all emails without the "@mydomain.com" to automatically be forwarded to my mail server without the "@mydomain.com".

Thanks for any help.

Dennis

Last edited by it@stcroixknits.com; 10-25-2006 at 11:16 AM.
 
Old 10-27-2006, 02:12 AM   #2
JAdj
Member
 
Registered: Aug 2006
Posts: 30

Rep: Reputation: 15
Quote:
Originally Posted by it@stcroixknits.com
I am running Red Hat ES 4.0 and want to configure sendmail (mail or mailx) to send all email for unknown users to my other email server without appending the domain name.
Ex: user name is joeuser on the linux box my application can send the email to joeuser, but without an alias of joeuser@mydomain.com it will remain on the local unix box. I would like to be able to have my application send an email to joeuser and not have to set up an alias for all users. Is there a way to configure all emails without the "@mydomain.com" to automatically be forwarded to my mail server without the "@mydomain.com".

Thanks for any help.

Dennis
i'm not sure if I understand what you are trying to do. Do you want to forward all mail to another mail server, but without aliasing the addresses as whatever@yourdomain.com?

Try using the smart host option
 
Old 10-27-2006, 10:19 AM   #3
nayyares
Member
 
Registered: Oct 2006
Location: JNB, SA
Posts: 33

Rep: Reputation: 15
Hi,
It is a bit confusing but you can make alias for emails with or without domain prefix by both ways i.e. user alias or email alias. which one you would like to do?
thanks
 
  


Reply

Tags
alias, domain, mail, mailx, sendmail


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
Mail Server Issues; Can't Send E-mail (using sendmail) Vegetarian Smoker Linux - Software 1 06-18-2006 02:16 PM
Can't send email outside my server with sendmail rocketman3245 Mandriva 1 07-28-2004 10:01 PM
spammer using my mail server send spam email pd5c18 Linux - Networking 2 07-14-2004 01:32 AM
SENDMAIL as an SMTP RELAY SERVER that can send email to internet. how? kublador Linux - Software 7 10-25-2003 08:43 AM
I cannot send mail using Outlook and sendmail server? tthai01 Linux - Networking 2 02-12-2003 08:59 AM


All times are GMT -5. The time now is 02:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration