04-21-2016
You don't need to change or rename any system programs.
Assuming that your application programs call 'mail' and not '/usr/bin/mail' then:
In your user .profile change the PATH statement to include '/usr/custombin' first.
Put your version of mail in /usr/custombin.
This seems significantly simpler than working with the sendmail configuration.
10 More Discussions You Might Find Interesting
1. Linux
i m doing project on LAN TELEPHONY in Red Hat linux
i have files as datbase to store the user name and passeord an all other information. Now i have thin client at my college. so to access /dev/dsp for audio is not possible on server.
So i have written code which run on /base since it has... (0 Replies)
Discussion started by: niravuchat
0 Replies
2. UNIX for Dummies Questions & Answers
Hello
Please someone guide me to configure sendmail.cf on AIX 5.3
The sendmail.cf version is 1.74( bos53A src/bos/usr/sbin/sendmail/sendmail.cf 1.74)
Thanks
Amruta (0 Replies)
Discussion started by: Amruta Pitkar
0 Replies
3. UNIX for Dummies Questions & Answers
Hi anyone knows how to Configuring Sendmail on /usr/lib/mail/cd on solaris 9?
i cannot find the sendmail.mc file and i not able to use m4 to compile!
Pls help Thanks
Summer (3 Replies)
Discussion started by: summerpeh
3 Replies
4. HP-UX
Hi,
I would like to change the domain name using sendmail.
For example, currently mails are sent like user@domain1.com
I would like to change it to user@domain2.com
How this can be done from HP-UX?
Your help is highly appreciated.
Thanks in advance. (0 Replies)
Discussion started by: smuthuvel
0 Replies
5. Linux
I need to configure an NTP daemon on a "bridge-PC" connected on 2 LANs. It is expected to read the correct time on a time server on the first LAN and behave as a server for the second LAN.
Can I do both the things with ntpd?
In other words, is ntpd able to work as client and server at the same... (3 Replies)
Discussion started by: bigjim33
3 Replies
6. Shell Programming and Scripting
Hi,
I have a script which check for the health of an application. In the end I want to attache a file to send the information to the user using sendmail.
How to configure sendmail in linux?How to attach a file and send it as a mail from script?
Ahamed. (3 Replies)
Discussion started by: ahamed
3 Replies
7. Solaris
Dear all,
We have SMTP server in our organization & i want to send e-mails from solaris machine using sendmail ... in which file i need to put the smtp server ip, username & passwd..
kindly help ....... (4 Replies)
Discussion started by: vishwanathhcl
4 Replies
8. UNIX for Dummies Questions & Answers
Seek help configuring Sendmail 8.14.4 Unix server.
Not sure if this is the correct place to post or the Unix/Linux Forums job board. Seeking help configuring sendmail 8.14.4 on my Unix server. It appears I have an open relay. I was advised I need to modify a etc/mail/dir , a command line entry... (0 Replies)
Discussion started by: raecampus
0 Replies
9. 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
10. UNIX for Beginners Questions & Answers
Hi,
I am using sendmail.
I need to do the following: Send all internal emails to one relay, send to a particular external domain via a relay that required authentication.
Could someone please advise on configuration? I tried one possibility but it failed.
Posting "Does not work" without... (2 Replies)
Discussion started by: mojoman
2 Replies
LEARN ABOUT MINIX
profile
profile(4) File Formats profile(4)
NAME
profile - setting up an environment for user at login time
SYNOPSIS
/etc/profile
$HOME/.profile
DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence.
/etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement
of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special
actions for the root login or the su command.
The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical
(except for the comments):
# Make some environment variables global
export MAIL PATH TERM
# Set file creation mask
umask 022
# Tell me when new mail comes in
MAIL=/var/mail/$LOGNAME
# Add my /usr/usr/bin directory to the shell search sequence
PATH=$PATH:$HOME/bin
# Set terminal type
TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid
while :
do
if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ]
then break
elif [ -f /usr/share/lib/terminfo/?/$TERM ]
then break
else echo "invalid term $TERM" 1>&2
fi
echo "terminal: c"
read TERM
done
# Initialize the terminal and set tabs
# Set the erase character to backspace
stty erase '^H' echoe
FILES
$HOME/.profile user-specific environment
/etc/profile system-wide environment
SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5)
Solaris Advanced User's Guide
NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most
global needs.
SunOS 5.10 20 Dec 1992 profile(4)