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 > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sendmail problem photon UNIX for Dummies Questions & Answers 1 08-08-2008 04:38 AM
sendmail problem with HP-UX aribault HP-UX 2 05-31-2007 10:16 AM
Problem with Sendmail iluvhk UNIX for Dummies Questions & Answers 2 05-10-2007 02:58 PM
sendmail problem rpadilla UNIX for Dummies Questions & Answers 0 07-28-2005 01:44 PM
problem with sendmail, help please! eden2 UNIX for Dummies Questions & Answers 3 07-09-2002 05:10 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-17-2009
freebirdbj freebirdbj is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 3
Sendmail problem

Hello,

I have the sendmail on HP Unix. The serve name is "abc" and the domain name is "xxx.com". Everytime I send out email, it always comes with root@abc.xxx.com not root@xxx.com.

I think there might be something wrong in sendmail configuration.

Can anybody please help to point it out?

thanks a lot!
  #2 (permalink)  
Old 06-18-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,886
Nothing is wrong. You need to look for and configure a feature called "Masquerading". The official sendmail distribution has support for this through its M4 configuration interface.
  #3 (permalink)  
Old 06-18-2009
thenomad thenomad is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 16
edit /etc/mail/sendmail.cf

find the line starting with letters DM (and most probably has nothing else following these two letters) and make it look like

DMxxx.com

where xxx.com is your email domain

if there is no such line, create one and save the file and exit.

Hope this helps
  #4 (permalink)  
Old 06-19-2009
freebirdbj freebirdbj is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 3
Thanks for help!
But it was configurated as "DMxxx.com" in sendmail.cf.
Could be anything else?
  #5 (permalink)  
Old 06-19-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,886
Is there an /etc/mail/submit.cf?
  #6 (permalink)  
Old 06-19-2009
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,183
You need to comment out the "CE" line in sendmail.cf . However if you have multiple servers your "root" mail messages will now need to contain text to identify where they came from.

Code:
#CE root
  #7 (permalink)  
Old 06-19-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,886
methyl is right. The "E" class is a list of users which are "Exposed" when Masquerading is on.
Reply

Bookmarks

Tags
masquerade, sendmail

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




All times are GMT -4. The time now is 11:04 PM.


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