chatgpt | openai | api | curl | json

Use jq and especially jo for string and parameter creation. Handle special-character-problems ( ‘ % $ and million others ) by url encoding your strings directly at the source. chatgpt api natively speaks urlencode. I’ve tried base64, but the chatbot mentions in his answer that he/she was fed with base64 encoded stuff. To encode use […]

OPSI | ProductDependency

I.e. uninstall a 32 bit version before installing the 64 bit stuff to avoid parallel 32/64 bit instances on the same machine. [ProductDependency]action: setuprequiredProduct: userland-irfanview-438requiredAction: uninstallrequiredStatus: not_installedrequirementType: before

Postfix | get the original rcpt to into your header

You have a cascade of postfixes and aliases your mails are traversing through and are losing the original recipient address? Simply add a header line with first servers postfix. Tune your main.cf and add something like the ‘detect_recipients‘ line here: smtpd_recipient_restrictions = check_recipient_access regexp:/etc/postfix/specials/denied_recipients, check_recipient_access regexp:/etc/postfix/specials/allowed_recipients, check_recipient_access regexp:/etc/postfix/specials/detect_recipients, check_recipient_access regexp:/etc/postfix/specials permit_mynetworks, reject_unauth_destination Your detect_recipients file: […]