8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
2. Red Hat
Hello,
I integrated AD to CentOS 6 for authentication, I am seeing these samba error on the log messages, what configuration changes need to be updated inorder to get rid of these error messages.
Jan 16 14:53:21 HOSTNAME1 smbd: printing/print_cups.c:109(cups_connect)
Jan 16 14:53:21... (0 Replies)
Discussion started by: bobby320
0 Replies
3. UNIX for Dummies Questions & Answers
I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this:
$ look "string" "/home/patrick/filename.txt"
However, this gives me the following message:
"look: /home/patrick/filename.txt: File too large"
So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies
4. Solaris
A server that I am working on (SUN FIRE V240 , SOLARIS 10) doesn't boot because of a corrupted files system.
I tried to repair de file system, I also tried to to restore all the files systems with a backup of the server that I have but the message bellow appear
panic/thread=30002fc2060:... (8 Replies)
Discussion started by: feg
8 Replies
5. UNIX for Dummies Questions & Answers
The operating system is Solaris. There is a perl interpreter that is located at /opt/perl5.10.0/perl. when i give
ls -ltr /opt/perl5.10.0/perl
I get an error message saying that "/opt/perl5.10.0/perl Not a directory"
At the next instant when i give the same command it lists the properties of... (5 Replies)
Discussion started by: sreeharshasn
5 Replies
6. Forum Support Area for Unregistered Users & Account Problems
Hi all,
I am trying to register but it seems my IP address is being seen or black listed as a spam address.
I get the following message:
"Registration denied. Sorry, The UNIX and Linux Forums runs an active policy of not allowing spammers. Please contact us via by posting in this forum if... (0 Replies)
Discussion started by: codenjanod
0 Replies
7. UNIX for Dummies Questions & Answers
hi
I'm new here so my question maybe be retarded or out of place:
Is there a way to suppress the "No such file or directory" error message when using the "ls" command ?
thanks (5 Replies)
Discussion started by: basher400
5 Replies
8. Shell Programming and Scripting
I am trying to run the script bellow but its given me "syntax error at line 20 :'done' unexpected." error message"
can someone check to see if the script is ok? and correct me pls.
Today is my first day with scripting.
Gurus should pls help out
#!/bin/ksh
# Purpose: Check to see if file... (3 Replies)
Discussion started by: ibroxy
3 Replies
aliases(5) File Formats Manual aliases(5)
NAME
aliases - aliases file for sendmail
SYNOPSIS
DESCRIPTION
The command (which is the same as see sendmail(1M)) builds the sendmail alias database from a text file. The default text file is Local
addresses (local user names) are looked up in the alias database and expanded as necessary, unless the user name is preceded by a backslash
When the aliases file contains multiple entries for a given alias, only the last entry is used. Except when the processing option (the
send to me option) is set in the command or in the configuration file, the sender is not included in any alias expansions. For example, if
sends a message to and the expansion of includes the message is not delivered to
Each line of the alias text file must be of the form:
Mailing lists can be continued onto multiple lines. Each continuation line must begin with white space. Lines beginning with # are com-
ments.
A mailing-list is a comma-separated list of one or more of the following:
user-name Local user names occurring in alias expansions will themselves be looked up in the alias database unless
they are preceded by backslash
remote-address The remote address syntax understood by is configured in the configuration file, and typically includes the
RFC-822-style and the UUCP-style
filename This must be an absolute path name. appends a message to the file only if the directory in which it
resides is readable and searchable by all, and only if the file already exists, is not executable, and is
writable by all.
pipes the message as standard input to the specified command.
If command-line contains blanks, it must be enclosed in quotation marks (). For example,
reads filename for a list of recipient addresses and forwards the message to each. For example, an alias such
as:
would read for the list of addresses making up the group.
If a file named exists in a user's home directory and is owned by the user, redirects mail for that user to the list of addresses in the
file.
An address in a or file can be anything that can appear as a mailing-list in the alias text file.
can run programs or write to files using file. This is controlled by the file. If the owner of the file lacks a valid shell as listed in
file, the execution of such programs will be disallowed. The user can still execute such programs by placing the special string in the
file.
The alias database is examined before a recipient's file is examined. After aliasing has been done, local and valid recipients who have a
file in their home directory will have messages forwarded to the list of users defined in that file.
Aliasing occurs only on local names. Loops can not occur, since no message will be sent to any person more than once.
Aliases defined in will NOT be expanded in headers from (see mailx(1)), but WILL be visible over networks and in headers from (see
mail(1)).
is only the raw data file. The actual aliasing information is placed into a binary format in the file using (see newaliases(1M)).
A command should be executed each time the file is changed in order for the change to take effect. Note that the NIS alias maps are gener-
ated by using which leaves and in the directory.
AUTHOR
was developed by the University of California, Berkeley, and originally appeared in 4.0BSD.
FILES
User's mail forwarding file
raw data file for alias names
database of alias names
SEE ALSO
mail(1), mailx(1), makemap(1M), newaliases(1M), sendmail(1M).
aliases(5)