Latest Server related questions

Score: 0
How do I make vacation autoresponding work for aliases?
cn flag

We have an e-mail server on Ubuntu 18.04 running Postfix and Dovecot. How can I make vacation autoresponding work for our user's aliases?

Example: Say our Deputy Librarian is [email protected] and that's also their user and e-mail account on the system, the one I sudo su theirname to in order to run the vacation program. But they also have an alias in /etc/aliases called deplib, so that e-mails s ...

Score: 0
Badb0y avatar
Multiple port on the same server behind the same backend
pm flag

I’m using haproxy with my ceph cluster and I’ve created more gateways on 1 server with different ports. I’ve added to the backend configuration with the different port numbers but seems like haproxy ignores it. What I’m missing from the configuration?

This is on the server where the gateways are running:

netstat -an|grep :808
tcp        0      0 10.118.199.1:8084       0.0.0.0:*                ...
Score: 0
Marcel avatar
Postfix Relaying Denied issues With ASSP
pe flag

I'm playing around with ASSP and postfix on a gateway server... Basically all mail sent to the server will run to the gateway 10.0.0.1:25 (gateway.hostname.com), Hit ASSP, once processed will then be routed to localhost:10.0.0.1:25(same server postfix config handles the difference) and then postfix is setup to forward the mail out to the receiving server...

The issue I am having is that all mail  ...

Score: 0
Tobias H avatar
Is the mail account compromised or is there any other chance?
mx flag

The server was sending spam, now it is my task to clean it up. So did a few things which solved a problem, but this is still open. It seems that the owner receives mails from hisself. A forwarding from [email protected] to [email protected] is in place. The mail header looks like the following:

From:   27 2021 <>
X-Account-Key:  account1
X-UIDL: UID2733-1620041375
X-Mozilla-Status:   0001
X-Mozilla-S ...
Score: 0
Retrieving the name of a NetworkManager connection by its IPv4 subnet
ru flag

I have some CentOS7 servers with two IP addresses, in two different subnets (say 192.168.1.0/24 and 192.168.2.0/24). Some of the servers have two physical network connections, and different addresses are assigned to different devices using two distinct (NetworkManager's) connections:

nmcli connection add type ethernet con-name SUBNET1 ifname eth0 ip4 192.168.1.1/24 ...
nmcli connection add type etherne ...
Score: 0
zte813 avatar
Ubuntu expand free disk space after RAID change
cn flag

maybe someone can advise how to expand free disk space to SDA6 part? Before I have used 2x960GB SSD (Hardware RAID1), now I have added +2x960GB SSD and made Hardware RAID10 (1+0). Problem is now that I see SDA shows 1.8T but I don't know exactly how to add free space to SDA6 partition. Any help would be appreciated.

SDA6 now has 800GB which was when I had RAID1, but now I need to expand it with f ...

Score: 2
NGINX Redirect to Cached File in Subfolder
ke flag

I have a program that creates optimized versions of pictures that are uploaded to the /images/ folder on the web server. It traverses subfolders and in each one, creates a .optimized folder that holds the optimized version, if it is at least a certain size smaller than the original. My goal is to check if such an optimized version exists, serve it if it does, and serve the original otherwise (in so ...

Score: 0
zlg avatar
Remote access to `/dev/input` fails with permission error
es flag
zlg

I need to open a USB game controller device (joystick) remotely. This device is physically connected to server and is available for local user with permissions:

crw-rw-r--+ 1 root input 13, 0 ** /dev/input/js0

Using sshfs on client side, I mounted remote /dev/input/ on a local folder /dev/input/remote/:

sudo sshfs -o allow_other server-usr@server_ip:/dev/input /dev/input/remote

Now, I can see the dev ...

Score: 1
Is it possible to migrate between two physical disks without (much) downtime?
de flag

I have a server with a medium-sized database on a disk which is filling-up. There is no LVM or RAID or anything like that in play at this point. I already have the new disk installed in the server.

Is it possible to migrate the data to the new physical disk with minimal or no downtime? We have performed a copy-speed-test from the old drive to the new one and it's going to be a few hours to accomp ...

Score: 1
MediumMatrix avatar
Installed MySQL server but mysql command does not ask for password in the shell
in flag

I installed the following mysql client on my server 'mysql Ver 8.0.25-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))' and went through mysql_secure_installation steps and set the password as asked through this process. In the shell im logged in as root, I wonder if this has anything to do with mysql not asking for a pasword when I use put this command? Basically, i type mysql into my terminal, and I g ...

Score: -1
Compumak1 avatar
ESXi Password recovery
cn flag

I got an issue regarding lost ESXi lost password. I tried a method to reset it using linux by modifying a shadow file but still I cannot login (I created a test server and tried this method it was working. note I got a copy of all partitions before making any modification to the shadow file.All servers built on VMs so, there is no service currently running.

How can I pass this issue ? and if I de ...

Score: 0
Fredrik  avatar
Windows 10 Image deployment and license activation
in flag

I'm working on a small embedded system with windows 10 as operating system. We plan to install OS and other configuration using an image from a USB stick since the computer isn't networked.

We have tried to create an image using a Windows volume license. It does however appear that there is a need for activation on the license on each system. Is there a solution for creating a Windows 10 image fo ...

Score: 0
needtoask avatar
Nginx: http auth if a header is NOT present?
ye flag

How can I make nginx ask for a basic auth if a certain header is NOT present? I have found a question where if the header is present, basic auth is shown.

How do I make the other way around?

Score: 1
postgres LISTEN connection termination
cn flag

We are using postgres LISTEN/NOTIFY mechanics together with node-pg

        let sql = 'LISTEN ' + o.name
        
        db.query (sql)
        
        db.on ('notification', async e => {

Sometimes after long app inactivity time our notifications stop to deliver

What exactly is going on undercover node-pg LISTEN?

What is OK state for this situation? Shouldn't be there active connection from a ...

Score: 1
solveit avatar
Controlling Egress calls of kubernetes pods based on intermediate host file
ar flag

Can I modify and use /etc/host.allow file or something similar to restrict the outgoing (egress) calls from my kubernetes pods. If there is intermediate lookup happening while making an egress call from pod to external domain(lets say google.com), then I should be able to use hosts.allow kind of config to control and restrict the access of outgoing calls?
For example I want to allow google.com and b ...

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.