[Solved] How do I configure Unix Mail Server to use another Mail Exchange Server


 
Thread Tools Search this Thread
Operating Systems HP-UX [Solved] How do I configure Unix Mail Server to use another Mail Exchange Server
# 1  
Old 12-16-2010
Question [Solved] How do I configure Unix Mail Server to use another Mail Exchange Server

We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot recognize our unix mail server and yet if we send emails from another mail exchange server they get them. I guess we need to set and configure our mail unix server to use our main mail exchange server which is recognised by their mail server. Please can anyone help! Where can I find documentation to configure our mail unix server to use our main mail exchange server. Thanks.

Last edited by Tenyhwa; 12-16-2010 at 10:54 PM..
# 2  
Old 12-17-2010
on HP-UX 11.11 (thats all I have...)

A)
look in /etc/mail, save the file sendmail.cf:
Code:
cp -p sendmail.cf sendmail.cf.ori

edit with vi sendmail.cf and look for this stanza:
Code:
# "Smart" relay host (may be null)
DS

and modify accordingly
Code:
#DS
DSsmtp.mydomain.com

So you append to DS the fullname of your exchange mail server.

B)
1) stop star the sendmail in /sbin/init.d
2) set environnment variables:
export charset=iso8859-1
export encoding=8bits
to put in file=>.mailrc? ( I put a .mailrc in home directories of the people having right to use the mail)
# 3  
Old 12-17-2010
Another possibility is that you do not have reverse DNS set up so that the public ip address that the email originates from does not resolve to the domain name of the email address.
# 4  
Old 12-17-2010
Thanks. We shall try it
# 5  
Old 12-18-2010
Thanks, the first solution worked
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

2. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

3. UNIX for Advanced & Expert Users

How to relay mail to mail server from Unix ?

Hi, I need to send email notifications from Unix/Linux box to users using mailx. In these Unix/Linux boxes mail is not configured however we are having mail server configured in our LAN. Could you please provide instructions to configure relay in these boxes so that we can relay our mails... (3 Replies)
Discussion started by: sourabhsharma
3 Replies

4. Red Hat

Send mail from redhat box to exchange server

we have an exchange server in company as excmailbocx.company.com i wanna send mail using sendmail from redhat to my exchange mail account how can it be possible? (1 Reply)
Discussion started by: oguzhantrg
1 Replies

5. Solaris

Server unable to send mail-how to configure

Hi All, I'm unable to send out email using mailx command in a new server. I guess the server has to be configured for this. I searched a lot and everywhere it was asked to check /etc/sendmail.cf (I don't have this file in that path.) And I don't have a folder called host or hosts in /etc... (6 Replies)
Discussion started by: Qwerty123
6 Replies

6. UNIX for Advanced & Expert Users

How to configure Linux box with my SMTP mail server

Hi all, I need to send mail to a particular email id using a local mail server.This mail shall contain the content of a file. I don't have any idea how to do it. Can anyone guide me ,where to start proceeding for it. Any guide or study material would appreciated. (1 Reply)
Discussion started by: amit_kv1983
1 Replies

7. UNIX for Dummies Questions & Answers

Mail Exchange Server

I've got a question regarding setting up mail between two unix boxes. Is it possible to setup two boxes conected via a hub and allow them to send mail using the Netscape Messenger. I know that I can be done so using the UNIX sendmail but I need to connect them via Messenger as my ultimate goal is... (0 Replies)
Discussion started by: GlockCW
0 Replies

8. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

hi, Gurus, I need some help with sending mail out from my UNIX server: It is running Solaris 2.6 and the sendmail version is 8.8. Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.8.8+Sun Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET ... (5 Replies)
Discussion started by: b5fnpct
5 Replies
Login or Register to Ask a Question