NAME
Qmail::Deliverable::Status - Status-code constants for Qmail::Deliverable
SYNOPSIS
use Qmail::Deliverable::Status qw(:all);
if ($rv == QD_DELIVERABLE) { ... }
if ($rv == QD_NOT_LOCAL) { ... }
if ($rv == QD_VPOPMAIL_CATCHALL) { ... }
DESCRIPTION
Symbolic names for the integer status codes returned by "deliverable" in Qmail::Deliverable and "deliverable" in Qmail::Deliverable::Client. The numeric values are unchanged from earlier releases; the constants exist purely for readability.
Loading this module has no side effects, which makes it safe to import into unprivileged code that does not want to pull in the rest of Qmail::Deliverable (which reads /var/qmail/control/* at load time).
CONSTANTS
QD_NOT_DELIVERABLE(0x00)-
The address is not deliverable.
QD_UNKNOWN_PERM_DENIED(0x11)-
Deliverability could not be determined because of file permissions.
QD_UNKNOWN_PIPE(0x12)-
A
|-command appears in the dot-qmail file. QD_UNKNOWN_BOUNCESAYING(0x13)-
A
bouncesayingdirective with extra program arguments. QD_EZMLM(0x14)-
Probably deliverable: looks like an ezmlm mailing list.
QD_TEMPFAIL_GROUP_WRITABLE(0x21)-
Temporarily undeliverable: the home directory is group- or world-writable.
QD_TEMPFAIL_STICKY(0x22)-
Temporarily undeliverable: the home directory has the sticky bit set.
QD_CLIENT_FAILURE(0x2f)-
Returned only by Qmail::Deliverable::Client; indicates the daemon could not be reached.
QD_DELIVERABLE(0xf1)-
Deliverable, almost certainly: bare
.qmailor normal forwarding. QD_VPOPMAIL_DIR(0xf2)-
Deliverable via vpopmail: a directory named after the local part exists.
QD_VPOPMAIL_VALIAS(0xf3)-
Deliverable via vpopmail: a
valiasentry exists. QD_VPOPMAIL_CATCHALL(0xf4)-
Deliverable via vpopmail: catch-all forwarding configured.
QD_VPOPMAIL_VUSER(0xf5)-
Deliverable via vpopmail: a virtual user exists.
QD_VPOPMAIL_QMAIL_EXT(0xf6)-
Deliverable via vpopmail: matched the
qmail-extprobe. QD_VPOPMAIL_NO_DOMAIN(0xfe)-
vpopmail (vdelivermail) was detected but no domain was given in the address.
QD_NOT_LOCAL(0xff)-
The domain is not local.
EXPORTS
Nothing by default. Pass :all or :status to import every constant, or list individual ones explicitly.