Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Noob needs help setting up simple but yet complex outgoing relay

Noob needs help setting up simple but yet complex outgoing relay

Noob needs help setting up simple but yet complex outgoing relay

I'm running a series of Solaris 10 servers with sendmail.   I would like all of the internal corporate e-mail and internet e-mail go to out using our corporate relay server.   I'd like to have e-mail for the local users (root mostly) to either be mailed locally or better yet to be forwarded to a group e-mail address set up on the corporate e-mail servers.   These servers do not receive e-mail except for whatever is generated internally by cron and stuff like that.  

Part of the problem comes in because some of the e-mail addresses I need to send to are very picky about the "from" address.   For example, our cellphone e-mail addresses will reject anything that was sent from user@servername.domain.com.   So, I have to set DM to domain.com .  

As it is working now, everything works except that internal e-mail from root is being sent to root@domain.com which doesn't exist.   I've tried setting up aliasing to get the e-mail to be sent elsewhere with no luck.   I've tried setting up "CL" to get root delivered locally.   I think I had the stickysessions/mail_hub/local_relay set up so that it should have been delivered correctly, but it either failed totally or would be sent out as root@mailrelay.domain.com (name of the relay server).  I've been mostly updating submit.cf since I do believe that submit.cf is what deals with outgoing mail.  

I'm just a hack at this, so I've spun my wheels quite a bit and just can't come up with a solution.   Any help would be greatly appreciated... but remember I probably don't know what you're talking about :)

Thanks in advance!!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close