Sponsored Content
Top Forums Shell Programming and Scripting Outlook is getting hanged - sendmail Post 87988 by Just Ice on Sunday 30th of October 2005 04:59:27 PM
Old 10-30-2005
if you're just sending a text-formatted log file ... try
Code:
mailx -s "Your Subject" email.address@some.com < /dir/file.log

i don't think this is a sendmail issue --- the problem might be related to a non-printing character in the message that you sent ... try "hostname | mailx -v -s 'test' email.address@some.com" on the unix command line and see if it still hangs your outlook ... if no, check your log file entries for funky non-printing characters ... if yes, troubleshoot your sendmail install ...
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

System hanged. help required.

HI, I have a Fedora running box. I am not able to ping/login. I guess it got hanged. Can any one help me how to login to that box with out restart? (8 Replies)
Discussion started by: praveen_b744
8 Replies

2. Shell Programming and Scripting

While killing the process, Script gets hanged. Please help me on this.

Hi Everyone, I have written a script to automate the docbase cleanup process on every weekly basis. That is in this script i have to shutdown the docbase and then kill all the process that are hanged except one process(epic process) and need to delete some log files and then i have to start the... (8 Replies)
Discussion started by: Sheethal
8 Replies

3. Linux

Binary Get Hanged

Hi, In our product we have use binary that fork the child process to make proxy the connection to device.But recently when we try to connect new configured device several times it get handed and binary stop making further new connection to device.it required to RESTART the services to make... (1 Reply)
Discussion started by: Anand Prakash
1 Replies

4. UNIX and Linux Applications

Binary Get Hanged

Hi, In our product we have use binary that fork the child process to make proxy the connection to device.But recently when we try to connect new configured device several times it get handed and binary stop making further new connection to device.it required to RESTART the services to make binary... (1 Reply)
Discussion started by: Anand Prakash
1 Replies

5. Shell Programming and Scripting

Using sendmail to send Outlook Meeting invitation

Hi, I am using the following code to send mails to desired recipients about a batch job notification. ( echo "From:" "Database Server" echo "To:" ${MAILTO} echo "Subject: ${SUBJECT}" echo "MIME-Version: 1.0" echo "Content-Type: text/html" echo "Content-Disposition: inline" cat... (3 Replies)
Discussion started by: Sabari Nath S
3 Replies

6. Solaris

How to know about a hanged process

Hi, My process is visible in 'ps' command but actually it is not working or it got hanged. This process is not generating any log. Now How can I know that my process got hanged. Please help. (2 Replies)
Discussion started by: sanjay1979
2 Replies

7. Solaris

Unix solaris hanged, cannot get the application

Hi , I need your help on the my unix (solaris system was down) when i enter console login ans password could not opearte their application . i tried reboot many times but still same error was occurred. Please refer the attcahed file , how i need to solve this issue?:wall: I 'm not... (2 Replies)
Discussion started by: Thamil
2 Replies

8. Solaris

Multiple hanged FTP processes

Hello people, I got one problem with a script. I have a script which runs every five mins and in the script an ftp process is invoked which sends files to a particular location. The problem is that the ftp process hangs every now and then which causes the whole script to hang. As the... (4 Replies)
Discussion started by: m_usmanayub
4 Replies

9. UNIX for Advanced & Expert Users

Solaris Server getting hanged

Hi, I have recently changed the port speed to 1000 Mbps, auto negotiation ON from 100 Mbps auto negotiation OFF. At a particular time in the night, various other nodes FTP few big file to this node. At that particular moment when the other node start FTPing, the server becomes slow and is kind... (1 Reply)
Discussion started by: brij123
1 Replies
SMRSH(8)						      System Manager's Manual							  SMRSH(8)

NAME
smrsh - restricted shell for sendmail SYNOPSIS
smrsh -c command DESCRIPTION
The smrsh program is intended as a replacement for sh for use in the ``prog'' mailer in sendmail(8) configuration files. It sharply limits the commands that can be run using the ``|program'' syntax of sendmail in order to improve the over all security of your system. Briefly, even if a ``bad guy'' can get sendmail to run a program without going through an alias or forward file, smrsh limits the set of programs that he or she can execute. Briefly, smrsh limits programs to be in a single directory, by default /usr/lib/sendmail.d/bin/ allowing the system administrator to choose the set of acceptable commands, and to the shell builtin commands ``exec'', ``exit'', and ``echo''. It also rejects any commands with the characters ``', `<', `>', `;', `$', `(', `)', ` ' (carriage return), or ` ' (newline) on the command line to prevent ``end run'' attacks. It allows ``||'' and ``&&'' to enable commands like: ``"|exec /usr/local/bin/filter || exit 75"'' Initial pathnames on programs are stripped, so forwarding to ``/usr/bin/vacation'', ``/usr/bin/vacation'', ``/home/server/mydir/bin/vaca- tion'', and ``vacation'' all actually forward to `/usr/lib/sendmail.d/bin/vacation''. System administrators should be conservative about populating the /usr/lib/sendmail.d/bin/ directory. For example, a reasonable additions is vacation(1), and the like. No matter how brow-beaten you may be, never include any shell or shell-like program (such as perl(1)) in the /usr/lib/sendmail.d/bin/ directory. Note that this does not restrict the use of shell or perl scripts in the /usr/lib/sendmail.d/bin/ directory (using the ``#!'' syntax); it simply disallows execution of arbitrary programs. Also, including mail filtering programs such as procmail(1) is a very bad idea. procmail(1) allows users to run arbitrary programs in their procmailrc(5). COMPILATION
Compilation should be trivial on most systems. You may need to use -DSMRSH_PATH="path" to adjust the default search path (defaults to ``/bin:/usr/bin'') and/or -DSMRSH_CMDDIR="dir" to change the default program directory (defaults to ``/usr/lib/sendmail.d/bin/''). FILES
/usr/lib/sendmail.d/bin/ - default directory for restricted programs on SuSE Linux SEE ALSO
sendmail(8) $Date: 2004/08/06 03:55:35 $ SMRSH(8)
All times are GMT -4. The time now is 11:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy