Results 1 to 7 of 7
  1. #1
    SendMail configuration

    Member Since
    Apr 09, 2010
    Posts
    4
    SendMail configuration
    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

  2. #2
    SendMail configuration
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    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.

  3. #3
    SendMail configuration

    Member Since
    Apr 09, 2010
    Posts
    4
    General hinding
    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

  4. #4
    SendMail configuration
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    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.

  5. #5
    SendMail configuration

    Member Since
    Apr 09, 2010
    Posts
    4
    Will post
    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.

  6. #6
    SendMail configuration

    Member Since
    Apr 09, 2010
    Posts
    4
    Thumbs up Found 'em
    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

  7. #7
    SendMail configuration
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. help with configuration
    By halfmonkey in forum Apple Desktops
    Replies: 7
    Last Post: 05-16-2011, 12:24 PM
  2. Configuration
    By summer_days in forum Apple Notebooks
    Replies: 1
    Last Post: 01-03-2009, 05:21 PM
  3. Configuration
    By Zivi in forum Apple Notebooks
    Replies: 3
    Last Post: 02-16-2008, 05:01 AM
  4. OT- Any Redhat Sendmail Experts
    By scdsteffes in forum Running Windows (or anything else) on your Mac
    Replies: 3
    Last Post: 09-08-2007, 11:06 AM
  5. Help with Configuration
    By stevez0r in forum Apple Desktops
    Replies: 2
    Last Post: 12-18-2006, 03:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •