07-09-2002
Here is something that might work, but I'm not gonna try it. So no money-back guarantees on this one...
Create a group called "nomail" or something and put titi in it.
Then do:
chgrp nomail /usr/lib/sendmail
chmod 4705 /usr/lib/sendmail
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
when sending the contents of a ascii file to the body of an email then sending it off. it seems sendmail is breaking up the lines with a "!" thus ruining the data. Has this ever happened to anyone?
i am guessing there is a line buffer limit in either the mail command or in sendmail itself.
... (3 Replies)
Discussion started by: Optimus_P
3 Replies
2. UNIX for Dummies Questions & Answers
Ok thats the Problem:
I'm logged in as user "cypher" on my FreeBSD 4.7 and sendmail worked fine but wenn i try to send an EMail as "tobi@provider.org" the mail arrive as "cypher@provider.org". I configured Sendmail with
genericstable "cypher tobi@provider.org"
virtusertable ... (3 Replies)
Discussion started by: Cyvver
3 Replies
3. Shell Programming and Scripting
Hai..I have one question in unix Shell script.Following is the script
System Configuration: lcpu=4 mem=8192MB
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy ... (1 Reply)
Discussion started by: sollin
1 Replies
4. UNIX for Advanced & Expert Users
gurus,
i need to know 2 things,
first: how can i send mail over the internet in case of system failures/crash?
second: how can i receive SMS alert on my phone in case of failures?
do i need to start any service on my box?
thanks & regards
abhijeet (1 Reply)
Discussion started by: abhijeetkul
1 Replies
5. Shell Programming and Scripting
I send an attachment 123.pdf using the below script:-
<< script content >>
#!/usr/bin/ksh
/usr/lib/sendmail -C sendmail.cf abc@gmail.com << END
Subject: HELLO
`uuencode 123.pdf 123.pdf`
END
However, the message I got in gmail look like:-
begin 644 123.pdf
... garbage ...
... many... (4 Replies)
Discussion started by: pok.fung
4 Replies
6. Solaris
Hi
I have two realtively identical Solaris zones. They both appear to have the same config in relation to sendmail. But, when I send a test email using mailx the first one sends via a mail relay and the other sends via localhost. I need them both to use the relay but can't figure out what is... (0 Replies)
Discussion started by: gregb
0 Replies
7. UNIX for Dummies Questions & Answers
Hi i am having a probleme with my sendmail server. using it as a mta to send out email.
keem on getting this error message back.
----- The following addresses had permanent fatal errors ----- <XXX@XXXX.co.za>
(reason: 554 Denied (Mode: normal))
----- Transcript of session... (1 Reply)
Discussion started by: sakie
1 Replies
8. Shell Programming and Scripting
Hello All,
I have been trying to execute a script to send me alerts using a log file of a job which can be success or failed. But when I try to send log as attachment using sendmail it does not not send any email but job runs fine. I am not able to debug it. Please help to get the correct code.... (1 Reply)
Discussion started by: Rossdba
1 Replies
9. Shell Programming and Scripting
Hi,
I am trying to send log file of a job run in unix machince through sendmail.Though I am able to send the text but it is not sending as attachment.
Could you please look into the code and let me know where I have gone wrong
fdate=`date %Y%j`... (2 Replies)
Discussion started by: Rossdba
2 Replies
LEARN ABOUT OPENSOLARIS
check-permissions
check-permissions(1M) System Administration Commands check-permissions(1M)
NAME
check-permissions - check permissions on mail rerouting files
SYNOPSIS
/usr/sbin/check-permissions [login]
DESCRIPTION
The check-permissions script is intended as a migration aid for sendmail(1M). It checks the /etc/mail/sendmail.cf file for all configured
alias files, and checks the alias files for :include: files. It also checks for certain .forward files. For each file that check-permis-
sions checks, it verifies that none of the parent directories are group- or world-writable. If any directories are overly permissive, it is
reported. Otherwise it reports that no unsafe directories were found.
As to which .forward files are checked, it depends on the arguments included on the command line. If no argument is given, the current
user's home directory is checked for the presence of a .forward file. If any arguments are given, they are assumed to be valid logins, and
the home directory of each one is checked.
If the special argument ALL is given, the passwd entry in the /etc/nsswitch.conf file is checked, and all password entries that can be
obtained through the switch file are checked. In large domains, this can be time-consuming.
OPERANDS
The following operands are supported:
login Where login is a valid user name, checks the home directory for login.
ALL Checks the home directory of all users.
FILES
/etc/mail/sendmail.cf Defines environment for sendmail
/etc/mail/aliases Ascii mail aliases file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
getent(1M), sendmail(1M), aliases(4), attributes(5)
SunOS 5.11 10 Nov 2003 check-permissions(1M)