Re: Non English Spam

2006-10-14 Thread Anders Gulden Olstad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Beech Rintoul wrote:
 I'm getting a ton of spam every day  that comes from China, Japan and Korea. 
 Spam Assassin completely ignores it because it has all non-english characters 
 and slows kmail to a crawl loading. Is there a way to filter on non-english 
 either using Spam Assassin or procmail? 
 
 Suggestions would be appreciated.
 
 Beech

This procmail rule catches all of my non-english spam

# Trap misc charset mail in header and body
:0HB
* charset=.*BIG5.*|\
  charset=.*GB2312.*|\
  charset=.*DEFAULT_CHARSET.*|\
  charset=.*ks_c_5601-1987.*|\
  charset=.*euc-kr.*|\
  charset=.*ISO-2022-KR.*|\
  ^Subject:.*BIG5.*|\
  ^Subject:.*GB2312.*
/dev/null




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Grunbacher Altweizen Dunkel
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFMIQTMVyOPWVstbURAsaGAKDXkCWAJ2xonZdWlNhKT61rpuhgzgCgsez2
CwIgRdaN4Q6/RkqfcRjkOB4=
=9ltQ
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question:encryption tool

2007-02-15 Thread Anders Gulden Olstad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dak Ghatikachalam wrote:
 Hi freebsd ers
 
 I am looking for any suggestion on using the right tool  that I can use to
 perform the   encryption/decryption for flat files.
 
 We have a requirement to encrypt 15 flat files and be dumped on tape and be
 stored in remote site  facility for later business resumption.
 
 or in the crash/fire/emergency situation for the recovery purposes.
 
 For consistency I am planning to use the same tool across our Solaris,
 Linux
 and Freebsd OS oracle database environments.

Go for GnuPG. We use that for securing our nightly database dumps, which
are piped thru gpg. (We share backup server with several other systems.)

The encryption is done to a public key, with the secret key secure
locked away on some other location.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF1AjJMVyOPWVstbURAsAbAKCtN07O+PobPR9vT4kniWPQjluVXACg4QJN
Di2Mlsz8OYzPaLCRSyzVNrQ=
=wjTA
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Proftpd doesn't update last log properly

2007-11-22 Thread Anders Gulden Olstad
FreeBSD  6.2-RELEASE-p8 SPARC64
Ports: proftpd-1.3.1_2

I have a small annoying problem with my proftpd installation. It doesn't
update the last log properly. All logins are
left as still logged in with Jan 1 as date.

All other logins are correct, except ftp.

  user ftp  192.168.1.10 Thu Jan  1 01:00   still logged in

I've testet it in both FreeBSD jail and directly on host. Same result.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's so compelling about FreeBSD?

2006-10-16 Thread Anders Gulden Olstad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

William Tracy wrote:
 So, basically, I'm asking you guys to wow me. :-) Show me how FreeBSD
 can outdo Linux. Make me never want to go back.

I like the separation of the complete OS and third part software in
Ports Collection. I love the ability to upgrade from one major release
to another using source upgrade - without doing a complete reinstall, as
with the Linux distros I've used. I went straight from 5.4- 6.1 without
any hassle. The EOL schedule for Fedora is almost killing me, and every
new release means a complete reinstall - in practice.

I boot FreeBSD far more often than Linux these days. What I still lack
is getting my Bluetooth and GPRS Cellphone dial-up link running...and
VMWare.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Grunbacher Altweizen Dunkel
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFNCuBMVyOPWVstbURAjWiAJ9CDp3WNGSWFx9niATeZqS6pMXi1ACgisLw
65BUC1BOi0RoHGY6XEEg0tA=
=eQ/H
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: var out of space

2006-12-17 Thread Anders Gulden Olstad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bradley Giesbrecht wrote:
 Hello,
 
 
 I inherited a freebsd installation with a var slice/mount that is to
 small and filling up all the time.
 
 What type of info should I provide to allow someone to help me with a
 solution?
 
 I would very much prefer to not install another drive just for /var.
 
 /usr has plenty of space. Can I mount var off of /usr?

Given that I don't know what version of FreeBSD you're running, I would
first try to move and symlink /var into /usr

Got to single user mode first. Then copy /var with cpio

# find /var -print | cpio -pvdmu /usr

Remove the old /var and make a symlink to /usr/var

# rm -rf /var
# ln -s /usr/var var

Reboot to normal operations.

Second - if all seems like to work well - I would perhaps prefer to
expand the g partition into the old e partition and do a growfs on /usr
to make use of the extra space left over from old /var, IF these two
partitions are close neighbours on the disk.

As I understand it's only possible to growfs within a partition, so we
need to merge the old e partition with the existing g.

Go to single user mode again

# bsdlabel -e /dev/ad0s1

Add the size of the g partition to the f partition in the editor. Delete
the g partition line and save.

Run a growfs on the new g

# growfs /dev/ad0s1g

Reboot. You will probably run into some fsck problems, but that will
hopefully be a one timer.

I have only done the last approach one time myself on a 6.2-RC1 install
- - so any second opinions from some more seasoned users would be grateful.

Don't forget to study the man pages for bsdlabel and growfs - and do
your backups. But it would give you a general idea of how your problems
may be solved.

/Anders
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Grunbacher Altweizen Dunkel
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhP1UMVyOPWVstbURAgYRAKCikpLatgEUq5L1bDOccUOf21wrfACfT/YJ
gu41y+tiHOnNyn4yJk2/9pc=
=alP4
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: var out of space

2006-12-17 Thread Anders Gulden Olstad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anders Gulden Olstad wrote:

 Add the size of the g partition to the f partition in the editor. Delete
 ^^^^^^
 the g partition line and save.

I mean of course partition 'e' and 'g'!

Sorry!

/Anders
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Grunbacher Altweizen Dunkel
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhP6TMVyOPWVstbURAhzvAJ47AkzDjvgbCvdnRAA2OtFFsYhycgCg+PJX
Cu1AvBtZJxonzKBQL912rNA=
=Q/YR
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: var out of space

2006-12-17 Thread Anders Gulden Olstad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Add the size of the g partition to the f partition in the editor. Delete
 ^^^^^^
 the g partition line and save.
 ^^^

I mean of course partition 'e' and 'g'!

Sorry!

/Anders

dev/ad0s1a128990  119970-1298   101%/
/dev/ad0s1f257998  1852465211478%/tmp
/dev/ad0s1g 112755734 4533434 99201842 4%/usr
/dev/ad0s1e257998  2069563040487%/var
procfs  4   40   100%/proc



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Grunbacher Altweizen Dunkel
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhQIUMVyOPWVstbURApa4AKCzXGTSvab8ctegIpT7QHUIbLcvcwCgvQ02
T3UghfNK4xNLNIP2fPqCgHI=
=xs1t
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: var out of space

2006-12-17 Thread Anders Gulden Olstad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anders Gulden Olstad wrote:

 Given that I don't know what version of FreeBSD you're running, I would
 first try to move and symlink /var into /usr
 
 Got to single user mode first. Then copy /var with cpio
 
 # find /var -print | cpio -pvdmu /usr
 
 Remove the old /var and make a symlink to /usr/var
 
 # rm -rf /var
 # ln -s /usr/var var

I forgot: Edit your /etc/fstab and comment out the /var line

 Reboot to normal operations.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Grunbacher Altweizen Dunkel
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhRJkMVyOPWVstbURAoOlAKC86TOaYYl6fpbMW41/3bvM7Yc/LACglfih
fF3dS+0oNwW2DtdWp7Oe/Wc=
=usf8
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]