Search results

  1. William Edwards

    Prevent re-injection into Postfix

    Hi, We use postfwd2, which ratelimits stuff based on the amount of RCPTs. I noticed that postfwd2 counts messages twice, because each one has RCPTs: the original message, and the one relayed to pmg-smtp-filter and then re-injected (using `content_filter`). Here's someone else with a similar...
  2. William Edwards

    Correlate relayed mail after the fact

    Hi, This question is only slightly PMG-related. I am mostly looking for other users' input. I use PMG as a smarthost for several purposes, where email sent from a specific domain is sent by a specific system user. Using the mail tracking functionality, I can look up which email was sent from a...
  3. William Edwards

    Mail to internal port is being SPF-filtered

    Hi, From the admin guide and forums, I gather that email sent to the internal port should not be SPF-filtered. It makes no sense to do so for relayed mail, where PMG is a smarthost. However, this mail is being filtered: it's rejected because of the KAM_DMARC_REJECT SpamAssassin rule (6 points...
  4. William Edwards

    VM is not stopped after 'Shutdown timeout'

    https://pve.proxmox.com/pve-docs/chapter-qm.html says: The `qmshutdown` task is ended after 'Shutdown timeout' (as the VM did not respond to the ACPI signal). However, unlike the documentation says, the VM is not force stopped. It still has the state `running`. The task log is attached...
  5. William Edwards

    Backups caused RBD images to become read-only, and single node in cluster unable to mount RBD images after RBD images were read-only

    On a 12-node cluster, due to a backup issue, several CT's RBD images became read-only. Issue: backups caused RBD images to become read-only On all nodes, a backup job ran at the time of the issue. The backup jobs on two nodes (`g04s01` and `g04s07`) failed. On `g04s07`, the following was...
  6. William Edwards

    Hostname in Cloud-init user data

    I would like to supply custom user data for Cloud-init using `--cicustom`. I would like to re-use a single snippet for all VMs. However, the default user data contains the `hostname` key. Is it possible for Proxmox to substitute it dynamically?
  7. William Edwards

    Cloud-init image

    Does a Cloud-init image exist for Proxmox Mail Gateway?
  8. William Edwards

    Stop PMG from removing `source` line in `/etc/network/interfaces`

    How do I stop PMG from removing the custom `source` line -which is supported according to the documentation- in `/etc/network/interfaces`? Context: I have some custom interfaces that PMG should not manage. `/etc/network/interfaces` says: The documentation at...
  9. William Edwards

    Parsing configuration strings

    VM configs (`/nodes/{node}/qemu/{vmid}/config`) contain configuration strings, such as: local-zfs:vm-100-disk-1,aio=native,cache=unsafe,discard=on,iops_rd=20,iops_rd_max=30,iops_wr=20,iops_wr_max=30,iothread=1,mbps_rd=5,mbps_rd_max=10,mbps_wr=5,mbps_wr_max=10,replicate=0,ro=1,size=20G,ssd=1...
  10. William Edwards

    Incremental message for PBS backup

    When creating a backup of a VM not previously backed up to PBS, 'backup was done incrementally' is almost always shown: INFO: backup is sparse: 2.83 GiB (1%) total zero data INFO: backup was done incrementally, reused 4.91 GiB (2%) I take it 'incremental' means space was 'reused' as the backup...
  11. William Edwards

    DKIM with SRS

    It has caught my attention that rewritten addresses with SRS are not signed with DKIM, because PMG looks at the domain after @ instead of the rewritten domain: not DKIM signing mail from SRS0=duAC=HO=cyberfusion.nl=wedwards@prorelay.nl So in this case, email from cyberfusion.nl is signed with...
  12. William Edwards

    Spam filter rules decimals

    Is it possible to use decimals for 'Spam Filter' rules? I have a *lot* of spam emails that have a spam level of 1.9 ...
  13. William Edwards

    Add DKIM domains from CLI

    What is the correct way to add DKIM domains from CLI? Or can we simply write to `/etc/pmg/master/dkim/domains` and run `pmgconfig sync`?
  14. William Edwards

    Published virtualisation-resource-distributor

    I just published a (very basic) Python program called `virtualisation-resource-distributor` on PyPI. It'll try to run resources in a Proxmox pool on as many different nodes in as many different failure domains as possible. Our use case is spreading VMs providing the same service redundantly over...
  15. William Edwards

    Remove DKIM selector

    How should a DKIM selector be removed? (Doesn't seem to be documented :) )
  16. William Edwards

    pmgtunnel cannot use -L

    I'm seeing this on my cluster nodes: Nov 2 17:35:14 mgw0-1 sshd[14200]: Received request to connect to path /var/run/postgresql/.s.PGSQL.5432, but the request was denied. I copied the default `/etc/ssh/sshd_config` from a default Proxmox Mail Gateway ISO install, but I'm still seeing this...
  17. William Edwards

    unable to connect to localhost at port 10025

    Postfix is listening on port 10025: root@mxfilter0-1:/usr/share/perl5# netstat -tulpn | grep 25 tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 8056/master But seeing this in mail log: Oct 29 11:44:29 mxfilter0-1 pmg-smtp-filter[5196]: unable to connect to...
  18. William Edwards

    Install Ceph on Proxmox cluster node

    Assuming an existing Proxmox cluster with node1, node2, node3 and node4: node1, node2 and node3 are used as Ceph monitors, managers, MDSes and OSD nodes. node4 is already in the Proxmox cluster, but is only used as a 'compute' node; pveceph is not installed. So: node1 to node4 are in the...
  19. William Edwards

    SPF check for relayed mail

    When using PMG as an SMTP relay, I want the SPF check to be skipped for mail offered to the internal SMTP port; only the PMG servers are specified in SPF records, not the internal host using the PMG smarthost. I can of course add custom SpamAssassin rules for this, but before I do that, I'd...
  20. William Edwards

    [SOLVED] IPv6 connectivity issues

    I have the following setup: Traffic from VMs is routed through router VM Traffic to VMs is routed through router VM Two days ago, I started seeing packet loss on IPv6 traffic from VMs to the router VM and the other way around. This started after rebooting the router VM. It seems like...