Latest Server related questions

Score: 0
How it works content_filter in Postfix using spamassassin and clamav ( filtering order )?
br flag

How it works content_filter in case where is used spamassassin and clamav ? Here is example for one content_filter: http://www.postfix.org/FILTER_README.html And I see that sendmail command cant use the same content_filter otherwise it would be a loop. But example if content_filter will be set up as spamassassin the how it possible that after filtering is finished will run next clamav filter ?

If s ...

Score: 0
iptables doesn't redirect 443 to 8443 on local machine
cn flag

I want to redirect all the traffic from my computer from port 443 to port 8443. All the traffic is on the same machine. A proxy server is listening to port 8443 and i tried to add the following Rule:

sudo iptables -t nat -A PREROUTING -i wlp3s0 -p tcp --dport 443 -j REDIRECT --to-port 8443

But my proxy didn't get any package. wlp3s0 is my wifi adapter according to ifconfig. What did i wrong?

Score: 1
Javier Vilarroig avatar
Apache Archiva backup best practices
cn flag

I have a server running Apache Archiva in standalone mode built from the Apache site tarball. It has been running like a charm for already 6 years. The OS is Debian Linux.

Until now all the artifacts we were storing on it where easily recoverable, so I excluded Archiva from any backup strategy.

But recently we have started to store artifacts that are impossible to rebuild. So now I need to include A ...

Score: 1
10gig link transfer speed slow between dell chassis m1000e blades
in flag

I have a dell chassis m1000e. All blades are connected internally with Dellm8024 10gbit switch.

I've SSD on blades. However, when i am testing the speed between the blades the maximum speed size is 120 MBp/s. I even cant get near 10 Gbit speed. I tried to configure manually MTU but had no luck.

What would be the possible reason for this low speed? Any ideas for troubleshooting?

Regards, Qasim Azam

 ...
Score: 0
Oliver Williams avatar
Success in getting email (albeit marked as spam) to Hotmail (Outlook), but not to Gmail
ar flag

I have set up postfix as a send-only mail server that does not relay, using this tutorial on Digital Ocean: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-mail-relay-with-postfix-and-mailgun-on-ubuntu-16-04

Aside: it worked just fine with Ubuntu 18.0.4

This includes setup of mailgun.com for the sending service. My logs on the server show that I've sent the emails I'm sending, a ...

Score: 0
If statement using an environment variable
jp flag

In my apache configuration, I am trying to only activate a snippet of code if an environment variable is set to true.

So I have something like this:

<If "'${MY_ENV_VAR}' == 'true'">
  # do something
</If>

For some reason, this is not currently working, does anybody have any idea what might be wrong here?

Many thanks

Score: 0
balpoint avatar
Ansible - issue with loop and json_query's
gb flag

I am using the ansible URI module to talk to a REST api. I have a task to perform a GET to get me some data that i want to use later on. I want to be able to match a certain variable from the GET to create the path to do a PUT on the REST api. My code is as followed

playbook

*host_vars/host.yml *

---
inputs:
  - title: "test_input_api"
    type: "org.graylog2.inputs.syslog.udp.SyslogUDPInput"
    globa ...
Score: 0
“GPG error: https://oss.oracle.com/debian unstable Release”
ng flag

The error I am having when trying to update my package list.

root@wetainfotech:/# apt update
Hit:1 http://ftp.de.debian.org/debian buster InRelease
Hit:2 https://packages.sury.org/php buster InRelease
Hit:3 http://deb.debian.org/debian buster InRelease
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Hit:5 http://deb.debian.org/debian buster-updates InRelease
Hit:7 http://r ...
Score: 0
Mirroring Traffic with Nginx(to increase avaliablity and decrease latency )
in flag

I need to duplicate/mirror the traffic comming to my server.

I mean, I have N backend servers A1 A2 ... An(n>=2) and a nginx as reverse-proxy&load-balancer.

All the traffic comming to Nginx redirect to both Ax and Ay(x!=y) in parallel, if one of the server is down(timeout or 5xx), then the other server's response can be used immediately and return the result to the client.

By mirroring the traffic( ...

Score: 0
Jerry Kross avatar
Unable to mount an NFS share to windows 2019 from linux
cn flag

I've an nfs share exported from a linux server. The exportfs looks like this

/usr/navigator/SVP/TRIGGER        *(rw,no_root_squash,no_subtree_check,fsid=999)

I'm able to mount this share to a windows 2012 R2 server using the command

mount -onolock <servername>:/usr/navigator/SVP/TRIGGER Y:

I'm unable to mount this share on a Windows 2019 server. I have set the AnonymousUID and AnonymousGID  ...

Score: 0
wTrace3zh avatar
How to make Rsync only allow download but not upload
in flag

I know that i can add in Rsync's config file

read only = no

But when I use the synchronization command on the client, rsync tells me

ERROR: module is read only

If I change the value of read only to “no”, the client will automatically upload files when synchronizing files with the server

So what should I do to allow the client to only download changed files from the server and not allow local files  ...

Score: 1
Thắng Đặng Văn avatar
Oracle database - solaris 10 9/10 where is i can find
pe flag

We have Oracle tech login but cannot find the elusive Solaris 10 9-10 SW load iso file.

We have just about everything else for Sol 10 .... and can't restore a an ORACLE DATABASE backup without it to a client's rebuilt server.

Anyone have an idea where to find it?

Thanks!

Score: 0
Eduardo Lucio avatar
LDAP - Add a filter to an LDAP URL so that only users belonging to a certain group can access the app
in flag

We enable an application to use LDAP.

In the configuration of the application, we need to inform a URL to connect to LDAP. We are currently providing the following URL...

ldap://10.2.0.5:389/dc=domain,dc=abc,dc=de?uid

QUESTION: We need to add a filter to the URL above so that only users belonging to the "accessgroup" group are located in order to limit the application access to only users belongin ...

Score: 0
jusschwa avatar
Transparently proxying to nodeport in kubernetes
in flag

I have a kubernetes set up with a pod containing the following containers:

  1. Squid container
  2. transocks (like redsocks); a transparent SOCKS proxy

I am running this in k3s locally on a linux PC and want to transparently proxy all outgoing traffic from the PC through this transparent proxy. So outgoing host traffic forced to the transocks port on the kubernetes pod. Right now it is not working, the co ...

Score: 0
CentOS 8: two external network adapters, two ISPs - routing problems
pr flag

Given: a CentOS 8-powered computer with three network adapters.

eth0, eth2: external, connected to two different ISPs
eth1: faces home network (intranet)

The task: allow accessing certain internal services from either ISP. There are several services, I only mention SSH below.

In the configs below:
IP1: external IP at first ISP (ISP1), assigned to eth0
Gateway1: IP of gateway provided by ISP1
Network1,N ...

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.