Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Thorth

Pages: [1]
1
E-Mail / Postfix, SpamAssassin, or something else
« on: June 24, 2025, 10:29:17 AM »
Hi.

Centos Web Panel is installed on AlmaLinux release 8.10, everything is on green and running (apache, nginx, mysql etc) even the email server is working properly (sending, receiving emails).

I got a strange problem with the email server, in some mailbox i'm receiving some email (spam email), and the destination of that spam email is not even an email address from my server.
I config postfix to reject emails but i don't understand why i still get this emails

I'll post the a header with that email, and i replace the actual email with EMAIL@MYDOMAIN and the server hostname with SERVERHOSTNAME

Quote
Return-Path: <yrjalmr@topuk.in.rs>
Delivered-To: EMAIL@MYDOMAIN
Received: from SERVERHOSTNAME
    by SERVERHOSTNAME with LMTP
    id s9yHLwDCWWgD3xkAl/FcBg
    (envelope-from <yrjalmr@topuk.in.rs>)
    for <EMAIL@MYDOMAIN>; Tue, 24 Jun 2025 00:07:12 +0300
Received: SERVERHOSTNAME (Postfix, from userid 65534)
    id BB672400009E; Tue, 24 Jun 2025 00:07:12 +0300 (EEST)
Received: from mail.twoking.or.mg (mail.toceda.pro [86.104.194.44])
    by SERVERHOSTNAME(Postfix) with ESMTP id 98D0F4011421
    for <EMAIL@MYDOMAIN>; Tue, 24 Jun 2025 00:07:04 +0300 (EEST)
Received: from mail.twoking.or.mg (t81.tugara.bond [62.76.188.81])
    by mail.twoking.or.mg (Postfix) with ESMTPA id 2F2C17D5F;
    Mon, 23 Jun 2025 18:34:54 +0300 (EEST)
Message-ID: <245740155528033167732388743203865821521082333551@topuk.in.rs>
From: Keto Diet <yrjalmr@topuk.in.rs>
To: <birou@centrulminerva.ro>

i'll post my postfix config file

Quote
smtpd_client_restrictions = reject_unknown_client
smtpd_helo_restrictions =
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_whitelist, check_sender_access hash:/etc/postfix/sender_blacklist
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_pipelining, reject_unauth_destination, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_rhsbl_helo dbl.spamhaus.org, reject_rhsbl_sender dbl.spamhaus.org,reject_rbl_client zen.spamhaus.org, reject_rbl_client bl.spamcop.net

Any idea why the postfix is not rejecting this emails, or what should i do so this type of e-mails won't get in my mailbox ?

2
Postfix / connection refused to a domain on another virtual machine
« on: September 23, 2024, 02:42:09 PM »
Hi there.

First i want to explain the situation.I have 2 virtual machine.

  • VM1: have 1 public IP pointing to 192.168.0.30
  • VM2: have 1 public IP (diff from VM1) pointing to 192.168.0.34.

I can send emails to yahoo, gmail, etc, doesn't matter where, everything work, but if i want to send an email from a domain on VM1 to another domain on VM2 the connections is refused, cannot send it. This situation happen in both ways(VM1 to VM2 also VM2 to VM1).

I look in the mailog and i only got 1 msg "connection refused".

I don't know what to add or put so i can send emails from VM1 to VM2 and vice-versa.
Any ideas?
thanks in advanced

3
E-Mail / Compact or archive emails
« on: July 05, 2024, 10:37:10 AM »
Hey!

Is there a way to minimize or archive e-mails on server, a tool, command or smt ?
I'm asking since an email is like 10G each on server, some of them are from 5 years ago and don't need them on current server.

I found the folder locations where are stored on server and i see them.

/var/vmail/DOMAIN/EMAIL/cur

What do u suggest to do ?
Thanks in advanced!





4
Other / Cache page ?
« on: July 26, 2023, 10:37:44 AM »
Hi there.

Well i have a situation and i don't know what do to with it or how to solved and start to irritate me.

So i have a server (server is working perfectly with no problems - so it's ok) with some domains/subdomains.
I choose as WebServer: Nginx & Apache, then create a domain/subdomain file in WebServer Domain Conf, i set there nginx->phpfpm7.4.

Again as i said it before work without any problem so the config are just ok.

What is issue when i do a small modification to a page (as eg. i misspell a word, or try put to a new img. in some template, etc), i use file manager from centos (try with ftp client also) the effect online take between 15s-45s (even more like 1min +) is not instant.
I know for many 15-45 is not that much but when u do this a lot start to see it.
I'm thinking is caching the pages, but i stop the cache from nginx, varnish is not on or install.

So any ideas why is doing this? and not all centos server are doing, i made one locally on a virtual machine and is working like a charm(no delay at all), i did 2nd centos server locally on a diff. virtual machine and is delay.
What i'm missing?

Thanks in advanced.

5
SSL / SSL: 2nd user
« on: March 13, 2021, 08:31:29 AM »
Hi.
I think I did something wrong, or I don't know how to config correctly.
I have a server with 2 public IP, let say Ip1 & Ip2.

Ip1:
   =>   is used for hostname, access CWP panel, etc
   =>   is used for shared Ip for server
   =>   I create a user that handle the main domain that is mapped on this
   =>   the auto SSL created for this domain is Ok, valid, etc


Ip2:
   =>  I create a another user for another domain
   =>  That domain have multiple subdomains
   =>  my web app is for this second domain


The auto SSL for the second user, mapped on Ip2, is not valid, I got a Common Name (CN) mismatch, the hostname for server appeared in certificate.

What i did wrong, or what i didn't config correctly.
Please advice.
Thanks



Pages: [1]