Latest Server related questions

Score: 0
Haf avatar
Optimal recipient restrictions in postfix
nl flag
Haf

I'm currently implementing a list of restrictions matching that as suggested by the book "The Book of Postfix" by Ralf Hinderandt and Patrick Koetter. It's currently looking like this:

smtpd_recipient_restrictions = 
  reject_non_fqdn_recipient
  reject_non_fqdn_sender
  reject_unknown_sender_domain
  reject_unknown_recipient_domain
  permit_mynetworks
  reject_unauth_destination
  reject_multi_rec ...
Score: 0
How to setup a daily report of users which are sending more than a defined numer of email outside organization within 24h
in flag

I'm trying to create a script and schedule it on exchange in order to have a daily report for users which are sending more than a defined numer of email outside organization within 24h.

I found this similar script but it is not the same scenario as the one i'm trying. Also i'm using Exchange 2016:

add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010

$output = Get-TransportServer | Get-Message ...
Score: 0
Alexander Kolodziej avatar
vcenter/vsphere health - how to monitor and find details
eg flag

I see the below when i log in to a vCenter (7.0.1). Tried clicking around but cant really find any detailed info about this.

So

  1. how do i find out more about this alert?
  2. how do people usually get a "push" alert about such things? configure vCenter to send out email, or are there good nagios-plugins for this? other?

Test

Score: 0
Forivin avatar
How to trigger automatic driver installation for a specific device from the commandline?
us flag

When you open the properties window for a device in the device manager there is an "Update Driver" option that allows you to automatically check if Windows Update has a driver for that device and if so automatically download and install it. (See the two screenshots below.)

I would like to trigger that for a specific device from a batch or powershell script. How could I do that?

I know that you can i ...

Score: 0
JoeShmoe avatar
GCP - Segregating business lines by VPC or Shared VPC
se flag

We want to create a landing zone which can onboard different business lines each in its own folder with multiple project

We want to have a centralised shared services VPC for internet ingress/egress + mgt etc. But am trying to decide if

a) we should use shared VPC's per region with 2 x host projects( to cover prod + non prod + then service projects per business line (with the shared VPC peered to th ...

Score: -1
Ress avatar
Simple Ansible comparison failing when comparing integers
lc flag

I have the following:

- set_fact:
   test_string: "{{ htmlres.content | regex_search('test-([0-9]+)', '\\1') | first}}"

This retrieves 2 which is part of a string contained in the htmlres.content content which is test-2.

So now I'm trying to compare the result of that output and fail the execution if it is not 2, so I tried this:

- name: Fail if test_string is not 2
  fail: msg="Incorrect string. Ex ...
Score: 2
ext4 errors with dm-crypt / LUKS on top of an iSCSI device
cn flag
ftc

I have two oldish "NAS" devices, specifically Buffalo TeraStation Rackmount iSCSI ("TS-RIXL/R5"). Those are basically embedded computers running Linux with four SATA slots and two Ethernet ports, with a firmware that shows up as an iSCSI target.

With both devices, i did the following:

I put in four new 16TB Seagate Exos X16 drives, used Buffalo's Windows "Firmware update" tool to install the latest  ...

Score: 1
Ruchira avatar
How to add security related headers in tomcat 9
au flag

I want to add several security related HTTP response headers with tomcat(version 9). I have enabled following config in web.xml

<filter>
    <filter-name>httpHeaderSecurity</filter-name>
    <filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
    <async-supported>true</async-supported>
</filter>
<filter-mapping>
    ...
Score: 1
Keytel avatar
Redirect all local traffic to shadow-socks proxy
gb flag

Iptables reroute to shadowsocks

I have ubuntu 20.04 vps with shadow-socks server on it.

I also have ubuntu 20.04 on my pc, with shadow-socks client running on it. Currently using shadow-socks-libev version.


The goal is to redirect all requests to 127.0.0.1:1080, where proxy client is running.

I followed recommendations from this question and this blog, where the answer is pointing to. Also saw this ...

Score: 0
bigbigbig avatar
Isolate all machines in green in ipfire
br flag

I have a green network: 10.10.10.0/24 in ipfire.

I would like to isolate all machines except one (in green), i.e. I would like that 10.10.10.2 and 10.10.10.3 cannot communicate with each other, but both can communicate and receive packets from 10.10.10.10.

how could I achieve this?

Score: 1
Chris avatar
Azure Active Directory Domain Services (AD DS) change permissions on ADSI Containers without Enterprise / Domain Admin Rights
cn flag

I need to modify access rights in Azure Active Directory Domain Services (AD DS) for a specific container in ADSI.

Usually in an on-prem Active Directory this is possible with having the correct access rights on an object and changing the Control Access Right (ACE) in the Access Control Lists (ACL) of the object. This usually means I need Enterprise / Domain Admin Rights in the first palace to mo ...

Score: 0
Create an AWS AMI from a Ubuntu 13 instance store-backed instance and paravirtual virtualization
cn flag

very ancient question here. I have this old Ubuntu 13.04 instance created with paravirtual virtualization illo tempore. The instance is a instance store backed one, and another 2TB EBS volume is attached. I wanted to create a final AMI (including the volatile root volume and the EBS volume) before its termination, but I couldn't find any documentation about doing it on a paravirtual instance. This guide ...

Score: 0
autossh : remote side connectivity fails while ssh tunnel still active
gf flag

I'm trying to keep a tunnel using autossh, with the following command :

autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -R 0.0.0.0:8865:localhost:8765 user@remote

The goal is to make Client Box app on a specific port (a motioneye camera setup) viewable from internet. (4G internet connection is not suitable for NAT forwarding, so a tunnel seems to be appropriate)

               ...
Score: 0
dywan666 avatar
AKS with Azure Key Vault - env variables don't load
hu flag

I'm trying to use secrets from Azure Key Vault in my Kubernetes deployment as env variables and I'm struggling to do so. I'm using Azure pod identity and the secrets get mounted to the file and that works, however I want them to be accessible as env variables.

Here is my secrets.yml file:

apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
kind: SecretProviderClass
metadata:
  name: azure-kvname
spec:
  p ...
Score: 0
nss-pam-ldapd password authentication doesn't work on CentOS 7 only when using `su`
cn flag

Context

I have 2 different machins here whose main difference is that one is runs CentOS6 the other CentOS7. Both run the latest distribution-available version of the lib : 0.8.13 for COS7, 0.7.5 for CentOS6 Both are running nss-pam-ldapd configured "normally" :

/etc/nslcd.conf

uid nslcd
gid ldap

uri ldap://ldap.example.org/
base dc=example,dc=org

ssl no
tls_cacertdir /etc/openldap/cacerts
idle_timelimi ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.