Sponsored Content
Full Discussion: Nail command error
Top Forums UNIX for Dummies Questions & Answers Nail command error Post 302826475 by bakunin on Wednesday 26th of June 2013 04:25:41 PM
Old 06-26-2013
Quote:
Originally Posted by Junaid Subhani
Code:
temporary mail message file: Permission denied

Why cant I send out Emails using nail command from this specific user? What seems to be the problem here?
Look at the error message above: it looks like this "nail" command prepares the mail in a temporary file before sending and the user "orasoa" is not allowed to write/create files where this is to happen.

Consult the documentation of the "nail" command about where it wants/needs to write these temporary files and give respective access rights to the user. Alternatively there might be a way to configure where "nail" writes these files. Configure it to use a path the user is allowed to write, then.

I hope this helps.

bakunin
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to send multiple attachment through "nail" command

Hi, I using the "nail" command to send an attachement,the command is : nail -s TEST -a $param/Result.html xyz@yahoo.com </dev/null but now my requirement is changed, I have to send two attachments,through the same mail.. :rolleyes: I have tried this: nail -s TEST -a $param/*.html... (1 Reply)
Discussion started by: Amey Joshi
1 Replies

2. Shell Programming and Scripting

nail set header

Hi all. I am kind a new in Linux, so please forgive me if some statements will be dumb. So for some unknown reason server I am working on is using nail command instead of mail and mailx. I have googled around and fined out that it is possible to set mail header using command mail and option -a.... (0 Replies)
Discussion started by: rvaitkus
0 Replies

3. UNIX for Dummies Questions & Answers

problem with character @ inside username to use pop3 with nail

Hi: I am trying to read mails using pop3 protocol with the nail client. I have configurated the following files: .mailrc set NAIL_EXTRA_RC=~/.nailrc .nailrc shortcut myisp pop3://developers@afinformatica.com@mail.afinformatica.com set... (2 Replies)
Discussion started by: chemi
2 Replies

4. Shell Programming and Scripting

Crontab not running "nail" in script

the script is in Perl... this is one part of it: $command = "echo \"$text\" | /usr/bin/nail -s \"My $text1\" $ccstr$addstr"; system("$command") if length($bodytext)>1; crontab runs the script and sends me notifications but i cant receive any mail that i wanted! I'm using the complete path... (1 Reply)
Discussion started by: yeean
1 Replies

5. Shell Programming and Scripting

HTML + Nail Command

Hello all I am trying to send an email to my Outlook from a Solaris 10 machine using a Nail command. The email is of HTML type but when I receive it in outlook, its in simple text format showing HTML tags as shown below: Command I am using: cat body.lst | /opt/nail-11.25/bin/nail -r... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies

6. AIX

I'm facing problem with rpm command, when running the command and appears this error:

exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors: 0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.1). 0509-150 Dependent module /opt/freeware/lib/libiconv.a(shr4.o) could not be loaded. 0509-152 Member... (4 Replies)
Discussion started by: Ohmkar
4 Replies
WRITE(1)						      General Commands Manual							  WRITE(1)

NAME
write - write to another user SYNOPSIS
write user [ ttyname ] DESCRIPTION
Write copies lines from your terminal to that of another user. When first called, it sends the message Message from yourname@yoursystem on yourttyname at time... The recipient of the message should write back at this point. Communication continues until an end of file is read from the terminal or an interrupt is sent. At that point write writes `EOT' on the other terminal and exits. If you want to write to a user who is logged in more than once, the ttyname argument may be used to indicate the appropriate terminal name. Permission to write may be denied or granted by use of the mesg command. At the outset writing is allowed. Certain commands, in particu- lar nroff and pr(1) disallow messages in order to prevent messy output. If the character `!' is found at the beginning of a line, write calls the shell to execute the rest of the line as a command. The following protocol is suggested for using write: when you first write to another user, wait for him to write back before starting to send. Each party should end each message with a distinctive signal--(o) for `over' is conventional--that the other may reply. (oo) for `over and out' is suggested when conversation is about to be terminated. FILES
/var/run/utmp to find user /bin/sh to execute `!' SEE ALSO
mesg(1), who(1), mail(1) 7th Edition November 27, 1996 WRITE(1)
All times are GMT -4. The time now is 05:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy