Solved

config issues in Mac OS X.

Posted on 2002-05-15
6
336 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

 Database Backup and Recovery Best Practices

Join Percona’s, Architect, Manjot Singh as he presents Database Backup and Recovery Best Practices (with a Focus on MySQL) on Thursday, July 27, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7). In the case of a failure, do you know how long it will take to restore your database?

Question has a verified solution.

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

Microsoft has released various new features which are capable of handling various tasks. One of these tasks is ‘Migration from pop3 to Exchange Server’. Pop3 data stores various data along mailboxes like contacts, tasks, etc. So, it becomes the need…
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
In this video we show how to create a Shared Mailbox 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 >> Sha…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

626 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