cancel
Showing results for 
Search instead for 
Did you mean: 

mail problem

SOLVED
Go to solution
Fadia Almarei
Super Advisor

mail problem

Dear All

I have Redhat Enterprise Linux v.4 server,i use the cron job to do the backup but i could not receive the log for it on my root mail,i get this mail as in the attachement ,so how to solve this.

BR,
Fadia
fadia.marei
3 REPLIES
Stuart Browne
Honored Contributor
Solution

Re: mail problem

Modify your '/etc/hosts' file and add the entry 'ora1.localdomain' to the line starting with '127.0.0.1'.

This should fool the mail subsystem to deliver it locally properly..
One long-haired git at your service...
renarios
Trusted Contributor

Re: mail problem

Hi Fadia,

The easiest way is to change your /etc/hosts.
The first line should be:
127.0.0.1 localhost.localdomain ora1
With that, ora1 will be an alias for localhost and the domain will be localdomain.

Cheers,

Renarios
Nothing is more successfull as failure
Fadia Almarei
Super Advisor

Re: mail problem

thanks all, the problem solved
fadia.marei