Hello,
I have recently aquired an E280R chassis, that is one of the first E280R chassis so it still features old fan block from 420R (540-4434).
Unfortunately I have 900Mhz X7009A CPUs to go into this machine and those need a better fan block (540-5088) because they do overheat :(.
Could... (2 Replies)
Hi,
I have an AIX server which has a number of root owned semaphores. Is there a way of identifying which processes/threads own these processes so that they can be removed.
I there also a way to remove shared memory segments in a similar way
Thanks.
\ (1 Reply)
I am trying to find socail security numbers in files in (and under) a specific directory and output a list of the files where they are found... the format would be with no dashes just 9 numeric characters in a row.
I have tried this:
find /DirToLookIn -exec grep '\{9\}' /dev/null {} \; >>... (1 Reply)
I need to list all files where 1rst column=ABK and char position 123 to 125=ZBK:
For the first part I can I can do a awk '{$1="ABK";print}' file and for the second a cut -c123-125 file | grep ZBK but this would only work partially..
How can I do this with only one awk command ?
Thanks in... (10 Replies)
Hi guys,
I'm learning grep and map functions in perl and ran into a problem.
I have a little script below:
#!/usr/bin/perl -w
die "Usage: $0 dir\n" if @ARGV != 1;
opendir (D, $ARGV) or die $!;
@text_files = grep { !-d } readdir D;
rewinddir D;
@sizes = sort {$b <=> $a} map { -s... (7 Replies)
Hello all gurus,
I have a long list of rules as below:
20 name:abc addr:203.45.247.247/255.255.255.255 WDW-THRESH:12 BW-OUT:10000000bps BW-IN:15000000bps STATSDEVICE:test247 STATS:Enabled (4447794/0) <IN OUT>
25 name:xyz160 addr:203.45.233.160/255.255.255.224 STATSDEVICE:test160... (3 Replies)
SERVICE NOTIFICATION: SOC;invoice-skysmart-01.net;monthly_process_check;CRITICAL;notify-by-email;CRITICAL: (0) instance(s) of (monthly-processor6) running on host (less than 1)
SERVICE NOTIFICATION: SOC;invoice-02.skysmart.net;JAVA_PROCESS_CHECK;CRITICAL;notify-by-email;CRITICAL: (0) instance(s)... (6 Replies)
My git post-update has the following lines in it to make sure the permissions are set right:
find /usr/local/apache/htdocs -type d -print0 | xargs -0 chmod 755
find /usr/local/apache/htdocs -type f -print0 | xargs -0 chmod 644
chown -R apache:apache /usr/local/apache/htdocsThe only problem is... (5 Replies)
Hello everyone - I have the task to create a file list script that will list files in directory based on the parameters passed to the program.
It has to be a C Shell - I mentioned that before but I got closed :) - the company only allows this shell for security purposes I guess.
Anyway, here is... (4 Replies)
Hi,
I have a HP-UX server were I need to list all the files in the entire file system, their directory path, last modified date, owner and group. I do not need to search the file contents. I created the script given below and I am excluding directories and files of type tmp, temp and log. The... (4 Replies)
Discussion started by: Adyan Faruqi
4 Replies
LEARN ABOUT LINUX
postfix-add-policy
POSTFIX-ADD-POLICY(8) System Manager's Manual POSTFIX-ADD-POLICY(8)NAME
postfix-add-policy - add policy service to Postfix master.cf
SYNOPSIS
postfix-add-policy [policy name...] [username...] [argv...]
DESCRIPTION
The postfix-add-policy(8) command adds an smtp policy server named policy name running using username and called as argv to etc/post-
fix/master.cf to facilitate integration of SMTP policy servers such as postgrey or postfix-policyd-spf-perl. The configuration is based on
the Postfix SMTPD_POLICY_README. Adminstrators should verify it is appropriate for their requirements.
The original file is copied prior to modification and left in /etc/postfix to make it possible to revert changes easily.
Available in the Debian package for Postfix version 2.5.3 and later.
DIAGNOSTICS
If the given policy name already appears in the master.cf, a message will be printed to standard out and master.cf will not be modified.
ENVIRONMENT
MAIL_CONFIG
Directory with Postfix configuration files.
The postfix-add-policy(8) command should use this, but it currently doesn't. It is hard coded to /etc/postfix. This should be
changed.
CONFIGURATION PARAMETERS
None
FILES
/etc/postfix/master.cf
SEE ALSO postconf(5), Postfix configuration
LICENSE
This software is licensed under the MIT open source license.
AUTHOR(S)
Scott Kitterman
<scott@kitterman.com>
POSTFIX-ADD-POLICY(8)