Search results

  1. P

    [TUTORIAL] Advancing Proxmox Mail Gateway (especially Spam and Virus Detection)

    Thank you for your time and that you are trying to help me. After some tests I found that the problem was in my misunderstanding. I thought that if I add to "custom.cf" I will see "X-SPAM_Relay-Country" in email headers but I will see only "RELAYCOUNTRY_GOOD" or "RELAYCOUNTRY_BAD" if it meet...
  2. P

    [TUTORIAL] Advancing Proxmox Mail Gateway (especially Spam and Virus Detection)

    I have tried to add to but with no luck. I receive If I run but I don't see anything in received email.
  3. P

    Postfix - restrictions

    I found nice explanation here.
  4. P

    [TUTORIAL] Advancing Proxmox Mail Gateway (especially Spam and Virus Detection)

    I forgot to add script for automatic db download: #!/bin/sh GEOIPDIR="/usr/share/GeoIP" cd $GEOIPDIR wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz tar zxvf GeoLite2-Country.tar.gz --strip-components=1 --wildcards GeoLite2-Country*/GeoLite2-Country.mmdb rm...
  5. P

    [TUTORIAL] Advancing Proxmox Mail Gateway (especially Spam and Virus Detection)

    After a lot of tests and RelayCountry.pm script debugging I found final solution for GeoIP2. It is really easy but lack of documentations makes it a lot more demanding. I added GeoIP2 CPAN module: perl -MCPAN -e shell install GeoIP2::Database::Reader Edited `custom.cf`: nano...
  6. P

    [TUTORIAL] Advancing Proxmox Mail Gateway (especially Spam and Virus Detection)

    Yes, it's true that SPF with cloud services is little bit tricky but good cloud providers should maintain their SPF record and you only include this parameter to your TXT record. In Czech Republic are some freemail providers who reject emails without DKIM sign (if you send more than some amount...
  7. P

    [TUTORIAL] Advancing Proxmox Mail Gateway (especially Spam and Virus Detection)

    Did anybody try to use new GeoIP2 format for RelayCountry? GeoIP is deprecated but I wasn't succesfull with new "mmdb" format. I have tried to download "GeoIP2-Country.mmdb" and use "country_db_type GeoIP2" atribut in "custom.cf" file but with no luck. I received "RelayCountry: not found" If I...
  8. P

    Postfix - restrictions

    You are right. If I used port 26 I would not have problem but it is not my server. It is foreign server with misconfigured helo header so I am not able to force them to connect to port 26. I hoped that insert IP address of this server to mynetworks resolve this issue.
  9. P

    Postfix - restrictions

    I don't think so. I need to skip helo check for one server which will mail to my relay domains - common external connection (TCP 25). I thought that if I use "permit_mynetworks" in helo restriction and this server will have IP address which is in "mynetworks" next helo restrictions will be skipped.
  10. P

    Postfix - restrictions

    Of course. I interchanged "helo" with "client" restrictions. Thank you dietmar!
  11. P

    Postfix - restrictions

    No, I only wanted to understand it. But I have problem with "smtpd_helo_restrictions". I am still receiving "Helo command rejected: need fully-qualified hostname" event though I have my IP address in mynetworks. I thought that this configuration says that there is no helo checks for client...
  12. P

    Postfix - restrictions

    Hello, could somebody explain me what is the purpose of this part in main.cf.in file? smtpd_sender_restrictions = check_client_access cidr:/etc/postfix/clientaccess check_recipient_access regexp:/etc/postfix/rcptaccess smtpd_recipient_restrictions = [%- IF...
  13. P

    Quarantine

    So your suggestion is to create Mail Filter rule which (through LDAP group) will be "bypass" quarantine for these addresses or PMG offer another type of quarantine?
  14. P

    Quarantine

    Hello, is it possible to switch view in quarantine? I have a lot of emails which doesn't belong to any user (mail enbaled public folders, distribution lists, etc.) and it is really impossible to manage quarantine per every single email address (or alias).
  15. P

    Mail Filter rule application

    Hi Dietmar, I have both servers updated but if it is not by design I will try to reinstall both servers. Thanks.
  16. P

    Mail Filter rule application

    Hello, is it normal that I have to reload config for pmg-smtp-filter service (on slave node) everytime when I change some Mail Filter rules? I have tried to wait more than one hour but without success. systemctl reload pmg-smtp-filter proxmox-mailgateway: 5.1-1 (API: 5.1-3/529c5439, running...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!