Search results

  1. 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?!
  2. 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.
  3. 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...
  4. 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.
  5. 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.
  6. 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.
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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.
  13. 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...
  14. 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
  15. 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.
  16. 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...
  17. K

    hookscript becomes unavailable during host shutdown

    I added PVE storage to the root fs and moved the hookscript there. dir: scripts path /usr/local/share/pve content snippets shared 0 Now, when the host shuts down, that guest's hookscript is found and runs as expected: Question remains why the default local lvm storage...
  18. K

    hookscript becomes unavailable during host shutdown

    I have a hookscript with pre-stop and post-start phases defined. The hookscript is successfully called when I shutdown the VM via the UI or when a scheduled backup job runs. However, if I shutdown or reboot the PVE host, when it shuts down the guest concerned, the script is not found...
  19. K

    [SOLVED] Missing "auth.log" in Proxmox VE 8.0 - fail2ban sshd

    I believe when backend=journal, logpath is redundant. Regardless of whether this is set globally in jail.conf or in the bundled jail definitions, you can override it for individual jails. So, if ssh is not being logged to a file, you could set backend=journal for the sshd jail. Also, the .local...
  20. K

    [SOLVED] Download PVE8 packages and continue upgrade offline

    In that case I guess you will need to explicitly download it, as you suggested. Good luck.