The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > OS X (Apple)
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-19-2009
airman_ole airman_ole is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 2
Question Postfix in Mac OS X 10.5 not working

I'm currently working on a project that would need to send email from my list of users.

Based on the search I've done, I could send formatted email from my server using Postfix.

I setup my mac adding a few lines below:

/etc/hostconfig
MAILSERVER=-YES-

/etc/postfix/main.cf

$myhostname = localhost
$mydomain = localhost

I try to send to my local using the command below.

mailx -s "test" user@localhost
the body
.

I can successfully send an email to my local mail.

Howerver, I could not send an email to gmail.com.

How can i setup my postfix to allow me to send email to gmail?

Your help will be greatly appreciated.

Regards

Rolly