LinuxQuestions.org
Help answer threads with 0 replies.
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-22-2011, 03:57 PM   #1
TheGorf
LQ Newbie
 
Registered: Feb 2009
Posts: 11

Rep: Reputation: 0
Configuring sendmail to handle addresses but not the whole domain


Yikes, my sendmail skills be a bit rusty.

From my main Postfix SMTP heads, I am sending just a couple select emails (primarily support emails) off to a server that receives them and pipes them into the support software. So far this totally works perfectly and I am pretty happy with the configuration. However, in order for sendmail on the support server to receive those emails I have to place them in the virtusertable of course, but I also have to activate their domain in the local-host-names file. That then causes sendmail to consider itself as the destination server for that whole domain.

Is there a way to make sendmail receive email for select addresses without making it think it's the server for the whole domain?

This server is only receiving email from two specific smtp servers, so I wonder if I could just permit relaying? Wonder if that would just cause a giant loop though.

Thanks for your ideas!
 
Old 03-23-2011, 08:31 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,216
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
Hi,

I'm not very familiar with postfix, but (if aliases works like sendmail) you can define those accounts in the aliases file like
Quote:
support1 support1@[x.x.x.x]
support2 support2@[x.x.x.x]
where x.x.x.x is the sendmail box IP.
Then you can use the sendmail to run the support software as you do now, without the need to use a domain

Regards
 
  


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
Configuring Sendmail without a Fully Qualified Domain Name jroyce Linux - Software 2 04-18-2008 10:04 PM
Configuring sendmail on a non-domain server ajatiti Linux - Enterprise 4 12-07-2007 09:57 AM
configuring sendmail domain Hewson Linux - Newbie 1 06-09-2007 05:25 PM
Sendmail : Configure 1 Server To Handle 2 Domain syzuhdi Linux - General 8 10-15-2005 08:05 AM
Configuring domain names on static IP addresses from SBC DSL redbasin Linux - Networking 4 02-10-2004 11:06 AM

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

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