Posts

Showing posts from November, 2023

Proxmox LXC cannot mount squashfs image using "squashfs" mount

 Proxmox LXC cannot mount squashfs image using "squashfs" mount   error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount: /tmp/sanity-mountpoint-015619550: mount failed: Operation not permitted.   1. Enable FUSE  go to CT ->  Options -> Features and click the FUSE checkbox. 2. Install squashfs tools and others dnf install squashfs-tools squashfuse fuse 3. reboot LXC container You can install now ex certbot snap install --classic certbot

Send emails from postfix using mandrill or sendgrid

 Send emails from postfix using mandrill or sendgrid After installing and configuring postfix, add this to the /etc/postfix/main.cf relayhost = [smtp.sendgrid.net]:2525 smtp_tls_security_level = encrypt smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd header_size_limit = 4096000 smtp_sasl_security_options = noanonymous or relayhost = [smtp.mandrillapp.com]:587 smtp_tls_security_level = encrypt smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd header_size_limit = 4096000 smtp_sasl_security_options = noanonymous   Create file /etc/postfix/sasl_passwd   and add inside     [ smtp.sendgrid.net ] :587 USERNAME:PASSWORD   or [ smtp.mandrillapp.com ] :587 USERNAME:API_KEY   Protect the files changing to DB: postmap /etc/postfix/sasl_passwd     now you can delete sasl_passwd because there is sasl_passwd.db file   If there is error: postfix/smtp[8513]: warning: SASL authentication failure: No worthy mechs found postfix/smtp[85