I've configured sendmail.cf file and sent a test. Failed. /var/adm/messages log file showed "Unknown Domain" error. Added my domain to the sendmail.cf file and error went away but I still don't receive messages. And now there's no errors in the log file to point to another issue.
The log file in /var/spool/mqueue shows the message was accepted for delivery. Does this mean my relay server is holding up on my messages?
---------- Post updated at 10:03 AM ---------- Previous update was at 09:49 AM ----------
Actually it looks as though it was the mail server. I changed the relay server to another host and it worked.
Hello, all.
We currently have three UNIX boxes run Reliant Unix, a System V Release 4
variant. Mail can't be sent out of one of the boxes to anywhere outside the box.
For a client we use the mail command. I am not sure how to determine the message transfer daemon that is running.
When... (2 Replies)
hi all
I am not able to send mail from unix box to my mail id.
do i need to do any settings for that?
when i issue this command:-
mail -s "letter" <abc.txt
the $ pompt goes away and the unix is on wait state.
what should I do? (3 Replies)
Hi ,
I have already posted a post regarding this, but i didn't get my problem solve, so some body help me as it was urgent for me, my mail option is not working, when i send a mail, it is strucking in /var/spool/mqueue folder. and i am getting struck there itself, i see below two files are... (1 Reply)
Hi
I am trying to runmail command to send some text to my email id. But its getting hanged up.
Not sure what is the problem.
Please help.
mail -s "testing" abc@somearess.com
Thanks (1 Reply)
Hi hopefully I am in the right forum
I am trying to get mail working on a 15 year old server which has probably never been configured to work before
The server is on a network with TCP installed and the different servers on this network can all see each other with ping and rsh
when I try... (4 Replies)
#!/bin/bash
{
m()
$mail='("$someemail@gmail.com ", Cc:"$me" -t, Subject:"$emailmyself" -s, $someinputfile")'
}
what I am trying to do is create a function have it load when type the letter "m" so all have to do type an address after it send email. it tell me syntax on line 4 but which... (2 Replies)
Hi,
I have a fresh new installation of red hat linux. I am trying to send an email from the "mail" utility from inside my Linux box to my company id "xxx@company.com". We are using microsoft exchange server online version to host our company's email.
I am able to send emails to gmail and... (2 Replies)
Hi,
Mail command is not working.
mail -s "hello" abc@google.com < samplefile
I am new to BSD.what do i need to do? Please help.
Thnaks,
Gita.
Please use code tags next time for your code and data. (2 Replies)
Hi,
I'm trying to send mail with attachments using uuencode, but it doesn't work.
Command (also tried with mailx):
uuencode testfile testfile | mail emailadress
The email I get doesn't have an attachment, and has this in the message body:
begin 664 testfile
%=&5S=`H`
`
end
... (4 Replies)
Hello All,
we have got a new linux server where the mailx/sendmail/uuencode doesn't seem to be working.
The system admin guys have told me that they have configured the mail on port 25, the servers are in very secured zone which dont have internet connection hence i'm not able to understand... (1 Reply)
Discussion started by: Mahesh_RPM
1 Replies
LEARN ABOUT SUNOS
smrsh
smrsh(1M) System Administration Commands smrsh(1M)NAME
smrsh - restricted shell for sendmail
SYNOPSIS
smrsh -c command
DESCRIPTION
The smrsh program is intended as a replacement for the sh command in the prog mailer in sendmail(1M) configuration files. The smrsh program
sharply limits commands that can be run using the |program syntax of sendmail. This improves overall system security. smrsh limits the set
of programs that a programmer can execute, even if sendmail runs a program without going through an alias or forward file.
Briefly, smrsh limits programs to be in the directory /var/adm/sm.bin, allowing system administrators to choose the set of acceptable com-
mands. It also rejects any commands with the characters: ,, <, >, |, ;, &, $,
(<RETURN>), or
(<NEWLINE>) on the command line to pre-
vent end run attacks.
Initial pathnames on programs are stripped, so forwarding to /usr/ucb/vacation, /usr/bin/vacation, /home/server/mydir/bin/vacation, and
vacation all actually forward to/var/adm/sm.bin/vacation.
System administrators should be conservative about populating /var/adm/sm.bin. Reasonable additions are utilities such as vacation(1) and
procmail. Never include any shell or shell-like program (for example, perl) in the sm.bin directory. This does not restrict the use of
shell or perl scrips in the sm.bin directory (using the #! syntax); it simply disallows the execution of arbitrary programs.
OPTIONS
The following options are supported:
-c command
Where command is a valid command, executes command.
FILES
/var/adm/sm.bin directory for restricted programs
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsr, SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO sendmail(1M), , attributes(5)SunOS 5.10 6 Nov 1998 smrsh(1M)