10 More Discussions You Might Find Interesting
1. Red Hat
hi
I installed Openvas we have the following problem
internet Connection is Ok
Even Reinstall the problem is not resolved
Openvas Setup, Version: 0.5
Step 1: Update NVT's and SCAP data
Please note this step could take some time.
Once completed, NVT's and SCAP data will be updated... (12 Replies)
Discussion started by: mnnn
12 Replies
2. UNIX for Dummies Questions & Answers
Hi there, I am in need to compile an old project for cygwin, but it needs some old packages to compile. I tried to download the x86 setup.exe from cygwin web site. Then downloaded the old packages from various sites and put it in an empty directory I run the setup.exe file and install from local... (1 Reply)
Discussion started by: lucky7456969
1 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I have been trying to setup a email server here at home, for me and a few friends. Nothing fancy, just a super basic - but secure - email server.
I have been having trouble over the course of the past 2-3 weeks fumbling through various online tutorials. It shouldn't be SO hard =)
... (0 Replies)
Discussion started by: jalisco
0 Replies
4. UNIX for Advanced & Expert Users
Hello,
Firstly, I am using Debian 7.1, updated (as of today), I installed postfix, sasl, and dovecot. I have read through various online tutorials and quick installation guides, videos etc. And, ventured into the actual text of postfix, sasl and dovecot.
Everything is installed and "appears"... (5 Replies)
Discussion started by: jalisco
5 Replies
5. UNIX for Dummies Questions & Answers
I have a Solaris box that I need to enable outgoing email from alarm purposes. How do I do that so the command echo "test this email" | mailx test@address.com will go through?
---------- Post updated at 02:24 PM ---------- Previous update was at 02:04 PM ----------
Needed to open port 25/smtp... (1 Reply)
Discussion started by: SIFT3R
1 Replies
6. Shell Programming and Scripting
Hi All,
I am using Mac OS X (Leopard OS). I am very new to UNIX. My requirement is that, by running a shell script, I create a log file. So I have to send a mail having that log file attached. What I tried to do is, I simply tried to check,whether this direct command works or not. So I... (2 Replies)
Discussion started by: Afreen
2 Replies
7. Infrastructure Monitoring
Hi, I recently research on how auto-mailing to notify the increase of storage size. I try avoid schedule/routine checkup the storage to determine increase the storage size. It is time-consuming. Any comment on how to get the storage size %? and automatically trigger mailing function instead... (16 Replies)
Discussion started by: i-counsellor
16 Replies
8. SCO
Hello,
How do a schedule a reboot of a SCO 5.0 box like every wednesday at 3:30 am. Doesn't have a /etc/crontab file like our Suse boxes have. Thanks for any help. (6 Replies)
Discussion started by: benefactr
6 Replies
9. Shell Programming and Scripting
Hi guys,
I'm trying to write a small script that sets up RAID using MDADM without asking user for any input.
Here's what I'm doing:
start=`mdadm --create $2 --level=$3 --raid-devices=$4 $5 $6 << MAYDAY
y
MAYDAY`
When I it, I get this
./redundancy -setup /dev/md0 1 2 /dev/files/test0... (3 Replies)
Discussion started by: alirezan
3 Replies
10. SuSE
I setup SUSE Linux 10.
I downloaded from SUSE website. A DVD version.
But I have a problem:
Please click to see the screen shots
Shot 1: (Problem is here, with Software)
http://www.vernoos.net/shot-1.jpg
Shot 2:
http://www.vernoos.net/shot-2.jpg
Shot 3:... (1 Reply)
Discussion started by: HASSELBLAD
1 Replies
Email::Simple::Header(3pm) User Contributed Perl Documentation Email::Simple::Header(3pm)
NAME
Email::Simple::Header - the header of an Email::Simple message
SYNOPSIS
my $email = Email::Simple->new($text);
my $header = $email->head;
print $header->as_string;
DESCRIPTION
This method implements the headers of an Email::Simple object. It is a very minimal interface, and is mostly for private consumption at
the moment.
METHODS
new
my $header = Email::Simple::Header->new($head, \%arg);
$head is a string containing a valid email header, or a reference to such a string. If a reference is passed in, don't expect that it
won't be altered.
Valid arguments are:
crlf - the header's newline; defaults to CRLF
as_string
my $string = $header->as_string(\%arg);
This returns a stringified version of the header.
header_names
This method returns the unique header names found in this header, in no particular order.
header_pairs
This method returns all the field/value pairs in the header, in the order that they appear in the header.
header
my $first_value = $header->header($field);
my @all_values = $header->header($field);
This method returns the value or values of the given header field. If the named field does not appear in the header, this method returns
false.
header_set
$header->header_set($field => @values);
This method updates the value of the given header. Existing headers have their values set in place. Additional headers are added at the
end. If no values are given to set, the header will be removed from to the message entirely.
crlf
This method returns the newline string used in the header.
PERL EMAIL PROJECT
This module is maintained by the Perl Email Project
<http://emailproject.perl.org/>
COPYRIGHT AND LICENSE
Copyright 2006-2007 by Ricardo SIGNES
Copyright 2004 by Casey West
Copyright 2003 by Simon Cozens
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-12-23 Email::Simple::Header(3pm)