![]() |
![]()
| ![]() |
![]()
NAMEQpsmtpd::DSN - Enhanced Mail System Status Codes - RFC 1893 DESCRIPTIONThe Qpsmtpd::DSN implements the Enhanced Mail System Status Codes from RFC 1893. USAGEAny qpsmtpd plugin can access these status codes. All sub
routines are used the same way:
or return Qpsmtpd::DSN->relaying_denied("Relaying from $ip denied"); or return Qpsmtpd::DSN->relaying_denied(DENY,"Relaying from $ip denied"); If no status message was given, it will use the predefined one from the RFC. If the first argument is numeric, it will use this as a return code, else the default return code is used. See below which default return code is used in the different functions. The first example will return (DENY, "Relaying denied"); the others (DENY, "Relaying from $ip denied"); which will be returned to qpsmtpd. In those sub routines which don't start with addr_, sys_, net_, proto_, media_, sec_ I've added a default message which describes the status better than the RFC message. ADDRESS STATUS
MAILBOX STATUS
MAIL SYSTEM STATUS
NETWORK AND ROUTING STATUS
MAIL DELIVERY PROTOCOL STATUS
MESSAGE CONTENT OR MESSAGE MEDIA STATUS
SECURITY OR POLICY STATUS
|