10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
2. Solaris
Hi,
I installed some packages required by an app built with python.
But when I try python setup.py install, I get the following error:
/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32'
Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies
3. UNIX for Advanced & Expert Users
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies
4. Shell Programming and Scripting
hi,
Please suggest me how to mention "from" option in mailx command?
mailx -s "Info " ssa@org.com < file (2 Replies)
Discussion started by: sreelu
2 Replies
5. Shell Programming and Scripting
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Discussion started by: mr_manny
2 Replies
6. Shell Programming and Scripting
Hello Everyone,
I'm using UNIX 5.3, I'm using command line mailx or mail command to send emails to multiple email addresses and i need to include bcc (background corbon copy). Some Manuals says i can use -b flag to send to bcc but my unix does not recognize the flag "-b". And some manuals says... (1 Reply)
Discussion started by: aravindbachu
1 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: mars_girish9
1 Replies
8. Shell Programming and Scripting
Hi all,
I am parsing command line options using getopts.
The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument.
Below is the script:
while getopts :hd:t:s:l:p:f: opt
do
case "$opt" in
-h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies
9. HP-UX
Hi,
I am getting illegal option error while using -c to CC in mail.
command used:
mailx -s "Report" -c xyz@abc.com < /tmp/report
Machine: HP UX.
Please help me out.
Looking you forward.
Thanks in Advance.
Jagadeesh. (3 Replies)
Discussion started by: bjagadeesh
3 Replies
10. Shell Programming and Scripting
hi all
i have a file in unix which is of html format.wat should be the commnad to mail this to a specific mail id let's say abc.xyz@maildomain.com. (3 Replies)
Discussion started by: dr46014
3 Replies
mail.local(1M) System Administration Commands mail.local(1M)
NAME
mail.local - store mail in a mailbox
SYNOPSIS
/usr/lib/mail.local [-f sender] [-d] recipient
DESCRIPTION
mail.local reads the standard input up to an end-of-file and appends it to each user's mail file (mailbox). This program is intended to be
used by sendmail(1M) as a mail delivery agent for local mail. It is not a user interface agent.
Messages are appended to the user's mail file in the /var/mail directory. The user must be a valid user name.
Each delivered mail message in the mailbox is preceded by a "Unix From line" with the following format:
From sender_address time_stamp
The sender_address is extracted from the SMTP envelope address (the envelope address is specified with the -f option).
A trailing blank line is also added to the end of each message.
The mail files are locked with a .lock file while mail is appended.
The mail files are created with mode 660, owner is set to recipient, and group is set to mail. If the ``biff'' service is returned by get-
servbyname(3SOCKET), the biff server is notified of delivered mail. This program also computes the Content-Length: header which will be
used by the mailbox reader to mark the message boundary.
OPTIONS
The following options are supported:
-f sender Specifies the "envelope from address" of the message. This flag is technically optional, but should be used.
-d Specifies the recipient of the message. This flag is also optional and is supported here for backward compatibility. That
is, mail.local recipient is the same as mail.local -d recipient.
-l Turn on LMTP mode.
-r from Specify the sender's name (for backward compatibility).
-7 Do not advertise 8BITMIME support in LMTP mode.
-b Return a permanent error instead of a temporary error if a mailbox exceeds quota.
OPERANDS
The following operand is supported:
recipient The recipient of the mail message.
ENVIRONMENT VARIABLES
TZ Used to set the appropriate time zone on the timestamp.
EXIT STATUS
The following exit values are returned:
0 Successful operation.
>0 An error occurred.
FILES
/tmp/local.XXXXXX temporary files
/tmp/lochd.XXXXXX temporary files
/var/mail/user_name user's mail file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
SEE ALSO
mail(1), comsat(1M), sendmail(1M), getservbyname(3SOCKET), attributes(5)
SunOS 5.10 11 Apr 1997 mail.local(1M)