|
|
another problem
From the cmd line I type: mail -s "test message" protoplasm@ozone.com
message blah blah ^D It returns: send-mail: setgroups: Operation not permitted /Users/protsman/dead.letter... Saved message in /Users/protsman/dead.letter I look in /var/log/mail.log and find this: Jun 6 16:39:06 legolas sendmail[336]: g56Ld0pL000336: to=protoplasm@ozone.com, ctladdr=protplasm (501/20), delay=00:00:06, xdelay=00:00:00, mailer=relay, pri=30044, relay=localhost, dsn=5.1.2, stat=Host unknown (Name server: localhost: host not found) Anyone know what went wrong? (it worked before 10.1.5). Looking at an old log (before 10.1.5 update) I see a few differences. First, mailer in the old log says 'mailer=esmtp'; and second, relay says 'relay=smtp-mx.ozone.com'; and third, dsn says 'dsn=2.0.0'. And, of course, stat equals Sent in the old log. Any ideas why these are different? What did I miss?
another problem -- update
A clarification ... it looks like this is supposed to happen due to tighter security (perhaps???). Sending mail from the cmd line fails.
However, sending mail from a client (Mail.app, GNUMail.app) also returned an error. So, I modified my Sendmail script (/System/Library/StartupItems/Sendmail/Sendmail). I changed this line:
/usr/sbin/sendmail -C /etc/mail/submit.cf -q1h &
to this:
/usr/sbin/sendmail -bd -q1h &
So, I can now finally send email (again). I'm not certain why the first config doesn't work though.
Same here
I've been hacking the hell out of all the sendmail-related files I can find, wildly guessing at what their owners, groups, and perms should be. I now have something with the minimal errors, but unfortunately it's the most cryptic. send-mail: setgroups: Operation not permitted /Volumes/docs/joe/dead.letter... Saved message in /Volumes/docs/joe/dead.letter Wonderful. I have *no* clue what's happening here. setgroups (in the manpage) is a function to set the current program's group id. This looks like sendmail trying to sgid itself. Unfortunately, setgroups fails if the caller is not root - which it *should be* in the case of sendmail! Something is odd somewhere. I'm going to triple-check ownership and bits on the sendmail binary... Oh, and somewhere along the way I lost those excessive "mailer must be TCP or FILE" warnings. I don't know how I did it, but they've disappeared. Good riddance. |
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.43 seconds |
|