Solved

troubles with Postfix mail system on Solaris9

Posted on 2004-09-06
6
300 Views
Last Modified: 2013-12-27
dear,
my solaris 9 system included Sendmail package which was previously installed. In order to use Postifx, I removed sendmail with command packrm and install package Postifx2.1.4

When I removed sendmail, did I also accidently remove the mail root?
When the postfix mail system was ON and I sent several message, I always get "No mail program was found on your system"

Can you help
thanks alot
0
Comment
Question by:valleytech
  • 3
6 Comments
 
LVL 34

Accepted Solution

by:
PsiCop earned 250 total points
ID: 11992611
Possibly. I'm thinking you deleted /usr/bin/mail, which is the local delivery agent (LDA).

If the package is available to you, you could re-add it. You'd have to go disable sendmail in /etc/rc?.d, of course, but you'd get the LDA back. Or get the latest sendmail and build it and just install that portion.

Question of my own: How have you found Postfix vs. sendmail (assuming you were running sendmail v8.12.10 or later)? I was going to go with Postfix, but switched back to sendmail, which I've found to be highly configurable. I was having trouble building Postfix in a Solaris v8/gcc 3.3.2 environment.
0
 
LVL 38

Assisted Solution

by:yuzh
yuzh earned 250 total points
ID: 11993348
A lesson to learn from mistake, always perform a full system backup, in case something
happen, you can restore them from your backup media.

You can do as PsiCop, reinstall the packages from Solaris CD (better restore from backup
if you have one), or build the latest sendmail from source.

PsiCop, "I was having trouble building Postfix in a Solaris v8/gcc 3.3.2 environment", did you installed all the GNU tool with gcc (dependencies packages)? I normall installed gcc +make+  
zlib +_ libgcc + glib + openssl + libtool + libiconv +autoconf + automake + flex + boson from
Sun freeware, and when I use gcc, I set the path to use /usr/local/bin in front of anything
else.  (I remember I was having trouble with gcc3.0.3 for building MySql, and endup use
gcc2.95.x, I have used gcc3.3.2 without any problem).

valleytech, sorry about the "off topic".
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 11997663
yuzh,

Of your list, I only installed gcc, gnu make, zlib and OpenSSL. I haven't bothered with the other packages, and haven't needed them for anything else. Like you, I make extensive use fo the --prefix command-line option to ./configure
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 12358477
No objection.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

777 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