Rechercher une page de manuel
Mail::Milter::Wrapper::DeferToRCPT.3pm
Langue: en
Version: 2004-11-25 (ubuntu - 08/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Mail::Milter::Wrapper::DeferToRCPT - milter wrapper to delay failure returnsSYNOPSIS
use Mail::Milter::Wrapper::DeferToRCPT; my $milter = ...; my $wrapper = new Mail::Milter::Wrapper::DeferToRCPT($milter); my $wrapper2 = &DeferToRCPT($milter); # convenience
DESCRIPTION
Mail::Milter::Wrapper::DeferToRCPT is a convenience milter wrapper which defers any error return during the ``connect'', ``helo'', and/or ``envfrom'' callbacks to the ``envrcpt'' callback.Many broken client mailers exist in the real world and will do such things as instantaneously reconnect when receiving an error at the MAIL FROM: stage. This wrapper ensures that errors are never propagated back to the MTA until at least the RCPT TO: phase.
Errors in ``connect'' and ``helo'' will apply to the entire SMTP transaction. Errors in ``envfrom'' will only apply to that particular message.
This wrapper can also be used to enhance logging. Though the contained milter may wish to reject a mail in progress, it may be useful for logging purposes to capture the HELO string, sender, and recipient addresses of each attempted mail.
AUTHOR
Todd Vierling, <tv@duh.org> <tv@pobox.com>SEE ALSO
Mail::Milter::WrapperContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre