Latest Server related questions

Score: 0
Excluding an eMail address from Postfix logging with rsyslogd
in flag

I have configured my Postfix with multiple domains. The mail transportation works well, but i will like to disable logging of emails transported to one eMail address, for example: blackhole@mydomain.com

Have try to add to /etc/rsyslogd.conf the next lines:

:msg, contains, "blackhole@mydomain.com" ~
mail.*                          -/var/log/mail.log

But the incoming mails to blackhole@mydomain.com still a ...

Score: 4
Does using CloudFront just to enable https make sense?
us flag

If I have an EC2 instance, running a web app (HTTP), and I have an Amazon-provided SSL certificate, I can use CloudFront to make the EC2 instance accessible via HTTPS, handling the certificate automatically. Is this a legitimate use of CloudFront, or should this be done differently?

Score: 1
Matteo avatar
Debian 11 - Crowdsec - geoip-enrich ignored
cn flag

I installed crowdsec on a Debian 11 (and 12) machine and it works but the geoip localization.

If I do:

    # cscli collections list
    INFO[19-09-2021 10:16:20 AM] Ignoring file /etc/crowdsec/parsers/s02-enrich/geoip-enrich.yaml of type parsers 
    ---------------------------------------------
     NAME                                  STATUS    VERSION  LOCAL PATH                                    ...
Score: 0
Martian4x avatar
Google App Engine deploying django ModuleNotFoundError: No module named 'app.wsgi.application'; 'app.wsgi' is not a package
ru flag

I have encounter this error '502 Bad Gateway nginx' when running a django app on google app engine. When I check the logs I got this

Traceback (most recent call last): File "/layers/google.python.pip/pip/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/layers/google.python.pip/pip/lib/python3.9/site-packages/gunicorn/workers/base.py", line 134 ...
Score: 1
user3450564 avatar
Postfix archive preserving Bcc with X-Envelope-To - cleanup confidential X-Envelope-To with Lmtp
cn flag

Bcc'ing the archive@domain.tld user, we do not want people to receive that Bcc list, apart from the archive@domain.tld "user".

Goal

  1. We want to archive all mails going through postfix, sent and received. The setup uses:
  • postfix,
  • dovecot authentication with Pam (pulling from Ldap) users,
  • and delivery to the mailboxes via Dovecot's LMTP.
  1. We want to include the Bcc recipients in the message archi ...

Score: 0
Timothy W. Crane avatar
Is there a major difference between either CPU, RAM or Storage capacity needs for the leader or contributor nodes in a production K8S cluster?
us flag

I have already allocated 3 VPS for an initial multiple timezone cluster.

  • 12 single-core vCPUs
  • ≈50 GB RAM
  • ≈1TB SSD storage
  • 1 EST,1 CST,& 1 PST

Before I jump in however, I would like to know if there are there any major differences in resource usage between leader and contributor nodes?

ie:

  • Do leader nodes hold containers/replicas or simply orchestrate the contributor nodes (thus saving storag ...
Score: 2
Custom Return-Path for gmail domain
cn flag

I do not expect my problem to be super-unique, but I was not able to find and answer so far even at Gmail help pages, and lots of googling with various terms did not provided a solution. Context:

There is company, lets say BusyCorp LLC, whose SaaS product and related emails are live in, lets say, in product.com domain.

They use Gmail for their normal emailing stuff, with default (sign-in domain) like

Score: 0
Serge Zoghbi avatar
Add to route table destnation using this syntax *.mycompany.net
fr flag

The reason that I am asking this question is that i a using VPN-slice (VPNC) with openconnect

While running this command

ip route add *.mycompany.net via 0.0.0.0 dev tun0

Error: any valid prefix is expected rather than "*.mycompany.net".

What I have noticed is that all the domain names that are matching with *.mycompany.net can be covered using 160.0.0.0/8 but when I add this subnet It's not worki ...

Score: 0
Nginx does not open specified listen port
cn flag

I am trying to proxy SSH traffic from nginx (listening on port 7999) to a bitbucket server (listening on port 7998) on the back-end. Both nginx and bitbucket are running inside Docker containers. If I login to the nginx container and do telnet bitbucket.domain-name.com 7998 it connects. On the host machine if I do netstat -pnlt I get:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Lo ...
Score: 0
0diseus avatar
Disable nginx cache for a specific URL in site
cn flag

We want to disable cache on a specific URL in our site.

The problem we have is that when a user buys something, this purchase only is reflected in user's profile when nginx cache is cleared

User's profile URL looks like this: https://example.com/api/user/content/49642

Score: 0
SmallDev avatar
postfix MTA and SSL
al flag

We have some services sending information to email receivers. The services use SMTP to send the mail to postfix and then postfix delivers it to the correct domains (gmail.com, hotmail.com etc).

When the mail arrive in an gmail inbox its marked with this icon enter image description here

Im trying to understand how the encryption for email works. If we add an certificate to postfix, will it create an end to end encryption, so if our  ...

Score: 0
TSG avatar
Ansible ec2_tag failing due to missing boto dependency, which is installed
cn flag
TSG

I am trying to set the tag on a resource on my EC2 machine, per below:

- hosts: machinesA
  tasks:
  - name: Adding tags
    ec2_tag:
      resource: {{ imageid }}
      region: {{ region }}
      state: present
      tags:
        Name: "My image"

And this fails with an error that botocore and boto3 are required. Based on the IP in the error message it is required on the target machine. However, I  ...

Score: 0
Nginx: Running multiple web apps on same server using subdomains
in flag

I am having a Ubuntu 20.04.1 LTS and I am running nginx/1.18.0 (Ubuntu).

I am basically have three config files in my folder /etc/nginx/sites-available as I would like to route requests to:

  1. myserver.com
  2. immos.myserver.com
  3. items.myserver.com

My myserver.com config file looks like the following:

server {
    server_name myserver.com www.myserver.com;
    root /var/www/main-application/public;

   ...
Score: 0
How are AWS IAM server certificates meant to be used?
us flag

The aws iam upload-server-certificate command in the AWS CLI allows one to upload a certificate. However, I don't know how it can be applied afterwards. The aws iam commands include listing, modifying and deleting certificates, but not connecting them with any resources. Can they be used from EC2? Also, they don't seem to appear on the AWS Certificate Manager.

Score: 1
How can I delete everything in AWS?
ar flag

Searching for resources in AWS Console is a hell task. This asnwer helped me to find out used resources from which I do not recognize many (e.g. regions I have never used). Fortunatelly the bill is still 0. But I rather want to clean up the table. Deleting one resource by one is very tedious and takes lots of time. Is there some easy way (except shutting down the account) how to remove all used resource ...

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.