Search results

  1. K

    [SOLVED] PMG statistics pages display and accept invalid date selection

    In the dropdown, day numbers 1-31 are always available regardless of the month selected. The generated starttime/endtime is however a valid date and the data displayed, correct for that date. For example, selecting 29/02/22 generates a graph for 01/03/22 and 31/02/22 brings a graph for 03/03/22...
  2. K

    [SOLVED] PMG statistics pages display and accept invalid date selection

    I noticed the date selector in the statistics section offers 31st September as a valid selection. When selected, it seems to find data to display under the various stats sub-pages and that data differs from both 30th Sept and 1st Oct. It seems like a bug to me. I am on Mail Gateway 7.1-7.
  3. K

    [SOLVED] Wireless HW access from container

    Just an update. I now seem to have this working (in a privledged container) using the following lxc config. I don't know if it's possible/straightforward in an unprivledged container. lxc.net.1.type: phys lxc.net.1.flags: up lxc.net.1.link: wlp4s0 lxc.net.1.name: wlp4s0...
  4. K

    [SOLVED] Wireless HW access from container

    Hi I'd like to try to setup an Alpine based container running hostapd. I have searched the Proxmox forums and have not found any recent posts regarding accessing host's wireless hardware from within a container. I gather this may now be possible with lxc. How might I configure the container in...
  5. K

    DMARC Reporting

    That would be good. In the meantime I'm using this. It consists of uncoupled parser and viewer. The parser (perl) checks via IMAP the mailbox that receives dmarc reports, and populates a DB (cron job). The viewer is a php web based view of said DB.
  6. K

    [TUTORIAL] Fix always high CPU frequency in proxmox host.

    You're correct, this is an in place upgrade. I don't use ZFS. Thanks for the references.
  7. K

    [TUTORIAL] Fix always high CPU frequency in proxmox host.

    Thanks for this. When I update kernel commandline, I usually run update-grub directly and don't use proxmox-boot-tool Having just tried proxmox-boot-tool refresh, I notice no modifications are made to /boot/grub/grub.cfg and therefore new boot args won't be applied.
  8. K

    [SOLVED] SSH server restart needed after package upgrades

    I was aware of xinetd/inetd but had not realised systemd had this super server functionality. It really does do everything, as claimed ;-)
  9. K

    [SOLVED] SSH server restart needed after package upgrades

    I did not lose the entire contents of /run but, post package upgrade, /run/sshd was either deleted or failed to initialise. The apt customisation I'd attempted, & since abandoned, was to diff files I'd created in /etc/pmg/templates/ with their counterparts in /var/lib/pmg/templates. Whilst it...
  10. K

    [SOLVED] SSH server restart needed after package upgrades

    @Stoiko Ivanov Many thanks for the help and background information. It's much appreciated.
  11. K

    [SOLVED] SSH server restart needed after package upgrades

    Thanks that was it! I had (what I thought was a commented-out) custom file in /etc/apt/apt.conf.d. I'd commented the contents using '#'. I changed these to '//'. Issue resolved, I think. Some things I have noticed, that have surprised me, whilst looking in to this (this is with a working ssh...
  12. K

    How to connect PMG to external syslog server?

    It doesn't appear to be there does it. You can configure rsyslog to send to a remote log server. Modify /etc/rsyslog.conf or add your conf as a new file in /etc/rsyslog.d/. I'm logging to an elastic endpoint with the following appended to /etc/rsyslog.conf: $ActionForwardDefaultTemplate...
  13. K

    [SOLVED] SSH server restart needed after package upgrades

    I just ran a package upgrade (libpve-http-server-perl) and /run/sshd got deleted. No other files or dirs under /run or existing ssh sessions are affected. However I need to restart sshd in order for /run/sshd to get (re)created and for new ssh logins to succeed. This is not something I have...
  14. K

    [SOLVED] SSH server restart needed after package upgrades

    On my PMG (Proxmox LXC) installation, I am often (possibly always) unable to login via ssh after applying updates apt dist-upgrade. The message I see on the remote client is: ssh root@smtp kex_exchange_identification: read: Connection reset by peer After restarting ssh via the web UI, all is...
  15. K

    Copy files from a Container to another

    There is also the `pct mount` command. I guess you need to take care of destination permissions regardless of the method you chose.
  16. K

    [SOLVED] Is there any purge facility to free up disk space?

    I wasn't sure why you had opted for LVM when setting up PMG. Then I looked at the install docs and it seems a bare metal or VM install will bring you LVM or ZFS. I had installed PMG, in Promox PVE, using their container template. Therefore did't have LVM in the guest. I can't see the benefit in...
  17. K

    [SOLVED] Is there any purge facility to free up disk space?

    It looks like your guest is using LVM and I'm guessing there's no space left in the VG (pmg) to grow the LV (/dev/mapper/pmg-root). Once you've provided some additonal storage to your guest VM (however you do that with Hyper-V), you could extend the VG, extend the LV, and finally resize the...
  18. K

    [SOLVED] Is there any purge facility to free up disk space?

    As pointed out, you can use `du -sh /dir/*` to investigate directory sizes. Aside from particular use case application data, the primary consumers of storage on a modern linux system are: systemd journal (/var/log/journal) check out journalctl --vacuum- options old kernels (/boot and...
  19. K

    Move to Junk/Spam folder based on Spam score

    Find the header your destination mailserver/client uses to identify spam prior to moving it to a junk mail folder. In PMG create/modify existing rule to add that header at the desired spam level. I changed the existing quarantine rule to trigger at spam level 5 and used another rule to add the...
  20. K

    Problems installing Ubuntu 20.04 Server

    Did you try the netplan config in the second answer? It would be good to know how it works out in the end.

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!