10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi, we have a FTP server on vSphere on a windows 2008 server platform.
One of our Unix machines now cannot send files to it, we checked permissions etc.
Can login, when using put events.txt it gives a 550 Access Denied error.
Nothing has changed from yesterday when it was working apart from... (1 Reply)
Discussion started by: RonT
1 Replies
2. Homework & Coursework Questions
Creating a large number of rules such as 100000, iptables will produce errors after 42000 rules "iptables: Unknown error 18446744073709551615".
But another machine where i have debian virtual machine I can easily run the sciprt of 100000 of rules
I am waiting for your reply
4.... (1 Reply)
Discussion started by: tahirfattani
1 Replies
3. UNIX for Advanced & Expert Users
Not sure if this is the right forum and I apologies if not. I use Expression web to update our website on a UNIX server using SFTP.
I use the same laptop, software, that works fine when at home, but when I travel, I tend to get a unknown server error. I am suspecting that it has something to do... (2 Replies)
Discussion started by: ae3799t
2 Replies
4. Ubuntu
Is there any way to create an SMTP mail server will all granular permissions to it so that I can read emails which that server receives through any scripting language and also reply from the same server automatically? (3 Replies)
Discussion started by: sandeepcm
3 Replies
5. AIX
Hey everyone,
I have an issue where email is working fine in our Windows environments but is blowing up in our AIX environments.
Here is the related functions that are getting called:
int get_smtp_line( void )
{
char ch = '.';
char in_data ;
char * index;
int retval = 0;
... (4 Replies)
Discussion started by: ctote
4 Replies
6. Shell Programming and Scripting
i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies
7. UNIX for Dummies Questions & Answers
I have sendmail setup to relay through my external ISP. Everything was working fine until I started getting the error message (below). I don't what I did to cause this? I have read a number of related posts and it appears that I might need to configure the sending address of my server to appear... (0 Replies)
Discussion started by: simonmason
0 Replies
8. UNIX for Advanced & Expert Users
Hi all,
While watching the log at /var/log/messages on a Centos 4.x box I keep seeing this come up
Jul 18 09:38:40 ws096 PAM_pwdb: check pass; user unknown
From what I understand this might be a ssh attack or am I wrong here?
The bad thing is that it does not show an IP address its... (1 Reply)
Discussion started by: mcraul
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am having an ftp script(runs in HP unix server) that connect to another server where we have different folders named as email addresses(eg."anarayana@yahoo.com").
Then it goes to each folder and put the file in that folder.
I found an error when remote folder is not created.
"550... (1 Reply)
Discussion started by: lnarayana
1 Replies
10. UNIX for Advanced & Expert Users
Hi
I try to configure snedmail as smtp for my solaris box. if the useres are local there's no problem everything's working fine, but is it outside, sendmail says it could find the host. why?! all other tools find diffrent host?
Could anyone tell me how I set up an easy mx ? So I test it with... (29 Replies)
Discussion started by: mrsaint
29 Replies
Net::SMTP::TLS(3pm) User Contributed Perl Documentation Net::SMTP::TLS(3pm)
NAME
Net::SMTP::TLS - An SMTP client supporting TLS and AUTH
VERSION
Version 0.12
SYNOPSIS
use Net::SMTP::TLS;
my $mailer = new Net::SMTP::TLS(
'your.mail.host',
Hello => 'some.host.name',
Port => 25, #redundant
User => 'emailguy',
Password=> 's3cr3t');
$mailer->mail('emailguy@your.mail.host');
$mailer->to('someonecool@somewhere.else');
$mailer->data;
$mailer->datasend("Sent thru TLS!");
$mailer->dataend;
$mailer->quit;
DESCRIPTION
Net::SMTP::TLS is a TLS and AUTH capable SMTP client which offers an interface that users will find familiar from Net::SMTP. Net::SMTP::TLS
implements a subset of the methods provided by that module, but certainly not (yet) a complete mirror image of that API.
The methods supported by Net::SMTP::TLS are used in the above example. Though self explanatory for the most part, please see the perldoc
for Net::SMTP if you are unclear.
The differences in the methods provided are as follows:
The mail method does not take the options list taken by Net::SMTP
The to method also does not take options, and is the only method available to set the recipient (unlike the many synonyms provided by
Net::SMTP).
The constructor takes a limited number of Net::SMTP's parameters. The constructor for Net::SMTP::TLS takes the following (in addition
to the hostname of the mail server, which must be the first parameter and is not explicitly named):
NoTLS - In the unlikely event that you need to use this class to perform non-TLS SMTP (you ought to be using Net::SMTP itself for
that...), this will turn off TLS when supplied with a true value. This will most often cause an error related to authentication
when used on a server that requires TLS
Hello - hostname used in the EHLO command
Port - port to connect to the SMTP service (defaults to 25)
Timeout - Timeout for inital socket connection (defaults to 5, passed directly to IO::Socket::INET)
User - username for SMTP AUTH
Password - password for SMTP AUTH
TLS and AUTHentication
During construction of an Net::SMTP::TLS instance, the full login process will occur. This involves first sending EHLO to the server, then
initiating a TLS session through STARTTLS. Once this is complete, the module will attempt to login using the credentials supplied by the
constructor, if such credentials have been supplied.
The AUTH method will depend on the features returned by the server after the EHLO command. Based on that, CRAM-MD5 will be used if
available, followed by LOGIN, followed by PLAIN. Please note that LOGIN is the only method of authentication that has been tested. CRAM-MD5
and PLAIN login functionality was taken directly from the script mentioned in the acknowledgements section, however, I have not tested them
personally.
ERROR HANDLING
This module will croak in the event of an SMTP error. Should you wish to handle this gracefully in your application, you may wrap your mail
transmission in an eval {} block and check $@ afterward.
ACKNOWLEDGEMENTS
This code was blatantly plagiarized from Michal Ludvig's smtp-client.pl script. See <http://www.logix.cz/michal/devel/smtp> for his
excellent work.
AUTHOR
Alexander Christian Westholm, awestholm at verizon dawt net
Improvements courtesy of Tomek Zielinski
perl v5.10.0 2006-01-17 Net::SMTP::TLS(3pm)