12-21-2000
Since the UNIX platform sends the message, the UNIX mailer is the key to how RFC822 information (SMTP header information) is parsed. Not all mailers are equal. When you find out what mail is used and where it is being called, this will help you troubleshoot the problem.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm trying to check if files already exist in a directory. They have the same basename (exsyctr1), but 4 different extensions. If the files exist, then I make backups of them, then copy them from another directory ($livecomp/data) to the current one ($copycomp/data). If they don't exist, just... (5 Replies)
Discussion started by: Ypnos
5 Replies
2. UNIX for Advanced & Expert Users
can someone tell me the meaning of this commnad,
If you want to see a grand total of CPU time for a program when it finishes running, you can use the time command. At the Unix prompt, enter:
time java myprog
Replace myprog with the name of the program you are running. The following is an... (1 Reply)
Discussion started by: ldpathak
1 Replies
3. UNIX for Dummies Questions & Answers
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies
4. UNIX for Advanced & Expert Users
1|foo|bar
2|usa|ll
3|usa|vg
4|usa|vg
5|bar|vg
6|usa|vg
7|usa|ll
8|uk|nn
9|foo|manu|bar
10|uk|bb
11|foo|mm
12|kuwait|jkj
13|kuwait|mm
14|dubai|hh
awk '/foo/,/bar/' test_file1----command run at the prompt
output should have been the first 3 lines......
1|foo|bar (1 Reply)
Discussion started by: bishweshwar
1 Replies
5. UNIX for Dummies Questions & Answers
whoami | grep < $1 | echo $1
trying to write a script that finds out who the user is and then takes occurences of that username from a file that is passed as an argument and then displays it (6 Replies)
Discussion started by: iago
6 Replies
6. Linux
********nothing too see here!!!****** (2 Replies)
Discussion started by: TonyChapman
2 Replies
7. Shell Programming and Scripting
Hi falks,
I need to dispaly a list of only directories .
As it written in the manual ,the command to do it is 'ls -d'.
When i issue 'ls -d' i'm getting:
tornado.orca.ent:DB10g :/home/oracle/Create_Database > ls -d
.
Is anyone have any idea why id does not display directories ,or maybe... (11 Replies)
Discussion started by: nir_s
11 Replies
8. IP Networking
I have a client machine that was built and loaded with SCO UNIX 2.1.3, (yes it is old). The machine worked fine on the closed network that I tested on in my shop. I then had to change it to the network that it would be connected to. Below is the host file, router and subnet mask file that I usually... (0 Replies)
Discussion started by: NC user
0 Replies
9. Shell Programming and Scripting
My script work on Linux but not work in sun os.
my script.
logFiles="sentLog1.log sentLog2.log"
intial_time="0 0"
logLocation="/usr/local/tomcat/logs/"
sleepTime=600
failMessage=":: $(tput bold)Log not update$(tput rmso) = "
successMessage="OK"
arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies
10. IP Networking
hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view
situation
a router, with linux of some sort,
dhcp client requesting for ip in wan1 (as usual with wan ports)
dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies
LEARN ABOUT DEBIAN
net::smtp::tls
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)