QuicksearchPersonalCategoriesSyndicate 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) 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 :-/
(Page 1 of 1, totaling 2 entries)
|