Sponsored Content
Operating Systems Linux Red Hat Problem setting up SSMTP with Office 365 Post 302751115 by RedSpyder on Thursday 3rd of January 2013 07:57:08 AM
Old 01-03-2013
Problem setting up SSMTP with Office 365

Hi guys!

Im trying to setup my box so it can send its emails through Office 365 SMTP. I spent 8 hours yesterday trying to configure sendmail to do this, but I gave up.

Now Im trying to do it with SSMTP and I followed this guide to configure it How to install and configure sSMTP on CentOS / Fedora / Redhat | TechGyaan

This is my configuration:

Code:
root=email@mymail.com
mailhub=pod51011.outlook.com:587
AuthUser:User
AuthPass:Pass
FromLineOverride=YES
UseSTARTTLS=YES

But then in the logs I get

Code:
Jan  3 08:39:07 isvahlrtk01 sSMTP[7263]: Unable to connect to "pod51011.outlook.com" port 587.
Jan  3 08:39:07 isvahlrtk01 sSMTP[7263]: Cannot open pod51011.outlook.com:587

What could be happening?
 

8 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

UNIX problem concerning Microsoft Office Binary

I just started using Terminal on my Mac this summer, and right now I am having problems making a shell script. This shell should run the "Microsoft Setup Assistant" once I run the Automator Script. Alas, I still have problems. Here is the offending scriptlet: Sudo Tcsh root# cd... (2 Replies)
Discussion started by: chrisfrap
2 Replies

2. Linux

how to rectify the MS Office problem

Dear forum members, I was configured smb ldap in fedora core 6, past 1 year its running nice with out any problem. but last one week I can't able to save microsoft office application(excel) in server. server having a sufficient memory(2Gb RAM). this problem only for ms application. how can i... (4 Replies)
Discussion started by: erbalamurugan
4 Replies

3. UNIX for Advanced & Expert Users

Finger command not showing Office, Office Phone from /etc/passwd

Not sure if this is the best place to post, but at this point my question seems to be an advanced topic. I'm curious why it is that the "office phone" column of finger does not seem to report anything even when data is entered in the GECOS field of /etc/passwd. I am using Ubuntu 8.10, kernel... (1 Reply)
Discussion started by: gratuitous_arp
1 Replies

4. Windows & DOS: Issues & Discussions

problem uninstalling MS office 2010

whenever i try to uninstall my MS office 2010 it gives me an error , uninstaller is corrupted , try to run uninstaller from the original setup. If i do that, it doesn't give me an option to uninstall it ! I tried to reinstall the whole MS office 2010 from the same setup again, but though... (7 Replies)
Discussion started by: aarsh
7 Replies

5. IP Networking

Routing traffic problem between 3G and Office Lan Network

Hi, I would like to ask some networking solution regarding my work LAN and 3G usb network problem. I want to route my internet traffic to the 3G network and sometimes connect to some of my work network for ssh to configure some workstation or print something. Currently my problem is i can't... (0 Replies)
Discussion started by: jao_madn
0 Replies

6. Shell Programming and Scripting

Configuring ssmtp

Hi, I have trouble in configuring ssmtp for sending mail to gmail. I have configured the following way, plz suggest/correct me if i have done something wrong root=nagiostool@gmail.com mailhub=smtp.gmail.com:587 #RewriteDomain= # The full hostname Hostname=nagiosxi # Set this to... (1 Reply)
Discussion started by: nagios
1 Replies

7. Ubuntu

ssmtp

I installed sSMTP in ubuntu 12.04 This works goed but I have two problems and I don't find a answer with google. I don't find how to stop sSMTP so this server only works when I want. sudo etc//init.d/ssmtp stop doesn't work because ssmtp isn't in init.d When I start truecrypt than I always... (3 Replies)
Discussion started by: thailand
3 Replies

8. Windows & DOS: Issues & Discussions

Powershell + office 365

Hello ! I am looking for powershell guys. I have lot of office365 users ,and i need add/remove calendar items from powershell. my users have multiple calendars. how can i select calendar ,and how can i add / remove item to selected calendar. PS C:\appl\o365calendar> get-mailboxfolder... (0 Replies)
Discussion started by: zoldkovacs
0 Replies
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)
All times are GMT -4. The time now is 12:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy