Operating System - HP-UX
1829549 Members
2192 Online
109992 Solutions
New Discussion

How can i start sendmail?

 
SOLVED
Go to solution
Manuales
Super Advisor

How can i start sendmail?

how can i start sendmail?

sendmail: accepting connections on port 25

thanks.
3 REPLIES 3
Manuales
Super Advisor

Re: How can i start sendmail?

i tried as follows:
cd /sbin/init.d/
./sendmail stop
No sendmail server running
sendmail stopped
./sendmail start

(nothing happens)

unix02:/etc/mail->mailq
Mail Queue (4 requests)
--Q-ID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
VAA01237 (no control file)
VAA01232 (no control file)
VAA02344 (no control file)
VAA02559 (no control file)

what could be happening?
the syslog.log nothing says about this ...

please let me know.
thanks.
Ivan Ferreira
Honored Contributor
Solution

Re: How can i start sendmail?

Go to the /etc/rc.config.d directory and check the mailservs file configuration, please see:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=973651
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1159697

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Aneesh Mohan
Honored Contributor

Re: How can i start sendmail?

Hi,

Add a record to /etc/hosts reflecting the exchange servers IP address and name.
10.10.1.36

- Update a record in /etc/mail/sendmail.cf to include the Exchange servers name, in the file search for the following line then add your Exchange server name after DS.
# "Smart" relay host (may be null)
DS

- Restart sendmail:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

- If you already haven't, you may need to configure your DNS so when you send to outside addresses it can resolve the name. Thats just a matter of adding your DNS server to /etc/hosts and adding a record to /etc/resolv.conf.

For checking :

sendmail -d8.99 -d38.99 abc@yahoo.com