Link to home
Start Free TrialLog in
Avatar of andrewmchorney
andrewmchorney

asked on

Sendmail sendmail.cf need and recommended options

I just assigned to install and configure sendmail for a Solaris system. I have never configured sendmail before. We are running Solaris 2.5.1 and using sendmail 8.9.1


The old sendmail.cf file that had been running had a lot of default settings set. What I am looking for is what is considered the minimum parameters for sendmail and what would be recommended parameters. The idea is to keep it simple but functional.

Thanks,
Andrew
Avatar of David Williams
David Williams
Flag of Australia image

 If you are using the m4 macros in the cf subdirectory of the sendmail source code package, then this is what I'd consider quite a minimal, but functional, .m4 file, which you can then convert into a .cf file using the m4 macro processor.

OSTYPE(hpux9)dnl
DOMAIN(CS.Berkeley.EDU)dnl
MAILER(local)
MAILER(smtp)

  Of course, you will need to modify the first two lines so they reflect your OS and your Internet domain.
The proposed answer is slightly wrong, as it specifies an OSTYPE of (hpux9), and a DOMAIN of (CS.Berkeley.EDU).  This combination is (as I remember), in one of the demo CF source files distributed with the sendmail source.  For Solaris you will want to change the OSTYPE to (solaris).  Also, you will probably want to set the DOMAIN to (generic).  I'm at home now, so I don't have access to my sendmail development system, but if this question is still available on Monday, I'll post a working Solaris CF source file.  

--frankf
Avatar of andrewmchorney
andrewmchorney

ASKER

I would appreciate a working cf file. I saw a generic one. I sent mail from one workstation to this one running 8.9.1 and got protocol error. I would like to have sendmail working well soon so I can get onto other assignments.
Blowfish - you did not read my answer properly, because I explicitly said 'Of course, you will need to modify the first two lines so they reflect your OS and Internet domain'.

AndrewMChorney - give me your email address, and I'll mail you my Solaris sendmail.cf file.
Blowfish - you did not read my answer properly, because I explicitly said 'Of course, you will need to modify the first two lines so they reflect your OS and Internet domain'.

AndrewMChorney - give me your email address, and I'll mail you my Solaris sendmail.cf file.
Blowfish - you did not read my answer properly, because I explicitly said 'Of course, you will need to modify the first two lines so they reflect your OS and Internet domain'.

AndrewMChorney - give me your email address, and I'll mail you my Solaris sendmail.cf file.
Blowfish - you did not read my answer properly, because I explicitly said 'Of course, you will need to modify the first two lines so they reflect your OS and Internet domain'.

AndrewMChorney - give me your email address, and I'll mail you my Solaris sendmail.cf file.
Blowfish - you did not read my answer properly, because I explicitly said 'Of course, you will need to modify the first two lines so they reflect your OS and Internet domain'.

AndrewMChorney - give me your email address, and I'll mail you my Solaris sendmail.cf file.
Blowfish - you did not read my answer properly, because I explicitly said 'Of course, you will need to modify the first two lines so they reflect your OS and Internet domain'.

AndrewMChorney - give me your email address, and I'll mail you my Solaris sendmail.cf file.
Blowfish - you did not read my answer properly, because I explicitly said 'Of course, you will need to modify the first two lines so they reflect your OS and Internet domain'.

AndrewMChorney - give me your email address, and I'll mail you my Solaris sendmail.cf file.
What I have done so far is just copy the generic solaris .cf file from the downloaded sendmail directory. What should the process be for setting up the configuration ?should I do something with the m4 files ?

Andrew
My email address is andrew.mchorney@gdesystems.com

To give you an idea as to what the current situation is :

I created a sendmail.cf file with the following sendmail.cf file.

OSTYPE(solaris2)dnl
DOMAIN(generic)
MAILER(local)
MAILER(smtp)

At the current moment, I am trying to send email from one sun workstation running standard sendmail to another with 8.9.1 When email is sent, I get a mail message back indicating "Remote protocol error". Upon reading the mail message it indicates that the sender domain must exist. I would assume that this is a simple error in my sendmail.cf file.

Thanks,
Andrew

P.S. I appreciate the help that I am getting.
ASKER CERTIFIED SOLUTION
Avatar of David Williams
David Williams
Flag of Australia 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
My email address is andrew.mchorney@gdesystems.com

Right now, I built a sendmail.cf file with a my.mc file containing :

OSTYPE(solaris)dnl
DOMAIN(generic)
MAILER(local)
MAILER(smtp)


When I send email to a user on this machine, I am getting a message back with a title of  "Remote protocol error". In the message, I see the following line of text :Sender domain must exist. I am sure that this error is real simple.

Thanks,
Andrew