GNU Mailutils |
|
General-Purpose Mail Package |
Official GNU Software |
The behavior of mda
is affected by the following configuration
statements:
Statement | Reference |
---|---|
debug | See The debug Statement. |
mailbox | See The mailbox Statement. |
locking | See The locking Statement. |
pam | See PAM Statement. |
sql | See The sql Statement. |
virtdomain | See The virtdomain Statement. |
radius | See The radius Statement. |
ldap | See The ldap Statement. |
auth | See The auth Statement. |
mailer | See The mailer Statement. |
If bool is true, log to standard error instead of syslog.
This section contains general delivery settings:
deliver { domain string; exit-multiple-delivery-success arg; };
Default email domain.
In case of multiple delivery, exit with code 0 if at least one delivery succeeded.
Controls the forwarding support:
forward { file name; file-checks (list); }
Defines the name of the forward file. E.g.:
forward { file .forward; }
See Forwarding, for a detailed description.
Configures safety checks to be performed on the forward file prior to using it. See Forwarding, for a detailed description.
This section configures mail quota support. See Mailbox Quotas, for a detailed description.
quota { database name; sql-query query; exit-tempfail bool; }
Sets the name of the quota database in DBM format. See Keeping Quotas in DBM File.
If the quotas are kept in a SQL table, this statement defines the SQL query to retrieve the quota for a given user name. See Keeping Quotas in SQL Database.
By default, if a message cannot be delivered because the user has
exceeded its mail quota, or its delivery would cause it to be
exceeded, MDA
exits with the ‘service unavailable’
status, which causes MTA to return the 550 code. If
exit-tempfail
is set to true, it will return a temporary error
instead.
Controls scripting. See Scripting in mda
.
script { language lang; pattern glob; }
Defines the language that is used for scripting. Allowed values for lang are: ‘sieve’, ‘scheme’, or ‘python’. See scripting language.
Defines the pattern for the script file name. The ‘~’ at the begiining of the pattern will be replaced with the name of the home directory of the recipient user. The ‘%u’ in pattern will be replaced with the recipient user name, and ‘%h’ with the home directory for that user.
This document was generated on January 3, 2025 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.