Sign In Sign Out Mailing Lists Unsubscribe or Change Settings Help

Majordomo2 list server

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
configset  GLOBAL  delivery_rules <<TAG
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
configset listname delivery_rules <<TAG
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Default Value : no default
Data Type     : delivery_rules
Category      : deliver
Password Notes: Visible only with password. Set with global password. 
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

configset listname delivery_rules << ENDTAG
sort, maxaddrs=30

The delivery_rules setting determines how Majordomo will contact an SMTP
server which is capable of delivering the mail.  The delivery rules
apply to all messages which are mailed by Majordomo.  

The rules for an individual mailing list govern the delivery of posted
messages (including digests) and announcements sent with the announce
command.  The rules for the GLOBAL pseudo-list apply to all other
messages sent by Majordomo, including responses to commands,
confirmation notices, token reminders, and informational notices sent to
the list owners.

Rules must be separated from one another with blank lines.

The first line of each rule must contain either a Majordomo pattern
or the word ALL.  For each recipient of a message, the first rule
that matches the address of the recipient is used.  See "help patterns"
for more information about Majordomo patterns.
The "ALL" pattern matches
any address, so any rule that follows a rule with the ALL pattern will
be ignored.  

The second and succeeding lines of each rule contain parameters that
describe the SMTP servers that will perform the actual delivery.  

hosts=(hostname1=(parameter), hostname2, hostname3)
  By default, Majordomo will connect to localhost, port 25 to contact an
  SMTP server which will deliver the mail.  The "hosts" parameter can be
  used to select a server at a different location, or using a different
  port number.  

  If more than one host is specified, these hosts will be used in
  round-robin fashion to handle each batch of recipients to which
  a message is being delivered.

backup=(hostname1, hostname2=(parameter=value))
  If the primary hosts in the "hosts" parameter are unresponsive, the
  hosts in the "backup" parameter will be used.  By default, the SMTP
  server on localhost, port 25 is used.  As with the hosts parameter, if
  more than one host is specified, the hosts will be used in round-robin

  A particular host name should be used no more than once in the "hosts"
  and "backup" parameters.  If a host name is used more than once, the
  last set of options will take precedence, and declarations in "backup"
  will override declarations in "hosts".

  Split the message recipients into batches of N addresses apiece.

  The maxaddrs parameter will override the numbatches parameter if
  both are set.

  Split the message recipients into batches of N domains apiece.

  The maxdomains parameter differs from maxaddrs in that a batch can
  contain more than N addresses if several of them are in the same domain.
  This requires a sorted address list to function completely.

  The minseparate parameter will override the maxaddrs or numbatches
  parameter if both are set.

  If more than N recipients have the same e-mail domain, they will be 
  assigned a separate batch.

  The minseparate parameter can improve the average delivery time quite a
  bit if you have many addresses at large providers, since they will be
  delivered immediately without waiting for other addresses.

  The minseparate parameter will override the maxaddrs or numbatches
  parameter if both are set.

  If the minseparate parameter and the maxdomains parameter are both
  set, both will be used.

  Divide the message recipients into exactly N batches.

  Sort the address list.  

  Including the "sort" option causes the list to be sorted, but beware
  that this takes time and memory. This is not necessary (and will have no
  effect) if Majordomo is configured to use a database backend.  

Unless the host parameters specify otherwise, the recipients will not
be separated into batches.  

When messages are posted to a mailing list, any recipients who have had recent
delivery problems ("bounced" messages) will receive an individual copy
of a message.  This keeps unreliable addresses from slowing down delivery 
to the other subscribers.  The same applies to any recipients that are
subject to bounce probes (see "help configset_bounce_probe_frequency"
and "help configset_bounce_probe_pattern" for more details.)

Hosts specified with the "hosts" or "backup" parameters can be
customized using other parameters.  The following parameters are

  Delivery status notifications can sometimes result in better tracking
  of delivery errors.

  At the beginning of an ESMTP session, the EHLO command will be 
  used to determine which capabilities (dsn, onex, or pipelining) the 
  SMTP server possesses.  If the server does not understand the EHLO
  command, the HELO command will be used instead, and the dsn, onex
  and pipelining features will not be available.

  The ESMTP ONEX command is used to tell the Sendmail SMTP server that
  only "one transaction" will take place during an SMTP session.  This
  results in a mild reduction in the computer resources needed to
  handle the session.

  If pipelining is supported by the SMTP server, Majordomo will not
  wait for a response from the server to a RCPT command before
  indicating the next recipient to the server.  This may result in
  somewhat faster delivery for a large batch of recipients.

  The usual port number of an SMTP server is 25.  This parameter can
  be used to specify a different number.
  During an SMTP session, Majordomo will wait a limited amount
  of time for a response to an SMTP command.  By default, this
  value is 60 seconds.  Majordomo will wait up to five times the 
  value of this setting for responses to RCPT commands, unless
  the "pipelining" feature is turned on.

If the dsn, onex, or pipelining parameter is used, the esmtp parameter
must also be specified.

If, instead of a host name, the string "@qmail" is used, Majordomo
will open a direct connection to the qmail-queue program and directly
inject the message into the qmail delivery system.  This assumes, of
course, that you are running qmail.


Duplicate bulk_mailer
The addresses will be sorted, and the recipients of each batch will contain 
no more than 20 mail domains.

configset listname delivery_rules << ENDA
sort, maxdomains=20

Use a remote host
Destinations in Scandinavia will be handled by or
All other destinations will be handled by localhost.

configset listname delivery_rules << ENDB
hosts=(, onex, timeout=120),
backup=(localhost=(esmtp, pipelining, dsn))

hosts=(localhost=(esmtp, pipelining, dsn))

It is possible to use comments before, between, and after the individual
rules, but not within rules.  Comments are lines that begin with a '#'.

See Also:
   help admin_delivery
   help admin_domain
   help announce
   help configset_bounce_probe_frequency
   help configset_bounce_probe_pattern
   help configset_sender
   help patterns
   help post

This is the "configset_delivery_rules" help document for 
Majordomo 2, version 0.1200410180.

For a list of all help documents, send the following command:
   help topics
in the body of a message to

For assistance, please contact the administrators.
Sign In Sign Out Mailing Lists Unsubscribe or Change Settings Help