12-29-2010
Neo is quoting from "man aliases".
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
We're an internet company with several domain names. Our mail server was originally set up to deal with xxx@domain1.com email addresses which works fine.
The problem I have is that we're now also using a domain2.com, and sales@domain1.com isn't the same as sales@domain2.com.
I've added... (1 Reply)
Discussion started by: captainash
1 Replies
2. UNIX for Dummies Questions & Answers
I am trying to use a file containing email addresses in my mailx command like the following:
SUBJECT="Kronos User Report"
BODY="kronos.txt"
MAILTO="kronosmail.txt"
mailx -s "$SUBJECT" $MAILTO < $BODY
This works fine for the body of the message but for the recipient it says:
... (6 Replies)
Discussion started by: sdhalepaska
6 Replies
3. Programming
I am using a the following backup script to backup a server to USB.
USBBackupScript - RdiffBackupWiki
However I don't know python and would like to alter the script so I can send emails about the success or failure of the backup to multiple recipients.
I did do some research but the limit... (0 Replies)
Discussion started by: jelloir
0 Replies
4. Red Hat
Hello Friends,
I am running Sendmail 8.14 on rhel6. I have one simple question regarding domain masquerading, i would want to masquerade different domains with different addresses. By that what i mean is that lets say i have 3 domains as home.com, example.com, test.com and i would want to... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies
5. UNIX for Advanced & Expert Users
I've figured out to do a mail merge with /usr/lib/sendmail which is extremely helpful as it is lightning fast compared to an Outlook mail merge which pretty much locks up my machine while it struggles to push out the emails. I figured out how to send html emails, with dynamic variables, and how... (8 Replies)
Discussion started by: MaindotC
8 Replies
6. UNIX for Advanced & Expert Users
I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back.
(reason: 530 5.7.1 Authentication required)
530 5.7.1 Authentication required
Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies
7. Shell Programming and Scripting
Hi,
I want to grep multiple patterns from multiple files and save to multiple outputs. As of now its outputting all to the same file when I use this command.
Input : 108 files to check for 390 patterns to check for. output I need to 108 files with the searched patterns.
Xargs -I {} grep... (3 Replies)
Discussion started by: Diya123
3 Replies
8. UNIX for Dummies Questions & Answers
I am having trouble getting mailx to send multiple Bcc mails out without everyone in the list of recipients seeing everyone else's email addresses. I looked at the man pages of my system and seem to be following the syntax correctly, but the mails still go out as if I were just putting in a list of... (7 Replies)
Discussion started by: legrandtimonier
7 Replies
9. Shell Programming and Scripting
Need assistance in using the below script and having multiple png file attachments in the same script . Your inputs are appreciated. I dont have uuencode , I use either mailx, sendmail, mpack .
( echo "to: samplemail@somewhere.com"
echo "from: samplemail@elsewhere.com"
echo "subject:... (2 Replies)
Discussion started by: ajayram_arya
2 Replies
10. Solaris
Hi all,
I have read about sendmail running as 2 separate process.
1 as a MSP, and the other as the real daemon or MTA.
In my current configuration,
the sendmail-client is disabled.
Both submit.cf and sendmail.cf are left as default untouch
I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
aliases(4) Kernel Interfaces Manual aliases(4)
NAME
aliases - Contains alias definitions for the sendmail program
SYNOPSIS
/var/adm/sendmail/aliases
DESCRIPTION
By default, the aliases file contains the required aliases for the sendmail program. Do not delete these defaults because they are needed
by the system. This file describes user ID aliases used by the sendmail command. It is formatted as a series of lines in the form: name:
name_1, name_2, name_3,..
The name is the name that needs an alias, and the name_n are the aliases for that name. Lines beginning with white space are continuation
lines. Lines beginning with a # (number sign) are comments.
You can define an alias only on local names. Duplicate addresses are removed and no message is sent to any person more than once. For
example, if name_1 defines an alias that is name_2 and name_2 defines an alias that is name_1, sendmail does not send the same message back
and forth. Local and valid recipients who have a .forward file in their home directory have messages forwarded to the list of users
defined in that file.
This is only the raw data file; the actual information that defines the aliases is placed into a binary format in the files /var/adm/send-
mail/aliases.dir and /var/adm/sendmail/aliases.pag using the newaliases command. For the change to take effect, the newaliases command
must be executed each time the aliases file is changed.
The sendmail program also supports sending messages to programs or appending a message to a file. See the sendmail(8) reference page for
further information.
Special Aliases
Directs error messages that occur when sending to aliasname back to address.
RESTRICTIONS
Aliases for sendmail use the dbm(3) database format for faster lookups. A single alias cannot exceed 1,000 characters. To work around this
restriction, you can chain together aliases. For example: alias-list: ali1, ali2, ali3 ali1: name 1, name 2 ... ali2: name n, name n + 1
FILES
Binary aliases file. Binary aliases file.
RELATED INFORMATION
Commands: newaliases(1), forward(4), local.users(4), sendmail(8) delim off
aliases(4)