GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Sympa::CommandDef(3Sympa) sympa 6.2.62 Sympa::CommandDef(3Sympa)

Sympa::CommandDef - Definition of mail commands

TBD

This module keeps definition of mail commands.

%comms
This hash defines format of mail commands. It is used for decoding and encoding between command lines and internal request objects.

Key is the name of action which is given as "action" parameter to constructor of Sympa::Request. Note that not all sort of requests are defined.

Value is the hashref. Each item of hashrefs accepts the following keywords :

cmd_regexp
A regexp matching command. Note that "i" modifier is necessary.
arg_regexp
A regexp matching command line arguments. Note that "i" modifier may be needed.
arg_keys
An arrayref of parameter names mapping command line to attribute. 'localpart' is special: If it is contained, "context" attribute of resulting request object is an instance of Sympa::List class.
cmd_format
A string to format command line using attributes. If this item is code reference, it will be called with request object and returned value will be used as format string.
filter
A coderef to perform additional checking. It is called with request object and, if it returns false value, decoding will fail.

Sympa::Request, Sympa::Request::Message.

Sympa::CommandDef appeared on Sympa 6.2.13.
2021-04-27 6.2.62

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.