06-25-2012
Moderator's Comments:
|
|
Duplicate Thread Closed - Continue Here - Do not post duplicate threads for any reason. Thank you.
|
|
8 More Discussions You Might Find Interesting
1. IP Networking
hi all.
Am using smtpd_recipient_restrictions & check_recipient_access in postfix.
The hash file looks like this:
emailaddress1 HOLD
emailaddress2 HOLD
The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies
2. UNIX for Dummies Questions & Answers
Hi guys
One of our clients have a problem with sending email to a certain domain. No matter what we try, the mails just dont get delivered.
What I did then, is created a new connector on their Exchange server, pointing all mail sent to their client at "domain1" to relay to our Postfix mail... (0 Replies)
Discussion started by: wbdevilliers
0 Replies
3. UNIX for Dummies Questions & Answers
Hi all
We need to block our users sending emails to specific email addresses. At the moment, recipient restrictions is not enabled in our Postfix relay server so all messages submitted from our Exchange server are accepted and relayed.
See entries in our main.cf file:
### Recipient... (0 Replies)
Discussion started by: wbdevilliers
0 Replies
4. Red Hat
On Debian i set my ldap server,using tls and all works ok.
On Redhat i have set my ldap server,using tls ok...but
when i try to use ldapsearch without -x and with rootpw(created with slappasswd) it ask for sasl password!
The question is: is possible to disable sasl?
Thanks (2 Replies)
Discussion started by: Linusolaradm1
2 Replies
5. Shell Programming and Scripting
Hello
I hope somebody can help with this.
I have a shell, that in case of failure, sends an email (relaying through an Exchange Server). This Exchange server only offers NTLM authentication.
250-AUTH NTLM
This is the configuration I have:
Postfix 2.1.1 as client.
Cyrus-SASL... (1 Reply)
Discussion started by: viktor1985
1 Replies
6. Linux
Hello
I have a shell script, which should send email, if any error occurred. This script is running in Red Hat Linux 4.6, and want to configure postfix so it can relay to an Exchange Server.
The Authorization method of Exchange server, I guess is: 250-AUTH NTLM. So I have:
Server A ( Red... (1 Reply)
Discussion started by: viktor1985
1 Replies
7. UNIX and Linux Applications
I have a mailserver with postfix
i want to alias all mail for administrator@domain.fqdn
to root@domain.fqdn
I have the aliases configured,and i did newliases
but doesn't work.
How to did this?Postfix is configured for virtual domain on ad server. (2 Replies)
Discussion started by: Linusolaradm1
2 Replies
8. HP-UX
I have installed all packages required(openldap,kerberos,cyrus-sasl)
configured ldap.conf
but when i did ldapsearch -Y gssapi return
ldapsearch -Y gssapi -H ldap://ldapserver-d -1 cn=prova
it did
ldap_msgfree
ldap_err2string
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
LEARN ABOUT OSX
lwp::authen::ntlm
LWP::Authen::Ntlm(3) User Contributed Perl Documentation LWP::Authen::Ntlm(3)
NAME
LWP::Authen::Ntlm - Library for enabling NTLM authentication (Microsoft) in LWP
SYNOPSIS
use LWP::UserAgent;
use HTTP::Request::Common;
my $url = 'http://www.company.com/protected_page.html';
# Set up the ntlm client and then the base64 encoded ntlm handshake message
my $ua = LWP::UserAgent->new(keep_alive=>1);
$ua->credentials('www.company.com:80', '', "MyDomain\MyUserCode", 'MyPassword');
$request = GET $url;
print "--Performing request now...-----------
";
$response = $ua->request($request);
print "--Done with request-------------------
";
if ($response->is_success) {print "It worked!->" . $response->code . "
"}
else {print "It didn't work!->" . $response->code . "
"}
DESCRIPTION
"LWP::Authen::Ntlm" allows LWP to authenticate against servers that are using the NTLM authentication scheme popularized by Microsoft.
This type of authentication is common on intranets of Microsoft-centric organizations.
The module takes advantage of the Authen::NTLM module by Mark Bush. Since there is also another Authen::NTLM module available from CPAN by
Yee Man Chan with an entirely different interface, it is necessary to ensure that you have the correct NTLM module.
In addition, there have been problems with incompatibilities between different versions of Mime::Base64, which Bush's Authen::NTLM makes
use of. Therefore, it is necessary to ensure that your Mime::Base64 module supports exporting of the encode_base64 and decode_base64
functions.
USAGE
The module is used indirectly through LWP, rather than including it directly in your code. The LWP system will invoke the NTLM
authentication when it encounters the authentication scheme while attempting to retrieve a URL from a server. In order for the NTLM
authentication to work, you must have a few things set up in your code prior to attempting to retrieve the URL:
o Enable persistent HTTP connections
To do this, pass the "keep_alive=>1" option to the LWP::UserAgent when creating it, like this:
my $ua = LWP::UserAgent->new(keep_alive=>1);
o Set the credentials on the UserAgent object
The credentials must be set like this:
$ua->credentials('www.company.com:80', '', "MyDomain\MyUserCode", 'MyPassword');
Note that you cannot use the HTTP::Request object's authorization_basic() method to set the credentials. Note, too, that the
'www.company.com:80' portion only sets credentials on the specified port AND it is case-sensitive (this is due to the way LWP is coded,
and has nothing to do with LWP::Authen::Ntlm)
AVAILABILITY
General queries regarding LWP should be made to the LWP Mailing List.
Questions specific to LWP::Authen::Ntlm can be forwarded to jtillman@bigfoot.com
COPYRIGHT
Copyright (c) 2002 James Tillman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the
same terms as Perl itself.
SEE ALSO
LWP, LWP::UserAgent, lwpcook.
perl v5.16.2 2012-01-13 LWP::Authen::Ntlm(3)