05-14-2009
man sendmail !
Quote:
Originally Posted by
makaveli
why is that I need to go to /usr/sbin> in order to run send mail
how can I run sendmail where ever folder I'm in...
e.g. like
/stuff/games/sendmail
ksh: sendmail: not found
Hello,
use mailx !
Regards
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm using sendmail to send a attachment which works good. I send the To Cc Subject Attachment. Question is does anyone know how to put a voting botton in the script when sending the email I want the Approve;Reject button. (2 Replies)
Discussion started by: Dan Savarino
2 Replies
2. IP Networking
We have an HPUX machine that is having a routing problem. Any traffic sent on the local network (same switch) works fine. However, when we try to send traffic to any other ip the machine NAT's the ip to that of the gatway and nothing goes any further.
For example if I try to ping 10.1.1.1 from... (3 Replies)
Discussion started by: robanic
3 Replies
3. UNIX for Dummies Questions & Answers
Hello to all,
I configured sendmail on a solaris 9 system the same as another server that the one I configured will replace. I transferred all the required files from the original system to the new one as well ar the /var/mail directory. The sendmail daemon is running however when I try to... (4 Replies)
Discussion started by: GLJ@USC
4 Replies
4. Solaris
Hi Guys,
Quick question re sendmail and mail queues.
If the sendmail deamon is stopped i.e. set up to execute and stop at certain intervals from crontab, and the sendmail command is invoked the mail is queued in the clientmqueue directory. Then the next time sendmail is executed the mails... (2 Replies)
Discussion started by: KenLynch
2 Replies
5. Solaris
Yes Folks,
Quick question. Is it possible to send multiple attachments with sendmail and if so how? Thinking here in terms of sending multiple .pdf files as attachments. I can do it with one but how do I do it for multiples.
Slainte, (1 Reply)
Discussion started by: KenLynch
1 Replies
6. Solaris
Hello all,
On my solaris 9 I have this process running
smmsp 29138 1 0 Apr 17 ? 0:00 /usr/lib/sendmail -Ac -q15m
root 29137 1 0 Apr 17 ? 0:00 /usr/lib/sendmail -q15m
if i use the command /usr/bin/mconnect
connecting to host localhost (127.0.0.1), port... (0 Replies)
Discussion started by: Hugues
0 Replies
7. Shell Programming and Scripting
Hi,
I am logging the output of bdf command to a file called /tmp/bdfoutput in HPUX server. I want a mail to be sent at 11.55 PM everyday and then the file needs to be rolled over as /tmp/bdfoutput.1 , /tmp/bdfoutput.2 ....etc and the new file has to be created.
Please assist in getting the... (1 Reply)
Discussion started by: PrasannaKS
1 Replies
8. HP-UX
Are "/dev/dsk/c58t6d7" and "/dev/dsk/c94t0d4" assigning to a same disk?
results of "vgdisplay -v"
PV Name /dev/dsk/c58t6d7
PV Name /dev/dsk/c94t0d4 Alternate Link
PV Name /dev/dsk/c75t6d7 Alternate Link
PV Name ... (1 Reply)
Discussion started by: JoyOnLine
1 Replies
9. UNIX for Advanced & Expert Users
Simple question: how to package from source in hpux?
On Linux slackware i Use configure,make,make install DESTDIR=$pkg,etc..
and then makepkg -l y -c n.
Is possible something similar on hpux?
I want to create a depot for samba because,the official
doesn't had the winbind pam,and the package on... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
10. HP-UX
The sendmail on hp site is too old,and still support the bugged ssl3(poodle) even if enable tlsv1.
So i decide to compile sendmail by myself
i use this site.config.m4
define(`confCClibsmi', `gcc -fPIC')
define(`confCC',`/usr/local/bin/gcc -fPIC')
define(`confOPTIMIZE', ` -O3')... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
LEARN ABOUT FREEBSD
mailwrapper
MAILWRAPPER(8) BSD System Manager's Manual MAILWRAPPER(8)
NAME
mailwrapper -- invoke appropriate MTA software based on configuration file
SYNOPSIS
Special. See below.
DESCRIPTION
At one time, the only Mail Transfer Agent (MTA) software easily available was sendmail(8). As a result of this, most Mail User Agents (MUAs)
such as mail(1) had the path and calling conventions expected by sendmail(8) compiled in.
Times have changed, however. On a modern UNIX system, the administrator may wish to use one of several available MTAs.
It would be difficult to modify all MUA software typically available on a system, so most of the authors of alternative MTAs have written
their front end message submission programs so that they use the same calling conventions as sendmail(8) and may be put into place instead of
sendmail(8) in /usr/sbin/sendmail.
sendmail(8) also typically has aliases named mailq(1) and newaliases(1) linked to it. The program knows to behave differently when its
argv[0] is ``mailq'' or ``newaliases'' and behaves appropriately. Typically, replacement MTAs provide similar functionality, either through
a program that also switches behavior based on calling name, or through a set of programs that provide similar functionality.
Although having drop-in replacements for sendmail(8) helps in installing alternative MTAs, it essentially makes the configuration of the sys-
tem depend on hand installing new programs in /usr. This leads to configuration problems for many administrators, since they may wish to
install a new MTA without altering the system provided /usr. (This may be, for example, to avoid having upgrade problems when a new version
of the system is installed over the old.) They may also have a shared /usr among several machines, and may wish to avoid placing implicit
configuration information in a read-only /usr.
The mailwrapper utility is designed to replace /usr/sbin/sendmail and to invoke an appropriate MTA instead of sendmail(8) based on configura-
tion information placed in ${LOCALBASE}/etc/mail/mailer.conf falling back on /etc/mail/mailer.conf. This permits the administrator to con-
figure which MTA is to be invoked on the system at run time.
Other configuration files may need to be altered when replacing sendmail(8). For example, if the replacement MTA does not support the -A
option with mailq(1), daily_status_include_submit_mailq should be turned off in /etc/periodic.conf.
FILES
Configuration for mailwrapper is kept in ${LOCALBASE}/etc/mail/mailer.conf or /etc/mail/mailer.conf. /usr/sbin/sendmail is typically set up
as a symbolic link to mailwrapper which is not usually invoked on its own.
EXIT STATUS
The mailwrapper utility exits 0 on success, and >0 if an error occurs.
DIAGNOSTICS
The mailwrapper will print a diagnostic if its configuration file is missing or malformed, or does not contain a mapping for the name under
which it was invoked.
SEE ALSO
mail(1), mailq(1), newaliases(1), mailer.conf(5), periodic.conf(5), sendmail(8)
HISTORY
The mailwrapper utility first appeared in NetBSD 1.4 and then FreeBSD 4.0.
AUTHORS
Perry E. Metzger <perry@piermont.com>
BUGS
The entire reason this program exists is a crock. Instead, a command for how to submit mail should be standardized, and all the "behave dif-
ferently if invoked with a different name" behavior of things like mailq(1) should go away.
BSD
August 27, 2014 BSD