Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SyslogScan::SendmailLiUseroContributed Perl DocSyslogScan::SendmailLineFrom(3)

NAME
       SyslogScan::SendmailLineFrom -- encapsulates a 'From:' line in a	syslog
       file

DESCRIPTION
       Here is a sample	SendmailLineFrom object.

       If 'new SyslogScan::SendmailLineEntry' reads in a line like

       Jun 13 02:34:54 satellife sendmail[26035]: BAA26035:
       from=<HELP-NET@BAR.TEMPLE.EDU>, size=7000, class=0, pri=37000,
       nrcpts=1, msgid=<199606130634.BAA26035@satellife.healthnet.org>,
       proto=SMTP, relay=vm.temple.edu [155.247.14.2]

       then it will return a SyslogScan::SendmailLineFrom object like this:

	# generic SyslogScan::SyslogEntry stuff
	day => 13,
	executable => 'sendmail',
	machine	=> 'satellife',
	month => 'Jun',
	tag => 26035,
	time =>	'02:34:54',
	content	=> 'BAA26035: from=<HELP-NET@BAR.TEMPLE.EDU>, size=7000, class=0, pri=37000, nrcpts=1, msgid=<199606130634.BAA26035@satellife.healthnet.org>, proto=SMTP, relay=vm.temple.edu [155.247.14.2]',

	# sendMailLineFrom-specific stuff
	messageID => 'BAA26035',
	attrHash => {
		'class'	=> 0,
		 'from'	=> 'help-net@bar.temple.edu',
		 'msgid' => '<199606130634.BAA26035@satellife.healthnet.org>',
		 'nrcpts' => 1,
		 'pri' => 37000,
		 'proto' => 'SMTP',
		 'relay' => 'vm.temple.edu [155.247.14.2]',
		 'size'	=> 7000
		}

AUTHOR and COPYRIGHT
       The author (Rolf	Harold Nelson) can currently be	e-mailed as
       rolf@usa.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 it
       under 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 of
       the use of this software	and its	documentation (including, but not
       limited to, lost	profits) even if the authors have been advised of the
       possibility of such damage.

SEE ALSO
       SyslogScan::SendmailLine

perl v5.32.0			  1996-09-18   SyslogScan::SendmailLineFrom(3)

NAME | DESCRIPTION | AUTHOR and COPYRIGHT | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=SyslogScan::SendmailLineFrom&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help