Skip to navigation
How to use the froxlor-opendkim php dkim script
10.05.22
1. apt-get install opendkim opendkim-tools 2. cd /var/www/froxlor/ 3. composer require froxlor-opendkim 4. edit /etc/opendkim.conf SigningTable refile:/etc/postfix/dkim/signing.table KeyTable /etc/postfix/dkim/key.table 5. edit /etc/postfix/master.cf like: smtp inet n - y - - smtpd -o smtpd_milters=inet:localhost:8892 -o milter_macro_daemon_name=VERIFYING -o content_filter=spamassassin #smtp inet n - y - 1 postscreen #smtpd pass - - y - - smtpd #dnsblog unix - - y - 0 dnsblog #tlsproxy unix - - y - 0 tlsproxy submission inet n - y - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_milters=inet:localhost:8891 6. activate dkim in froxlor example setting: Prefix: /etc/postfix/dkim/ Milter restart command: /etc/init.d/opendkim restart 7. set on your domain the public key, you find it under cat /etc/postfix/dkim/dkim1.public name: dkim._domainkey.shopautomat.com value: "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDFi8urpcxUQrdEjzb8Q93q5CC4isg7vv2O95zEs2F/8Oa5ojIEDt3Jq2hVssFfyHqm5j5zlDioOPasjgkA8RtsMcUfjxQ9MvfmqirSIFR7hMjrKAokIXXgwPkEiDlsCq5cRmTXPM6vYqQX7nE6anTM9R8HgDk7NRr35Xv6UGcY9wIDAQAB" 8. set a cronjob PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin */5 * * * * root /usr/bin/nice -n 5 /usr/bin/php -q /var/www/froxlor/vendor/froxlor-opendkim/dkim.php --tasks 1> /dev/null 9. check if it works by analyzing the header of yours send email and make a test with https://www.mail-tester.com
https://calantas.org/froxlor-opendkim
Reply
Anonymous
Information Epoch 1732500450
Portable data is as important as portable code.
Home
Notebook
Contact us