QuicksearchCategoriesSyndicate This Blog |
Friday, June 8. 2007Policyd-Weight nagios plugin
If you are using Policyd-weight and you want to monitor it with your nagios, you can use my policyd-weight nagios plugin.
You can download it here. Thursday, March 29. 2007TMS Logistik - Spam
I think you are know the TMS Logisik Spam. I get it 10 times a day.
You should look at http://tms-logistik.de/ a really nice site about spambots and the fucking spammails. I using postifx-pcre to reject this mail on SMTP connect. If you reject this mails on SMTP connect your mailq does not blow up and it does not slow down your mailserver. Sunday, September 10. 2006Webbased email administration interface - Update
Updated features list:
1.) normal eMailaccount
Now it would be nice if some volunteer create a nice site layout for the webinterface. Monday, August 14. 2006Webbased email administration interface
My project is neaerly complete! - Web based managment for eMailServers.
My eMailServer framework based on Courier/Postfix/Maildrop/MySQL has got four usergroups: 1.) normal eMailaccount
2.) admin for one or more domains
3.) superadmin
4.) superadmin manager
All this actions can be done with the webinterface! You can find some screenshots here. Sorry all screenshots in german, but it based on Smarty so you can make your own template. The Webinterface depends on php4, php4-mysql, php4-cli, mysql-server,smarty, php4-pear and some extra Pear Modules. Friday, June 30. 2006Virtual emailsystem based on MySQL/postfix/Courier
I develop an easy webinterface for Postfix and Courier based on a MySQL Database.
Now it get a step closer to the finish. Main work is done, now some subtleties need to be done. Yes, and it's using smarty, so everyone can make his own style! Thanks to Sven he provides me a vserver for testing! Thursday, June 1. 2006SPAM: Please program secure mailscript with PHPPlease Mr. Postman(The Marvelettes covered by The Beatles) So! Please wait and think a moment, if you program a little script for sending mails from an webpage to you. Very often these script are insecure. Spammers use this script regularly to send tons of spam emails throw your server. 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) Monday, February 20. 2006Script: check for new security updates with cron and mail
This script checks for new updates and mails the output to the sysadmin!
Thursday, February 9. 2006Postfix with Amavis-new for virus scanning
Here is a short HowTo for configure Postfix to use Amavis with ClamAV for virus scanning!
First you should install ClamAV from backports.org, when you using the ClamAV from stable/sarge you have an old searching engine that maybe have some problems to recognize new viruses with the new files from ClamAV-freshclam. First add this line to your /etc/apt/sources.list: deb http://www.backports.org/debian sarge-backports main Now that is very important to create a /etc/apt/preferences file:
With this entry you deactivate all packages from backports.org this is important because we will only install ClamAV from backports. Save the file and run an apt-get update to receive the packagefiles from backports.org. Now install clamav with: apt-get install -t sarge-backports clamav clamav-freshclam The -t sarge-backports is necessary, because apt will now install the package from backports.org! Now install amavis-new: apt-get install amavis-new Edit your /etc/postfix/main.cf and add this for amavis:
Edit your /etc/postfix/master.cf and add this for amavis:
Now you have to add clamav user to the amavis system group and add the clamav user to the amavis system group in your /etc/group! Because clamav user must read files in the amavis directory and the amvis user must read files in the clamav directory. After the modification /etc/group should look like:
After this modification you have to restart all services! (postfix, clamav-daemon, clamav-freshclam, amvis) Than you have to edit the /etc/amavis/amavisd.conf: It's very big so I only list the changes:
->>change to your hostname
->> no mail to virussender. because often the from emailaddres is faked!
->> the recipient gets an email that he has received an virus email
->> postmaster gets no notification Safe the configuration file and restart your amavid! Now try to send an email and than try to send a virus from If the repicient gets an email about “VIRUS ( EICAR.Test) IN MAIL TO YOU” all works fine. If not, check the /var/log/mail.log and try to resolv the error!
(Page 1 of 1, totaling 9 entries)
|