HPUx sendmail Question


 
Thread Tools Search this Thread
Operating Systems HP-UX HPUx sendmail Question
# 1  
Old 05-14-2009
HPUx sendmail Question

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
# 2  
Old 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
# 3  
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
# 4  
Old 05-15-2009
actually I am using mailx but having trouble making the cc (carbon copy) to work... just trying out send mail for alternative mail choice...Unix newbie here Smilie

Quote:
Originally Posted by bdittmar
Hello,

use mailx !

Regards
@methyl

I see thanks for letting me know Smilie
# 5  
Old 05-15-2009
Have you tried elm? (man elm...)
# 6  
Old 05-18-2009
How do you use mailx (script or shell ?)

Quote:
Originally Posted by makaveli
actually I am using mailx but having trouble making the cc (carbon copy) to work... just trying out send mail for alternative mail choice...Unix newbie here Smilie



@methyl

I see thanks for letting me know Smilie
Hello,

how do you use mailx ?

on shell, after SUBJECT input type .<CR> and you'll be able to use CC:a@b.com,b@b.com,c@c.com .....


Regards
# 7  
Old 05-21-2009
hmmm how do you do it on a script? mailx -s "Test" makaveli@domain.com < letter.txt

where do you put the .<CR>?


Quote:
Originally Posted by bdittmar
Hello,

how do you use mailx ?

on shell, after SUBJECT input type .<CR> and you'll be able to use CC:a@b.com,b@b.com,c@c.com .....


Regards
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question