Search results

  1. K

    lxc permissions in order to set sensor thresholds

    I run lm-sensors in a container. I can read the host sensors fine but cannot set thresholds from within the container (I currently have to do that on the pve host). What lxc device node permissions would be needed in order to successfully run sensors -s within the container? The board's sensor...
  2. K

    Spam Detect with Regex in Body

    Here's Proxmox staff member's response to a very similar recent question and where to start reading.
  3. K

    Mailcow + PMG make sense?

    I use PMG in an homelab situation for personal domains. I have played with various all-in-one mail solutions (and learnt much from them) as well as build a mailserver stack from scratch. I now know I prefer the least coupled, modular approach. PMG fits this preference quite well. As dedicated...
  4. K

    [SOLVED] Whitelist messages pulled from a specific fetchmail mailbox

    Thanks. So the postfix relay restrictions trump any whitelisting defined in mail filtering? That makes sense.
  5. K

    [SOLVED] Whitelist messages pulled from a specific fetchmail mailbox

    I can confirm the suggested solution works for me. I thought of defining the To: header match object as a wildcard <.*@gmail.com>. But then it occurred to me, would that make my PMG installation an open relay for gmail destination addresses?!
  6. K

    Spam Detect with Regex in Body

    I may be wrong but I believe the Match field object only operates on message headers of which 'body' is not one. For filtering based on the message body, you would need to create some custom spamassassin rules.
  7. K

    [SOLVED] Whitelist messages pulled from a specific fetchmail mailbox

    Thanks. I will try that. The email in question comes from a low traffic gmail mailbox, so no blatant spam as such. One recent & quite important mail got scored high though. Incidentally it was an insurance renewal reminder and the email was full of marketing crap and other spammers tricks like...
  8. K

    [SOLVED] Whitelist messages pulled from a specific fetchmail mailbox

    What is the best way to whitelist all mail that arrives via one specific fetchmail account? Many thanks.
  9. K

    VMs and Logical Volumes

    Something I did, after adding a new disk as lvm-thin backed storage, was to disable vm/ct disk storage for the default local storage (/var/lib/vz) and only use it for iso, container templates, snippets etc. This way, you don't inadvertently create disk volumes in unexpected places.
  10. K

    VMs and Logical Volumes

    Are you confusing the thin provisioned pool `data` with individual volumes created within it? This is why I said I like to think of the thin pool (e.g. the `data` volume in this case) as being like a volume group.
  11. K

    VMs and Logical Volumes

    That `data` volume is not a regular LV but a thin pool. For want of a better word, it is a container of other LVs. You cannot mount the entire contents of `data` to a single directory. If you add an additonal disk, you can create a new lvm thin pool and assign it as storage all from the PVE UI...
  12. K

    VMs and Logical Volumes

    `data` is a particular type of logical volume (lvm thin). Whereas `root` and `swap` are regular logical volumes that have been formated and mounted. All are within the same volume group `pve`. I look at it as `data` being a volume group within a logical volume, in which PVE creates LVs assigned...
  13. K

    Choose between EXT4, XFS, ZFS and BTRFS ? Why ?

    The root volume (proxmox/debian OS) requires very little space and will be formatted ext4. See this. It explains how to control the data volume (guest storage), if any, that you want on the system disk. I am not sure where xfs might be more desirable than ext4. Maybe a further logical volume...
  14. K

    Choose between EXT4, XFS, ZFS and BTRFS ? Why ?

    Don't overlook lvm-thin. It looks like you intend passing through real block devices to a guest (NAS?), so may not have large guest storage requirements in the immediate term. You can take atomic snapshots with lvm-thin backed storage. Every time I have revisited ZFS, I have never been able to...
  15. K

    Ssd upgrade

    @anoo222 Re config and non-default packages. In the absence of good notes, I have had some success doing something like this: # on the first system # backup etc tar cvzf etc.tgz /etc # list of installed packages that placed files in etc dpkg -S /etc | tr ', ' '\n' | sort >packages.old # On new...
  16. K

    Ssd upgrade

    Consider keeping the existing disk's rootfs & swap. Retain or repurpose the existing vz volume on that drive. Format the new disk, whole drive as an lvmthin volume, and add that as dedicated guest storage. Restore your guests to the new storage.
  17. K

    Relay Username and password

    If you are not delivering outging mail directly but instead using a smarthost, you can configure that directly in the PMG web UI If that smarthost requires authentication, then AFAIK, you must add the auth config directly in postfix config /etc/pmg/templates/main.cf.in and a supplementary lookup...
  18. K

    hookscript becomes unavailable during host shutdown

    @fabian many thanks for identifying the cause. I'm staying with my snippets on the rootfs for time being. But if I apply the suggested change, it is presumably: systemctl edit pve-storage.target #/etc/systemd/system/pve-storage.target.d/override.conf [Unit] After=blk-availability.service
  19. K

    hookscript becomes unavailable during host shutdown

    Yes, that makes sense! I'd thought it too large to post. So I disabled all but two VMs and a container. Lo and behold, the pve-vz volume is umounted before the host begins shutting down guests. I've no guest volumes on that store BTW.
  20. K

    hookscript becomes unavailable during host shutdown

    Jul 19 12:49:53 pve pvesh[13463]: Stopping VM 105 (timeout = 180 seconds) Jul 19 12:49:53 pve pve-guests[15151]: shutdown VM 105: UPID:pve:00003B2F:0000C023:64B7CDE1:qmshutdown:105:root@pam: Jul 19 12:49:53 pve pve-guests[13482]: <root@pam> starting task...

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!