On one of my servers (AIX 7.1 sendmail=V10/Berkeley) When I login and sudo su to a serviceID and send a test email, the from header shows as being from my loginID and not the serviceID. I have a second server (AIX 6.1 sendmail=V9/Berkeley) where following the same steps the email head has the service ID as the "from:" info. I have compared the sendmail.cf files for both servers and have attempted to mitigate the differences (setting local host on the V10 server). I also attempted to insert a couple of lines from the V9 file into the V10 file that were not present but sendmail didn't like the older syntax.
code added:
Last edited by vbe; 09-09-2015 at 02:21 PM..
Reason: code tags
I know we can create a normal UserID with "root" priviledges by assigning the user into the "root" group. As such, everything that is modified by the UserID will also contain "root" as the group and ID. This is return causes less tracability on who made the change onto a certain file, etc.
My... (3 Replies)
Hi All!
My db2 is started in the AIX /etc/inittab on systemreboot as follows
db3:2:once:su - db2inst3 -c db2start >/dev/console 2>1
I changed the .profile of db2inst3 to put an alias to the db2start command as follows
alias db2start="/usr/bin/ksh /home/db2inst3/sample/db2start.ksh"
When... (1 Reply)
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hello,
I manage a large sendmail server that handles more than 20,000 pieces of mail per day. It's a bit unusual in that all this mail is only being sent to and from 4 local accounts. (It's an automated transaction processing system, whereby users submit a transaction via email attachment). ... (2 Replies)
Hello All,
I have setup Nagios 3.2.3 on CentOS release 5.7 (Final) with the default config files and added 1 host to it and it is sending "Service Alert: CentOS 5/HTTP is WARNING" frequently, how do you fix this one? what are the additional files that need to be added so that I can monitor the... (0 Replies)
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)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT HPUX
vacation
vacation(1) General Commands Manual vacation(1)NAME
vacation - return "I am not here" indication
SYNOPSIS
alias]... login
DESCRIPTION
The program returns a message to the sender of a message telling them that you are currently not reading your mail. The intended use is in
a file in For example, your file might contain:
which would send messages to you (assuming your login name was and reply to any messages for or The preceding is required to force direct
delivery to mailbox and prevent an infinite loop through the file. The double quotes are needed to tell sendmail(1M) to treat the enclosed
as a unit, rather than separate recipients. It is also important to specify the full path for the vacation program, and there must be no
white space between the character and the start of the path name.
No message is sent unless login or an alias supplied using the option is a substring of either the or headers of the mail. No messages
from or are replied to, nor is a notification sent if a or line is included in the mail headers. Only one message per week is sent to each
unique sender (at each unique host system). The people who have sent you messages are recorded in a database in the files and in your home
directory.
The program expects a file in your home directory, containing a message to be sent back to each sender. It should be an entire message
(including headers). For example, it might say:
>From: eric@ucbmonet.Berkeley.EDU (Eric Allman)
Subject: I am on vacation
X-Delivered-By-The-Graces-Of: The vacation program
Precedence: bulk
I am on vacation until July 22. If you have something urgent,
please contact Joe Kalash <kalash@ucbingres.Berkeley.EDU>.
--eric
Header lines in this file must be left-aligned and must not be preceded by any other lines, including blank lines (see sendmail(1M)). If
there is no file, uses the following file (if it exists):
Otherwise, it logs an error.
reads the first line from the standard input (the incoming mail message in the example file above) for a UNIX style line to determine the
sender. sendmail(1M) includes this line automatically, and its absence indicates non-mail input.
Options
The program supports the following options:
Initializes the vacation database files.
This option should be used before modifying a file.
Identifies another name that can legitimately appear in the
line of the mail header instead of your login name. More than one option can be specified.
EXTERNAL INFLUENCES
Environment Variables
determines the language in which error messages are printed.
DIAGNOSTICS
On error, exits with a value from and causes to report an error back to the sender of the original message. Errors such as the absence of
or calling with incorrect arguments, are logged using on the system where actually runs (see syslogd(1M)). The file by default; see and
syslogd(1M) for customizations) should be inspected when generates mailer error messages.
Remember that if the machine is configured for shared mail, inbound mail is handled at the mail server rather than on mail client nodes.
This means that diagnostics appear in the mail server's not the client's
WARNINGS
Errors in the file can lead to loss of mail and infinite mail loops.
Always send test mail to yourself after configuring to be sure that it is working properly. This is akin to checking telephone forwarding
before leaving for an extended period, and can prevent loss of messages.
Some mail recipients look for an RFC 822 compliant header in their incoming mail messages. Such recipients have to set the option to in
the configuration file,
AUTHOR
was developed by Eric Allman and the University of California, Berkeley.
FILES
Database file.
Message to send.
Database file.
System-wide default header and message.
Dictates where error messages are recorded.
SEE ALSO sendmail(1M), syslogd(1M), ndbm(3X).
vacation(1)