SMTP and NTLM


 
Thread Tools Search this Thread
Operating Systems HP-UX SMTP and NTLM
# 1  
Old 11-10-2009
SMTP and NTLM

Hi,

I have a HP Unix from which I'm trying to connect to an email server through telnet and test sending emails using commands. Why am I doing that is not important.
The email server is an Exchange server and it looks like that the only Authentication method it supports is NTLM.
The host name is "svrdb01".
Here is what I do:

telnet 172.19.120.36
ehlo 172.19.120.36
AUTH NTLM 4e544c4d535350000100000007220000060006002000000073767264623031

The hex number is made based on the following information:
- NTLMSSP Signature and Type 1 Indicator: (0x4e544c4d53535000 and 0x01000000)
- Flags: (0x07220000)
Negotiate Unicode (0x00000001)
Negotiate OEM (0x00000002)
Request Target (0x00000004)
Negotiate NTLM (0x00000200)
Negotiate Workstation Supplied (0x00002000)
- Supplied Domain Security Buffer (0x0600060020000000)
Length: 7 bytes (0x0700)
Allocated Space: 7 bytes (0x0700)
Offset: 32 bytes (0x20000000)
- Data section (workstation name "svrdb01"): 73767264623031

But in return I get the "Authentication unsuccessful" error. Am I doing something wrong? How can I make sure those flags I've set are actually correct? For example how do I know my OS actually supports NTLM?
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Linux

Configure Postfix to relay to Exchange Server with NTLM authentication

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

2. Shell Programming and Scripting

Configure Cyrus SASL NTLM Plugin with Postfix

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

3. UNIX for Dummies Questions & Answers

Configure Cyrus SASL NTLM Plugin with Postfix

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

4. UNIX for Dummies Questions & Answers

Smtp

Hi All, I have a unix box which is in a network with windows machine, I am able to send the mails to the user id's with in the unix box. I dont have Internet connection for this box, so I am not able to test if it can send mails to external network or not? I want to know, if SMTP is already... (1 Reply)
Discussion started by: balu_puttaganti
1 Replies

5. Programming

C NTLM Authorization via HTTP

Greetings, I am writing a C socket application that needs NTLM authorization before it can post HTTP requests, and I am having trouble with NTLM authorization messages. :b: I've found the following urls extremely valuable for creating message functions: Davenport WebDAV-SMB Gateway... (1 Reply)
Discussion started by: edvin
1 Replies

6. Programming

C Smtp

how do you send a ".\n" in a smtp client? >354 Send message, end with <CRLF>.<CRLF> >. > i have already issued a "./n" but it doesnt work. please help. thanks. (1 Reply)
Discussion started by: grotesque
1 Replies

7. UNIX for Advanced & Expert Users

Smtp

Hi All, I am running an email server on a Linux machine. My goal is to set up in a way that I can use pop3 to retrieve mail from a Windows machine using Outlook. Now I can download the messages from the Linux email server, however I can not send out messages. I encounter this error: ... (1 Reply)
Discussion started by: vtran4270
1 Replies
Login or Register to Ask a Question
Mail::SpamAssassin::Plugin::PhishTag(3) 		User Contributed Perl Documentation		   Mail::SpamAssassin::Plugin::PhishTag(3)

NAME
PhishTag - SpamAssassin plugin for redirecting links in incoming emails. SYNOPSIS
loadplugin Mail::SpamAssassin::Plugin::PhishTag trigger_ratio 0.1 trigger_target RULE_NAME http://www.antiphishing.org/consumer_recs.html DESCRIPTION
PhishTag enables administrators to rewrite links in emails that trigger certain tests, preferably anti-phishing blacklist tests. The plugin will inhibit the blocking of a portion of the emails that trigger the test by SpamAssassin, and let them pass to the users' inbox after the rewrite. It is useful in providing training to email users about company policies and general email usage. OPTIONS
The following options can be set by modifying the configuration file. o trigger_ratio percentage_value Sets the probability in percentage that a positive test will trigger the email rewrite, e.g. 0.1 will rewrite on the average 1 in 1000 emails that match the trigger. o trigger_target RULE_NAME http_url The name of the test which would trigger the email rewrite; all the URLs will be replaced by http_url. DOWNLOAD
The source of this plugin is avaliable at: http://umut.topkara.org/PhishTag/PhishTag.pm a sample configuration file is also available: http://umut.topkara.org/PhishTag/PhishTag.cf SEE ALSO
Check the list of tests performed by SpamAssassin to modify the configuration file to match your needs from http://spamassassin.apache.org/tests.html AUTHOR
Umut Topkara, 2008, <umut@topkara.org> http://umut.topkara.org COPYRIGHT AND LICENSE
This plugin is free software; you can redistribute it and/or modify it under the same terms as SpamAssassin itself, either version 3.2.4 or, at your option, any later version of SpamAssassin you may have available. perl v5.16.3 2011-06-06 Mail::SpamAssassin::Plugin::PhishTag(3)