emerge -a dkim-milter
emerge --config mail-filter/dkim-milter
/etc/mail/dkim-filter/dkim-filter.conf: Domain domain.tld
KeyFile /etc/mail/dkim-filter/mydkim.private
Selector mydkim
UMask 000
/var/bind/domain.tld.hosts:mydkim._domainkey.domain.tld. IN TXT "v=DKIM1; g=*; k=rsa; p=yourkeyhere;"
/etc/postfix/main.cf:smtpd_milters = unix:/var/run/dkim-filter/dkim-filter.sock
non_smtpd_milters = unix:/var/run/dkim-filter/dkim-filter.sock
rndc reload
postfix reload
/etc/init.d/dkim-filter start
Test by sending email to autorespond+dkim@dk.elandsys.com.
In the ssl virtual host fragment:
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
SSLCertificateFile /etc/ssl/apache2/wxs.crt
SSLCertificateKeyFile /etc/ssl/apache2/wxs.key
SSLCertificateChainFile /etc/ssl/apache2/sub.class1.server.ca.pem
SSLCACertificateFile /etc/ssl/apache2/ca.pem
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
SSLOptions StrictRequire
SSLProtocol all -SSLv2
This is for StartSSL.com certs.
Getting your IMEI (International Mobile Equipment Identity) Number: *#06#
Access Software version: > * < < * < *
Reach last dialed numbers: 0 then #
The Sony Ericsson Secret Menu screen: -> * <- <- * <- *
Change to Default Language (English): < 0 0 0 0 >
Info about SIMLOCK: < * * <
Opening phone without a SIM card: **04*0000*0000*0000# followed by on ‘Wrong Pin’ number
If you get this warning when using emerge
WARNING: repository at … is missing a repo_name entry
you need to create a file “repo_name” containing the overlay name into the “profiles” directory under your overlay directory. If my overlay is in /opt/my-overlay, i need this file :
# cat /opt/my-overlay/profiles/repo_name
myoverlay
If you can’t update your world set because of circular dependencies,
then you can best comment out your USE-flags in /etc/make.conf and put USE="-*"
underneath it. Then update world and when that succeeds, remove the
latter USE declaration in your make.conf and uncomment your former
USE-flags. Update/rebuild world again and if all goes well you won’t
have a single circular dependency
http://treggats.wordpress.com/2008/10/09/the-story-continues/
Gentoo:
/usr/sbin/service:
#!/bin/sh
set -e
/etc/init.d/$1 $2 $3
/etc/bash_completion.d/service:
# a function for the autocompletion of the service command.
_service_fn()
{
# set some local variables
local cur prev
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
prev=${COMP_WORDS[COMP_CWORD-1]}
#if only one completion or a option is being requested
#then complete against various options
if [ $COMP_CWORD -eq 1 ]; then
COMPREPLY=( $( compgen -W “$(ls /etc/init.d)” $cur ))
elif [ $COMP_CWORD -eq 2 ]; then
COMPREPLY=( $( compgen -W “start stop restart pause zap status ineed iuse needsme usesme broken” $cur ))
else
COMPREPLY=( $( compgen -f $cur ))
fi
return 0
}
#setup the completion
complete -F _service_fn service
howto create the ‘service’ command – linux-noob.com/forums
Ubuntu:
apt-get install sysvconfig
http://www.cyberciti.biz/tips/how-to-controlling-access-to-linux-services.html
you’ll want to change this line in /etc/my.cnf from:
innodb_data_file_path = ibdata1:10M:autoextend:max:128M
to
innodb_data_file_path = ibdata1:10M:autoextend
Professional Middleman: MySQL table is full error on Gentoo Linux
Theme Null
plugins:
[I] x11-plugins/gkrellm-hddtemp
[I] x11-plugins/gkrellm-leds
[I] x11-plugins/gkrellm-radio
[I] x11-plugins/gkrellm-volume
[I] x11-plugins/gkrellmss
[I] x11-plugins/gkrellm-multiping
[I] x11-plugins/gkrellm-shot
[I] x11-plugins/gkrellm-top