[Solved] Sendmail again


 
Thread Tools Search this Thread
Operating Systems HP-UX [Solved] Sendmail again
# 1  
Old 05-11-2012
HP [Solved] Sendmail again

Hello experts!
Can someone help me to configure sendmail v8.9.3 in HP-UX 10.2?
I would like to be able to send messages using an external SMTP server. I have configured the DNS - I can ping my smtp server.
I dont know how to configure sendmail.
In my system there is no file "sendmail.mc"...
Help!
# 2  
Old 05-11-2012
I have no HP to look at from home... I would say you should have a /etc/mail directory containing a sendmail.cnf or .conf file...
Look around this forum for I answered not so long ago the similar question
# 3  
Old 05-13-2012
HP-UX 10.2 was about 15 years ago.
Please post:
Code:
ls -la /etc/mail

The main configuration file should be /etc/mail/sendmail.cf and you will be looking for the mail relay server line. Make sure that your DNS provides accurate reverse DNS lookup for the name of the SMTP relay mail server.
# 4  
Old 05-15-2012
Thanks for the reply.
I have read several articles about the configuration of sendmail, and I used this on my own PC with Linux system and it works.
Unfortunately for HP-UX does not work ...
I added this line in / etc / mail / sendmail.cf:
Code:
# "Smart" relay host (may be null)
DS mail.xxx.yyy.zz

If I do "ping mail.xxx.yyy.zz" I get smtp server ip number.
Well I think.
How to tell the user and password?
I also tried with mailx ...
On a Fedora system works perfectly. HP-UX runs a little worse (read does not work).
Is it possible to configure mailx on HP-UX 10.20 to use the external smtp server? Is it for this you need sendmail running?
How to make mailx to read configuration file ".mailrc"?
Best Regards.

Last edited by Scrutinizer; 05-17-2012 at 05:25 AM.. Reason: code tags
# 5  
Old 05-15-2012
So you configured DS line in /etc/mail/sendmail.cf...
When you say it doesnt work, what do you mean? Is it that the mail is not sent?
What external mail server are you trying to reach, an exchange server?
# 6  
Old 05-15-2012
Check /etc/mail/sendmail.cw . Should contain two active lines referring to your local computer:
Code:
localhost
servername.domain.com

Check that the contents of service.switch match the way your normally look up host names.


Look at /usr/adm/syslog/syslog.log and /usr/adm/syslog/mail.log for any errors related to mail , then post the error messages intact here.
# 7  
Old 05-15-2012
I checked the logs.
SMTP server rejects the connection because it requires authorization.

In Linux, I had something like this in the sendmail.mc file:
define (`confAUTH_MECHANISMS ',` EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN') dnl
FEATURE (`authinfo ',` hash / etc / mail / auth / client-info') dnl
How to modify the config for HP-UX?
Best regards.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. UNIX and Linux Applications

Sendmail

Hi All, What is Sendmail.cf? What is it's significance? (2 Replies)
Discussion started by: rafa_fed2
2 Replies

3. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

4. Linux

Sendmail

In my server sendmail is running in daemon mode as, server01:~ # ps -ef| grep sendmail mail 6354 1 0 2010 ? 00:00:00 sendmail: Queue control root 6423 1 0 2010 ? 00:00:47 sendmail: accepting connections mail 6474 6354 0 2010 ? 00:05:03... (0 Replies)
Discussion started by: ranasarkar
0 Replies

5. Solaris

Sendmail

I have sendmail enabled in my Solaris 10 boxes. It has being flagged as an violation to unix security standard as the port 25 is listening. I want to run the sendmail to run in non-daemon mode so that the queue is processed. Please help. (0 Replies)
Discussion started by: ranasarkar
0 Replies

6. Shell Programming and Scripting

[solved] merging two files and writing to another file- solved

i have two files as file1: 1 2 3 file2: a b c and the output should be: file3: 1~a 2~b 3~c (1 Reply)
Discussion started by: mlpathir
1 Replies

7. Linux

Sendmail

How do i see all incoming mail's and outgoing mail's for a particular user and how do i list folders of sendmail (mailbox) (1 Reply)
Discussion started by: sagar824u
1 Replies

8. UNIX for Dummies Questions & Answers

sendmail.cf

we have two mail servers and want to setup failover for DR. we have a line in sendmail.cf like this DS smtp.domain.com and this works fine...... we changed it to DS smtp1.domain.com smtp2.domain.com this is bad, we get errors of savemail panic and many bounce messages and... (0 Replies)
Discussion started by: robsonde
0 Replies

9. Programming

sendmail

hi, i am using sendmail function to send the mail for mail client. when i am sending mime content with attaching with body for the images. the image is not displaying in the mail box. all the mime content stuff is displaying. all the headers are proper. hope the reply for this (0 Replies)
Discussion started by: nagineni
0 Replies

10. UNIX for Dummies Questions & Answers

sendmail

Hello Everyone! Can anyone help me with this problem. When root sends mail from my sun to our exchange server the from field looks like this"root@server.domain.com but i would like it to look like this "root.server@domain.com" or somthing like that. I dont wont the "server" after the @. i like... (2 Replies)
Discussion started by: dozy
2 Replies
Login or Register to Ask a Question