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
SSMTP(8)						      System Manager's Manual							  SSMTP(8)

NAME
ssmtp, sendmail - send a message using smtp SYNOPSIS
ssmtp [ flags ] [ address ... ] /usr/lib/sendmail [ flags ] [ address ... ] DESCRIPTION
ssmtp is a send-only sendmail emulator for machines which normally pick their mail up from a centralized mailhub (via pop, imap, nfs mounts or other means). It provides the functionality required for humans and programs to send mail via the standard or /usr/bin/mail user agents. It accepts a mail stream on standard input with recipients specified on the command line and synchronously forwards the message to the mail transfer agent of a mailhub for the mailhub MTA to process. Failed messages are placed in dead.letter in the sender's home directory. Config files allow one to specify the address to receive mail from root, daemon, etc.; a default mailhub; a default domain to be used in From: lines; and per-user From: addresses and mailhub names. It does not attempt to provide all the functionality of sendmail: it is intended for use where other programs are the primary means of at last mail delivery. It is usefull with pop/imap, or to simulate the Sun shared mail spool option for non-Sun machines, for machines whose sendmails are too difficult (or various) to configure, for machines with known disfeatures in their sendmails or for ones where there are ``mysterious problems''. It does not do aliasing, which must be done either in the user agent or on the mailhub. Nor does it honor .forwards, which have to be done on the recieving host. It especially does not deliver to pipelines. OPTIONS
Most sendmail options are irrelevent to sSMTP. Those marked ``ignored'' or ``default'' have no effect on mail transfer. Those marked ``unsupported'' are fatal errors. Those marked ``simulated'' are not errors, but the result is for the program to exit with an informative message. A sort of fatal non-error. -4 Forces ssmtp to use IPv4 addresses only. -6 Forces ssmtp to use IPv6 addresses only. -auusername Specifies username for SMTP authentication. -appassword Specifies password for SMTP authentication. -ammechanism Specifies mechanism for SMTP authentication. (Only LOGIN and CRAM-MD5) -ba (unsupported) ARPANET mode. All input lines must end with a LINEFEED, and all messages will be generated with a CR-LF at the end. Also, the ``From:'' and ``Sender:'' fields are examined for the name of the sender. -bd (unsupported) Run as a daemon. -bi (ignored) Initialise the alias database. -bm (default) Deliver mail in the usual way. -bp (simulated) Print a summary of the mail queue. -bs (unsupported) Read SMTP commands from stdin. -bt (unsupported) Run in address test mode. -bv (unsupported) Verify names only. -bz (unsupported) Create the configuration freeze file. -Cfile Use alternate configuration file. -dX Set debugging value to X. -E (ignored) Don't trust userid of sender. -Ffullname Set the full name of the sender. -fname Sets the name of the ``from'' person. This option is valid only if no From: line is specified within the header of the email. -h (ignored) Set the hop count to N. -m (ignored) Ignore originator in alias. -Mid (ignored) Attempt to deliver the queued message with message-id id. -N dsn (ignored) Set delivery status notification conditions to dsn. -n (default) Do not do aliasing. -oAfile (ignored) Use alternate alias file. -oc (ignored) Delay ``expensive'' connections. -od (ignored) Set the delivery mode to interactive/synchronous, background or queue (Always interactive). -oD (ignored) Run newaliases if required. -oe (ignored) Set error processing to mail, write, print or quit. (Always print). -oFmode (ignored) The mode to use when creating temporary files. -of (ignored) Save UNIX-system-style ``From'' lines at the front of messages. -ogN (ignored) Set group ID to use when calling mailers. -oHfile (ignored) Set SMTP help file. -oi (default) Do not take dots on a line by themselves as a message terminator. -oLn (ignored) The log level. -om (default) Send to ``me'' (the sender) also if in an alias. -oo (unsupported) If set, this message may have old style headers. -oQqueuedir (ignored) Select the directory in which to queue messages. -ortimeout (ignored) The timeout on reads. -oSfile (ignored) Save statistics in the named file. -os (ignored) Always instantiate the queue. -oTtime (ignored) Set timeout on messages. -otstz,dtz (ignored) Set the name of the time zone. -ouN (ignored) Set the default user id for mailers. -q[time] (simulated) Process the queue. -rname Same as -f. -Rstring (ignored) Process queue for recipient. -R return (ignored) Set the amount of the message to be returned if the message bounces. -t Read message, searching for recipients. ``To:'', `Cc:'', and ``Bcc:'' lines will be scanned for people to send to. Any addresses in the argument list will be suppressed (not supported). -v Go into verbose mode. -V Say version and quit. REVERSE ALIASES
A reverse alias gives the From: address placed on a user's outgoing messages and (optionally) the mailhub these messages will be sent through. Example: root:jdoe@isp.com:mail.isp.com Messages root sends will be identified as from jdoe@isp.com and sent through mail.isp.com. FILES
/etc/ssmtp/ssmtp.conf - configuration file /etc/ssmtp/revaliases - reverse aliases file SEE ALSO
RFC821, RFC822, ssmtp.conf(5). AUTHORS
Matt Ryan (mryan@debian.org) Hugo Haas (hugo@debian.org) Christoph Lameter (clameter@debian.org) Dave Collier-Brown (davecb@hobbes.ss.org) BUGS
sSMTP does not support exception lists to the -t option (never seen it used). sSMTP will fail if the mailhub is unreachable. Last change: 4 February 2005 SSMTP(8)
All times are GMT -4. The time now is 10:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy