The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sendmail.cf robsonde UNIX and Linux Applications 1 01-25-2008 09:17 AM
Sendmail skykay UNIX for Dummies Questions & Answers 0 10-03-2005 04:56 AM
Sendmail Jody UNIX for Dummies Questions & Answers 2 10-26-2004 07:02 AM
sendmail.... any help? skotapal UNIX for Dummies Questions & Answers 5 12-22-2002 09:23 PM
sendmail danny howell UNIX for Dummies Questions & Answers 1 08-08-2002 03:49 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-27-2003
dozy dozy is offline
Registered User
  
 

Join Date: Nov 2002
Location: in my house
Posts: 37
sendmail

Hello Everyone!

Can anyone help me with this problem.
When root sends mail from my sun to our exchange server the from field looks like this"root@server.domain.com but i would like it to look like this "root.server@domain.com" or somthing like that.
I dont wont the "server" after the @. i like it infront.

//dOzY
  #2 (permalink)  
Old 05-27-2003
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
you could create an alias, http://www.google.com/custom?q=alias...h=sendmail.org
  #3 (permalink)  
Old 05-27-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
If all your other accounts from that server show up as @domain.com (or whatever your domain is) and root shows up with the server name also, then check your /etc/mail/sendmail.cf file. There should be a section as follows:
Code:
# class E: names that should be exposed as from this host, even if we masquerade
# class L: names that should be delivered locally, even if we have a relay
# class M: domains that should be converted to $M
# class N: domains that should not be converted to $M
#CL root
C{E}root
You need to put a # in front of the C{E}root so root email will show root@domain.com.

As far as putting the server name in front of the @ sign, you could do it if you wanted to further change how addressing works within sendmail but it would be more difficult AND and return email from that 'account' would be bounced since it doesn't exist.
Aliases are only looked at if
1. sending email to the local system
2. incoming from another server
not if the email is going out.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:31 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0