Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 297087 Details for
Bug 436359
[patch] Use chkconfig to configure selected MTA to start automatically
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to add chkconfig use to system-switch-mail
system-switch-mail-usechkconfig.patch (text/plain), 2.80 KB, created by
Dax Kelson
on 2008-03-06 19:09:13 UTC
(
hide
)
Description:
Patch to add chkconfig use to system-switch-mail
Filename:
MIME Type:
Creator:
Dax Kelson
Created:
2008-03-06 19:09:13 UTC
Size:
2.80 KB
patch
obsolete
>--- system-switch-mail-0.5.25-13-org/functions.py.in 2007-04-10 10:27:33.000000000 -0600 >+++ system-switch-mail-0.5.25-13/functions.py.in 2008-03-06 11:52:55.000000000 -0700 >@@ -64,27 +64,42 @@ > os.system('/usr/sbin/alternatives --set mta /usr/sbin/sendmail.sendmail') > os.system('/sbin/service postfix stop 2>/dev/null >/dev/null') > os.system('/sbin/service exim stop 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig postfix off 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig exim off 2>/dev/null >/dev/null') > os.system('/sbin/service sendmail start 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig sendmail on 2>/dev/null >/dev/null') > elif i == POSTFIX: > os.system('/usr/sbin/alternatives --set mta /usr/sbin/sendmail.postfix') > os.system('/sbin/service sendmail stop 2>/dev/null >/dev/null') > os.system('/sbin/service exim stop 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig sendmail off 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig exim off 2>/dev/null >/dev/null') > os.system('/sbin/service postfix start 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig postfix on 2>/dev/null >/dev/null') > elif i == EXIM: > os.system('/usr/sbin/alternatives --set mta /usr/sbin/sendmail.exim') > os.system('/sbin/service postfix stop 2>/dev/null >/dev/null') > os.system('/sbin/service sendmail stop 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig postfix off 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig sendmail off 2>/dev/null >/dev/null') > os.system('/sbin/service exim start 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig exim on 2>/dev/null >/dev/null') > elif i == SSMTP: > os.system('/usr/sbin/alternatives --set mta /usr/sbin/sendmail.ssmtp') > os.system('/sbin/service sendmail stop 2>/dev/null >/dev/null') > os.system('/sbin/service postfix stop 2>/dev/null >/dev/null') > os.system('/sbin/service exim stop 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig sendmail off 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig postfix off 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig exim off 2>/dev/null >/dev/null') > elif i == ESMTP: > os.system('/usr/sbin/alternatives --set mta /usr/bin/esmtp') > os.system('/sbin/service sendmail stop 2>/dev/null >/dev/null') > os.system('/sbin/service postfix stop 2>/dev/null >/dev/null') > os.system('/sbin/service exim stop 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig sendmail off 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig postfix off 2>/dev/null >/dev/null') >+ os.system('/sbin/chkconfig exim off 2>/dev/null >/dev/null') > > def get_mta(): > mta_list = []
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 436359
: 297087