I have a business need. I need to send automatically generated email from a specific business address to my customers. Postfix does not help you to save it to “Sent” mailbox. Although I have mail logs telling me that emails have been sent to the correct email addresses but I really don’t know what is being sent.
Because I setup my own mail server, this is going to be really easy. There is no need to change my business code to BCC a secret address, which is not very nice.
Continue reading Make a secret copy of sent email in Postfix
I have done some searching on the internet and found little about this specific topic, hence this post.
Continue reading GRE over IPSec setup tutorial
Ranged port forwarding has its uses. I want to port forward port number 1025 to 50000 from Machine A to Machine B’s 1025 to 50000. Here is how I did it with iptables.
Continue reading Port range forwarding using iptables
One of my servers back in China has a really sloooow connection to some of the famous DNS servers, like Google’s or OpenDNS. I happen to come across a performance issue related to DNS issue when I was logging into that server.
Continue reading OpenSSH hang after SSH2_MSG_SERVICE_ACCEPT
Recently I came across a problem which took me some time to find out.
I want to write a script that can take arguments to add user to my Django app. This problem was encountered:
Continue reading Operate Django from directly executing python file over command line
I was using 1.5.x version of Mutt and recently upgraded to 1.6.x. When I tried to use tab key to select from my aliases, it wouldn’t work and will show
Query command not defined error.
Continue reading Fix Mutt auto complete problem
H264 decoder is proprietary. Hence no default installation on fresh Fedora. We need to add rpmfusion repositories and other packages to support firefox streaming/playing h264 format.
Continue reading Let Firefox support h264 video in Fedora
Gate Project is a VPN service platform that I wrote from scratch. It utilizes OpenConnect as server/client and use certificate as authentication methods.
The project’s website: http://www.gate-project.com
The service is featured as below:
1. Limit of concurrent users per server, so your speed is guaranteed.
2. One certificate can be logged into all servers.
3. Multi geography servers.
4. Cheap price.
5. Unlimited bandwidth within reason
6. Auto re-issue certificates when payment is done.
7. Support nearly all platforms (Windows, Mac, Linux, Android, iOS)
Feel free to buy 1 day of service and decide later.
A note to myself. I tried to install XeLaTeX to my freshly installed Fedora 23.
Continue reading Install XeLaTeX in Fedora
This is a note from learning Python’s
Most of emails nowadays consists of 3 parts: plain text content, HTML content and attachments. Python’s
smtplib library indeed saved us a lot of work.
Continue reading Sending email with Python