problem with sendmail configuration, please!
It's my first postmail in this forum, I hope you will help me. :D
I've got a Redhat 9 Linux server.
I have installed Sendmail, as better as I can. I'm novice. The smtp is smtp.cacahouete.
The hostname is entreprise.localdomain. I want to send an email from @entreprise.localdomain to the addresse @cacahouete, but it doesn't work.
this is the error
Deferred: 450 : Sender address rejected: Domain not found
I see that with webmin:
<destinataire@cacahouete 220 mta2.sddfs.mayonn.net
>>> EHLO entreprise.localdomain
>>> MAIL From:<firstname.lastname@example.org> SIZE=580
>>> RCPT To:<destinataire@cacahouete>
450 <email@example.com>: Sender address rejected: Domain not found
<destinataire@cacahouete>... Deferred: 450 <firstname.lastname@example.org>: Sender address rejected: Domain not found
554 Error: no valid recipients
If I send an email from the server with the address @cacahouete to @cacahouete, it works.
If I send an email with the address @entreprise.localdomain to any address (except @cacahouete) it works.
Otherwise I haven't an Domain name I type domainame in the console
If someone can says me where is the problem, he will be my gourou. Thank you.
Sorry I'm french so it's very hard to speak english very well.