05-05-2005
Thanks. any idea on m4 binary
Thanks for your help. I read the article and found more about. Now I am following another instructions that using m4 to modify the sendmail.cf. But I am having problem to locate the m4 command. I use 'find' to search the m4 command from root / directory, but nothing find. But I do have m4 directory under /usr/share/sendmail/conf Do you have any idea where it is? Thanks again.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
problem: user 1 sends an email thru exchange to a unix box w/ 2 ip's and hostnames running sendmail. Email is marked sent to one address and deffered to the other. any ideas as to how to get them both marked as sent? actual error below. When email is sent to the 2nd host the email is proccessed... (2 Replies)
Discussion started by: Optimus_P
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have some problem with sendmail daemon.
Earlier it was working fine as I used to get alert mail through crontab jobs.
Two days back it stopped sending alert messages.
When I executed mail command from shell prompt, I could read all the pending messages, generated through crontab... (1 Reply)
Discussion started by: amit_sapre
1 Replies
3. Solaris
Hi, Can anyone pls. tell me how to access Active directory from solaris. I am looking at solution by which I can send mail notification from the logs generated by scripts, to the users on Exchange server. I am trying for a Perl-LDAP module , but don't realy know how to go for it (5 Replies)
Discussion started by: ganeshh
5 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I am new to this forums, so please be kind to me :)
Anyways, I have this problem when I am trying to send out email using sendmail.
I can send an email to gmail.com or other email host, but when I am trying to send an email to email address removed by moderator or anything to the... (2 Replies)
Discussion started by: iluvhk
2 Replies
5. UNIX for Advanced & Expert Users
How can i get sendmail to immediately bounce mail when the server on the other side gives a "550 unknown user" SMTP error? Currently, the outbound mail stays in the queue and is retried until our server gives up, some days later. (0 Replies)
Discussion started by: vertigo23
0 Replies
6. AIX
I get the following error while trying to send mail from my AIX box. I have cross checked the sendmail.cf file of this system with a working system (similar h/w and o/s) and found no difference. can somebody sugget??
/etc/sendmail.cf: line 98: readcf: map arith: class arith is not available... (1 Reply)
Discussion started by: gsabarinath
1 Replies
7. UNIX and Linux Applications
I am having intermittent problems with sendmail refusing to accept incoming emails. I have received emails from the same address in the morning only to have the same emails bounce back in the afternoon for no apparent reason.
Here is a sample of the email log.
Jun 2 17:25:36 songvestdev... (0 Replies)
Discussion started by: seanpeace
0 Replies
8. HP-UX
Hello,
I have the sendmail on HP Unix. The serve name is "abc" and the domain name is "xxx.com". Everytime I send out email, it always comes with root@abc.xxx.com not root@xxx.com.
I think there might be something wrong in sendmail configuration.
Can anybody please help to point it... (9 Replies)
Discussion started by: freebirdbj
9 Replies
9. Shell Programming and Scripting
Hi,
I have one file that needs to be send as attachment.
I am using the following command to send the mail.
echo "Subject: Test" | cat - file | sendmail -t abc@cca.com
But how can I put CC mail list in sendmail.
Can anybody help me out?
Thanks in advance..!
---------- Post... (0 Replies)
Discussion started by: Kattoor
0 Replies
10. UNIX for Advanced & Expert Users
For a project that I have been assigned to, I need to send emails to a business partner (business_partner.com) from one production server. However, my emails neither reach their destination nor bounce back to me.
Working with our business partner's IT support, the following error was discovered... (1 Reply)
Discussion started by: alan
1 Replies
LEARN ABOUT FREEBSD
smrsh
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/libexec/sm.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'', ``/home/server/mydir/bin/vacation'', and ``vacation''
all actually forward to ``/usr/libexec/sm.bin/vacation''.
System administrators should be conservative about populating the sm.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 sm.bin direc-
tory. Note that this does not restrict the use of shell or perl scripts in the sm.bin directory (using the ``#!'' syntax); it simply dis-
allows 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/libexec/sm.bin'').
FILES
/usr/adm/sm.bin - default directory for restricted programs on most OSs
/var/adm/sm.bin - directory for restricted programs on HP UX and Solaris
/usr/libexec/sm.bin - directory for restricted programs on FreeBSD (>= 3.3) and DragonFly BSD
SEE ALSO
sendmail(8)
$Date: 2013-11-22 20:52:00 $ SMRSH(8)