10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
root@intel_5500_server:~# find / -name bin -o -name sbin
/usr/bin
/usr/lib64/pm-utils/bin
/usr/lib64/rpm/bin
/usr/sbin
/bin
/sbin
root@intel_5500_server:~# which ovs-pki
/usr/bin/ovs-pki
why below command return nothing
root@intel_5500_server:~# find /... (8 Replies)
Discussion started by: yanglei_fage
8 Replies
2. Shell Programming and Scripting
I have a script like this:
echo "enter filername in lowercase"
read -e filername exec 2>&1
echo "type the start date in format MM/DD/YYYY"
read -e startdate exec 2>&1
echo "enter the end date in format MM/DD/YYYY"
... (2 Replies)
Discussion started by: newbie2010
2 Replies
3. Shell Programming and Scripting
Main_script.sh
#! /bin/sh
./Sub_script.sh
rc=$?
echo "Return code from Sub_script.sh : $rc"
if ; then
echo "$rc = 991"
echo ""
exit 1
elif ; then
echo "$rc = 992"
echo ""
exit 1
elif ; then
echo "$rc = 0"
echo ""
exit 1
fi (2 Replies)
Discussion started by: duddukuri
2 Replies
4. Shell Programming and Scripting
Hi,
We are using a shell script which is called from COBOL program. Here the program works fine till we are using MicroFocus(MF) COBOL 4 and UNIX AIX 5.3.
Recently we have upgraded to MicroFocus(MF) COBOL 5.1 but same AIX version. now the shell script not working as expected.
The shell... (5 Replies)
Discussion started by: vensk27
5 Replies
5. Shell Programming and Scripting
I have ASCII files to parse that 48 hours old or more ; I can identify them like so
find . -name "FILE*TXT" -mtime +1 -exec ls -ltas '{}' ';'
Some files have a list of hardware errors (we test electronic components), some have none. If the file name has no errors, I still want to... (3 Replies)
Discussion started by: alan
3 Replies
6. AIX
I am unable to send mail externally. It gets refused from any mail server.
Here's my current config:
oslevel -s
5300-07-05-0831
********
mail -v foo@yahoo.com < /tmp/oracle.out
Warning: .cf file is out of date: sendmail AIX5.3/8.13.4 supports version 10, .cf file is version 9... (3 Replies)
Discussion started by: gravy26
3 Replies
7. Shell Programming and Scripting
Hi,
Need a script bash,sh or perl doesn't metter, witch can read mail message text file and grep message body. Does it possible? (0 Replies)
Discussion started by: Mirror
0 Replies
8. UNIX for Dummies Questions & Answers
Hi I would like to know how interpret line by line a return mail message sent by unix mailer-daemon (2 Replies)
Discussion started by: alcvrjo
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I use mailx to send short notifications to a bunch of users ( in Lotus Notes ). The undeliverable emails are going to the Notes' Dead Letter basket and creating a problem. I am told by the Notes Admin that I need to specify a 'Return address' so that the bounced emails can go there. I can not... (1 Reply)
Discussion started by: ray1972
1 Replies
10. Shell Programming and Scripting
Hi there,
I am writing a script to look for tmp log files that have not been access within the last 10 days.
I am using the follwing command within the script:
find /var/tmp -name *log -atime -9 ¦xargs
What I would like to be able to do would be to display a message if there is no... (3 Replies)
Discussion started by: lodey
3 Replies
Mail::DKIM::Policy(3) User Contributed Perl Documentation Mail::DKIM::Policy(3)
NAME
Mail::DKIM::Policy - abstract base class for originator "signing" policies
SYNOPSIS
# get all policies that apply to a verified message
foreach my $policy ($dkim->policies)
{
# the name of this policy
my $name = $policy->name;
# the location in DNS where this policy was found
my $location = $policy->location;
# apply this policy to the message being verified
my $result = $policy->apply($dkim);
}
DESCRIPTION
Between the various versions of the DomainKeys/DKIM standards, several different forms of sender "signing" policies have been defined. In
order for the Mail::DKIM library to support these different policies, it uses several different subclasses. All subclasses support this
general interface, so that a program using Mail::DKIM can support any and all policies found for a message.
METHODS
These methods are supported by all classes implementing the Mail::DKIM::Policy interface.
apply()
Apply the policy to the results of a DKIM verifier.
my $result = $policy->apply($dkim_verifier);
The caller must provide an instance of Mail::DKIM::Verifier, one which has already been fed the message being verified.
Possible results are:
accept
The message is approved by the sender signing policy.
reject
The message is rejected by the sender signing policy.
neutral
The message is neither approved nor rejected by the sender signing policy. It can be considered suspicious.
as_string()
The policy as a string.
Note that the string returned by this method will not necessarily have the tags ordered the same as the text record found in DNS.
is_implied_default_policy()
Is this policy implied?
my $is_implied = $policy->is_implied_default_policy;
If you fetch the policy for a particular domain, but that domain does not have a policy published, then the "default policy" is in effect.
Use this method to detect when that happens.
location()
Where the policy was fetched from.
This is generally a domain name, the domain name where the policy was published.
If nothing is published for the domain, and the default policy was returned instead, the location will be "undef".
name()
Identify what type of policy this is.
This currently returns strings like "sender", "author", and "ADSP". It is subject to change in the next version of Mail::DKIM.
SEE ALSO
Mail::DKIM::DkPolicy - for RFC4870(historical) DomainKeys sender signing policies
Mail::DKIM::DkimPolicy - for early draft DKIM sender signing policies
Mail::DKIM::AuthorDomainPolicy - for Author Domain Signing Practices (ADSP)
AUTHOR
Jason Long, <jlong@messiah.edu>
COPYRIGHT AND LICENSE
Copyright (C) 2006-2009 by Messiah College
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or,
at your option, any later version of Perl 5 you may have available.
perl v5.12.1 2010-01-23 Mail::DKIM::Policy(3)