Just set up your mail server? Congratulations! Now you should test it. In particular, check if it relays mails to other servers and if the response time is reasonable. Here’s a script for doing the testing. Just edit the arguments to send_mail() to match your setting. #!/usr/bin/perl use warnings; use strict; use Net::SMTP; send_mail(’127.0.0.1′, # [...]
Suppose that some hodge-podge of scripts and template files create a single file, which has multiple encoding of Hebrew. That is, both UTF-8 and windos-1255. If the different encodings don’t appear in the same lines, the following script makes it all UTF-8: #!/usr/bin/perl use strict; use warnings; use Encode; binmode(STDOUT, “:utf8″); while (defined (my $l [...]
Introduction These are my own notes as I set up an OpenVZ VPS server, based upon CentOS 5.6 to function as a web and mailing list server. A $36/year 128 MB RAM machine was good enough for this. Since there’s some criticism about the hosting provider, and it looks like they’re OK after all, I’m [...]
I tried to change directory to eli from other users belonging to the group “eli” and it failed with $ cd ../eli/ -bash: cd: ../eli/: Permission denied despite everything begin OK with the classic UNIX settings. Reminder: After settings groups, there’s a need to either logout and login again, or use “su -” to refresh [...]
I had set up my plain git-daemon and everything seemed to work fine, until I tried it from Windows. It just didn’t return from the command. According to a discussion in a newsgroup, the problem is a bug in msysgit’s implementation of side-band-64k, whatever that is. Personally, even if an upgrade to msysgit existed, or [...]
The problem It first seemed extremely odd: The IP address of my embedded Linux machine changed suddenly after a few hours, breaking the ssh connection I had up, and messing up the NFS mount. The problem turned out to be the lack of a hardware clock (RTC) on the board + clock being updated with [...]
Introduction In the past, a LiveDVD was offered along with the evaluation kit for Xillybus, to make the setup quicker. As it turned out, there was no demand for this prepackaged kit, so it’s no longer available. But the steps for creating the image are documented here anyhow. This procedure was made on Fedora 14, [...]
Git has this thing about trailing white spaces in source files, for good reasons. Somehow it looks like there isn’t a widely spread utility for cleaning up a lot of files in one go. On the other hand, there are plenty of them out there, but none met my needs. So I wrote yet another [...]
Intro This is a general description of how to create a custom LiveCD/LiveDVD. It should have been simple: Take an existing LiveCD, make some slight modifications, and then create a new LiveCD with these modifications built in. A specific case is detailed here. As it turns out, this is all but simple. The automatic tools [...]
Yet another thing that should have been so simple, but required hacking. Using (Beta) Xemacs 21.5.29, it didn’t have a menu item for pretty printing. Nor was there a clear way to connect with CUPS. First thing first, make sure to have a nice popup for printing. If not for any other reason, it gives [...]