05-01-2002
Someone kept the old sendmail.cf from version 5 instead of learning how to load sendmail properly. You can either find 8.9.1 or download one of the newer version of Sendmail and start from scratch.
Keep the old information (the files I mentioned before to backup).
Once you get the newer version up and running, you can check that it is close to what you need by checking the output from the sendmail -d0.1 -bt < /dev/null from both versions. Make sure the "Compiled with" options are the same, make sure the timeouts and other options in the sendmail.cf are the same.
You will have to read the README's (all of them) to insure you set this up correctly.
The alias file should be in /etc/mail/. You can enter the command newaliases if it is there and see if that builds your aliases.db.
Any aliases you have should be kept.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
can someone tell me a shell-script to convert an older version of a file with the current one? (1 Reply)
Discussion started by: deeptia
1 Replies
2. Shell Programming and Scripting
How can I find out in UNIX the number of superusers logged in at a system at a given time??? (2 Replies)
Discussion started by: deeptia
2 Replies
3. HP-UX
I got my hands on a HP9000/380 and need a (really) old version of HP-UX, like 7 or 8.
Is there any vendor who sells older versions? I did a quick search here and checked the FAQ and HPs HP-UX site but couldn't find anything. :confused:
Any help is appreciated! (4 Replies)
Discussion started by: dlundh
4 Replies
4. UNIX for Dummies Questions & Answers
Can I install a HP-UX or IBM AIX in my home pc?. It is a Intel Pentium 4 of 64 bits.
Is there any version for me?. (5 Replies)
Discussion started by: kurt1978
5 Replies
5. Shell Programming and Scripting
Hello,
I read and search through this wonderful forum and tried different approaches but it seems I lack some knowledge and neurones ^^
Here is what I'm trying to achieve :
file1:
test filea 3495;
test fileb 4578;
test filec 7689;
test filey 9978;
test filez 12300;
file2:
test filea... (11 Replies)
Discussion started by: mecano
11 Replies
6. Solaris
How to know which versions we are using c, c++ in Solaris.
Thanks & Regards
Durgaprasad (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
7. Shell Programming and Scripting
Hi ,
I have versions something like 1.10.0 and 1.9.1 and i want to compare them.
I wrote sample program like below.
#!/usr/bin/perl
my $var1 = "1.10.0";
my $var2 = "1.9.0";
if ($var1 eq $var2)
{
print "EQUAL\n";
}
if ($var1 gt $var2)
{
print "GREATER $var1 $var2\n";
}
if ($var1 lt... (3 Replies)
Discussion started by: successlin
3 Replies
8. HP-UX
Lo guys, I've just started a new department in work and I'm going to be using HP-UX with Vi. The problem is I'm completely new to UNIX, I'm currently learning at work but I only have limited amounts of time on our dev systems. Is it possible to get a free/educational version any where? I don't... (4 Replies)
Discussion started by: john2012
4 Replies
9. UNIX for Advanced & Expert Users
I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back.
(reason: 530 5.7.1 Authentication required)
530 5.7.1 Authentication required
Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies
10. Solaris
Hi all,
I have read about sendmail running as 2 separate process.
1 as a MSP, and the other as the real daemon or MTA.
In my current configuration,
the sendmail-client is disabled.
Both submit.cf and sendmail.cf are left as default untouch
I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
LEARN ABOUT OPENSOLARIS
newaliases
newaliases(1M) System Administration Commands newaliases(1M)
NAME
newaliases - rebuild the data base for the mail aliases file
SYNOPSIS
newaliases
DESCRIPTION
newaliases rebuilds the random access data base for the mail aliases file /etc/mail/aliases.
newaliases accepts all the flags that sendmail(1M) accepts. However, most of these flags have no effect, except for the -C option and three
of the Processing Options that can be set from a configuration file with the -o option:
-C /path/to/alt/config/file
Use alternate configuration file.
-oAfile
Specify possible alias files.
-oLn
Set the default log level to n. Defaults to 9.
-on
Validate the RHS of aliases when rebuilding the aliases(4) database.
newaliases runs in verbose mode (-v option) automatically.
EXAMPLES
Example 1 Running the newaliases Command
The following command runs newaliases on an alias file different from the /etc/mail/aliases default in sendmail(1M):
example% newaliases -oA/path/to/alternate/alias/file
EXIT STATUS
newaliases returns an exit status describing what it did. The codes are defined in /usr/include/sysexits.h.
EX_OK Successful completion on all addresses.
EX_NOUSER User name not recognized.
EX_UNAVAILABLE Catchall. Necessary resources were not available.
EX_SYNTAX Syntax error in address.
EX_SOFTWARE Internal software error, including bad arguments.
EX_OSERR Temporary operating system error, such as "cannot fork".
EX_NOHOST Host name not recognized.
EX_TEMPFAIL Message could not be sent immediately, but was queued.
FILES
/etc/aliases Symbolic link to /etc/mail/aliases
/etc/mail/aliases.pag
/etc/mail/aliases.dir ndbm files maintained by newaliases
/etc/mail/aliases.db Berkeley DataBase file maintained by newaliases
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
SEE ALSO
sendmail(1M), aliases(4), attributes(5)
SunOS 5.11 14 Sep 2001 newaliases(1M)