Link to home
Start Free TrialLog in
Avatar of wfaleiro
wfaleiroFlag for India

asked on

Sendmail masquerading on Solaris 10

Hi,
I need to setup the return address of the box on a Solaris 10 system to be user@domainname.com.
On Linux, I configured a null client setup using /etc/mail/submit.mc.

I guess the same does work on solaris. I tried an alternative approach by adding the following line to /etc/mail/sendmail.cf.


#####################################
###   SMTP Mailer specification   ###
#####################################

R$+                     $@ $1 < @ $m >          add @domainname.com
## R$+                  $@ $1 < @ *LOCAL* >             add local qualification


But now I get this error

/etc/mail/sendmail.cf: line 1335: invalid rewrite line "R+                     @ 1 < @ m >          add @domainname.com" (tab expected)

ASKER CERTIFIED SOLUTION
Avatar of PsiCop
PsiCop
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wfaleiro

ASKER

No solution obtained from the above posts. Kindly refund the points or split between posts.

Thanks,
--Walter