Postingan

Menampilkan postingan dari Mei, 2023

How to add List-Unsubscribe header

  To implement the opt-out option in your email header, your email server must first be configured. For example, this is how to add the list-unsubscribe header to all outgoing emails using Postfix: in  /etc/postfix/main.cf , set  header_checks  to: header_checks = regexp:/etc/postfix/list_unsub_header Copy create a  list_unsub_header  file in  /etc/postfix/  and add the following: /^Content-Transfer-Encoding:/i PREPEND List-Unsubscribe: mailto:<sender-email-address>?subject=unsubscribe> " Copy Restart Postfix it with service postfix restart Copy or / etc / init .d / postfix restart Copy Contact your email administrator to insert this option for your particular server. If you use an email service provider, you can ask them to insert the list-unsubscribe header into your email. Or you can do this yourself, using the ESP’s documentation. To accomplish this, you will have to choose between two types of unsubscribing methods:  mailto ...

DKIM not working - Mails do not get signed

Gambar
PROBLEM DESCRIPTION For any given domain, in Mail Settings, "Use DKIM spam protection system to sign outgoing email messages " is checked enabled, but in some circumstances outbound email messages are not signed from said domain. It's necessary to switch DKIM off and on again   to get it to work.   Unable to send dkim headers Troubleshoot log /var/log/rspamd/rspamd.log Prompt for permission issues: dkim_module_load_key_format: cannot load dkim key /www/server/dkim/xxxx.com/default.private: cannot map key file: '/www/server/dkim/xxxx.com/default.private' Permission denied Set 640 to 644, then restart rspamd to send emails to view email source code chmod 644 /www/server/dkim/xxxx.com/default.private /etc/init.d/rspamd restart

WDR Nginx rewite rule

Nginx Rewrite URL Rules Examples location / {   if (!-e $request_filename){     rewrite ^/password-reset/([^\/]+)(\/|)$ /index.php?link1=welcome&link2=password_reset&user_id=$1;   }   rewrite ^/$ /index.php?link1=home;   rewrite "^/forum/members/([a-zA-Z]{0,1})(/?|)$" /index.php?link1=forum-members-byname&char=$1;   if (!-e $request_filename){     rewrite ^/setting/([A-Za-z0-9_-]+)$ /index.php?link1=setting&page=$1;   }   if (!-e $request_filename){     rewrite ^/@([^\/]+)(\/|)$ /index.php?link1=timeline&u=$1;   }   if (!-e $request_filename){     rewrite ^/([A-Za-z0-9_]+)/([^\/]+)(\/|)$ /index.php?link1=timeline&u=$1&type=$2;   }   if (!-e $request_filename){     rewrite ^/([^\/]+)(\/|)$ /index.php?link1=timeline&u=$1;   } } location /setting {     rewrite ^/setting/([A-Za-z0-9_-]+)$ /index.php?link1=setting&page=$1;   rewrite ...

Remove cache url

Gambar
  Please open: \xhr\login.php Find ? cache and remove it totally , remove only what is selected:  https://prnt.sc/9APi9GRCTrgm Line 95 $data['location'] = $wo['config']['site_url']; Bests,

False url sitemap-index.xml

Manage your sitemaps with a sitemap index If you have a sitemap that exceeds the  size limits , you'll need to split up your large sitemap into multiple sitemaps such that each new sitemap is below the size limit. Once you've split up your sitemap, you can use a sitemap index file as a way to submit many sitemaps at once. Sitemap index best practices The XML format of a sitemap index file is very similar to the XML format of a sitemap file, and it's defined by the  Sitemap Protocol . This means that all the sitemap requirements apply to sitemap index files also. The referenced sitemaps must be hosted on the same site as your sitemap index file. This requirement is waived if you set up  cross-site submission . Sitemaps that are referenced in the sitemap index file must be in the same directory as the sitemap index file, or lower in the site hierarchy. For example, if the sitemap index file is at  https://example.com/public/sitemap_index.xml , it can only contain sitem...