03-18-2013
Thanks Yoda,
The solution provided by you helped me a lot.
Could you please elaborate me the functionality of boundary?
Thanks,
Durga
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm writing scripts on HP-UX. Is there a way to attach a file to a mail message. I don't want to imbed the data in the mail message. (1 Reply)
Discussion started by: Multithreaded
1 Replies
2. UNIX for Dummies Questions & Answers
I am using the following command to send a zip file as an attachment to my internet email-id.
uuencode ABC_DEFG_HIJ.zip ABC_DEFG_HIJ.zip | mail -s "attachment from shell" pal@yahoo.com
Eventhough i have given the attached file as 'ABC_DEFG_HIJ.zip', when i receive the mail in my internet... (3 Replies)
Discussion started by: Pal
3 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
i have tried the following command to send an email with an attachment
its working fine but i am getting mail with the embeded content inside the mail that too truncated.
i wanted it as an attachment.
/usr/lib/sendmail -F "MAC SIA" address "rajendra@abc.com.sg" -t <... (6 Replies)
Discussion started by: rajendragora
6 Replies
4. AIX
Hi,
How can I send mail attachments from shell script (AIX) and have a mail body as well ?
Thanks in advance. (1 Reply)
Discussion started by: shibajighosh
1 Replies
5. Solaris
I want to send a mail with three attachments, but nothing happened. I tried it with mail and mailx.
Are there special options for these commands or is it not possible to send mails under Solaris with attachments? Must there be special adjustments in the environment?
Can anyone give an... (6 Replies)
Discussion started by: ninjadan
6 Replies
6. UNIX for Advanced & Expert Users
Hi ,
Whenever I try to send mails with attachments to external email Id's the attachment is not encoded properly which appears along with body (text) of the mail.
The attachement is always getting corrupted. Can anyone please suggest a solution.
Regards,
Sandipan (1 Reply)
Discussion started by: Sandipan
1 Replies
7. Shell Programming and Scripting
Hi,
I have to send email from UNIX with multiple excel attachments and the sender name needs to be customized (sender name need not to be UNIX user).
I have checked many ways from this forum and other sources. But, nothing did work for me.
Please help me!
thanks,
Raja. (1 Reply)
Discussion started by: smr_rashmy
1 Replies
8. Shell Programming and Scripting
:wall:hi all,
please somebody can help me out in reading the pop3 mail attachments or saving it locally
i have a mail account where i receive .csv attachments i need to read that attachments and process them.
any sample code can be much appriciated
Removed email
:wall: (3 Replies)
Discussion started by: srikanthkadapal
3 Replies
9. Red Hat
We don't have uuencode installed in our machines..... Please tell me how to send mail with multiple attachments ??? URGENT !!!!!
Please tell me using command line (or) scripts..........
please......
Thanks in Advance.... (1 Reply)
Discussion started by: vamshigvk475
1 Replies
10. Shell Programming and Scripting
Hi,
I'm trying to send mail with attachments using uuencode, but it doesn't work.
Command (also tried with mailx):
uuencode testfile testfile | mail emailadress
The email I get doesn't have an attachment, and has this in the message body:
begin 664 testfile
%=&5S=`H`
`
end
... (4 Replies)
Discussion started by: Subbeh
4 Replies
LEARN ABOUT DEBIAN
lwp::authen::negotiate
LWP::Authen::Negotiate(3pm) User Contributed Perl Documentation LWP::Authen::Negotiate(3pm)
NAME
LWP::Authen::Negotiate - GSSAPI based Authentication Plugin for LWP
SYNOPSIS
#! /usr/bin/perl -w
use strict;
require LWP::UserAgent;
# uncomment if you want see what is going wrong messages
#
#use LWP::Debug qw(+);
my $ua = LWP::UserAgent->new;
my $response = $ua->get('http://testwurst.grolmsnet.lan:8090/geheim/');
if ($response->is_success) {
print $response->content; # or whatever
}
else {
die $response->status_line;
}
just install LWP::Authen::Negotiate, LWP uses it as authentication plugin. Use your LWP::UserAgent Scripts as usual. Authentication is
done transparent based on your GSSAPI installation (MIT Kerberos or Heimdal)
WWW-Negotiate Webservers are IIS or Apache with mod_auth_kerb for example.
DESCRIPTION
To see what ist going on add
use LWP::Debug qw(+);
to yor LWP using Scripts.
(e.g. too see what is going wrong with GSSAPI...)
DEBUGGING
To see what ist going on (and going wrong) add
use LWP::Debug qw(+);
to yor LWP using Scripts.
(e.g. too see what is going wrong with GSSAPI...)
the output will look like this:
LWP::UserAgent::new: ()
LWP::UserAgent::request: ()
LWP::UserAgent::send_request: GET http://testwurst.grolmsnet.lan:8090/geheim/
LWP::UserAgent::_need_proxy: Not proxied
LWP::Protocol::http::request: ()
LWP::Protocol::collect: read 478 bytes
LWP::UserAgent::request: Simple response: Unauthorized
LWP::Authen::Negotiate::authenticate: authenticate() called
LWP::Authen::Negotiate::authenticate: target hostname testwurst.grolmsnet.lan
LWP::Authen::Negotiate::authenticate: GSSAPI servicename HTTP/moerbsen.grolmsnet.lan@GROLMSNET.LAN
LWP::Authen::Negotiate::authenticate: Miscellaneous failure (see text)
LWP::Authen::Negotiate::authenticate: open(/tmp/krb5cc_1000): file not found
In this case the credentials cache was empty. Run kinit first ;-)
ENVIRONMENT
LWP_AUTHEN_NEGOTIATE_DELEGATE
Define to enable ticket forwarding to webserver.
SEE ALSO
http://www.kerberosprotocols.org/index.php/Draft-brezak-spnego-http-03.txt
Description of WWW-Negotiate protol
http://modauthkerb.sourceforge.net/
the Kerberos and SPNEGO Authentication module for Apache mod_auth_kerb
http://perlgssapi.sourceforge.net/
Module Homepage
http://www.kerberosprotocols.org/index.php/Web
Sofware and APIs related to WWW-Negotiate
http://www.grolmsnet.de/kerbtut/
describes how to let mod_auth_kerb play together with Internet Explorer and Windows2003 Server
BUGS
As default Kerberos 5 is selected as GSSAPI mechanism. a later veriosn will make that configureable.
AUTHOR
Achim Grolms, <achim@grolmsnet.de>
http://perlgssapi.sourceforge.net/
Thanks to
Leif Johansson
who has conributed a lot of code from his implementation of the module and send a lot of input, ideas and feedback
Harald Joerg
helped with Kerberos knowledge and does testing on cygwin against IIS and mod_auth_kerb
Christopher Odenbach
does a lot of testing on Linux and Solaris
Dax Kelson
does a lot of testing on Linux
Karsten Kuenne
helped with advice
COPYRIGHT AND LICENSE
Copyright (C) 2006 by Achim Grolms <perl@grolmsnet.de>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or,
at your option, any later version of Perl 5 you may have available.
perl v5.10.1 2009-10-29 LWP::Authen::Negotiate(3pm)