I'm trying to send email from a Redhat 5.1 server (uses sendmail) but it's failing with a DNS issue. The server name on my DNS is "server.domain.com" but on the system it's showing "serverj.domain.com" - I have tried resolving that issue and given up. Anyhow, my mail bounces back saying "Domain of sender address
root@serverj.domain.com does not exist." I got sendmail running but I haven't configured anything on sendmail. Is there any way to resolve this issue by reconfiguring sendmail somehow?
Thanks.