Operating System - HP-UX
1748118 Members
3433 Online
108758 Solutions
New Discussion юеВ

Re: sendmail reply againt configuration.

 
SOLVED
Go to solution
Rajendra prasad NVR
Frequent Advisor

sendmail reply againt configuration.

My hpunix server is configured to act as relay agent. versio is B.11.11
in /etc/mail/sendmail.cf configured as
DSimsints03.sls.acs-inc.com

send mail is working fine but when i try to restart sendmail giving below error.

(ggux11:/etc/mail)# /sbin/init.d/sendmail start
Sendmail server is disabled, You cannot start it manually using
sendmail script.

I had newly taken this server to support. Wordering how this mail are going wihtout sendmail is started up.

Pleae let me by what service this mail is forwarding to relay server. If i need to restarted the service how i can do that .

Thanks in advance.
6 REPLIES 6
Shibin_2
Honored Contributor

Re: sendmail reply againt configuration.

Follow bwlow steps:
#vi /etc/rc.config.d/mailservs

Change below parameter
SENDMAIL_SERVER=1

#/sbin/init.d/sendmail start

Let me know, if any issues.
Regards
Shibin
Rajendra prasad NVR
Frequent Advisor

Re: sendmail reply againt configuration.

Without doing the above step sendmail relay again is working fine. I am able to send mails.

My doubt is how this is working without sendmail service start.
Shibin_2
Honored Contributor

Re: sendmail reply againt configuration.

Your sendmail is working because, you have already started the services.

This will enable your service to start automatically, when your system start up.

#vi /etc/rc.config.d/mailservs

Change below parameter
SENDMAIL_SERVER=1

If you keep the parameter SENDMAIL_SERVER=0, sendmail service won't start automatically. You have to start it every time manually, when your server restarts.

Hope you got the point.

Once you edited the file and changed the parameter, stop and start the service.

# /sbin/init.d/sendmail stop

# /sbin/init.d/sendmail start
Regards
Shibin
Rajendra prasad NVR
Frequent Advisor

Re: sendmail reply againt configuration.

Thanks your very much for reply

But i tested after executing below command
/sbin/init.d/sendmail stop
without stat also sendmail working and able to send mails.

Just curiouse to know how it was working.
Jayakrishnan G Naik
Trusted Contributor
Solution

Re: sendmail reply againt configuration.

Hi Rajendra,

I have simililar thing faced in my servers some time back where the servers send the alert mails to my official id but sendmail not configured either as a client or as a server on that server. The investigation concluded in identifying that there is no need of a daemon to be running on these servers to send the mail.

Few threads in itrc helped me to reach the conslusion. link to the threads are below

The sendmail binary can send mail without the daemon up.The binary will act according to the sendmail.cf configuration, so you can configure the server not to let mail off the system.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1020424

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=721781

Thanks & Regards
Jayakrishnan G Naik
Rajendra prasad NVR
Frequent Advisor

Re: sendmail reply againt configuration.

yes, i got answer though sendmail deamon not up we can send mail but not receive mails.