The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   UNIX - Newcomers (http://hintsforums.macworld.com/forumdisplay.php?f=15)
-   -   Sendmail => AppleMailServer (http://hintsforums.macworld.com/showthread.php?t=12223)

kfaulhaber 06-30-2003 10:54 PM

that could be why. type 'which m4' and if it returns a path to m4, then there you go. if it returns 'command not found' then you need the developer tools. i didn't think to ask that.

mervTormel 06-30-2003 10:56 PM

m4 is of the dev tools:
Code:

$ grepbom /usr/bin/m4
............................/usr/bin/m4 97,892  Fri Nov 22 15:07:35 2002
  ====> /Library/Receipts/DevTools.pkg/Contents/Archive.bom


l008com 06-30-2003 10:56 PM

:eek: It said /usr/bin/m4 !!!!!!

l008com 06-30-2003 10:58 PM

Keep in mind I'm running 10.2 Server, not "standard" 10.2

kfaulhaber 06-30-2003 10:59 PM

well, now that's pretty funny. we've confirmed that m4 is part of the dev tools, and yet you haven't installed them and your machine thinks it's got it. try "ls -al /usr/bin/m4" and see if is really there.

l008com 06-30-2003 11:01 PM

Result
Code:

-rwxr-xr-x  1 root  wheel  97892 Dec 19  2002 /usr/bin/m4

kfaulhaber 06-30-2003 11:10 PM

well, that confirms that you do indeed have m4 installed, which means that all or part of the dev tools got installed at some point. and none of this is affected by having 10.2 Server. try "m4 --help" and it should print a quick list of options.

l008com 06-30-2003 11:14 PM

I'm so dumb. I didn't notice that I was no longer SSH'd into my server, it must have timed out or something? Well my server does indeed NOT have m4 installed, so I need the dev tools for that? I'll install that tomorrow night and pick up this thread where we left off. You've been very helpful so far, please keep on helping :D

kfaulhaber 06-30-2003 11:19 PM

:)
i've done the opposite. issued commands on local files over SSH! good luck.

l008com 06-30-2003 11:21 PM

I wish SSH had like, colors or something :-D

kfaulhaber 06-30-2003 11:31 PM

never tried this myself, but someone else has a way to do just that:

http://www.macosxhints.com/article.p...30213071650891

mervTormel 06-30-2003 11:32 PM

why not just copy the m4 executable to your server rather than install the entire dev tools?

l008com 06-30-2003 11:34 PM

because I don't wanna get caught short handed every again.

mervTormel 06-30-2003 11:38 PM

... to be able to move forward and focus on your current problem. you can install the dev tools later.

l008com 07-01-2003 11:46 PM

OK i did installed the Dev tools and ran the m4 thing and got the file and everything worked great. But it appears that I still can't send email to anyone but myself, though sendmail. :-( Now what?

kfaulhaber 07-02-2003 12:07 AM

1) how did you configure sendmail?
2) what showed up in /var/log/mail.log?
3) what does 'sendmail -bp' say?

l008com 07-02-2003 12:10 AM

I configured it using exactly what you said in the beginning, the log from today looks like so...
Code:

Jul  1 03:15:01 PowerMac-Dual533 sendmail[1168]: NOQUEUE: SYSERR(root): /etc/mail/sendmail$
Jul  1 03:15:01 PowerMac-Dual533 sendmail[1168]: gethostbyaddr(192.168.0.2) failed: 3
Jul  1 03:15:01 PowerMac-Dual533 sendmail[1168]: gethostbyaddr(10.0.2.1) failed: 3
Jul  1 03:15:02 PowerMac-Dual533 sendmail[1168]: gethostbyaddr(10.0.0.1) failed: 3

and 'sendmail -bp' gives me...
Code:

johnm% sendmail -bp
/etc/mail/sendmail.cf: line 93: fileclass: cannot open '/etc/mail/local-host-names': Group writable directory


kfaulhaber 07-02-2003 12:25 AM

see if this makes a difference: copy submit.cf to sendmail.cf:
Code:

sudo mv /etc/mail/sendmail.cf /etc/mail/sendmail.cf.old
sudo cp /etc/mail/submit.cf /etc/mail/sendmail.cf

i did this so long ago i forgot about the sendmail.cf file.

l008com 07-02-2003 12:36 AM

still nothing

kfaulhaber 07-02-2003 12:57 AM

first, make sure there are no sendmail processes running. those processes won't see the changes. after that, check the logs and sendmail -bp again. if you are still getting the same errors, send the .mc file you used.


All times are GMT -5. The time now is 10:25 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.