Solved

config issues in Mac OS X.

Posted on 2002-05-15
6
330 Views
Last Modified: 2013-12-17
I have Mac PC. OS X has been installed in it. We have SMTP server. I am able to send mails using Lotus Notes. Now i want to send mails by sendmail. what configurations i have to do? I have seen /etc/mail/sendmail.cf. what should be written in it? sendmail is installed in by machine also.
0
Comment
Question by:rama_krishna
  • 2
6 Comments
 
LVL 15

Expert Comment

by:samri
ID: 7010731
rama,

The following webpage has some information on how to get Sendmail on Mac OS X, running.

http://www.bombich.com/mactips/sendmail.html

Yes, sendmail.cf should be around because that is the main configuration file for sendmail.  There should not be a need to tweak the entries unless something is not working.

Please try the proposed instruction, and let us know should there is any problem.

cheers.
0
 

Author Comment

by:rama_krishna
ID: 7012934
I have seen the site. To enable the senmail i did the change in hostconfig file.
MAILSERVER=-YES-
This site did not mention any changes to sendmail.cf file. Are they enough.
Actually i want to do it as command prompt.
$/usr/sbin/sendmail -t </Users/home/file1
and file1 will be like
To:name@experts.com
Subject: test
---------------
the site is saying
To use that mailserver, just set your email client's outgoing mailserver to "localhost" or "127.0.0.1". where should i do it? I will not be using any email client. I will send mail as mention above.
0
 
LVL 15

Accepted Solution

by:
samri earned 25 total points
ID: 7013021
I believe the command that you would be using should work.  By default sendmail will be trying to deliver the mail to the target SMTP server (by doing lookup for MX host for your recipient domain).  If you are connected directly to the internet (using public IP, or has some kind of NAT) this should work.  If you happens to have a relay (SMTP gateway) you need to check the DS option in sendmail.cf.

Please, have you tried to send mail via that command.

Make sure that mail goes out first, then we will proceed to tweak the config.  Most likely would be relaying the mail via some local relay (or mailhub), masquerading the address (so that the sender would not be your-login@yourmachine.subdomain.domain.com, or whatever)

Should there is any error, please let us know.

cheers.
0
 
LVL 5

Assisted Solution

by:markt9
markt9 earned 25 total points
ID: 7015423
It is exciting from a Open Source point of view to see Apple people running *nix stuff.

"I set mailserver=yes-" to activate sendmail...what is this world comming to.....Pretty soon we won't need a sendmail section on experts-exchange....


'The site is saying To use that mailserver, just set your email client's outgoing mailserver to "localhost" or "127.0.0.1". where should i do it?'

You are not using a email client with the command you quoted, you are using a mail program directly.  It should know already that it is the mail program.  Setting your machine as localhost or 127.0.0.1 mean pretty much the same thing and is pretty standard;  i bet osX does this by default, and you can just ignore this.

Go to a command prompt and do your:

/usr/sbin/sendmail -t </Users/home/file1

and make sure /Users/home/file1 contains:

To:name@experts.com
Subject: test
this is a test

.

and I would not be supprised it sends name@experts.com a message.....

Otherwise give us the error message you get.....

0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now