Recent content by Stoiko Ivanov

  1. Stoiko Ivanov

    Managing domains automatically

    from a quick look in the code and a quick check on a testsystem - no (the part rewriting the postfix config templates calls postmap for all needed files)
  2. Stoiko Ivanov

    [SOLVED] detected undelivered mail to

    please share the complete journal around that time - this is not the only cause of "detected undelivered mail to"... - maybe pmg-smtp-filter had another issue, or postfix is not running properly...
  3. Stoiko Ivanov

    Managing domains automatically

    Currently /etc/pmg/transport and /etc/pmg/domains are the authoritative source of the information in the API - so it should work fine to just edit those files. This might change in the future (for all readers who read this later) - so check the changelogs/release notes for versions after 9.0...
  4. Stoiko Ivanov

    Error PostgreSQL Permission denied

    hm - just to not miss anything - is the affected system a Proxmox Mail Gateway? In any case - the issue seems rooted in Veeam - so asking there might yield better results. I don't have experience with Veeam application backups - so I might miss something. The error message seems like Veeam's...
  5. Stoiko Ivanov

    [SOLVED] Bug ??? Adding a Mail to Whitelist adds also an empty entry to Blocklist

    hm - that response code does not look like it's coming from a regular PMG - maybe check the logs of the mailserver that should have received the message. else - yes the message is gone (technically it is still on the disk as long as the quarantine life-time of the message has not expired) in...
  6. Stoiko Ivanov

    [SOLVED] detected undelivered mail to

    see: https://forum.proxmox.com/threads/proxmox-mail-gateway-security-advisories.149333/post-838667:
  7. Stoiko Ivanov

    [SOLVED] detected undelivered mail to

    if they are queued on your PMG - you can try with `postqueue -i <queue-id>`
  8. Stoiko Ivanov

    [SOLVED] detected undelivered mail to

    installing the update, and allowing broken mime should work - the mails should either be resent by the sending server (before-queue-filtering) - or by postfix on PMG (after-queue-filtering) eventually (can take up to a few hours depending on how long they have been queued) - and with accept...
  9. Stoiko Ivanov

    [SOLVED] detected undelivered mail to

    Thanks ! As a summary for the public: * Issue with the mails was that the pdf-attachments have technically 2 'filename' parameters in their content-disposition headers - one as 'filename', the other as RFC2231 (https://datatracker.ietf.org/doc/html/rfc2231) encoded 'filename*0*' - as both of...
  10. Stoiko Ivanov

    [SOLVED] detected undelivered mail to

    an e-mail (putting the .eml and logs in a zip-file so they don't get rejected by our PMG) to s.ivanov _at_ proxmox.com would work Interesting - we tested the functionality of the change (rooted in: https://metacpan.org/pod/MIME::Head#ambiguous_content and...
  11. Stoiko Ivanov

    [SOLVED] detected undelivered mail to

    The log-lines give already a good hint at the area of the issue - with those (and the complete mail as .eml) it's usually possible to find the issue.
  12. Stoiko Ivanov

    [SOLVED] detected undelivered mail to

    * please run `pmgconfig sync -restart 1` - then check the main.cf again. * do you have any overrides in /etc/pmg/templates? if this does not help, please do share the contents of /etc/resolv.conf, /etc/hosts, and the rendered /etc/postfix/main.cf
  13. Stoiko Ivanov

    Unable to parse message - part did not end with expected boundary

    See https://forum.proxmox.com/threads/detected-undelivered-mail-to.180292/post-840426 for a bit more details - else this change is due to: https://forum.proxmox.com/threads/proxmox-mail-gateway-security-advisories.149333/post-838667 and you can allow such mails - and then selectively decide...
  14. Stoiko Ivanov

    [SOLVED] detected undelivered mail to

    The change is related to a potential security issue addressed in: https://forum.proxmox.com/threads/proxmox-mail-gateway-security-advisories.149333/post-838667 You can selectively allow broken mails by adding rules that match on the added X-Proxmox-Broken-Message header - see the documentation...
  15. Stoiko Ivanov

    "Disclaimer" but how do I send it to everyone except them "Whitelist"?

    You can use the None matches modifier for the who-object: https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#_application_of_rules else - add accept to the rule with your who-object, and add the disclaimer in a rule with lower priority I hope this helps!