Sponsored Content
Full Discussion: Configuring ssmtp
Top Forums Shell Programming and Scripting Configuring ssmtp Post 302646859 by nagios on Saturday 26th of May 2012 03:32:39 AM
Old 05-26-2012
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

Code:
root=nagiostool@gmail.com
mailhub=smtp.gmail.com:587
#RewriteDomain=
# The full hostname
 Hostname=nagiosxi
# Set this to never rewrite the "From:" line (unless not given) and to
# use that address in the "from line" of the envelope.
#FromLineOverride=YES
# Use SSL/TLS to send secure messages to server.
#UseTLS=YES
# Use SSL/TLS certificate to authenticate against smtp host.
#UseTLSCert=YES
# Use this RSA certificate.
#TLSCert=/etc/pki/tls/private/ssmtp.pem
# Get enhanced (*really* enhanced) debugging information in the logs
# If you want to have debugging of the config file parsing, move this option
# to the top of the config file and uncomment
#Debug=YES
AuthUser=nagiostool
AuthPass=password
UseSTARTTLS=YES

Thank you in advance Smilie

Last edited by Scrutinizer; 05-26-2012 at 05:34 AM.. Reason: code tags
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Configuring.....

Hi Folks, I would like to learn the basics of unix administration like configuring telnet, ftp, smtp,etc.. Could u suggest me a good site for learning it??? or the methodology that has to be followed for learning it??? TIA, Nisha :) (2 Replies)
Discussion started by: Nisha
2 Replies

2. UNIX for Advanced & Expert Users

Configuring a modem on a P5

Hello. I'm trying to configure a modem on an IBM p570 on the serial port. This is a partition machine so i want to be able to share it with partitionned servers. On my VIOserver, what needs to be done exactly? I can see a vsa0 device but that is not the serial port i need from what i... (1 Reply)
Discussion started by: Stephan
1 Replies

3. Linux

ssmtp error : Cannot open <ip_address>:25

Hello, I am facing a problem with ssmtp mailing agent. I have installed and configured ssmtp in my RHEL5.3 system. I have written a shell script which sends mail to a couple of email id's. The script uses ssmtp to send mails. When I am running the scipt manually i.e. sh <script_name>.sh then... (3 Replies)
Discussion started by: senrooy
3 Replies

4. UNIX for Dummies Questions & Answers

Need help configuring SSH on HP-UX

Can someone show me the basics on configuring SSH on Unix so I can access my Unix account remotely from Windows 7. Basically, I want to fire some scripts remotely. I've already posted a thread on the Windows forum thinking my configuration was wrong on the Windows side. But the more I read the... (9 Replies)
Discussion started by: rm-r
9 Replies

5. 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

6. Shell Programming and Scripting

[Fixed Itself!] Sending mail form script using sSMTP does not work

I have installed sSMTP and set it up to use my gmail. Sending from cli does work fine: msg file:From: test@gmail.com To test2@gmail.com Subject: test post This is a test Executing from console:ssmtp -t < msg does work fine. But from script it does not work:#!/bin/sh ssmtp -t < msg... (0 Replies)
Discussion started by: Jotne
0 Replies

7. Red Hat

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 /... (0 Replies)
Discussion started by: RedSpyder
0 Replies

8. UNIX and Linux Applications

Ssmtp -t < /path/to/the/message.txt (How to format message.txt for html email)

ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets, Content-Transfer-Encoding, rearranging the... (0 Replies)
Discussion started by: Ronald B
0 Replies

9. UNIX for Dummies Questions & Answers

Configuring DNS

Hi guys, I had Cpanel VPS hosting and switched to non managed VPS hosting. My nameservers are configured as follows ns1.mobz.ca 69.175.76.110 ns2.mobz.ca 69.175.76.111 Before switching my domain worked perfectly. Like webprofessionalsconnect.com with those settings worked. With new... (4 Replies)
Discussion started by: vahankh
4 Replies
DwtScrollWindowSetAreas(3Dwt)											     DwtScrollWindowSetAreas(3Dwt)

Name
       DwtScrollWindowSetAreas - Sets up or adds the window region, and the horizontal or vertical scroll bar widgets to the scroll window widget.

Syntax
       void DwtScrollWindowSetAreas(widget, horizontal_scroll_bar,				vertical_scroll_bar, work_region)
	    Widget widget;
	    Widget horizontal_scroll_bar;
	    Widget vertical_scroll_bar;
	    Widget work_region;

Arguments
       widget	 Specifies the scroll window widget ID.

       horizontal_scroll_bar
		 Specifies  the scroll bar widget ID for the horizontal scroll bar to be associated with the scroll window widget.  You can set or
		 specify this ID only after creating an instance of the main window widget.  The attribute name associated with this  argument	is
		 DwtNhorizontalScrollBar.

       vertical_scroll_bar
		 Specifies  the  scroll  bar widget ID for the vertical scroll bar to be associated with the scroll window widget.  You can set or
		 specify this ID only after creating an instance of the main window widget.  The attribute name associated with this  argument	is
		 DwtNverticalScrollBar.

       work_region
		 Specifies  the  widget  ID for the window to be associated with the scroll window work area.  You can set or specify this ID only
		 after you create an instance of the main window widget.

Description
       The DwtScrollWindowSetAreas function adds or changes a window work region and a horizontal or vertical scroll bar widget to the scroll win-
       dow  widget  for  the  application.  You must call this function before the scroll window widget is realized, that is, before calling the X
       intrinsics function XtRealizeWidget.  Each widget is optional and may be passed as NULL.

See Also
       DwtScrollWindow(3Dwt), DwtWindow(3Dwt),
       Guide to the XUI Toolkit: C Language Binding
       Guide to the XUI Toolkit Intrinsics: C Language Binding

														     DwtScrollWindowSetAreas(3Dwt)
All times are GMT -4. The time now is 06:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy