LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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


Reply
  Search this Thread
Old 06-09-2016, 08:41 AM   #1
algernon_z
Member
 
Registered: Apr 2006
Location: Amsterdam
Distribution: Solaris 9, Solaris 10, OpenIndiana, Cisco IOS, RedHat Linux, CentOS
Posts: 39

Rep: Reputation: 0
"Sendmail-on-Solaris" question


Hello
I 've got a "Sendmail-on-Solaris" question.

I have set up a sendmail configuration to send email from a Solaris host via a Linux smarthost to the final destination.
Therefore I 've setup a sendmail submit.cf which indeed connects to the smarthost, but.... in the process the recipient name is rewritten to another RCPT name (which by the way is "root@solarismachine.domain.local").
But root@solarismachine.domain.local is the sender!

So, if I do test like
echo "Subject: sendmail test" | sendmail -v existing.user@domain1.com
The email is sent TO root@solarismachine.domain.local (which arrives at the smarthost).

What do I do to have the sendmail client accept the RCPT of the existing user?

The submit.mc looks like this:
Quote:
divert(0)dnl
VERSIONID(`$Id: submit.mc,v 8.6.2.4 2002/12/29 03:54:34 ca Exp $')
define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
FEATURE(allmasquerade)
FEATURE(masquerade_envelope)
FEATURE(`msp', `[179.21.122.89]')dnl
define(`SMART_HOST',`179.21.122.89')
MASQUERADE_AS(your.dom)


Hope to hear, tnx!.

Last edited by algernon_z; 06-09-2016 at 08:54 AM.
 
  


Reply



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
[SOLVED] A "DropBox" question, error: Can't sync:".directory":access denied. Robert.Thompson Slackware 4 08-25-2011 09:02 AM
OpenSSL / Sendmail verifies both "TLS cert" and "x509 cert" in client mode, why? fast-reflexes Linux - Server 0 09-12-2010 11:32 AM
2 specific Sendmail questions about "delay_checks" and "Connect:" in access.db fast-reflexes Linux - Server 0 08-05-2010 09:33 AM
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 04:08 PM
Sendmail/Crontab "Deferred" question Ionized Linux - Software 4 01-18-2003 02:07 AM

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

All times are GMT -5. The time now is 07:03 AM.

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