MAN page from Mandrake Other perl-SyslogScan-0.32-1.i386.rpm
SyslogScan::SendmailUtil
Section: User Contributed Perl Documentation (3)
Updated: perl 5.004, patch 04
Index NAME
SendmailUtil.pm -- utilities for sendmail packages.
SYNOPSIS
use SyslogScan::SendmailUtil;
open(FH,"/var/log/syslog"); my $transfer; while ($transfer = SyslogScan::SendmailUtil::getNextMailTranfer(\*FH)) { # process the tranfer } DESCRIPTION
getNextMailTransfer queries a filehandle pointing to a syslog for thenext line which is a sendmail `To:', `From:', and `Clone:' lines, andreturns a SyslogScan::SendmailLineFrom, SyslogScan::SendmailLineTo, orSyslogScan::SendmailLineClone object.
canonAddress() routine
The
canonAddress() routine modifies the address of the Sendmailroutines to be all-lowercase, remove enclosing brackets, and append'@localhost' to local addresses. Modifying this routine will changehow SyslogScan canonicalizes.
AUTHOR and COPYRIGHT
The author (Rolf Harold Nelson) can currently be e-mailed asrolfAATTusa.healthnet.org.
This code is Copyright (C) SatelLife, Inc. 1996. All rights reserved.This code is free software; you can redistribute it and/or modify itunder the same terms as Perl itself.
In no event shall SatelLife be liable to any party for direct,indirect, special, incidental, or consequential damages arising out ofthe use of this software and its documentation (including, but notlimited to, lost profits) even if the authors have been advised of thepossibility of such damage.
SEE ALSO
the
SyslogScan::SendmailLineFrom manpage, the
SyslogScan::SendmailLineTo manpage,the
SyslogScan::SyslogEntry manpage
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- canonAddress() routine
- AUTHOR and COPYRIGHT
- SEE ALSO
This document was created byman2html,using the manual pages.