Operating System - HP-UX
1752790 Members
6405 Online
108789 Solutions
New Discussion юеВ

Re: Daemon sendmail doesn't start

 
SOLVED
Go to solution
U.SivaKumar_2
Honored Contributor
Solution

Re: Daemon sendmail doesn't start

Hi,
Ok do this.
#sendmail -bd -q10m
Now any errors ?
regards,
U.SivaKumar
Innovations are made when conventions are broken
Jordi Gras
Advisor

Re: Daemon sendmail doesn't start

Hi,

We received the follow message:

Jul 22 08:24:33 escp sendmail[3050]: /etc/mail/sendmail.cf: WARNING: dangerous write permissions

And finally started sendmail daemon.

Now that we can start the daemon, we tried to send a mail to Internet but doesn't work. Any ideas?

Thanks in advance,

Jordi
Take it easy...
U.SivaKumar_2
Honored Contributor

Re: Daemon sendmail doesn't start

Hi,
edit /etc/sendmail.cf
put you ip address of hono server in DS macro
like this,
DS[x.x.x.x]
where x.x.x.x is the ip address of hono server.
put this also in the same file.
Cwlocalhost hono escp yourdomain.com
Save the file and restart sendmail. Now you will be able to relay your mails to hono server
from where mails will be forwarded to internet.

regards,
U.SivaKumar


Innovations are made when conventions are broken
Jordi Gras
Advisor

Re: Daemon sendmail doesn't start

Hi,

We did the changes but without effect. These are the new entries on mail.log

Thank you in advance,

Jordi
Take it easy...
benoit Bruckert
Honored Contributor

Re: Daemon sendmail doesn't start

Hi Jordi,
First, about write permission, check authorization on /etc and /etc/mail, and /etc/mail/sendmail.cf (which should be read only !).
Second, about sending to internet, from your log, I can say you hahe a trouble with DNS. Can you resolve dns from your host to internet ?
There's some specific configs to make work sendmail wihout DNS (see www.sendmail.org).
If you have a DNS, it'll be quicker for you to configure your host as a DNS client.
Check it with nslookup ..
hope that help,
Benoit
Une application mal pans├йe aboutit ├а une usine ├а gaze (GHG)
benoit Bruckert
Honored Contributor

Re: Daemon sendmail doesn't start

Hi again,
You can follow this url, to know how to configure sendmail without DNS :
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa06d42308663d611abdb0090277a778c,00.html

Hope that help
Benoit
Une application mal pans├йe aboutit ├а une usine ├а gaze (GHG)
Jordi Gras
Advisor

Re: Daemon sendmail doesn't start

Hi,

I tried the changes without effect.

From escp server, we can't resolve Internet adresses. But from hono (SMTP server), we can send mails to Internet without any problem.
So, we are missing some configuration to send the mails to Internet from escp through hono.

Thanks in advance,

Jordi
Take it easy...
Stefan Farrelly
Honored Contributor

Re: Daemon sendmail doesn't start

2 ways to do this from server escp

1. echo test | mailx -s"" joe.bloggs%domain@hono

When the email gets to server hono it will change email address to job.bloggs@domain and will send out to the internet

2. edit the file /etc/mail/aliases on hono and add an entry like this;
temp : job.bloggs@domain

Save it and run newaliases. Now from server escp you can send to;
echo test | mailx -s"" temp@hono
and it will expand out to joe.bloggs@domain and go out to the internet.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Jordi Gras
Advisor

Re: Daemon sendmail doesn't start

Hi Stefan,

That's right, it works!

Thank you very much,

Jordi
Take it easy...