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
mhmail(1mh)															       mhmail(1mh)

Name
       mhmail - send or read mail

Syntax
       mhmail [ addrs ...  ] [ options ]

Description
       The program is intended as a replacement for the standard mail programs, and See and for more details of these mail programs.  When invoked
       without arguments, it simply invokes to incorporate new messages from the user's maildrop.  When one or more users is specified, a  message
       is  read  from  the  standard  input  and spooled to a temporary file.  then invokes with the name of the temporary file as its argument to
       deliver the message to the specified user.

       Normally, people will use and to send messages.

Options
       -body text
		 Specifies the text of the message.  If it is specified, then the standard input is not read.

       -cc addrs Specifies addresses to be placed in the cc: field of the message.

       -from addr
		 Specifies the content of the From: header of the draft.  The address given is placed in the From:  field  of  the  message.   The
		 Sender: field is filled in correctly by

       -help	 Prints a list of the valid options for this command.

       -mts smtp Specifies  the  mail  system  over which mail is sent.  The only value allowed is smtp, which is the standard ULTRIX mail system.
		 Additional values are supported only for use with other mail systems.

       -subject text
		 Provides the text of the Subject: field of the message.

Restrictions
       Messages with a null body part will not be sent by You must include some body text in all messages to be sent by

       For this version, the -mts option only supports the value smtp.	Additional values are supported for use only with other mail systems.

Files
       Program to incorporate a maildrop into a folder.

       Program to deliver a message.

       Temporary copy of message.

See Also
       inc(1mh), post(8mh)

																       mhmail(1mh)
All times are GMT -4. The time now is 07:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy