08-04-2009
It's not clear what your script is doing.
You say you receive mail, so are you fetching mail, maybe via POP?
Is it your own personal mail, or are you a system admin with root access?
Are you calling a command line mail utility like mail, mailx, or nail? Or some other software?
Are you using a shell script or perl or something else?
I have mail questions too, so I'm interested in what you are trying to do.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to compress (zip) a flat file and mail the same as an attachment.
I had tried the following piece of code. But when i open the attachment in mail, the data is incorrect (displays all junk characters).
tar cf abc.tar abc.txt
compress abc.tar
uuencode abc.tar.Z abc1.wri | mailx -s... (0 Replies)
Discussion started by: gayath3
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I need to compress (zip) a flat file and mail the same as an attachment.
I had tried the following piece of code. But when i open the attachment in mail, the data is incorrect (displays all junk characters).
tar cf abc.tar abc.txt
compress abc.tar
uuencode abc.tar.Z abc1.wri | mailx... (4 Replies)
Discussion started by: gayath3
4 Replies
3. Shell Programming and Scripting
I have a Unix server with SunOS 5.8 installed on it. I have set a cron job which will send mail across the two different networks. As of now i can only send mails to the abc.com who owns the server but would also like to send it to xyz.com is there any setting or parameter wherein i need to add... (2 Replies)
Discussion started by: nimish
2 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I have a requirement for which i need to create an aliase for an username(userid) .
suppose the user name is "sanjay.sahoo@localhost.localdomain " . If i will send to any user from this userid then all of them will see from: "the alias of the userid not the... (1 Reply)
Discussion started by: sanjay.login
1 Replies
5. Shell Programming and Scripting
Hi,
I have a file lets say FILE1.
FILE1
------
name,age
charlie,25
harry,29
david,32
Pls help me writing a mailing script.... which will mail the content of file in the body of the mail & it will look something like below in two columns.
name age
charlie 25
harry 29... (1 Reply)
Discussion started by: 46019
1 Replies
6. Shell Programming and Scripting
Hi All,
I have a comma separated file as below.
file-1
----------
a,b,c
d,e,f
g,h,i
.
.
.
I want to send the above file in Mail in HTML format with all the values of each column in separate cells i.e. the body of the mail should be in tabular format & each field should be separate... (2 Replies)
Discussion started by: 46019
2 Replies
7. UNIX for Dummies Questions & Answers
is there any option to mail the value from top command directly to the user.. i want the value of cpu usage from six different servers to be send in a single mail..
thanks,
Arun Manas:b: (3 Replies)
Discussion started by: arunmanas
3 Replies
8. Shell Programming and Scripting
Hi,
I am totally New to This Scripting Area.We have developed some reports in Bo and User need those reports to be sent through Unix Server (SFTP).
Can any one provide me script for transfering File from one location to other with the requirement like if that file fails to reach destination... (4 Replies)
Discussion started by: Sashanth_S
4 Replies
9. UNIX for Dummies Questions & Answers
Hi Folks ,
I have one query I traverse to a location where logs are being made daily, Now I want that a particular log in that logs directory to be get mailed to me automatically at a particular time on daily basis at my mail id, Please advise the command for that..
for ex the directory is... (7 Replies)
Discussion started by: SankalpS
7 Replies
10. UNIX for Advanced & Expert Users
Hi Folks,
I have an application which logs get continuously refreshed and made after every 1 second , I want that those logs get mailed to me at my email id sara@somewhere.com
The location is
cd /var/log/abc/log
Please advise the command so that I can mail abc.log at my mailid inbox... (2 Replies)
Discussion started by: SankalpS
2 Replies
LEARN ABOUT OSF1
mailusradm
mailusradm(8) System Manager's Manual mailusradm(8)
NAME
mailusradm - Administer User Mail
SYNOPSIS
/usr/sbin/sysman mailusradm [-ui cui [cuioptions] | gui [x resources]]
OPTIONS
Specifies the user interface to be invoked. The choices are: Invokes the command line interface. Invokes the graphical user interface.
Specific command line options that will be used to interact. Specifies the standard X11 resource options. For more information, see the
X(1X) reference page
DESCRIPTION
The Mail User Administration application is used by the system administrator to administer the mail system. Specifically, the mail adminis-
trator can change the mail service type of a single user, a group of users, or all the users on a local system. The mail administrator can
also delete defunct mail user accounts.
The mail service types are: Local Mail Post Office Protocol (POP), which is designed to allow single user computers to retrieve electronic
mail from a POP server. The POP server might be a computer with a permanent Internet connection where its clients might connect to it only
occasionally. Internet Message Access Protocol (IMAP), which is a protocol that allows a client to access and manipulate electronic mail
messages on a server. IMAP allows the manipulation of remote message folders known as mailboxes. IMAP has operations for creating, delet-
ing, and renaming mailboxes; for checking for new messages; for permanently removing messages; for searching; and for selective fetching of
message attributes, text, and other portions. It does not specify a means of posting mail; a mail transfer protocol, such as SMTP, handles
this function.
Furthermore, the mail administrator can specify the use of mail passwords on users under POP and IMAP.
mailusradm has two user interface options: Graphical user interface (GUI) Command line interface (CUI)
Running the Graphical User Interface Option:
The mailusradm application can be invoked from:
The CDE Application Manager Application Group: System_Admin Desktop_Apps Subgroup: Configuration
To start mailusradm from the command line, enter: /usr/sbin/sysman mailusradm -gui
Running the Command Line Interface Option:
To start the mailusradm command line interface, enter the following command from the terminal: /usr/sbin/sysman mailusradm -ui cui [cuiop-
tions]
RESTRICTIONS
You must have the appropriate privileges to use this application.
FILES
Mail User Administration application Help Volume
SEE ALSO
Commands: cyradm(1), dtmail(1), imapd(8), mailauth(8), mailconfig(8), popd(8)
System Administration
mailusradm(8)