Question on email aliases


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Question on email aliases
# 1  
Old 07-07-2015
Question on email aliases

hi all,I have doubt in my unix. Whenever i send any emails from unix machine. The receipent is recieving with the name pepsi retail do you have idea where i the email aliases name is hardcoded in the unix settings.


Code:
-----Original Message-----
From: Pepsi Retail c6306393 [mailto:kol@pepsi.info.com] 
Sent: Friday, July 07, 2015 7:05 PM

# 2  
Old 07-07-2015
What is the command used for sending the email ?
# 3  
Old 07-07-2015
used mailx command.
# 4  
Old 07-07-2015
@arun888, you need to give all the information. mailx command agreed but what are the parameters passed.

This is a format of the mailx command. Check if you have "Pepsi Retail" in place of <from email Id>

Hope this helps.

Code:
mailx -r<from email id> -s <Subject> <To email id>

# 5  
Old 07-07-2015
Code:
NOTIFY1="arunkumar@delivary.com
"
mailx -s "Db  instance has been started now" $NOTIFY1

I am recieveing the below name form the email. I would like to know where the alias name is set in the unix server,

Code:
-----Original Message-----
From: Pepsi Retail c6306393 [mailto:kol@pepsi.info.com] 
Sent: Friday, July 07, 2015 7:05 PM

---------- Post updated at 08:18 AM ---------- Previous update was at 07:50 AM ----------

From address is from the server. i would like to server email aliases set in the from address of the server.

---------- Post updated at 08:29 AM ---------- Previous update was at 08:18 AM ----------

I am logging the unix server from kol@pepsi.info.com user id. I would like to know only how the
Code:
 Pepsi Retail c6306393

is set in the unix server.
# 6  
Old 07-08-2015
Use the
Code:
 set

command to check the environment variables that are set and override the variable with the
Code:
mail -x

command listed before.
# 7  
Old 07-08-2015
hi all,

can anyone where the alias has been as pepsi retail for the server which we are sending from email. any inputs please .
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Email IDs added to .mailrc aliases not receiving mails

hi, I added an email id to a list of existing aliases in .mailrc on my unix box, using vi editor. However, the new id has not been receiving any mails from the box. Kindly help as to what needs to be done here. Does the box need to be rebooted for these changes to reflect? Is there any other... (5 Replies)
Discussion started by: qwerty000
5 Replies

2. Shell Programming and Scripting

Email Question - two email addresses

Hello, I have an email script that runs when a process is complete. I would like to have the email sent to two different email addresses, but it is only sending it to the first one. Can you take a look and see what I need to correct? I thought if I surrounded them with double quotes and... (5 Replies)
Discussion started by: jyoung
5 Replies

3. UNIX for Advanced & Expert Users

email reflector question - with postix

hello, i have an email reflector question yoo smtp server experts. 1. i have a static ip address and connected to the internet with dsl. my isp of course blocks port 25 for the smtp server. however i want to send and recieve emails to my home dsl connected computer. 2, i know that i can relay... (2 Replies)
Discussion started by: mwolfe
2 Replies
Login or Register to Ask a Question