LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-05-2010, 05:07 AM   #1
Dig
Member
 
Registered: Nov 2009
Posts: 50

Rep: Reputation: 1
yum-updatesd Configuration


HI-

I can see that in yum-updatesd configuration i can use smtp_server to rely mail notifications as per below outputs from man pages

smtp_server
SMTP server to use when sending mail, host or a hostort string. Defaults to ‘localhost:25’.



The problem that this option doesn't work at all and it rely into the local MTA not the one set on the smtp_server


Have any one tried this before ?
 
Old 12-06-2010, 02:43 PM   #2
axelsallright
LQ Newbie
 
Registered: Dec 2010
Location: Austin, TX
Distribution: Fedora
Posts: 11

Rep: Reputation: 2
Smile

Quote:
Originally Posted by Dig View Post
HI-

I can see that in yum-updatesd configuration i can use smtp_server to rely mail notifications as per below outputs from man pages
smtp_server
SMTP server to use when sending mail, host or a hostort string. Defaults to ‘localhost:25’.
The problem that this option doesn't work at all and it rely into the local MTA not the one set on the smtp_server
Have any one tried this before ?
I haven't done it in a while, I remember you have to set the parameter:
emit_via = email

along with email_to and email_from, these have to be valid users in your local system that way your mail server (sendmail, postfix) will forward them to the default smtp_server localhost:25 (if only realying email internally/locally).

email_to = user@localhost
email_from = user@localhost

--Axel

Last edited by axelsallright; 12-06-2010 at 03:32 PM.
 
Old 12-07-2010, 11:31 AM   #3
Dig
Member
 
Registered: Nov 2009
Posts: 50

Original Poster
Rep: Reputation: 1
Thanks Axel , actually it's working perfect for me if the machine has it's own MTA , the problem that i've machines thier hostnames aren't FQDN so i need to relay on another mail server

anyway i used smtp_server = mailserver:25 and it didn't work , there is no even logs in the mail server indicate that machines established connection with it, i think there is a problem in the python helpder itself for the yum-update , am trying to trace it but i was wondering if anyone already relayed on another mail server with yum


thanks again
 
Old 04-24-2012, 06:04 AM   #4
colinnich
LQ Newbie
 
Registered: Apr 2012
Location: Glasgow, Scotland
Posts: 1

Rep: Reputation: Disabled
Quote:
The problem that this option doesn't work at all and it rely into the local MTA not the one set on the smtp_server
An old thread, but didn't have the answer I was looking for...

So, looking at the source for both yum-updatesd and yum-updatesd-helper, the way to get an email sent through a relay and not via a local mail server is to add use_sendmail = no to /etc/yum/yum-updatesd.conf as well as setting your smtp_server - without this your smtp_server setting is ignored.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum-updatesd? homyangcha Linux - Newbie 5 09-12-2008 04:31 AM
yum-updatesd on F9 (from KDE LiveCD) Jongi Fedora 7 07-27-2008 07:06 AM
yum-updatesd daemon does nothing elvisious Linux - Newbie 2 05-19-2007 03:43 PM
YUM Updatesd Smarajit Linux - Newbie 2 04-15-2007 03:49 AM
Hanging on yum-updatesd rfleming Fedora - Installation 7 01-09-2007 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration