08-01-2008
1)Make sure that the server has a Fully Qualified Domain Name (FQDN).
2)route ADD "network" MASK "subnet mask" "gateway ip"
3)make sure you have mailhost defined in your naming system (local files, NIS, NIS+, DNS, etc.).
Our change was to the sendmail.cf file as follows:
1. Peform the following on the subject systems.
# cd /etc/mail/cf/cf
# cp sendmail.mc `hostname`.mc
# cp submit.mc `hostname`.submit.mc
2. modify `hostname.mc as follows:
Change the current entry, listed below, to reflect the new entry listed
below:
Current entry:
define(`confFALLBACK_SMARTHOST', `mailhost$?m.$m$.')dnl
New entry:
define(`SMART_HOST', `mailhost$?m.$m$.')dnl
3. After the change:
# make `hostname`.cf `hostname`.submit.cf
4. Make a backup of the existing sendmail files in /etc/mail.
# cd /etc/mail
# cp sendmail.cf sendmail.cf~
# cp submit.cf submit.cf~
5. Copy the newly edited files.
# cd /etc/mail/cf/cf
# cp `hostname`.cf /etc/mail/sendmail.cf
# cp `hostname`.submit.cf /etc/mail/submit.cf
restart sendmail daemon/service
10 More Discussions You Might Find Interesting
1. IP Networking
I want to send e-mail from my yahoo account.
But
mail -s "title" *@yahoo.com < line.txt
is from my local address to *@yahoo.com.
How can i do this? (1 Reply)
Discussion started by: Euler04
1 Replies
2. UNIX for Advanced & Expert Users
Hi all,
I need to send mail to a particular email id using a local mail server.This mail shall contain the content of a file. I don't have any idea how to do it. Can anyone guide me ,where to start proceeding for it. Any guide or study material would appreciated. (1 Reply)
Discussion started by: amit_kv1983
1 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I was trying to configure SMTP server with my linux box. I made changes to the /etc/mail/sendmail.cf whereby editing the line
DAEMON_OPTIONS(`Port=<port number>,Addr=<mail server name>, Name=MTA')dnl
after this ive created a new sendmail.cf file by using the command
m4... (4 Replies)
Discussion started by: amit_kv1983
4 Replies
4. Windows & DOS: Issues & Discussions
Hi I need to send email from batch script, using SMTP from my exchange server. Can any one send me command line of that should be non interactive.
I did using MAPISEND, but i should not use it for some reasons. I have to send this using SMTP for Microsoft Exchange Server.
mapisend -u... (2 Replies)
Discussion started by: mohantmk
2 Replies
5. Solaris
I want just to keep Solaris OS as my default OS .
I have installed linux and windows as well but all my critical data is stored on NTFS partition so question is how to mount HDD with NTFS on Solaris
(tried FUSE + NTFS-3g but that did`t worked for me system was down)
And why Solaris does not... (2 Replies)
Discussion started by: microbot
2 Replies
6. UNIX for Dummies Questions & Answers
Hello to all,
My company has installed CW LMS 3 on a Solaris 10 server. I want to configure the system as a mail server, so that it sends an e-mail when a network incident occurs. I have created a user account and I have configured Thunderbird Mozilla to retrieve the e-mails. I have configured... (0 Replies)
Discussion started by: kadar
0 Replies
7. Shell Programming and Scripting
how to print a continuous trailing dot in output like ".........................." while a script is executing.
Can anyone help... (23 Replies)
Discussion started by: proactiveaditya
23 Replies
8. Solaris
hi, we are moving to dhcp from a static ip and i'm thinking which should best be the DHCP server? i have a windows 2003 server and a solaris 10 running on sun's m5000 server.
Note to pinoy43v3r: Your avatar was NSFW. We changed it. (5 Replies)
Discussion started by: pinoy43v3r
5 Replies
9. Shell Programming and Scripting
Here is the code:
<?php
//new function
function loadini($path) {
$fp = fopen($path, "r");
$fpcontents = fread($fp, filesize($path));
fclose($fp);
return $fpcontents;
}
$to = "test@test.com";
$nameto = "notme";
$from = "test";
$namefrom = "Who From"; ... (0 Replies)
Discussion started by: galford
0 Replies
10. Solaris
Hi all
I have a Live SMTP server for outbound mails ( Mail being sent from my organization to outside domains).
A large chunk of mails are not being sent and reside in /var/spool/mqueue directory.
The header of there mails are:
From: Mail Delivery Subsystem <MAILER-DAEMON>
How can I... (0 Replies)
Discussion started by: Junaid Subhani
0 Replies
LEARN ABOUT OPENSOLARIS
praliases
praliases(1) User Commands praliases(1)
NAME
praliases - display system mail aliases
SYNOPSIS
praliases [-C configfile] [-f aliasfile] [key]
DESCRIPTION
The praliases utility displays system mail aliases. When no key is given, praliases displays the current system aliases, one per line, in
no particular order. The form is key:value. If a key is given, only that key is looked up and the appropriate key:value is displayed if
found.
OPTIONS
The following options are supported:
-C configfile Specifies a sendmail configuration file.
-f aliasfile Reads the specified file aliasfile instead of the default sendmail system aliases file.
OPERANDS
The following operands are supported:
key A specific alias key to look up.
EXIT STATUS
The following exit values are returned:
0 Successful operation.
>0 An error occurred.
FILES
/etc/mail/aliases Default sendmail system aliases file
/etc/mail/aliases.db Database versions of the /etc/mail/aliases file
/etc/mail/aliases.dir Database versions of the /etc/mail/aliases file
/etc/mail/aliases.pag
/etc/mail/sendmail.cf Default sendmail configuration file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
SEE ALSO
mailq(1), newaliases(1M), sendmail(1M), attributes(5)
SunOS 5.11 29 Mar 2004 praliases(1)