Sendmail Configuration


 
Thread Tools Search this Thread
Operating Systems HP-UX Sendmail Configuration
# 1  
Old 03-19-2013
Sendmail Configuration

Hi All,

Need help !.

I am configuring SMTP server details in my sendmail.cf

My SMTP server details are like MAC234.ad.compname.com, and i have configured my sendmail.cf with this address.

But mail address is something like user1@compname.com. Now when i run the sendmail command, i get the error that compname.com is "Unknown host".

I am able to ping MAC234.ad.compname.com on port 25.

Where am i going wrong . Please guide me.
# 2  
Old 03-19-2013
?
Since I see .ad. in your DN I guess your mail servers are MS exchange servers no?
In which case I dont see what you are configuring in sendmail.cf...
# 3  
Old 03-19-2013
what output gives :
Code:
/usr/lib/sendmail -d0.1 -bt < /dev/null

?
# 4  
Old 03-20-2013
Quote:
Originally Posted by vbe
?
Since I see .ad. in your DN I guess your mail servers are MS exchange servers no?
In which case I dont see what you are configuring in sendmail.cf...
Yes, it is MS Exchange server. I am changing Relay host value in my sendmail.cf with the my MS Exchange server host name .

Am i wrong in this approach with MS Exchange server? I am doing it for first with no support from admin team. Please help me if i am going wrong.

---------- Post updated at 11:47 PM ---------- Previous update was at 11:46 PM ----------

Quote:
Originally Posted by ctsgnb
what output gives :
Code:
/usr/lib/sendmail -d0.1 -bt < /dev/null

?
Output is as follows.

Code:
# /usr/lib/sendmail -d0.1 -bt < /dev/null
Version @(#)Sendmail version 8.13.3 - Revision 1.000 - 1st August,2006
 Compiled with: DNSMAP EGD LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER
                MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET NETINET6 NETUNIX
                NEWDB NIS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS USERDB
                USE_LDAP_INIT XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = devsrvr
  (canonical domain name) $j = devsrvr.localadmin
         (subdomain name) $m = localadmin
              (node name) $k = devsrvr
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>

Please guide me.
# 5  
Old 03-20-2013
the DS line is indeed the (only) one that you need to complete... but it may be that your mail server uses aliases for its services, something like SMTP.compname.com...
# 6  
Old 03-20-2013
Are you using what you can see in "options" from outlook? in which case it is not that obvious... for instance we have 16 servers and all have .ad. etc DN but to relay from unix we have one address as in my previous mail configured for the boxes that need to send mails (but only internal... users outlook...). This is because most servers have port 25 disabled and almost all switches/routers also, so it is on fully documented requiremnet that port is openened from on point to destination... for security reasons... So I suppose it will ask for more serious investigations for you...
Good luck
# 7  
Old 03-21-2013
Hi All,

Thanks for all inputs. I have handed over this task to admin team . They are looking into it. I will update this thread once i hear back from them.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Sendmail FAX configuration

I've been trying to send FAXs from an HP_UX server using sendmail via an Esker FAX server. However if I try to include FAX configuration details in the receipient address it fails. See following string for general format... (1 Reply)
Discussion started by: JohnMair
1 Replies

2. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

3. Shell Programming and Scripting

sendmail configuration.

Hi All, I need to configure mail functionality which enable us to send mail to outside company network. I just came to know that we have to configure outbound mail host/relaying mail in sendmail.cf file. Can someone suggest me on what to change in sendmail.cf, what information is required... (0 Replies)
Discussion started by: ace_friends22
0 Replies

4. Emergency UNIX and Linux Support

Sendmail Configuration

Hi, We have a standalone Solaris 10 Server (no DNS is configured) from which we want email alerts to be triggered when there is any breaches in the disk utilization threshold levels. we would like to achieve this mailing through sendmail. Can any one explain the procedure to do so..??? ... (1 Reply)
Discussion started by: EmbedUX
1 Replies

5. AIX

AIX sendmail configuration

I want to configure sendmail on AIX 4 and 5 to send emails to a windows SMTP proxy server for distribution. Mail would be going from AIX to Windows but any return emails would be sent not AIX but to a default Windows return address. What variables in the AIX sendmail.cf file would need to be... (1 Reply)
Discussion started by: rahe
1 Replies

6. UNIX for Dummies Questions & Answers

Fresh sendmail configuration

I have a requirement to enable sendmail in all the servers in our lab. This is required in lots of cases like e-mail the server owner if any hardware error and if any application problems and so. Here my part is to confirm that it is possible to send e-mail to the system user from the server.e-mail... (2 Replies)
Discussion started by: testbedengr
2 Replies

7. Shell Programming and Scripting

Sendmail Configuration - [Urgent]

I had my admin team to configure the SMTP on my HPUX unix box to send mails. Now they have given me a SMTP ip xx.xx.xx.xx and asked my to use this ip in ur code and not hostname for sending mails. where should I put this SMTP IP in the code or what should i configure in order to send mails. ... (2 Replies)
Discussion started by: Omkumar
2 Replies

8. Linux

basic sendmail configuration

hi just i want someone to guide me through the basic configurations of sendmail "a local network" just i want to let user1@domain.com send e-mail to user2@domain.com Thanks in advance (1 Reply)
Discussion started by: a_elhoseeny
1 Replies

9. AIX

sendmail configuration

I am in the process of setting up a new AIX 5.2 machine. I am not normally an AIX admin so please excuse if this is a dumb question.... this being that I need to alter the sendmail config. I can easily diff the default sendmail.cf with an existing server's file and see where to make the changes I... (2 Replies)
Discussion started by: nzaixer
2 Replies

10. HP-UX

Sendmail configuration - help needed

System is running HP-UX11 I need to configure sendmail, to send to a mail server of ours... Any help would be appreciated.... I will be using mailx (2 Replies)
Discussion started by: frustrated1
2 Replies
Login or Register to Ask a Question