General-Purpose Mail Package
|Official GNU Software|
putmail utility reads a message from its standard input
and delivers it to the specified mailbox URL. The usage is:
For example, to deliver mail to a local mailbox /var/spool/mail/test:
Of course, this would work only it the test mailbox is writable
for the user invoking
smtp mailbox scheme can be used for remote delivery. For
The program will initiate SMTP dialog with the server ‘mail.example.org’ and will send the message from its standard input to the user ‘ovr’ on that server.
Specify the sender address. If not used, the current user name will be used.
Define scripting language for the next --script option. Valid arguments are ‘sieve’, ‘scheme’ and ‘python’.
Use this header to identify messages when logging Sieve actions
Set the name of the user-defined mail filter. See MDA Scripting, for a detailed discussion of the scripting feature.
The behavior of
putmail is affected by the following configuration
|debug||See debug statement.|
|mailbox||See mailbox statement.|
|locking||See locking statement.|
|pam||See pam statement.|
|sql||See sql statement.|
|virtdomain||See virtdomain statement.|
|radius||See radius statement.|
|ldap||See ldap statement.|
|auth||See auth statement.|
|mailer||See mailer statement.|
The utility also accepts all MDA configuration statements: See Conf-mda.
This document was generated on November 6, 2019 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.