Tag Archives

2 Articles
ASSP Directories

ASSP Directories

@ssp

The definitions are in the ASSP GUI, section “File Paths” and can also be seen in the WIKI->ASSP 1.x configuration settings->FilePath.

There is also a file inside the assp-folder called assp.cfg.description.txt, it can be read via GUI Menu->Config Description

spamlog (Spam Collection)

The folder to save the collection of spam emails. This directory will be used in building the spamdb.

For example: spam

Default: spam

notspamlog (Not-spam Collection)

The folder to save the collection of not-spam emails. This directory will be used in building the spamdb.

For example: notspam

Default: notspam

incomingOkMail (OK Mail)

The folder to save non-spam (message ok). These are messages which are considered as HAM, but are not stored in the standard HAM folder because of our policy to use only confirmed HAM messages (whitelisted or local) for SpamDB. If you want to keep copies of ok mail then put in a directory name. This directory will not be used in building the spamdb.

Default: okmail

Default: okmail

discarded (Discarded Spam)

The folder to save discarded spam-messages. These are Spam messages which are not stored for building the spamdb but for resending with an EmailBlockReport. If you want to keep copies of discarded Spam then put in a directory name.

Default: discarded

Default: discarded

viruslog (Attachment/Virus Collection)

The folder to save rejected attachments and virii. Leave this blank to not save these files (default). If you want to keep copies of rejected content then put in a directory name. Note: you must create the directory. This directory will not be used in building the spamdb.

For example: quarantine

Default: quarantine

correctedspam (False-negative Collection)

Spam that got through — counts double. This directory will be used in building the spamdb.

For example: errors/spam

Default: errors/spam

correctednotspam (False-positive Collection)

Good mail that was listed as spam, count 4x. This directory will be used in building the spamdb.

For example: errors/notspam

Default: errors/notspam

resendmail (try to resend this files)

ASSP will try to resend the files in this directory to the original recipient. The files must have the “maillogExt” extension and must have the SMTP-format. ASSP will try to send every file up to ten times (with 5 minutes delay). If the resend fails ten times, the file will be renamed to *.err, on success the file will be deleted!

For example: resendmail. This requires an installed module in PERL.

Default: resendmail


Tulisan di atas disalin sepenuhnya dari tulisan Fritz Borgstedt dari Milis ASSP Users untuk keperluan dokumentasi pribadi.

Syncing My Home (Laptop and Desktop)

Syncing My Home (Laptop and Desktop)

Ever since becoming graduate student, I am in constant despair of syncing my work and study. Luckily, my sister now employed in one of the public accounting and she was promised to have her own (working) laptop. Because of that, I can use my laptop freely and working mobile. It helps a lot and I can work while study and study while working. Thanks to RMS, now I’m in my spirit again to hack into a new system, which I won’t tell yet. [Takut sesumbar :-P]

To have work continuity, I need to sync my home in my laptop and desktop computer. I have three candidates:

  1. A script from Pak Ibam,
    sedot
    built especially for syncing home.
  2. Ripping
    sedot-ng
    script from Kambing.
  3. Using
    unison
    .

The #1 script is powerful, but it was designed to syncing into a USB disk and it need some tweak because I have gigs of data in my home. Obviously, #2 is overkill. I don’t need my syncing in plurk and automate. Solution  #3 needed to be learned because we are used to use

rsync

than that. To make it short, I go with solution #3 because it has a Debian package and have a GUI.

Unison have a powerful option to cope with my need, syncing both place. I can work in my desktop or laptop and get both of them sync each other. Okay, before you get bored, like I do. Let’s try to install it.

#0 Connect your desktop and laptop

A pre condition, your laptop and your desktop is connected and having SSH server installed. In my example, because I’m syncing from laptop, you just need to install the SSH server into your desktop. Every GNU/Linux system by default is installed with SSH client.

In desktop (and optionally on laptop), install SSH:

$ apt-get install ssh

#1 Install unison

In laptop:

$ sudo apt-get install unison-gtk

In desktop:

$ sudo apt-get install unison

Why I install GUI-based in laptop? Well, I synced the data from my laptop and treated my desktop as a server. Another reason is because my desktop using KDE and my laptop using Gnome. Unison is located in

Aplikasi -> Aksesoris -> Unison

#2 Setup A Profile

Profile is a jargon used by unison to a configuration file. You can have many configuration files, each doing specific job.

When first greeted, enter the base (unison use “root” term) directory of which you would like to sync against. I entered my home directory (e.g. “/home/user”).

base directory

Press OK and then choose your remote computer, in my case, the desktop’s home directory. If you are funky like me, using non-standard SSH port, select Socket first and then put your non-standard SSH. [NOTE: This step is unecessary for most people]

Socket

And don’t forget to select SSH again. Fill the remote Directory and the remote’s Host IP number, before press OK. Here’s the screenshot:

SSH

After OK, you are asked of your remote host password. Then you are ready to go.

Password asked

Honestly, I’m cheated a bit about unison. Usually, people creates a special directory like “/home/user/SYNCED” and put all the synced contents into that directory. I put my home directory, which contain gigs of files which making the unison a little bit lame at initial. So, I close the unison and starts to edit configuration manually to have only few directories that needed to directory.

$ gedit .unison/default.prf

Here’s my (EDITED) default configuration:

# Unison preferences file
root = /home/user
root = ssh://user@192.168.1.2//home/user
# Path to synchronize
path = Project
path = Library
path = Dokumen
path = .subversion
path = .purple
path = Musik
path = Gambar
path = Backup
path = Video
path = .netbeans
ignore = Name .directory

As you can see, I only put some of the directory in home. I’m using Bahasa Indonesia as my default installation. KDE4 uses “.directory” directory to keep its meta data. So, I need to exclude that directory. And, uhm… psst… I logged all of my conversations. 😀

#3 Syncing…

Just press GO and you’re done.

unison GTK

 #4 MAKAN2x ™

MAKAN2x ™ [This is a trashing section :D]

#5 Just In Case…

you are overwhelmed and don’t want to go all of those step, just do #0 and #1 then copy my configuration to your own “

.unison/default.prf

” and edit as you like. That’s faster. 😀