Latest Server related questions

Score: 0
Tom avatar
Limit quota for emails received by sender in Exim
bf flag
Tom

I'm using Exim to receive emails via the internet, it happens that some external systems end up sending about 3K emails in an hour to a specific recipient.

Is it possible to configure Exim to display an error message to the sender when he exceeds a limit of emails sent in a time interval?

For example, if he has sent more than 500 emails in less than an hour, the server rejects that sender for 24 hou ...

Score: 0
Windows Server Disk Format - ReFS format fails, NTFS format succeeds
cl flag

I have a Seagate SATA HDD in a USB enclosure, connected to a Windows Server 2019 server. The disk is formatted as ReFS. Nightly backups are written to this disk on schedule. The physical server recently hard reset during one of these backups, and since then the disk shows as RAW in computer management. Attempts to reformat the disk as ReFS fail with "Windows was unable to complete the format". NTFS reform ...

Score: 0
one ip resolving 2 websites - Ubuntu 20.04 configuation to allow specific domain
cn flag

So, I recently setup digital ocean droplet with Ubuntu 20.04 with nginx web server. I one website default say example.com usinh nginx settings and then the IP of digital ocean as a record in domain dns panel.

So the example.com is working fine, but unknowing I put the same IP in another domain say example1.com and now both example1.com and example.com are opening the same website.

So, the question a ...

Score: 0
Lunartist avatar
Nginx redirects to http://localhost
cz flag

Brief image of the situation

  • I can't use domain address for server_name because I can't control DNS server. I must use public IP to connect to my web server.
  • So I set server_name to _;, but when I request http://firewall-public-ip:5000 it redirects to http://localhost:5000.
  • I can normally open other pages that doesn't use redirection. For example, I can access http://firewall-public-ip:5000/login
Score: 1
SPQRInc avatar
CentOS7 sets time to +8h in the night: [systemd] Time has been changed
cn flag

I am curious: My CentOS7 server, which did not run ntpd or chrony, updated the system's time to +8h at 11pm.

Message:

[systemd] Time has been changed

appears in /var/log/messages.

Well: I don't know what is happening here. As ntpd and chrony are not running, I do not know what to check next.

Score: 0
How to script a check that the key in known_hosts file is correct
tr flag

I would like to implement a function in a script that checks if the key that corresponds to a given host in known_hosts file is correct. The obvious way to do this is to attempt an ssh connection and parse if it results in the known_hosts warning. This is suboptimal for these reasons:

  • If the host is not in the know_hosts file it needs to be checked separately
  • It relies on a particular wording of the wa ...
Score: 0
Routing from LXC to WAN
my flag

I have a VPS with one public IP, 64.x.x.x which is assigned to enp1s0.

My goal is to have LXC container/s running on this VPS which have connectivity with the host and with WAN. That means traffic is routed from Container > lxcbr0 > enp1s0 > WAN I followed the standard procedure in LXC, which creates a bridge lxcbr0 and a veth device connected to the bridge. From the container I can ping the host ...

Score: 0
user613386 avatar
Javascript not showing up in HTML Header page
il flag

I have a javascript code with the full address. And I have added that into the Header Section of the HTML Test Page of the Apache CentOS 7 Server. But when I restart the service and go to the test page I do not see anything on Test Page.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html><head>
<meta http-equiv="content-type"  ...
Score: 0
Joseph Willcoxson avatar
Cannot login with email after joining Azure AD
gb flag

Let's say my company has an Azure AD "domainx.com".

I used Window 11 Pro and joined my laptop (device not account) to domainx.com. I entered my AAD account information and the machine joined up just fine. Everything worked until I logged out and tried to login with my email address. Every attempt to login says Invalid username or password. The creds are the exact same ones I used to login to join ...

Score: 1
Automating full Remote Desktop Session Deployment using powershell
sg flag

I am attempting to automate a full Remote Desktop Session deployment but running into a problem adding the gateway via powershell. I can add each server with the exception of the gateway. Which produces the error:

Unable to create a Remote Desktop resource authorization policy on <computer name>. The error is
Object reference not set to an instance of an object.. Please check the eventlog on  ...
Score: 0
N997 avatar
Using NETDOM to remove trust between domains
vn flag

following is NETDOM trust command to remove trust between domains, it is being used in batch script that I plan to run remotely on multiple "Trusting Domains"

It works when run locally (executed on Trusting Domain DC) but I am getting the following error when executed remotely.

The /d parameter was unexpected, check NETDOM syntax

I am saving Trusting Domain in a variable and passing it on to NETDOM comma ...

Score: 0
How to get a Hyper-V VM out of PausedCritical state?
bw flag

A program running in a VM filled so much of the virtual disk that it expanded to fill the host's drive. Now GET-VM shows the VM is in PausedCritical state. I read that I need to compact the virtual disk, and that the VM must be in Off state first, but STOP-VM failed. How can I stop the VM, so I can compact its virtual disk? Thanks in advance.

Score: 0
OMendoza avatar
MySQL impossible suspicious connections
cn flag

I have a MySQL Community service binded locally to "bind-address=127.0.0.1", bind that suppose no expose it to the internet.

I can't connect externally. However i'm receiving constantly on the log this kind of errors:

[Server] IP address '194.**.16.73' could not be resolved: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an  ...
Score: 0
Where does u32 packet classifier start
sc flag

I have a functioning traffic classifier that uses raw packet offsets to match on the source and/or destination MAC addresses of the packet. The filter uses negative offsets as the default appears to be offset=0 is the beginning of the IP packet. The means the contents of the Ethernet header are just prior to that.

Example, for MAC 12:34:56:78:90:ab :

tc filter add dev <iface> protocol ip parent  ...
Score: 0
realShadow avatar
postfix container kubernetes - setting up encrypted secret, configmap for successful db connection
in flag

I am trying to run postfix as a container in k8s. The container starts (including the svcs) but my config maps and secrets don't want to play nice. I tried the following:

  1. setup the config map with the user and password in clear text RESULT: WORKS postmap -q someuser@localhost mysql:./virtual_mailbox.cf
  2. Encrypt the password and username with base64 (as per k8s instructions), read these encrypted values ...
Score: 0
jacob_w avatar
How to close connection when using PSExec on multiple remote computers?
id flag

I am using PSExec to run scripts on multiple computers and after a few computers I start getting connection errors (probably because of concurrent connections limit on Windows 10).

PSExec command I am currently using:

psexec.exe @pc_list.txt -h -u psexec_username cmd /c "\\win10pc\path\script.cmd"

In the scripts I use pushd command to map the path to script/installer location, run installer if applicable ...

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.