http://www.tijsseling.com/professional/xtipstop.html
It also explains why it did not work before.
Adriaan
|
|
|
I managed to set up sendmail as SMTP and have it actually start up properly during boot-time. The instructions can be found here:
http://www.tijsseling.com/professional/xtipstop.html It also explains why it did not work before. Adriaan
•
[14,135 views]
Hint Options
sendmail sending mail...how to receive?
got sendmail working. if i check my console logs it seems that the changing hostname from AUTOMATIC to my domain name still doesnt work correctly. is this a bug or the fact that im behind the firewall built into my router? (i have a home lan--my OS X box is on the subnet at 192.168.0.110. do i need a DNS server now?
sendmail sending mail...how to receive?
What does the line for hostname read in your /etc/hostconfig? It seems that it is set up incorrectly. Also, make sure it is a qualified hostname.
sendmail sending mail...how to receive?
thanks adriaan--
sendmail sending mail...how to receive?
I was having the same error in the mail log:
sendmail sending mail...how to receive?
thanks daemon--
sendmail sending mail...how to receive?
MacFixit's front page discusses hopw to set both NetInfo and hosts file. I'll include it all here. Also, check out the post preceeding it which gives a more detailed explanation of how to set-up NetInfo:
sendmail sending mail...how to receive?
thanks for the pointers...but one of those tips doesnt work. try this yourself:
sendmail sending mail...how to receive?
I think we have similar network setups. I have a mac on a router behind DSL modem. The router is set to listen to port 25. I have sendmail working, but I haven't yet set my website's MX record to point to my static ip address, so I can send mail from my mac, but I can't reply back to it (actually, my MX records are still pointing to my ISP's mail server, so I can get mail, just not through my server). My first question, then, are your MX records pointing to your static ip?
sendmail sending mail...how to receive?
FYI: i now have everything working. the key was that apparently sendmail looks to the /etc/hostconfig file for info about the hostname of the machine. because my machine is on an internal LAN, i entered "dualg4.mydomain.com" for the hostname. to further confuse matters, i had previously followed a tip for netinfo to add a value for the /machines record so that my internal IP address would resolve to my machine name. thus dualg4 = 192.168.0.110
sendmail sending mail...how to receive?
> anyways, the key (provided you have changed you MX records accordingly) is to set your hostname in
sendmail sending mail...how to receive?
thanks robh...
sendmail sending mail...how to receive?
>anyways, care to post your /etc/mail/local-host-names?
sendmail sending mail...how to receive?
Thanks for helping me get sendmail working. I did everything that was suggested, and the final piece was waiting for DNS to update my domain name to my new IP number.
sendmail sending mail...how to receive?
I've been using sendmail for both incoming and outgoing email for months now.
one last step...
After following these instructions, sendmail still wasn't working. I kept getting a message that it could not open /etc/mail/local-host-names because it is a world wrteable directory. I used chmod 755 /etc/mail without success. So instead I just edited /etc/mail/sendmail.cf and commented out the line that says Fw/etc/mail/local-host-names.
one last step...
A better fix to this problem is:
one last step...
Don't you mean to edit "/etc/mail/sendmail.cf"? I can find no reference to "#0 DontBlameSendmail=safe" in /etc/hostconfig, but "#0 DontBlameSendmail=safe" is located in the sendmail.cf file?
No luck
No effect. I changed:
No luck
I think a recent OS X update reset the permissions on mail-related files. My mail server was down for three or four days two weeks ago until I realized the permissions error was keeping sendmail from starting.
No luck
I think a recent OS X update reset the permissions on mail-related files. My mail server was down for three or four days two weeks ago until I realized the permissions error was keeping sendmail from starting.
No luck
You probably did this, but just in case: If sendmail was running while you made the change, you need to kick it.
# ps -auxww | grep sendmail # kill -1 pid pid is the numeric process ID from the ps output. Mr. Sharumpe
No luck
Disregard my previous post - you need to remove the # from the front of that line. The final result should read:
O DontBlameSendmail=GroupWriteableDirPathSafeMr. Sharumpe
new address
If you're just looking through this for the first time, the new web address for this site is: http://www.kung-foo.tv/xtips.shtml
sendmail on OS X
After going through all of these messages i finally got sendmail to work. The only problem is that I can't send from sendmail to anybody else in my organization. I can send outside of our network just fine. We have our email server on another machine. I am just trying to run send mail on our webserver to handle SMTP for some PHP scripts. It appears that sendmail is trying to accept mail from itself for anybody with the same domain name as the webserver. I have even tried setting our mail server address to handle all local traffic in the sendmail.cf file. Anybody have any ideas? Any help would be greatly appreciated
newer address
In case of problems, I noticed the URL is now: |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.50 seconds |
|