QuicksearchPersonalArchivesCategoriesSyndicate This Blog |
Thursday, April 27. 2006Postfix with SASL-Authentication in Debian
I think SMTP-AUTH is very important! Here is a short HowTo for Postfix with sasl authentication against shadow.
First install the necessary packages: apt-get install postfix-tls libsasl2-modules sasl2-bin Open the /etc/default/saslauthd for the configuration. # This needs to be uncommented before saslauthd will be run automatically Postfix have to know which authentication mode the daemon will use. You can define this in the /etc/postfix/sasl/smtpd.conf! (chmod 0644) saslauthd_path: /var/run/saslauthd/mux Then configure the postfix to ask for a username and password then anybody will send a mail to the server. Add the following lines to the /etc/postfix/main.cnf #sasl For security reason you should change that postfix runs in a chroot environment. You can change that in the /etc/postfix/master.cnf smtp inet n - y - - smtpd (Change the - to y!) Create now the directory for the saslauthd: mkdir -p /var/spool/postfix/var/run/saslauthd Set the right directory permission: chown root.sasl -R /var/spool/postfix/var/ Instead that dpkg change the permission we have to create an override for dpkg! dpkg-statoverride --add root sasl 710 /var/spool/postfix/var/run/saslauthd At last postfix musst have the right permission to speak to the saslauthd daemon, add postfix to the sasl group. adduser postfix sasl Restart postfix and saslauthd and try to send a mail to the mailserver. (Don't forget to set a username and a password in your mailclient for mailsending) Thursday, April 20. 2006mii-tool and 1Gbit/s links
Note to myself: mii-tool can't operate with 1Gbit/s and more.
Use ethtool, provides more informtion and has no 100Mbit/s limit. It's in Debian, so apt-get install ethtool Friday, April 14. 2006Xen included to the kernel soon?
Today I have read on Heise.de that Xen is one step closer to go into the linux kernel.
I hope this would be soon, because I am a big fan of Xen. Tuesday, April 11. 2006Xen 3.0.2 with Debian sarge - weird
If you get an error like this:
Error: Device 0 (vif) could not be connected. Hotplug scripts not working. You musst install hotplug with apt-get on the dom0 system. After this installation you can start a new domU session... Very crazy :-/ Rsync Server under Windows
Rsync Server under Windows is possible with cygwin and cwrsync!
You can get cwRsync with cygwin dlls here: http://itefix.no/cwrsync/ Install it, create a rsync.conf file, but two things are important for running rsync on windows:
My rsync.conf looks like this:
The password file has got that format: username:password For installing rsync as a Server you need the programs: - instsrv.exe - srvany.exe Now execute this command: instsrv.exe "Rsync c:\path\to\srvany.exe Do not start the service now! Open regedit and insert the following lins to that path: HKEY_LOCAL_MACHINE\SYSTEMS\CurrentControlSet\Services\Rsync\Parameters
Now you can start rsync as a normal service. Sunday, April 2. 2006UGH! the old dos/amiga game on Linux with DosBox![]() UGH! is back That's a really cool old game, I have not played it for years, now it is back on my Desktop
(Page 1 of 1, totaling 6 entries)
|