Sponsored Content
Full Discussion: HPUx sendmail Question
Operating Systems HP-UX HPUx sendmail Question Post 302316251 by methyl on Thursday 14th of May 2009 01:25:14 PM
Old 05-14-2009
/usr/sbin is not in your $PATH variable.
Just specify the full name in the script:
/usr/sbin/sendmail
or
/usr/lib/sendmail
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Sendmail question

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

HPUX Routing Question

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

Sendmail question

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

Sendmail Question

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

Sendmail Question

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

sendmail question

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

HPUX - Sendmail and delete file

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

A question about HPUX PV link...

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

A little question: packaging for hpux

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

Compile sendmail on hpux

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
MAILER.CONF(5)						      BSD File Formats Manual						    MAILER.CONF(5)

NAME
mailer.conf -- configuration file for mailwrapper(8) DESCRIPTION
The file /etc/mail/mailer.conf contains a series of lines of the form name program [arguments ...] The first word of each line is the name of a program invoking mailwrapper(8). (For example, on a typical system /usr/sbin/sendmail would be a symbolic link to mailwrapper(8), as would newaliases(1) and mailq(1). Thus, name might be ``sendmail'' or ``newaliases'' etc.) The second word of each line is the name of the program to actually execute when the first name is invoked. The further arguments, if any, are passed to the program, followed by the arguments mailwrapper(8) was called with. The file may also contain comment lines, denoted by a '#' mark in the first column of any line. FILES
/etc/mail/mailer.conf EXAMPLES
This example shows how to set up mailer.conf to invoke the traditional sendmail(8) program: # Execute the "real" sendmail program located in # /usr/libexec/sendmail/sendmail sendmail /usr/libexec/sendmail/sendmail send-mail /usr/libexec/sendmail/sendmail mailq /usr/libexec/sendmail/sendmail newaliases /usr/libexec/sendmail/sendmail This example shows how to invoke a sendmail-workalike like Postfix in place of sendmail(8): # Emulate sendmail using postfix sendmail /usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail This example shows how to invoke a sendmail-workalike with Exim (from ports) in place of sendmail(8): # Emulate sendmail using exim sendmail /usr/local/sbin/exim send-mail /usr/local/sbin/exim mailq /usr/local/sbin/exim -bp newaliases /usr/bin/true rmail /usr/local/sbin/exim -i -oee This example shows the use of the mini_sendmail package from ports in place of sendmail(8). Note the use of additional arguments. # Send outgoing mail to a smart relay using mini_sendmail sendmail /usr/local/bin/mini_sendmail -srelayhost send-mail /usr/local/bin/mini_sendmail -srelayhost SEE ALSO
mail(1), mailq(1), newaliases(1), mailwrapper(8), sendmail(8) postfix(1) (ports/mail/postfix), mini_sendmail(8) (ports/mail/mini_sendmail) HISTORY
mailer.conf appeared in NetBSD 1.4. 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
October 8, 2010 BSD
All times are GMT -4. The time now is 04:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy