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
RHN_CHECK(8)							  Red Hat Network						      RHN_CHECK(8)

NAME
rhn_check - check for queued actions on RHN and execute them SYNOPSIS
/usr/sbin/rhn_check [-v] [--verbose] DESCRIPTION
rhn_check is a client program that connects to the Red Hat Network backend servers and retrieves information associated with the queued actions for this particular system. This script reads the digital server ID from /etc/sysconfig/rhn/systemid and uses that to identify the machine to the Red Hat Network. Upon successfull authentication, rhn_check will start processing the queued actions sequentially. ACTION TYPES
The following types of actions are currently processed by rhn_check: action type description () () refresh This action will refresh the hardware or software profiles of this machine with Red Hat Network. This fucntion is called as refresh(hardware) or refresh(rpmlist) new_systemid This action is used by the RHn Backend to update the Digital system ID of this machine with a new one. update_packages This action will trigger rhn_check into running a package update for a list of packages queued from the Red Hat Network. rhn_check will use modules from the up2date client to download the packages, solve dependencies and install the on the system. FILES
/etc/sysconfig/rhn/systemid The digital server ID for this machine if the system has been registered onto Red Hat Network. This file does not exist otherwise. /var/spool/up2date This directory is used by up2date to store package headers and RPM packages downloaded from Red Hat Network SEE ALSO
man pages for up2date(8) and rhnsd(8). AUTHORS
Cristian Gafton <gafton@redhat.com> Preston Brown <pbrown@redhat.com> ()
All times are GMT -4. The time now is 11:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy