Latest Server related questions

Score: 0
user3637971 avatar
How does dovecot performs the hash comparison process without using salt in password
ve flag

I got a mail server using dovecot, postfix with mysql

I insert an email user through the following sql statement:

insert into users(email, password) values('[email protected]',ENCRYPT('secret'))

Besides, the file /etc/dovecot/dovecot-sql.conf.ext contains:

driver = mysql
connect = host=127.0.0.1 port=3306 dbname=mail user=mail_admin password=password
default_pass_scheme = CRYPT
password_query = SELEC ...
Score: 0
How to skip Fastcgi Cache on Homepage?
in flag

I am running a WordPress website with Nginx.

However, due to compatibility issues with certain plugins, the login function does not work only on the homepage when fastcgi is activated.

So I want to disable fastcgi cache only on the homepage.

I have already set skip_cache as shown below,

        set $skip_cache 0;

        if ($request_method = POST) {
                set $skip_cache 1;
            ...
Score: 0
Andrew Newby avatar
SpamAssassin rule for emails with multiple TO email addresses?
in flag

I'm getting pummelled my spammers who are sending emails that don't really score for some reason:

X-Spam-Score: 5
X-Spam-Bar: /
X-Spam-Report: Spam detection software, running on the system "brian2022.newbyhost.com",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@ ...
Score: 0
Centos7 Httpd cannot access mounted cifs directory
cn flag

In a Centos 7 server I have a directory mounted with autofs in /mnt/cifs-shares/cone_files. I can read those files without issues.

The directory /mnt/cifs-shares/cone_files is owned by apache:apache and has drwxr-xr-x. permissions.

Now, I created a symlink to that directory in /var/www/html/ and would like to allow accessing those files. To do that I created this config in /etc/httpd/conf/httpd.conf

Score: 0
Jeremy avatar
Maximum number of connections from user+IP exceeded - dovecot error only one user
cn flag

I keep having this issue with one user, and I have to restart dovecot several times a day to clear it. What I have is a postfix / dovecot mail server (Centos 7) and about a dozen users. All mailboxes are imap. I monitor about 4 mailboxes on my computer and tablet. I use Thunderbird on the computer (cache connections at 2) and K9 on the tablet, but one user of the four I keep getting "Maximum number of c ...

Score: 1
Access remote network with OpenVPN server
gb flag

I am currently trying to configure OpenVPN to access our company network remotely.

I have a question: when I configure the "client.ovpn" file, what should I put as Ip in this parameter: remote xx.xx.xx.xx 1194 ?

I can put the public address of the windows server but as soon as the server restarts the public address will change and everything will have to be redone.

How can you help me?

Score: 0
Marc avatar
symlink and mounting ftp host on another machine
in flag

So I have machine 1 that has vsftpd installed and machine 2 that needs to mount distant ftp folder. However machine 2 also needs to access symlink, which is what fails. No chroot as only lan access is allowed, so no worries about security issue from internet.

On machine 1:

  • ftp directory is: /home/ftpu/
  • symlink made: ln -s /mnt/share_hdd /home/ftpu/share_hdd/

On machine 2 (same network):

If I connect ...

Score: -1
Reducing power usage on windows server
mx flag

I have a Proliant Microserver Gen8 running windows server 2019 with a Xeon E3 1260L, one SSD for OS, and two 3TB 5400 RPM disks for storage (software raid).

The server acts as a NAS and has a few small web apis on it. For the absolute majority of the day this server is sitting idle with no queries at all (I'd wager it sees less than 2 hours usage per 24 hours).

So, as a fun experiment I want to redu ...

Score: 0
How to update the AMI of the instance without loosing data? and the instance has two EBS volumes which EBS volume should i take snapshot?
vn flag

How to update the AMI of the instance without loosing data? and the instance has two EBS volumes (root and secondary) which EBS volume should i take snapshot? to replicate the original instance.

Score: 0
Nginx reverse proxy + URL rewrite from localhost
be flag
M B

I would like to rewrite the URL in a reverse proxy so in my case I would like to change url like below, I ran some containers so they callable now but with port and localhost I add a new container with nginx revers proxy and with this I would like to revert my url but I don't know how should I define nginx.conf in this path /etc/nginx/nginx.conf:

when I enter some url it should call like below:

ht ...
Score: 0
Grafana Alert avatar
How to disable output to console after launching QEMU VM?
mu flag

I have to run three VMs on QEMU.

for VM in ctrl-vm src-vm dst-vm
do
    case ${VM} in
        "ctrl-vm")
            mac_addr=00:00:00:00:00:01
            tap=tap0
            port=30020
            ;;
        "src-vm")
            mac_addr=00:00:00:00:00:02
            tap=tap1
            port=30021
            ;;  
        "dst-vm")
            mac_addr=00:00:00:00:00:03
            tap=tap2
   ...
Score: 1
T0maas avatar
How to disallow second OpenVPN client with the same key?
cz flag

I've setup my openvpn server, but I have this problem:

Clients connects in this order:

  1. client_A connects succesfully to server using it's own key.
  2. client_B connects to server using client_A's key and gets same ip as client_A.

When I try to ping client_A packets goes to client_B instead of client_A.

I don't have duplicate-cn in my server config.

How can I prevent this behavior? I want to kick client_B im ...

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.