Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

user@<localmachine-name>

Status
Not open for further replies.

jad

Programmer
Apr 7, 1999
1,195
GB
Umm, i know this sounds silly, but we have a problem that we've had for a while now and done a work around for it.

when a user sends email to our mail server the email is sent from user@<localmachinename> rather than as user@<our email address>

we currently have a cheat of sed'ing the mail queue to replace the machine name with the proper address, but i'm sure we should be able to set it in sendmail properly

thanks,

Jon
 
Could you let me know what you have entered in the genericsdomain file and also are you using IMAP or POP3.

Have you configured your email client with the appropriate email address?

 
my m4 file if that helps ... :)
Code:
divert(-1)
#...
#  This is a generic configuration file for SunOS 5.x (a.k.a. Solaris 2.x)
#  It has support for local and SMTP mail only.
#...

divert(0)dnl
VERSIONID(`@(#)main-v7sun.mc	1.2 (Sun) 01/27/98')
OSTYPE(solaris2.ml)dnl
DOMAIN(solaris-generic)dnl
FEATURE(`access_db', `hash /etc/mail/access')
FEATURE(`nocanonify')
FEATURE(use_cw_file)
define(`confPRIVACY_FLAGS', `authwarnings,restrictqrun')dnl
define(`confDONT_PRUNE_ROUTES', `True')dnl
define(`confDELIVERY_MODE', `queue all mail')dnl
define(`confCOPY_ERRORS_TO', `postmaster')dnl
define(`confSEPARATE_PROC', `True')dnl
define(`confQUEUE_SORT_ORDER', `host')dnl
define(`SMART_HOST', `post.$m')dnl
MAILER(local)dnl
MAILER(smtp)dnl

i've played with MASQUERADE_AS, MASQUERADE_DOMAIN, MASQUERADE_NAME and FEATURE(masquerade_entire_domain) but nothing really seems to fix it :)


what is the genericsdomain file?
some of them are configured with the full email address &quot;<user>@<host>.co.uk&quot; but most just have &quot;<user>&quot; because that is the default.

on our Solaris machines it also doesn't allow setting of the default reply to address with dtmail.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top