Email display not correct on Solaris 10


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Email display not correct on Solaris 10
# 1  
Old 04-03-2012
Email display not correct on Solaris 10

Hi Everyone,

Can someone possibly point me in the direction?

When I execute command echo "hello" | sendmail -v testacct@wyx.com

I recived an email as expected except the From: NAME is incorrect. The server name is correct. It should read "From: TESTBOX1 [mailto:testbox1@wyx.com]"

actual email:
From: app box [mailto:testbox1@wyx.com]
Sent: Monday, April 02, 2012 2:06 PM
Subject:

hello

I looked through the settings on sendmail.cf and I don't see any references to the actual from display name.

Is this a setting on the unix side or should I be looking to the exchange/email folks? This box is in a global AD.

Thank you
shawn

# 2  
Old 04-03-2012
Take a look at the following post

See this post:
How to force Sendmail to Rewrite Sender Address?
# 3  
Old 04-03-2012
When i look at:

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = DEVDB
(canonical domain name) $j = DEVDB.<domain name>
(subdomain name) $m = <domain name>
(node name) $k = DEVDB
========================================================

All appears as expected. That' s why i'm not sure where the name is coming from and I may suspect it has to do with the AD setup and not actually the unix box itself.
# 4  
Old 04-03-2012
Yes, it could also be in you PC's Local Address Book or in the Global Address Book. Have a look at the email header to see if the string is actually in the email.

Also see the -F parameter to the sendmail command.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Display Pie Chart/Bar Graph in microsoft outlook email using UNIX commands/Shell scripts

I have a shell script which executes to write html codes into a text file. My next step is to email the text file so that receiving person (people who i send email to) should be able to see pie/chart or bar graph (whatever i design in my code) in their email. Following is the example of a sample... (7 Replies)
Discussion started by: bikerboy
7 Replies

2. Shell Programming and Scripting

Display calendar in correct format using shell script

Hi All, I'm trying to print calendar using shell script and i'm able to print it. But the format is not good. Here is the script. #!/bin/bash echo $(date) echo "Hello $USER" echo Hostname $(hostname) echo Working in $(pwd) echo Here is this month calender echo $(cal) $ sh first.sh... (7 Replies)
Discussion started by: chandrakanth
7 Replies

3. UNIX for Advanced & Expert Users

v$sql not display correct sql_text

Hi folks, I am facing one problem with v$sql, i need to store updating sql query in temp table when one trigger get fired on some update sql statement. but with "sql_text" , i am not getting correct update statement in temp table. I am getting sql_text with this cursor statement. select... (0 Replies)
Discussion started by: apskaushik
0 Replies

4. Shell Programming and Scripting

Display both html and plain text in email in shell script

Hi, I want to display both html and plain in email in my script. i tried the below code code: export MAILTO="ssi@a.com" export CONTENT1="$htmlfile" export CONTENT2="$plainfile" export SUBJECT="INFO " export MAILFROM="si@a.com" ( echo "Subject: $SUBJECT" echo "MIME-Version:... (4 Replies)
Discussion started by: sreelu
4 Replies

5. UNIX for Dummies Questions & Answers

Solaris 10 - DISPLAY

Hello Im having problems on re-directing the graphics from my Solaris to my PC. I can connect using reflections and get to the Solaris desktop, however, when I login and set the DISPLAY, I cannot get the screen to my PC. I run the below as root DISPLAY=192.168.0.7:0.0 ; export DISPLAY... (0 Replies)
Discussion started by: deedaz
0 Replies

6. Shell Programming and Scripting

Display the content in different lines in email

Hi, I am checking if a file exists or not and based on the result I am sending an email. The email part works fine but the content of the email comes in a single line and I am not able to display it in diferent lines. if ; then echo "Hi, \\n An exception exists in the process.... (3 Replies)
Discussion started by: shanth_chandra
3 Replies

7. Solaris

Send an email from Solaris using Linux email server

Hello everyone I have a problem and I need your help: I have a Solaris 10 and Solaris 8 UNIX Servers, and Linux Centos4 as email server. I need send an email from Solaris servers preferably using Centos4 email server. I have no mail service configured in my Solaris computers (1 Reply)
Discussion started by: aflores
1 Replies

8. Shell Programming and Scripting

Order text display not correct.

My shell script below for import data to Oracle it run okay. but the text display not correct follow order command executed. =========================Shell Script code================= #!/bin/sh #directory = ${1-'pwd'} #run import data with SQLLoader runSQLLoader() { ... (2 Replies)
Discussion started by: raccsdl
2 Replies

9. Solaris

display wwpn on Solaris 2.6

Does anyone know how to find the wwpn? I have 2 dual-port hba card, having hard time finding wwpn through command lines. prtpicl isnt available - what are other commands to try? (1 Reply)
Discussion started by: kiem
1 Replies

10. UNIX for Dummies Questions & Answers

display driver under solaris 8

dear all : i installed solaris 8 on my PC , i am having aproblem with the display , i have an S3 savage 4 (32MB) Display adapter , i don't have its driver under solaris , any help or advises ?? (1 Reply)
Discussion started by: behmoth
1 Replies
Login or Register to Ask a Question