EnglishFrenchSpanish

OnWorks favicon

makedat.maildrop - Online in the Cloud

Run makedat.maildrop in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command makedat.maildrop that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


makedat - create GDBM/DB files for maildrop

SYNOPSIS


makedat {-src=textfile} {-tmp=tmpfile} {-file=gdbmfile} [-cidr]

DESCRIPTION


The gdbm family of functions in maildrop provides access to GDBM/DB databases - simple
database files. The gdbm family of functions provide a way of quickly storing and looking
up key/data pairs.

You can use any program to create GDBM/DB database files. makedat is a quick utility to
create GDBM or DB files from plain text files.

The system administrator selects whether maildrop uses GDBM or DB database files and
whether makedat creates GDBM or DB database files as well.

The makedat command may not be available to you. GDBM/DB support in maildrop is optional,
and the system administrator may choose not to install GDBM/DB support and the makedat
command.

To see whether GDBM or DB support is being used, run the command "maildrop -v".

The textfile argument to makedat is a plain text file containing key/value pairs. Each
line in the text file contains a key value, followed by a tab and a data value. The data
value may be omitted, which defaults to "1". For example, the following three lines:

example.com

domain.com<tab>ok

foo.domain.com<tab>bad

Three key/value pairs are created: example.com, value "1"; domain.com, value "ok", and
"foo.domain.com", value "bad".

Empty lines in textfile, and lines starting with the # character, are ignored.

textfile can be "-", in which case standard input is used.

gdbmfile is the GDBM/DB file to create. If this file exists, its existing contents are
replaced.

tmpfile is a name of a temporary file in the same directory as gdbmfile. tmpfile is used
by makedat to create the GDBM file, then tmpfile is renamed to gdbmfile.

This approach foregoes any need for locking in order to be able to dynamically update
GDBM/DB files used by maildrop's gdbm functions. However, makedat does not use any locks
on tmpfile, so multiple instances of makedat using the same tmpfile are prohibited.

The -cidr flag specifies that the key is an IP netblock in CIDR notation. This flag
requires the Net::CIDR Perl module to be installed separately. Download Net::CIDR from
http://www.cpan.org.

Use makedat.maildrop online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 2
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 3
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 4
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • 5
    GLPI Themes
    GLPI Themes
    Download release at
    https://github.com/stdonato/glpi-modifications/
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • 6
    SMPlayer
    SMPlayer
    SMPlayer is a free media player for
    Windows and Linux with built-in codecs
    that can also play YouTube videos. One
    of the most interesting features of
    SMPlayer:...
    Download SMPlayer
  • More »

Linux commands

Ad