Adding a Qmail Server

11/04/02 | by david2 [mail] | Categories: Geek
In order to add a server to an existing qmail installation -- do the following:

1) add the appropriate line into the /var/qmail/users/assign file
2) run qmail-newu to build the cdb file
3) update /var/qmail/control/rcpthosts (or maybe morercpthosts)
4) update /var/qmail/control/virtualdomains

Of course, your vpopmail UID and GID 's must be the same in both systems

syslog

11/04/02 | by david2 [mail] | Categories: Geek
Levels: Emerg Alert Crit err warning notice info debug

Facilities: kern user (default) mail daemon auth lpr news uucp cron local0 local1 local2 ... local7


Bayes Filters

11/01/02 | by david2 [mail] | Categories: Geek
Bayes needs perl module: DB_File:

1) Berkeley DB must be installed -- it installs in BerkeleyDB.x.x in /usr/local
2) when compiling DB_File -- you must edit config.in and enter the version of Berkeley you're using for LIBS and INC.
3) perl Makefile.PL ; make ; make install
4) for Bayesian filter, a directory called Bayesian includes process.pm needs to be in the @INC path of perl -- I put it in /usr/local/bin/Bayespam and did a ln -s to /usr/local/lib/perl5/site_perl (or something similar)

5) create the database:
bayes_process_email.pl \\
--good /export/home/vpopmail/domains/graves.com/dgraves/Maildir/cur \\
--spam /export/home/vpopmail/domains/graves.com/dgraves/Maildir/.spam/cur \\
-o /export/home/dgraves/bayes_rating.db

6) edit and install the .qmail file for whatever mailbox you want this to work on

symbols

11/01/02 | by david2 [mail] | Categories: Geek
® alt 0174
© alt 0169
™ alt 0153

pkginfo

10/31/02 | by david2 [mail] | Categories: Geek
pkginfo will give info on an installed package
pkgchk -l will give info on the installed pieces of a package

ipfilter

10/31/02 | by david2 [mail] | Categories: Geek
ipfilter --
allow in tcp/udp from any to any port = 22 keep state flags S allows a syn in, and everything else in that session, even with a
block quick in all
block quick out all right behind it.

Theory

10/31/02 | by david2 [mail] | Categories: General
In theory there is no difference between practice and theory but in practice there is.

32 or 64 bit sparc

10/30/02 | by david2 [mail] | Categories: Geek
isainfo -v will tell you which your architecture is

DNSQ -- djb's dns query

10/30/02 | by david2 [mail] | Categories: Geek
dnsq by default does not request a recursive query -- so it's only good for testing authoritative servers -- just an fyi

How to use Rsync

10/30/02 | by david2 [mail] | Categories: Geek
What a cool program

Copying directory foo and its contents from here to there :

rsync -avz /dir/foo remote:/dir/bar < -- you end up with a directory /dir/bar/foo

rsync -avz /dir/foo/ remote:/dir/bar < -- you end up with foo's files in /dir/bar

to use ssh as transport: export RSYNC_RSH=/path/to/ssh

Pages: << 1 ... 132 133 134 135 136 137 138 139 140 141 142 >>

January 2019
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Search

The requested Blog doesn't exist any more!

XML Feeds

powered by b2evolution free blog software