Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring sendmail on LAN

Status
Not open for further replies.

grega

Programmer
Feb 2, 2000
932
GB
Looking for at least an "in theory it's possible" answer :)

I have a box running Solaris 2.6. Sendmail is running but I haven't touched it since installation (i.e. I can send mail to users set up on the box, but that's it).

The box is connected to our LAN, on which we run MS Exchange + Outlook clients. Is there a way to configure my sun box so that I can send mail to my Outlook account?

A pointer in the right direction would be great.

Greg.
 
Hi all

I am facing a strange problem.
I am using a sun ultra10 spark machine.
first i took a 20gb IDE hard disk and installed solaris 5.8.
But due to some requirement i have to reinstall the OS but this time solaris 2.6.
and now the hard disk capacity is only showing 8gb.

Where the 12gb gone
i could not find any reason.
please help.
sd i remove the hard disk format it in NT environment and i will get 20gb?

please suggest
Thanks
Prafulla
 
jeez ... I thought someone had replied ... :)

Greg.
 
Hi,

I don't know if this will help but here are the, very basic, notes I was given to overcome the problem on-site here :-

To allow Sun Solaris 7 unix servers to send email, via sendmail, the following changes need to be made to the /etc/mail/sendmail.cf file.

 Within the “local info” section
 modify the “my official domain name” entry
from #Dj$x.Foo.COM
to Dj$w.norwebtelecom.com
 modify the “Smart relay host” entry
from Dsmailhost.$m
to DSmail
 Within the “Options” section
 After the entry “name resolver option” add a new entry (to stop DNS being used) -
#Don’t use DNS
O ResolverOptions=-DNSRCH
 Modify the “who (if anyone) should get extra copies of error messages” by removing the # symbol at the beginning of the “O PostMasterCopy=Postmaster” entry so that it is no longer a comment and will be actioned.
 Modify the “SMTP initial login message (old $e macro)” by adding a # symbol to the beginning of the “O SmtpGreetingMessage=$j Sendmail $v/$Z; $b” entry so that it will be treated as a comment and not processed

Once you have done this you will have to modify your hosts file to include the mail gateway and the stop and start sendmail.

Best of luck
 
Many thanks alray ... I look into it.

Greg.
 
if you want to keep it simple and don't want to change "/etc/mail/sendmail.cf", you can create an alias called "mailhost" in your /etc/hosts file (assuming that nsswitch.conf " has "hosts: files dns", files first)., eg:
if your mail server ip address is aaa.bbb.ccc.ddd then in
"/etc/hosts":

aaa.bbb.ccc.ddd mailhost

because "mailhost" is used by default in sendmail.cf configuration file if routing to your mailserver is okay and sendmail is running, then this should work, you can test with :
# mailx -v youremailaccount@yourdomain

Regards,

Carlos Almeida
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top