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::Date(3pm) User Contributed Perl Documentation Email::Date(3pm)
NAME
Email::Date - Find and Format Date Headers
SYNOPSIS
use Email::Date;
my $email = join '', <>;
my $date = find_date($email);
print $date->ymd;
my $header = format_date($date->epoch);
Email::Simple->create(
header => [
Date => $header,
],
body => '...',
);
DESCRIPTION
RFC 2822 defines the "Date:" header. It declares the header a required part of an email message. The syntax for date headers is clearly
laid out. Stil, even a perfectly planned world has storms. The truth is, many programs get it wrong. Very wrong. Or, they don't include a
"Date:" header at all. This often forces you to look elsewhere for the date, and hoping to find something.
For this reason, the tedious process of looking for a valid date has been encapsulated in this software. Further, the process of creating
RFC compliant date strings is also found in this software.
FUNCTIONS
find_date
my $time_piece = find_date $email;
"find_date" accepts an email message in any format Email::Abstract can understand. It looks through the email message and finds a date,
converting it to a Time::Piece object.
If it can't find a date, it returns false.
"find_date" is exported by default.
format_date
my $date = format_date; # now
my $date = format_date( time - 60*60 ); # one hour ago
"format_date" accepts an epoch value, such as the one returned by "time". It returns a string representing the date and time of the
input, as specified in RFC 2822. If no input value is provided, the current value of "time" is used.
"format_date" is exported by default.
format_gmdate
my $date = format_gmdate;
"format_gmdate" is identical to "format_date", but it will return a string indicating the time in Greenwich Mean Time, rather than
local time.
"format_gmdate" is exported on demand, but not by default.
PERL EMAIL PROJECT
This module is maintained by the Perl Email Project
<http://emailproject.perl.org/wiki/Email::Date>
SEE ALSO
Email::Abstract, Time::Piece, Date::Parse, perl.
AUTHOR
Casey West, <casey@geeknest.com>.
Ricardo SIGNES, <rjbs@cpan.org>.
COPYRIGHT
Copyright (c) 2004 Casey West. All rights reserved.
This module is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
perl v5.10.1 2007-12-01 Email::Date(3pm)