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!

changing the form line

Status
Not open for further replies.

fousait

MIS
Sep 1, 2004
50
US
is there a way to get the from line to some thing else with sendmail or something along that lines
 
Sendmail lets you masquerade all mail passing through your server as coming from one particular domain. Fo example the following line will change all mail to be from mycooldomain.com:

MASQUERADE_AS(`mycooldomain.com')dnl

If Joe has an account on your system and uses you server as his smtp server, then his mail will go out from: joe@mycooldomain.com. If you are talking about just the user name, then you may want to create a virtual user name in the virtusertable. In this file, each line has two entries. The first is the virtual name such as webmaster. The second is a real user name or e-mail address. Here it a short sample of what the virtusertable looks like:

webmaster@mydomain.com joe
sales@mydomain.com fred@hotmail.com

Sorry If I didn't understand.



 
i have this box that does not have a qualified domain and it send mail though my normail stmp server will many other domains(ie: aol.com & hotmail.com) will not accept this email form this person i need a way to change it so that they can get it any help would be great. the thing i already tried did not work
thanks
 
i have this box that does not have a qualified domain and it send mail though my normail stmp server will many other domains(ie: aol.com & hotmail.com) will not accept this email form this person i need a way to change it so that they can get it any help would be great. the thing i already tried did not work
thanks
 
ok here is my header form the server that i am trying to that i am tring to get working

Return-Path: <user@FOUSAIX>
Received: from FOUSAIX ([10.1.1.10])
by xxx.yyyy.com (8.12.11/8.12.11) with ESMTP id iATK35qC010091
for <tbestrep@ Mon, 29 Nov 2004 14:03:05 -0600
Received: (from hdb@localhost) by FOUSAIX (AIX5.2/8.11.6p2/8.11.0) id iATK8sO198610 for someone@yyy.com; Mon, 29 Nov 2004 14:08:54 -0600
Date: Mon, 29 Nov 2004 14:08:54 -0600
From: first last <user@yyy.com>
Message-Id: <200411292008.iATK8sO198610@FOUSAIX>
To: someone@yyy.com
Subject: PO# 25644

i get this email on my mail server but the other person doe not get it on aol if i email off of my pc it work
any ideals here
 
I've got the same issue so can anyone help with this. In sendmail.cf I've added the following:

# who I masquerade as (null for no masquerading) (see also $=M)
DMreal-domain.com


....but this only changes:
From: Super-User <root@real-domain.com>

which leaves:
X-SA-Exim-Mail-From: root:my-not-real-domain.com
...so the mail still gets rejected.

Without changing everything on the box how can I get all the mail leabving, even if for just one user, to appear as comming from any domain I need.
 
yeah i got it fix
change you
DJ value
so it look like this
Dj domainname.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top