May 2002 Archives

Postfix + SASL notes

|
These are my spastic notes on setting up a private (NOT secure) postfix to do SMTP SASL Auth. Linux linux 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i686 unknown gcc version 2.95.2 20000220 (Debian GNU/Linux) cyrus-sasl-1.5.27 postfix-1.1.3

These are my spastic notes on setting up a private (NOT secure) postfix to do SMTP SASL Auth. Linux linux 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i686 unknown gcc version 2.95.2 20000220 (Debian GNU/Linux) cyrus-sasl-1.5.27 ./configure --prefix=/usr/local/cyrus-sasl-1.5.27 --enable-login --disable-krb4 --disable-gssapi --disable-anon --with-pwcheck=/usr/local/cyrus-sasl-1.5.27/shared postfix-1.1.3 edit these lines in Makefile CC = gcc $(WARN) -DUSE_SASL_AUTH -L/usr/lib -I/usr/include -lsasl EXPORT = AUXLIBS= CCARGS=-DUSE_SASL_AUTH -L/usr/lib -I/usr/include -lsasl OPT=-O DEBUG=-g make and make install postfix. Should run the postfix-install script which interactively asks for file locations. I'm put EVERYTHING in /usr/local/postfix. Even the mail queue, since I hope to use mail folders instead of spool files. Here is my postfix config file. linux:/etc/postfix# cat main.cf queue_directory = /usr/local/postfix/queue mail_spool_directory = /var/spool/mail command_directory = /usr/local/postfix/sbin daemon_directory = /usr/local/postfix/libexec mail_owner = postfix default_privs = nobody setgid_group = postdrop myhostname = mail.specialtyimports.com mydestination = $myhostname, specialtyimports.com mail_spool_directory = /var/spool/mail command_directory = /usr/local/postfix/sbin daemon_directory = /usr/local/postfix/libexec local_destination_concurrency_limit = 2 default_destination_concurrency_limit = 5 sendmail_path = /usr/local/postfix/bin/sendmail mailq_path = /usr/local/postfix/bin/mailq manpage_directory = /usr/local/postfix/man sample_directory = /etc/postfix readme_directory = no # These items were added to prevent open relay smtpd_sasl_auth_enable = yes smtpd_delay_reject = yes smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_relay_domains smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes linux:/etc/postfix# This sets up a mail server that is happy to recieve mail for any local user, will send mail from authenticated users, and spools to a mail spool file. The SASL rules at the end restricts usage to authenticated users and redundantly adds the caveat that all relays must be authenticated. Note that the only authentication I allow is plain text. I find most mailers don't have MD5 encryption or anything else for that matter, but I haven't played with it. If you find an encryption that you can use with common mail clients (outlook, outlook express, netscape) then by all means please let me know. Then I strap a pop3 daemon on top and boom mail server for someone. These aren't IMAP people. So, I'm not using mail folders yet. Although, I do a version of it at home. To change delivery to mail folders instead of mail spool files all you have to do is put a '/' at the end of the mail spool path and I think that there is a symbol that you can use for homedirectory. Someday I'll put SASL, SSL, HTTP, IMAP, and POP3 together.

From TwinView To nView

| | Comments (2)
oboltyo back again, sorry it has been so long. Just wanted to update you on running dual cards or the new geforce4 with nView. First of all I did get two cards up and running, I used two nvidia cards incase your curious, and also did get the excelerated drivers working (but only on the primary monitor - infact i had to manipulate the XF86Config-4 file a bit so the agp card was listed first, if you use XFree86 -configure it will set up a new XF86Config-4 file if you are using Xserver 4.%@!#$& and up I believe that will do this for you) but all in all I could never get the system to run as stable as with dual out from a single card. As for nView - it worked as easy as twinview did for the mx cards - beautifully!! All I did is add the same Options as before and restart my X server and bam... both screens again with no stability problems. I do need to mention though- when I first put this card in (Winfast A25%@!#$&) Linux would not boot at all. After an hour of racking my head on the wall I finally figured out that it would not boot as long as lilo was using any type of frame buffer so I had to set the video section in lilo to normal and every thing was then ok. Well hope this info helps some of you out there in WebLand..Lates. -here are the Options to add to Section "Device" (yours may differ for the refresh rates and sync rates) Option "TwinView" "true" Option "SecondMonitorHorizSync" "3%@!#$&-95" Option "SecondMonitorVertRefresh" "5%@!#$&-%@!#$&6%@!#$&" Option "MetaModes" "%@!#$&%@!#$&80x1%@!#$&%@!#$&4, %@!#$&%@!#$&80x1%@!#$&%@!#$&4, %@!#$&%@!#$&%@!#$&4x768, %@!#$&%@!#$&%@!#$&4x768, 8%@!#$&0x6%@!#$&%@!#$&, 8%@!#$&0x6%@!#$&%@!#$&, 640x48%@!#$&, 640x48%@!#$&" Option "TwinViewOrientation" "RightOf" Option "ConnectedMonitor" "crt,crt" Option "Xinerama" "on" What kind of frame rates? I ran gears -fps at non-fullscreen and was getting anywhere from 55%@!#$&%@!#$& to 7%@!#$&%@!#$&%@!#$& fps depending on window manager and upto %@!#$&9%@!#$& fps full screen (across both monitors). My system is a dual PIII %@!#$& gig, 1gig of RAM. Remember though that the second processor rarely helps in frame rates unless the program is written for multi threading.

.014 Lucky Ladies

|
This is pathetically right brained, but Olivia mentioned that a book she read recently said there are about 10,000 compatible mates per person. So, I, being a right brained geek ran some statistics on that. If you assume that there are about 7 billion people in the world, then about .00014% of the worlds population is

compatible with me. Now let's assume that compatibility is evenly distributed. This is a wild assumption, but the law of averages adds to my favor. There are 302,820 women in Alaska. Let's then eliminate the top and bottom third of the Alaskan women as being either to old or to young. Leaving about 100,000 potental Alaskan Dates. That means that there are approximately .014 compatible women here in Alaska (100,000 x .0000014). That's depressing. Especially since none of this considers already married/engaged/attached women. What I'm seeing here is I need to learn to get along with the ones that aren't compatible, quit doing the math, or move :)