New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

SendMail configuration


Post Reply New Thread Subscribe

 
Thread Tools
starone

 
Member Since: Apr 09, 2010
Posts: 4
starone is on a distinguished road

starone is offline
Hello,

I was asked by a friend to help them solve a problem with a CGI app running on a Mac server. While I have almost 30 years in software, the Mac has not been a significant part of my experience.

The issue concerns the applications sending of email notification as part of a process. I can see authentication failures in the "mail" console log. However, when I use Finder and Spotlight to try and find the file containing the email address and server listed in the error messages, the searches turn up nothing.

I can see from the code that the app is using SendMail ("Open ("bin/sendmail..."), but I can find the configuration or the directory. I read that SendMail is usually configured by a Root user and that the files may be hidden to other users. Is this likely? (I would just login as Root and check, but they are having trouble locating the password )

Thank you!!

Take care,
Scott
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
You didn't say which version of the server you are using. Apple has many documents online so perhaps something like the Snow Leopard Server docs will be helpful.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
starone

 
Member Since: Apr 09, 2010
Posts: 4
starone is on a distinguished road

starone is offline
Good point! .. the version is 10.5.4.

I will take a look, thank you.

I read posts about where the SendMail config info should be stored, but I don't see the directory or file on the server. Could the developer have setup the application while logged in as Root and set the directories so they can't be viewed by other users?

Thanks,
Scott
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
I haven't worked with OS X Server, but I think it may follow the desktop version convention of having root disabled. Apple has a lot of GUI tools to configure Server. By default on the desktop of OS X, the first created user is given administrator privileges.

The Finder and Spotlight are probably blind to the system folders of interest. Try using the 'find' command from within Terminal.

I would consider calling the developer for any passwords and path knowledge. There should be some bloody documentation. Your friend needs to tighten up his ship.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
starone

 
Member Since: Apr 09, 2010
Posts: 4
starone is on a distinguished road

starone is offline
Thank you very much for the info. I'll use the terminal find approach and post back if this leads me to the information.

I have been out of development for a while, but your point is excellent. I don't know the person who wrote the app, but you're right, documentation is key.
QUOTE Thanks
starone

 
Member Since: Apr 09, 2010
Posts: 4
starone is on a distinguished road

starone is offline
Using this method did reveal the information I was looking for.. thank you. You'd think they would just put a bloody check box in the options so no one would have to deal in the ick of the Unix command line workd

Take care,
Scott
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
There is a way to allow Finder to browse those folders, but I can't remember how to change that default. It is probably a command line to set it.

You can choose from the Go menu under Finder 'Go to Folder...' and enter a path.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks

Post Reply New Thread Subscribe


« i2c communications | A couple xCode questions »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Did Apple ever release a MacBook Pro with this configuration? Messy Apple Notebooks 12 03-12-2010 05:16 PM
Deleting a VPN Configuration aujman iOS and Apps 1 07-17-2008 12:25 AM
x11 configuration file help ScKaSx OS X - Development and Darwin 1 10-16-2007 07:24 AM
extract proxy configuration from .pac script sdebrois OS X - Development and Darwin 0 06-17-2007 01:46 PM
Restore it from original configuration nseawater OS X - Apps and Games 1 05-16-2007 01:04 PM

All times are GMT -4. The time now is 04:36 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?