LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Closed Thread
  Search this Thread
Old 05-12-2008, 02:12 PM   #1
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Create SMTP server with Sendmail - Using mc files


Hello all,

I am using Solaris 10 1/06 on a SPARC machine (SunFire T1000)

I want to set up a SMTP server for my network. What I am trying to do is have my server to "talk directly" to the recipient's email server without going through a relay (i.e. if a user sends an email to a gmail account...I want my server to "talk" DIRECTLY with gmails SMTP server...not send it to a relay).

I tried to do this but it's still going through the relay. Here is an example when I did a mail -v (this is just a "pieice of the output):

Code:
354 Enter mail, end with "." on a line by itself
>>> .
050 <henry1982@gmail.com>... Connecting to bizmail.sbcglobal.net. via relay...
As you can see it's still relaying...

Here is a sample of my .mc file
Code:
divert(0)dnl
include(`../m4/cf.m4')
VERSIONID(`@(#)sendmail.mc      1.11 (Sun) 06/21/04')
OSTYPE(`solaris8')dnl
MASQUERADE_AS(`host.com')dnl
FEATURE(`masquerade_envelope')dnl
define(`confFALLBACK_SMARTHOST', `bizmail.sbcglobal.net.')dnl
MAILER(`local')dnl
MAILER(`smtp')dnl
NOTE: I changed the masquerade to host.com. But rest assured that my "real"
domain is in the file.

Thanks,

-C
 
Old 05-12-2008, 02:22 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
Old 05-12-2008, 02:40 PM   #3
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by custangro View Post

As you can see it's still relaying...
Just to be sure: Aren't you using the /etc/mail/submit.cf file by accident ?

Regs.
 
Old 05-12-2008, 03:21 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
please don't reply to threads marked as duplicates.
 
Old 05-13-2008, 08:34 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is closed because it is a duplicate of http://www.linuxquestions.org/questi...config-641704/.
 
  


Closed Thread



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail can't send to my smtp-server boggiTBU Linux - Server 1 09-03-2007 05:22 AM
can I use sendmail for SMTP instead of my ISP's SMTP server? fcdev Linux - Networking 1 02-05-2007 01:27 AM
Can one configure sendmail to use an SMTP server? laggerific Linux - Software 1 02-16-2006 10:49 AM
Help! Can I install an smtp Server/(sendmail) on my firewall? mfeoli Linux - Networking 4 02-12-2004 09:19 AM
How to configure sendmail to use other smtp server? josealexandre Linux - Newbie 2 10-12-2003 05:09 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 08:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration