All posts by Michael Albert

Postfix: Internal Mailrelay with Auth and TLS encryption to Provider

Hi,

this will describe the steps to setup a MailRelay for internal use the accepts SMTP Mails and relay it over a secure TLS connection with authification to an external mail provider on top of Debian 8 Jessie.
Continue reading Postfix: Internal Mailrelay with Auth and TLS encryption to Provider

Advertisment to support michlstechblog.info

VMware: Set DNS Server of all ESXi Host conntected to vCenter

Hi,

this is a script to set the DNS Servers for all ESXi Hosts connected to vCenter.

Usage is very simple. Open a PowerCli Command shell. The script accept 2 parameters. “vc” = the vCenter and “s” is the a comma separarted list of DNS Servers.

PS D:\temp> .\SetHostDNS.ps1 -vc yourVCenterServer.yourdomain -s 8.8.4.4,8.8.8.8
Set DNS Server at host1.yourdomain ... ok
Set DNS Server at host2.yourdomain ... ok

Thats all 🙂

Michael

WordPress: Warning: Cannot modify header information

Hi,

when you change your Provider or your provider changes PHP version the Login page of WordPress (wp-login.php) shows an error message like this and a login is impossible:

Warning: Cannot modify header information headers already sent by…
Continue reading WordPress: Warning: Cannot modify header information

Raspberry Pi: Script to (Cross) Compile a new Kernel

Hi,

a my Project Owncloud on a Raspberry Pi I want to use AppArmor to protect the lighttpd webserver. Unfortunately the default kernel is complied without apparmor support.

So I decided to build my own kernel:-)

Continue reading Raspberry Pi: Script to (Cross) Compile a new Kernel

Windows: Recording Audio from the Audio loopback device

Hi,

for learning C# I have created a sample project. I choose the NAudio library to play around with sound interfaces in Windows. Starting from this point the C# project grows :-).
Continue reading Windows: Recording Audio from the Audio loopback device