EnglishFrenchSpanish

OnWorks favicon

spamass-milter - Online in the Cloud

Run spamass-milter in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command spamass-milter 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


spamass-milter — sendmail milter for passing emails through SpamAssassin

SYNOPSIS


spamass-milter -p socket [-b|-B spamaddress] [-d debugflags] [-D host] [-e defaultdomain]
[-f] [-i networks] [-I] [-m] [-M] [-P pidfile] [-r nn] [-u defaultuser] [-x]
[-- spamc flags ...]

DESCRIPTION


The spamass-milter utility is a sendmail milter that checks and modifies incoming email
messages with SpamAssassin.

The following options are available:

-p socket
Specifies the pathname of a socket to create for communication with sendmail. If it
is removed, sendmail will not be able to access the milter. This may cause messages
to bounce, queue, or be passed through unmiltered, depending on the parameters in
sendmail's .cf file.

-b spamaddress
Redirects tagged spam to the specified email address. All envelope recipients are
removed, and inserted into the message as ‘X-Spam-Orig-To:’ headers.

-B spamaddress
Same as -b, except the original recipients are retained. Only one of -b and -B may
be used.

-d debugflags
Enables logging. debugflags is a comma-separated list of tokens:

func Entry and exit of internal functions.

misc Other non-verbose logging.

net Lookups of the ignored netblocks list.

poll Low-level I/O to the child spamc process.

rcpt Recipient processing.

spamc High-level I/O to the child spamc process.

str Calls to field lookup and string comparison functions.

uori Calls to the update_or_insert function.

1 (historical) Same as func,misc.

2 (historical) Same as func,misc,poll.

3 (historical) Same as func,misc,poll,str,uori.

-D host
Connects to a remote spamd server on host, instead of using one on localhost. This
option is deprecated; use -- -d host instead.

-e defaultdomain
Pass the full user@domain address to spamc. The default is to pass only the
username part on the assumption that all users are local. This flag is useful if
you are using an SQL (or other username) backend with spamassassin and have listed
the full address there. If the recipient name has no domain part (if the recipient
is on the local machine for example), defaultdomain is added. Requires the -u flag.

-f Causes spamass-milter to fork into the background.

-i networks
Ignores messages if the originating IP is in the network(s) listed. The message
will be passed through without calling SpamAssassin at all. networks is a comma-
separated list, where each element can be either an IP address (nnn.nnn.nnn.nnn), a
CIDR network (nnn.nnn.nnn.nnn/nn), or a network/netmask pair
(nnn.nnn.nnn.nnn/nnn.nnn.nnn.nnn). Multiple -i flags will append to the list. For
example, if you list all your internal networks, no outgoing emails will be
filtered.

-I Ignores messages if the sender has authenticated via SMTP AUTH.

-m Disables modification of the ‘Subject:’ and ‘Content-Type:’ headers and message
body. This is useful when SpamAssassin is configured with ‘defang_mime 0’ and
‘report_header 1’, or when SA is simply used to add headers for postprocessing
later. Updating the body through the milter interface can be slow for large
messages.

-M Like -m, but also disables creation of any SpamAssassin ‘X-Spam-*’ headers as well.
Both tagged and untagged mail gets passed through unchanged. To be useful, this
option should be used with the -r, -b, or -B flags. If -b is used, the
‘X-Spam-Orig-To:’ headers will still be added.

-P pidfile
Create the file pidfile, containing the processid of the milter.

-r nn Reject scanned email if it greater than or equal to nn. If -1, reject scanned email
if SpamAssassin tags it as spam (useful if you are also using the -u flag, and users
have changed their required_hits value).

For example, if you usually use procmail to redirect tagged email into a separate
folder just in case of false positives, you can use -r 15 and reject flagrant spam
outright while still receiving low-scoring messages.

-u defaultuser
Pass the username part of the first recipient to spamc with the -u flag. This
allows user preferences files to be used. If the message is addressed to multiple
recipients, the username defaultuser is passed instead.

Note that spamass-milter does not know whether an email is incoming or outgoing, so
a message from ⟨[email protected]⟩ to ⟨[email protected]⟩ will make spamass-milter
pass -u user2 to spamc.

-x Pass the recipient address through sendmail -bv, which will perform virtusertable
and alias expansion. The resulting username is then passed to spamc. Requires the
-u flag.

-- spamc flags ...
Pass all remaining options to spamc. This allows you to connect to a remote spamd
with -d or -p.

Use spamass-milter online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 2
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 3
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 4
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • More »

Linux commands

crm
crm
Use crm online using onworks.net
services. ...
Run crm
  • 4
    crmgr
    crmgr
    crmgr - administration utility for QDBM
    Curia ...
    Run crmgr
  • 5
    gappletviewer
    gappletviewer
    gappletviewer - Load and runs an applet
    ...
    Run gappletviewer
  • 6
    gaps
    gaps
    mummer - package for sequence alignment
    of multiple genomes ...
    Run gaps
  • s-processed="true">
    g15stats
    g15stats - A CPU/Memory/Swap usage
    meter for G15Daemon DESCRIPTION: The
    packages provides the following usage
    meter for LCD on some Logitech
    keyboards, usind g...
    Run g15stats
  • More »
  • Ad