Sendmail Unknown user (has a valid domain)
Greetings all. I have a hopefully easy question for you gurus. I tried a search however my exact problem didn't come up.
I am using an internal company webserver and need the use of the sendmail feature for php pages. Sendmail.cf doesn't appear to be configured correctly tho. It was previously setup with the domain of "localhost.localdomain". I was unable to even use the command line mail without getting a mailer-daemon error. When I setup the domain to be a fully qualified domain name, it will work with local accounts that are on the machine, however it will not send internal mail to anyone other than those with an account on the box. For example the Cw line of my sendmail.cf is (for example-- not REALLY what it is, but its a fully qualified domain.): bobsbrakes.com I can do a command line "mail bob" and the message will be sent internally, assuming "bob" is a user on this particular machine. But if i try "mail bob2744@bobsbrakes.com" I get a message that states "Unknown user... saving copy of message to dead.letter" bob2744 is a valid email account for the company, however that physical account isn't located on this machine-- none of the email addresses are. This machine is ONLY a webserver for the company and all accounts/ email accounts are on other machines. It seems to be checking to see if bob2744 is a valid account on the webserver box and then returning an unknown user error instead of just sending it. I hope I was able to explain the problem clearly, however if I didn't, please let me know and I'll try to elucidate. Thanx very much for the help! Nico |
Can you post up your sendmail.mc file and what problem exactly do you want to ask?
|
I just found out that the sendmail on this machine has never been setup at all. This machine is on a large LAN that has it's own mail server. I would like to either get this computer to send mail through the mail server (mail.bobsbrakes.com) or (preferrably) send through this computer. If its easier to use the LAN mail server I'll just set it up like that. I tried using the SMART_HOST but it didn't work. What all files do I need to edit in order to get sendmail configured properly? Please help! Thanx a ton in advance!
Here is my sendmail.mc file. The question is, how can i get this sendmail to mail to internal addresses w/o giving this error (from the command line mail command): bob222@bobsbrakes.com... User unknown /root/dead.letter... Saved message in /root/dead.letter The email address is a valid email, but the account bob222 is not located on this computer. Code:
divert(-1) |
Well I have gotten it so this machien can send to any address EXCEPT for the domain bobsbrakes.com. Any ideas on why this might be occurring?
|
Sendmail woes
I am having this exact same problem. Did you find a solution?
|
All times are GMT -5. The time now is 09:16 AM. |