[TriLUG] Problems with perl script...

Reginald Reed reginald at cisco.com
Tue Sep 23 13:06:39 EDT 2003


Use nmap to see if the exchange server is listening on port 143.

> -----Original Message-----
> From: trilug-bounces at trilug.org 
> [mailto:trilug-bounces at trilug.org] On Behalf Of Dean Price
> Sent: Tuesday, September 23, 2003 12:55 PM
> To: Triangle Linux Users Group discussion list
> Subject: Re: [TriLUG] Problems with perl script...
> 
> 
> 
> Unfortunately I do not have that kind of access to the 
> exchange server.
> 
> Dean Price
> deano at price4.org
> dprice at charter.net
> dean.price at ctg.com
> 910-797-3895
> 
> <quote who="Roy Vestal">
> > Sorry it's late, but did you check and see if the IMAP server was 
> > turned on on the exchange server. I use it to get mine!  :)
> >
> > On Fri, 2003-09-19 at 07:28, Dean Price wrote:
> >> I am trying to use a perl script called "outlook-grabber" 
> to download 
> >> mail from a web based exchange server, However, I am getting the 
> >> following
> >> errors:
> >>
> >> [user at host user_dir]$ outlook-grabber.pl /home/deano/
> >> Use of uninitialized value in index at /usr/bin/outlook-grabber.pl 
> >> line 232. Use of uninitialized value in substr at 
> >> /usr/bin/outlook-grabber.pl line 232.
> >>
> >> Here is the lines of code that lead to the offending line.
> >>
> >> {
> >>   # get the login page so that we get the cookies for the ASP 
> >> session. Then go to mailbox
> >>
> >>   my $cookiepage = get_page("/exchange");
> >>   my $cookie = $cookiepage->header('Set-Cookie');
> >>   $cookie = substr($cookie, 0, index($cookie, ";"));     
> <------ LINE
> >> 232
> >>   $headers->header('Cookie' => $cookie);
> >>
> >>   my $url = "/exchange/LogonFrm.asp?isnewwindow=0&mailbox=$mbox";
> >>   my $framepage = get_page($url);
> >> }
> >>
> >> Any help would be appreciated.
> >>
> >> Thanks
> >>
> >> Dean Price
> >> deano at price4.org
> >> dprice at charter.net
> >> dean.price at ctg.com
> >> 910-797-3895
> >>
> >>
> >>
> >
> > --
> > TriLUG mailing list        : 
> http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG 
> Organizational FAQ  : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> > TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
> >
> 
> -- 
> TriLUG mailing list        : 
> http://www.trilug.org/mailman/listinfo/trilug
> TriLUG 
> Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
> 




More information about the TriLUG mailing list