Note: Not a lot here yet, hope there will be more soon. These code snippets are in draft state, as is this site. Thats why it looks like what it looks like. It is NOT in any way designed, so don't bother.
Furthermore, as you can easily see the author is german, but for international usability this list has been written in english. Any corrections of the text (by people who know what they are doing) are therefore appreciated...
All email-addresses have their @ changed to "at" to reduce spam collecting.
Discussion welcome:
[negg"at"aspekt1.net]
zmi did a lot of changes to my buggy first try in the world of python. The code is much better commented and more comfortable. It avoids some bugs I did not notice. See the script for more explanation of the changes.
http://www.aspekt1.net/ms/dev/poprelayd-nodb_V01.01.py
poprelayd (by Curt Sampson) is really a great program. It is designed to make your Sendmail program allow relaying from a certain host for a short period of time after that host has authenticated itself via a POP3 or IMAP connection.
However, some people experienced problems with sendmail and perl compiled with different db-versions, which leads to a message like:
Cannot open hash database /etc/mail/popip.db: Invalid argumentOne solution to this is to recompile sendmail and perl with the same db-libraries. Why this is so and how this has to be done is explained at the bottom of this page.
If you (like me) do not think you will be able to accomplish this, even in, say, 100 years, read on.
I found another solution to this problem. The admins at poprelay.sourceforge.net even offered me to post it, but I just didn't manage yet (sorry sorry sorry).
I programmed a small daemon in python that does nearly the same as poprelayd, but doesn't suffer from the above problem, as it just creates a text-file with the allowd IPs and then calls "makemap" each time soething changes.
If you've got python on your machine maybe give it a try. But let me say this first:
I am not an experienced python programmer (in fact this was my first try). So I do not know which side effects my app might have. Do not use it in important environments without knowing what you do! Ok, here it is:
http://www.aspekt1.net/ms/dev/poprelayd-nodb.py
How it works
Put it into some directory (i.e. /usr/local/poprelayd) and make it executable for root.
Then edit the paths in the script to reflect your machines locations for logfiles etc.
Call it. Thats all.
If it works you can use this script to start and stop it from your runlevels.
Sorry, I haven't got the time to tell you more about it right now. It will of course only work if the rest of the poprelayd-package by Curt Sampson is installed correctly. It only replaces the poprelayd-daemon. Good luck!
This javascript-resize-fix works with <embed>s, too, because it checks for a resize every 1000ms, and does not depend on onresize-events, because those events don't work as soon as an <embed> is on the page.
Just put it somewhere in the head of your document.
http://www.aspekt1.net/ms/dev/a1nsResizeFixFlashproof.js.txt
This script has been done by math here at aspekt1.net.
For questions or comments mail to:
a1resizefix@aspekt1.net or chat with us at http://irc.aspekt1.net