LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-18-2013, 08:36 AM   #1
sencha
LQ Newbie
 
Registered: Jul 2008
Posts: 11

Rep: Reputation: 0
Sendmail - accepting mail for new domain


Hi,

I have sendmail running on RHEL 5 and I currently accept mail for one domain foo.com and one subdomain sub.foo.com. As the result of a branding exercise I need to also accept mail for newfoo.com.

My goal is to have messages sent to the new addresses delivered to the existing mailboxes. Can I do this simply by adding newfoo.com to /etc/mail/local-host-names or is something required in /etc/mail/virtualusertable as well?

Thanks in advance.
 
Old 01-18-2013, 09:42 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Quote:
My goal is to have messages sent to the new addresses delivered to the existing mailboxes. Can I do this simply by adding newfoo.com to /etc/mail/local-host-names or is something required in /etc/mail/virtualusertable as well?
Yes you can add the new domain in /etc/mail/local-host-names. You should use /etc/mail/virtualusertable only for users that are not the same for both domains.

Regards
 
1 members found this post helpful.
Old 01-18-2013, 10:12 AM   #3
sencha
LQ Newbie
 
Registered: Jul 2008
Posts: 11

Original Poster
Rep: Reputation: 0
So to clarify, if I normally accept mail for jdoe@foo.com and I know also want to accept mail for john.doe@newfoo.com, as long as I alias out john.doe: jdoe, and add newfoo.com to the local-host-names file I should be good to go?
 
Old 01-18-2013, 10:45 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by sencha View Post
So to clarify, if I normally accept mail for jdoe@foo.com and I know also want to accept mail for john.doe@newfoo.com, as long as I alias out john.doe: jdoe, and add newfoo.com to the local-host-names file I should be good to go?
Yes. The user jdoe will accept mail also for the user john.doe@newfoo.com

Regards
 
1 members found this post helpful.
  


Reply

Tags
dns, domains, red hat, sendmail



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
[SOLVED] Sendmail Email Aliases not accepting mail manutdfan1988 Linux - Software 15 02-10-2011 02:30 AM
QPopper not accepting mail from local domain manutdfan1988 Linux - Software 2 01-23-2011 07:00 PM
Sendmail Not Accepting Mail videoman Linux - Networking 6 06-08-2008 12:20 AM
Sendmail - wrong mail sender domain display jika Linux - Newbie 1 05-27-2005 02:29 AM
Changing domain sendmail sends mail with greenhornet Linux - Networking 5 09-09-2002 01:42 AM

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

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