FreeBSD Bugzilla – Attachment 34833 Details for
Bug 56458
[PATCH] sysinstall: adapt exim settings to rc.subr(8) usage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sysinstall.patch
sysinstall.patch (text/plain), 2.14 KB, created by
Oliver Eikemeier
on 2003-09-04 22:00:38 UTC
(
hide
)
Description:
sysinstall.patch
Filename:
MIME Type:
Creator:
Oliver Eikemeier
Created:
2003-09-04 22:00:38 UTC
Size:
2.14 KB
patch
obsolete
>--- src/usr.sbin/sysinstall/config.c.orig Fri Aug 22 11:56:54 2003 >+++ src/usr.sbin/sysinstall/config.c Thu Sep 4 22:17:44 2003 >@@ -1201,14 +1201,7 @@ > } > > variable_set2(VAR_SENDMAIL_ENABLE, "NONE", 1); >- >- if(file_readable("/usr/local/etc/exim/configure.default") && >- !file_readable("/usr/local/etc/exim/configure")) { >- if(vsystem("cp /usr/local/etc/exim/configure.default /usr/local/etc/exim/configure")) >- msgConfirm("An error occurred while coping the exim configuration file.\n" >- "Please check if exim is working after you have completed this\n" >- "installation.\n"); >- } >+ variable_set2("exim_enable", "YES", 1); > > /* Update periodic.conf */ > perconf = fopen("/etc/periodic.conf", "a"); >@@ -1221,7 +1214,10 @@ > "fix this."); > } else { > fprintf(perconf, "# --- Generated by sysinstall ---\n"); >+ fprintf(perconf, "daily_clean_hoststat_enable=\"NO\"\n"); > fprintf(perconf, "daily_status_include_submit_mailq=\"NO\"\n"); >+ fprintf(perconf, "daily_status_mail_rejects_enable=\"NO\"\n"); >+ fprintf(perconf, "daily_submit_queuerun=\"NO\"\n"); > fclose(perconf); > } > >@@ -1240,8 +1236,10 @@ > fprintf(mailerconf, "#\n"); > fprintf(mailerconf, "sendmail /usr/local/sbin/exim\n"); > fprintf(mailerconf, "send-mail /usr/local/sbin/exim\n"); >- fprintf(mailerconf, "mailq /usr/local/sbin/exim -bp\n"); >- fprintf(mailerconf, "newaliases /usr/bin/true\n"); >+ fprintf(mailerconf, "mailq /usr/local/sbin/exim\n"); >+ fprintf(mailerconf, "newaliases /usr/local/sbin/exim -bi\n"); >+ fprintf(mailerconf, "hoststat /usr/bin/true\n"); >+ fprintf(mailerconf, "purgestat /usr/bin/true\n"); > fclose(mailerconf); > } > >@@ -1255,8 +1253,8 @@ > "rotate the logfiles."); > } else { > fprintf(newsyslogconf, "# --- Generated by sysinstall ---\n"); >- fprintf(newsyslogconf, "/var/log/exim/mainlog mailnull:mail 640 7 * @T00 Z\n"); >- fprintf(newsyslogconf, "/var/log/exim/rejectlog mailnull:mail 640 7 * @T00 Z\n"); >+ fprintf(newsyslogconf, "/var/log/exim/mainlog mailnull:mail 640 7 * @T00 ZN\n"); >+ fprintf(newsyslogconf, "/var/log/exim/rejectlog mailnull:mail 640 7 * @T00 ZN\n"); > fclose(newsyslogconf); > }
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 56458
: 34833