10 More Discussions You Might Find Interesting
1. Red Hat
Hello,
I have issue with my Zimbra Mail Server 6.0.7. In that i have configured HTTPS for client login and for whole session. but it stills communicate in http based authentication. due to that some sniffing software are easily sniffing details.
So how do i configure completely HTTPS in... (3 Replies)
Discussion started by: Chintanghanti
3 Replies
2. UNIX Desktop Questions & Answers
Hi All,
I' m having a pretty strange issue, when I sent an outlook email that is forwarded by rule for example (email sent every day at certain time) to the server is not going through, i cant see it arriving at the Maildir or i have also a procmail rule log that also not reaching... could... (0 Replies)
Discussion started by: Skyline88
0 Replies
3. Solaris
Solaris server does not receive email from other servers any more. For example, If we send mail from server A to server B, mail is not reaching server B and there is no message or warning about failure of sending mail in server A. What may be the issue of this?
Thankyou in advance!! (1 Reply)
Discussion started by: learner46
1 Replies
4. Shell Programming and Scripting
Here is the code:
<?php
//new function
function loadini($path) {
$fp = fopen($path, "r");
$fpcontents = fread($fp, filesize($path));
fclose($fp);
return $fpcontents;
}
$to = "test@test.com";
$nameto = "notme";
$from = "test";
$namefrom = "Who From"; ... (0 Replies)
Discussion started by: galford
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
---------- Post updated at 04:12 AM ---------- Previous update was at 04:09 AM ----------
This is the scripts..
Date=`date +"%m/%d/%y %H:%M:%S "`
echo "Run on $Date"
echo "Run on $Date" >&2
# Setting Variables
PassDir=$PS_HOME/autosys/pass # Location of the... (0 Replies)
Discussion started by: sonja
0 Replies
6. Programming
If anybody has a c/c++ code of send mail via smtp with or without authorization for Linux, I will be very grateful.
Thank's. (0 Replies)
Discussion started by: LuckyStr
0 Replies
7. UNIX for Advanced & Expert Users
Hi all,
I was trying to configure SMTP server with my linux box. I made changes to the /etc/mail/sendmail.cf whereby editing the line
DAEMON_OPTIONS(`Port=<port number>,Addr=<mail server name>, Name=MTA')dnl
after this ive created a new sendmail.cf file by using the command
m4... (4 Replies)
Discussion started by: amit_kv1983
4 Replies
8. UNIX for Advanced & Expert Users
Hi all,
I need to send mail to a particular email id using a local mail server.This mail shall contain the content of a file. I don't have any idea how to do it. Can anyone guide me ,where to start proceeding for it. Any guide or study material would appreciated. (1 Reply)
Discussion started by: amit_kv1983
1 Replies
9. UNIX for Dummies Questions & Answers
Hello,
Firstly, appologies, i am a windows man but i'm picking things up really quickly.!
We have some Unix boxes on our estate that route mail to a Windows SMTP server. This doesn't seem to work and after looking at the message headers it looks like the mail is getting bounced. :(
-----... (4 Replies)
Discussion started by: M2TTJ
4 Replies
10. IP Networking
I want to send e-mail from my yahoo account.
But
mail -s "title" *@yahoo.com < line.txt
is from my local address to *@yahoo.com.
How can i do this? (1 Reply)
Discussion started by: Euler04
1 Replies
SMTP_auth(3pm) User Contributed Perl Documentation SMTP_auth(3pm)
NAME
Net::SMTP_auth - Simple Mail Transfer Protocol Client with AUTHentication
SYNOPSIS
use Net::SMTP_auth;
# Constructors
$smtp = Net::SMTP_auth->new('mailhost');
$smtp = Net::SMTP_auth->new('mailhost', Timeout => 60);
DESCRIPTION
This module implements a client interface to the SMTP and ESMTP protocol AUTH service extension, enabling a perl5 application to talk to
and authenticate against SMTP servers. This documentation assumes that you are familiar with the concepts of the SMTP protocol described in
RFC821 and with the AUTH service extension described in RFC2554.
A new Net::SMTP_auth object must be created with the new method. Once this has been done, all SMTP commands are accessed through this
object.
The Net::SMTP_auth class is a subclass of Net::SMTP, which itself is a subclass of Net::Cmd and IO::Socket::INET.
EXAMPLES
This example authenticates via CRAM-MD5 and sends a small message to the postmaster at the SMTP server known as mailhost:
#!/usr/bin/perl -w
use Net::SMTP_auth;
$smtp = Net::SMTP_auth->new('mailhost');
$smtp->auth('CRAM-MD5', 'user', 'password');
$smtp->mail($ENV{USER});
$smtp->to('postmaster');
$smtp->data();
$smtp->datasend("To: postmaster
");
$smtp->datasend("
");
$smtp->datasend("A simple test message
");
$smtp->dataend();
$smtp->quit;
CONSTRUCTOR
new Net::SMTP_auth [ HOST, ] [ OPTIONS ]
This is the constructor for a new Net::SMTP_auth object. It is taken from Net::SMTP as all other methods (except auth and auth_types)
are, too.
METHODS
Unless otherwise stated all methods return either a true or false value, with true meaning that the operation was a success. When a method
states that it returns a value, failure will be returned as undef or an empty list.
auth_types ()
Returns the AUTH methods supported by the server as an array or in a space separated string. This string is exacly the line given
by the SMTP server after the "EHLO" command containing the keyword "AUTH".
auth ( AUTH, USER, PASSWORD )
Authenticates the user "USER" via the authentication method "AUTH" and the password "PASSWORD". Returns true if successful and
false if the authentication failed. Remember that the connection is not closed if the authentication fails. You may issue a differ-
ent authentication attempt. If you once are successfully authenticated, you cannot send the "AUTH" command again.
The "AUTH" method "NTLM" is supported via Authen::NTLM (thanks to James Fryman).
SEE ALSO
Net::SMTP and Net::Cmd
AUTHOR
Alex Pleiner <alex@zeitform.de>, zeitform Internet Dienste. Thanks to Graham Barr <gbarr@pobox.com> for Net::SMTP. NTLM authentication
code provided by James Fryman <jfryman@gmail.com>
COPYRIGHT
Copyright (c) 2001, 2003, 2006 zeitform Internet Dienste. All rights reserved. This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
perl v5.8.8 2006-01-13 SMTP_auth(3pm)