Solved

Sendmail sendmail.cf need and recommended options

Posted on 1998-11-24
14
329 Views
Last Modified: 2013-12-16
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
0
Comment
Question by:andrewmchorney
  • 10
  • 2
  • 2
14 Comments
 
LVL 4

Expert Comment

by:davidmwilliams
ID: 1812385
 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.
0
 
LVL 2

Expert Comment

by:blowfish
ID: 1812386
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
0
 

Author Comment

by:andrewmchorney
ID: 1812387
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.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:andrewmchorney
ID: 1812388
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.
0
 

Author Comment

by:andrewmchorney
ID: 1812389
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.
0
 

Author Comment

by:andrewmchorney
ID: 1812390
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.
0
 

Author Comment

by:andrewmchorney
ID: 1812391
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.
0
 

Author Comment

by:andrewmchorney
ID: 1812392
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.
0
 

Author Comment

by:andrewmchorney
ID: 1812393
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.
0
 

Author Comment

by:andrewmchorney
ID: 1812394
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.
0
 

Author Comment

by:andrewmchorney
ID: 1812395
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
0
 
LVL 2

Expert Comment

by:blowfish
ID: 1812396
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.
0
 
LVL 4

Accepted Solution

by:
davidmwilliams earned 10 total points
ID: 1812397
My email address is andrew.mchorney@gdesystems.com

I built a sendmail.cf file using the following :

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

The message I am getting when sending email from another workstation to this one is Remote protocol error and in the message I have the following error message : Sender domain must exist

I am certain that I am real close to having this completely working.

Thanks,
Andrew


0
 

Author Comment

by:andrewmchorney
ID: 1812398
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
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
pauing printer deamon in AIX 10 61
llcommand 6 92
Try to Setting up Static IP Address on Raspberry Pi 2 model B but get problems 7 100
Unix/bash: scripted arithmetic 13 99
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question