Configuring sendmail to modify the domain name


 
Thread Tools Search this Thread
Operating Systems HP-UX Configuring sendmail to modify the domain name
# 1  
Old 07-22-2008
Configuring sendmail to modify the domain name

Hi,

I would like to change the domain name using sendmail.
For example, currently mails are sent like user@domain1.com
I would like to change it to user@domain2.com

How this can be done from HP-UX?
Your help is highly appreciated.

Thanks in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sendmail with wrong domain name

Not sure if this is the right place so I'm sorry if its not. I am setting up a new RHE server and trying to get sendmail to work correctly. Currently when I test sendmail I will recieve an email from (username@servermydomain.com.com) I have scoured the sendmail.cf and cannot find this anywhere.... (2 Replies)
Discussion started by: thumbelina
2 Replies

2. UNIX for Beginners Questions & Answers

Configuring Sendmail

Hi, I am using sendmail. I need to do the following: Send all internal emails to one relay, send to a particular external domain via a relay that required authentication. Could someone please advise on configuration? I tried one possibility but it failed. Posting "Does not work" without... (2 Replies)
Discussion started by: mojoman
2 Replies

3. Red Hat

Sendmail not delivering to own domain

I can send off network but can not send to anyone on network. SitRep is this the legacy mail system at work is setup as 2 servers, one is the outbound server and /etc/aliases has a list of users to deliver the mail to another server. for this instance we will call the 192.168.1.9(outgoing)... (4 Replies)
Discussion started by: sycomix
4 Replies

4. UNIX for Dummies Questions & Answers

Configuring Sendmail as a client only, how?

We are running sendmail-8.13.4 on AIX. I need to update the configuration and make sendmail act as a relay client only, meaning it will only be used to send mail out of the host and NOT accept mail. Here is my client.mc config: include(`/usr/samples/tcpip/sendmail/m4/cf.m4')... (5 Replies)
Discussion started by: c3rb3rus
5 Replies

5. Linux

Configuring dns in local domain

Hi everybody, for revolving local host name of my network, I set up an dns server to solve my problem, but til now, nothing happen when I ping a hostname, but work on IP. Can you help me to correct the configuration. Here is all my settings: Voici mes fichiers de configuration: -... (2 Replies)
Discussion started by: beloge2002
2 Replies

6. Shell Programming and Scripting

Configuring sendmail option

Hi, I have a script which check for the health of an application. In the end I want to attache a file to send the information to the user using sendmail. How to configure sendmail in linux?How to attach a file and send it as a mail from script? Ahamed. (3 Replies)
Discussion started by: ahamed
3 Replies

7. AIX

sendmail only sends emails to its own domain

Hi, folks! I have a problem with an AIX 5.3 server running sendmail where it is able to send messages within its own domain just fine. This is being used for a web email service portion of a web site. However, when it attempts to send email to any other domain -- i.e., hotmail.com -- it... (3 Replies)
Discussion started by: jjwood64
3 Replies

8. UNIX for Dummies Questions & Answers

Configuring Sendmail

Hi anyone knows how to Configuring Sendmail on /usr/lib/mail/cd on solaris 9? i cannot find the sendmail.mc file and i not able to use m4 to compile! Pls help Thanks Summer (3 Replies)
Discussion started by: summerpeh
3 Replies

9. UNIX for Dummies Questions & Answers

configuring sendmail.cf version is 1.74

Hello Please someone guide me to configure sendmail.cf on AIX 5.3 The sendmail.cf version is 1.74( bos53A src/bos/usr/sbin/sendmail/sendmail.cf 1.74) Thanks Amruta (0 Replies)
Discussion started by: Amruta Pitkar
0 Replies

10. UNIX for Advanced & Expert Users

blocking sendmail from domain

hi i edited the /etc/mail/access files with the line "yahoo.com REJECT", afterwhich i cannot send out files to the yahoo.com domain. :mad: can someone advise on how to go about configuring such that i am able to send mail out to yahoo.com BUT block INCOMING mail from yahoo.com :confused: i... (0 Replies)
Discussion started by: legato
0 Replies
Login or Register to Ask a Question
aliases(4)						     Kernel Interfaces Manual							aliases(4)

NAME
aliases - Contains alias definitions for the sendmail program SYNOPSIS
/var/adm/sendmail/aliases DESCRIPTION
By default, the aliases file contains the required aliases for the sendmail program. Do not delete these defaults because they are needed by the system. This file describes user ID aliases used by the sendmail command. It is formatted as a series of lines in the form: name: name_1, name_2, name_3,.. The name is the name that needs an alias, and the name_n are the aliases for that name. Lines beginning with white space are continuation lines. Lines beginning with a # (number sign) are comments. You can define an alias only on local names. Duplicate addresses are removed and no message is sent to any person more than once. For example, if name_1 defines an alias that is name_2 and name_2 defines an alias that is name_1, sendmail does not send the same message back and forth. Local and valid recipients who have a .forward file in their home directory have messages forwarded to the list of users defined in that file. This is only the raw data file; the actual information that defines the aliases is placed into a binary format in the files /var/adm/send- mail/aliases.dir and /var/adm/sendmail/aliases.pag using the newaliases command. For the change to take effect, the newaliases command must be executed each time the aliases file is changed. The sendmail program also supports sending messages to programs or appending a message to a file. See the sendmail(8) reference page for further information. Special Aliases Directs error messages that occur when sending to aliasname back to address. RESTRICTIONS
Aliases for sendmail use the dbm(3) database format for faster lookups. A single alias cannot exceed 1,000 characters. To work around this restriction, you can chain together aliases. For example: alias-list: ali1, ali2, ali3 ali1: name 1, name 2 ... ali2: name n, name n + 1 FILES
Binary aliases file. Binary aliases file. RELATED INFORMATION
Commands: newaliases(1), forward(4), local.users(4), sendmail(8) delim off aliases(4)