Can't send email from linux machine using sendmail
I get an error in the logs when I try to send to an internal email address in my domain from my linux PC (I took out my email address and replaced it with email@example.com):
Also played around a little with my access and linux.mc files but with no luck.
Any help would be appreciated.
Also I found a few people saying to edit a Sendmail.mc file and use m4 to rebuild but there is no such file on my system. I have a Linux.mc file which has a lot of the stuff the sendmail.mc should have so I assume it's the same file just different name. So should I use use the command:
m4 linux.mc > /etc/sendmail.cf
when I'm done editing?
When I try to restart the SMTP service it says:
"Initializing SMTP port (sendmail) failed"
So from there I changed the port in the Linux.mc file by removing "dnl" from the "DAEMON_OPTIONS(`Port=587,Name=MSA,M=E')" line because I thought maybe it was having a problem with the other exchange server running on port 25 but it still doesn't work. Do I need to recompile/rebuild the linux.mc file first before it applies changes?
Very confused as all the documentation I have found so far tells me I should be editing a sendmail.mc file yet there is none on my system.
EDIT: Could it be that sendmail is having trouble because of the exchange server? How would I use mailx with my exchange server instead of sendmail? It worked fine before I added this machine to the domain with the exchange server on it.
|All times are GMT -5. The time now is 06:12 AM.|