I'm trying to configure sendmail with SMTP authentication on a SunOS 5.11 operating system. I have been read various documentation / tutorials and unfortunately is not working. I need help from someone who has configured smtp on this operating system.
When I try to send a mail, I have the following error:
I've looked into the sendmail configuration files to change host mailhost.localhost.localhost.com with my smtp server, but it does not exist.
In /etc/mail/sendmail.cf to the line
... where is DS we put the smtp server, I restarted the services and unfortunately the hostname does not change.
Thanks in advance.
Last edited by rbatte1; 06-28-2018 at 10:55 AM..
Reason: Added CODE tags and tidied formatting.
Hi,
I have a solaris 9 box, and 2 domains A.com and B.net. the machine is on B.net.
I am not able to send emails to @A.com using mail or mailx. after reading on sendmail,
there was something about relaying and editing the file /etc/mail/relay-domains.
Please let me know if this is what i... (1 Reply)
I have searched this forum extensively and can't seem to find a workable solution to my sendmail issue, but that could be down to my own lack of knowledge so please bear with me...
I am using a Sun Solaris 9 box to try and send e-mail to external addresses. The Unix box is not an e-mail server.... (9 Replies)
Hi,
We had an upgrade today morning and since then mailx command is not working.
I have been told to change the DNS to use host name as smtp.companyname.com instead of the IP address.
Can someone please help me out to know where can I change this on a Unix Server.
Thanks
Aman (5 Replies)
Did anyone know or can provide some instructions on how to setup smtp
for sendmail.
All I need to do is email files from sco thru my ISP smtp provider.
please help (3 Replies)
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)
Hello all,
I have installed ubuntu hardy and for some testing I have configured sendmail on it.
I have a router facing the internet and I am having hard time configuring the router to allow traffic on port 25 to my server. I have a BCM96338 ADSL Router. I have set iptable rules to allow the... (0 Replies)
We require e-mails to come from one of our Solaris 10 boxes ASAP and have found that when using such things as Sendmail and Mailx all the mail goes to a Q that only fires every 15 minutes. We have tried everything we could think of to adjust this to force the Q to go every 1 minute but so far no... (3 Replies)
Hi all,I know, that this is very common issue, but I can't find where is the problem... I have Solaris 10 installed.I want to send mail to external SMTP server, like:echo "letter body"| mailx -s "subject" test@test.comBut I donno what kind of changes I have to do in /etc/hosts and sendmail.cf or... (5 Replies)
Discussion started by: nypreH
5 Replies
LEARN ABOUT DEBIAN
email::sender::transport::smtp::tls
Email::Sender::Transport::SMTP::TLS(3pm) User Contributed Perl Documentation Email::Sender::Transport::SMTP::TLS(3pm)NAME
Email::Sender::Transport::SMTP::TLS - Email::Sender with Net::SMTP::TLS (Eg. Gmail)
VERSION
version 0.10
SYNOPSIS
use Email::Sender::Simple qw(sendmail);
use Email::Sender::Transport::SMTP::TLS;
use Try::Tiny;
my $transport = Email::Sender::Transport::SMTP::TLS->new(
host => 'smtp.gmail.com',
port => 587,
username => 'username@gmail.com',
password => 'password',
helo => 'fayland.org',
);
# my $message = Mail::Message->read($rfc822)
# || Email::Simple->new($rfc822)
# || Mail::Internet->new([split /
/, $rfc822])
# || ...
# || $rfc822;
# read L<Email::Abstract> for more details
use Email::Simple::Creator; # or other Email::
my $message = Email::Simple->create(
header => [
From => 'username@gmail.com',
To => 'to@mail.com',
Subject => 'Subject title',
],
body => 'Content.',
);
try {
sendmail($message, { transport => $transport });
} catch {
die "Error sending email: $_";
};
DESCRIPTION
Email::Sender replaces the old and sometimes problematic Email::Send library, while this module replaces the Email::Send::SMTP::TLS.
It is still alpha, but it works. use it at your own risk!
ATTRIBUTES
The following attributes may be passed to the constructor:
host - the name of the host to connect to; defaults to localhost
port - port to connect to; defaults to 587
username - the username to use for auth; required
password - the password to use for auth; required
helo - what to say when saying HELO; no default
allow_partial_success - if true, will send data even if some recipients were rejected
PARTIAL SUCCESS
If "allow_partial_success" was set when creating the transport, the transport may return Email::Sender::Success::Partial objects. Consult
that module's documentation.
AUTHOR
Fayland Lam <fayland@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Fayland Lam.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-25 Email::Sender::Transport::SMTP::TLS(3pm)