Hey Folks - I'm trying to pass a list of To address using sendmail command but upon executing the script the to list gets truncated and not able to send the last
sender :
below is the code snippet :
picked from database mapping table
replaced @ with #, due to posting issues
Last edited by Don Cragun; 07-03-2018 at 05:15 AM..
Reason: Guess at where missing CODE tags should go...
I have some processes that show a long file path as part of the process name and the process name gets truncated off.
Does anyone know how to get the full output from the `ps`command so that I can see the whole process name? (9 Replies)
I have a variable that is a full path name and I just want the file name with out the extension. I have figured out how to do this using some temp files but I would really like to avoid that if possible.
I know I can do
echo ${TMPNAME%.*} to drop the extension is there a similar way to drop... (3 Replies)
Hi all ,
I am creating the file which holds the create query to run in the sql prompt:
so when i am creating:
create table XXX( SD Varchar2(10),
DF Varchar2(10),)
I am getting one comma at the last ,before i am inserting the closing bracket i need to delete that? kindly provide me the... (1 Reply)
Hi,
I have a Unix mail file that I need to truncate, based on the date of the messages. For those not familiar with the format, it is a single file for each user, with the first line of the mail message looking like the following:
From user@sitename.com Thu Apr 21 05:40:33 2011
Each... (3 Replies)
I'm using plink.exe on WinXP to run some commands on Z/OS BASH. My commands are interspersed with echo commands so that I can parse the output and work out what is where.
The first hundred or so commands run fine, but then one of them gets truncated. For example:
Input:
echo :end_logdetail:... (6 Replies)
Legends,
I have 2 files f1 and f2. when i use nawk to compare the difference(subtraction) from 4th column of the file, it truncates the output.
can you please help to resolve this.
subtraction is (4th col of f1 - 4th col of f2). but it gives only below lines out of 116. I want to print all... (7 Replies)
Hi All,
When I send a mail using sendMail command it sends a mail to the concerned with few people in cclist. Not sure where cc list is configured.
I want to change that cc list configuration. Please help.
Thanks and Regards
Nagaraja Akkivalli. (5 Replies)
Hello All,
I have a query here. I want to send an email by sendmailcommand in BASH. So email should have body(by reading a Input_file) in it as well as it should send same Input_file as attachment too. To do so I have tried as following.
sendmail_touser() {
cat - ${Input_file_HTML} << EOF |... (5 Replies)
Hello,
This is Solaris 10 (x86)
bash-3.2# cat /etc/release
Solaris 10 5/09 s10x_u7wos_08 X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 30 March... (5 Replies)
Discussion started by: solaris_1977
5 Replies
LEARN ABOUT OSF1
aliases
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)