| Summary: | rmail recently broken wrt (at least) postfix | ||
|---|---|---|---|
| Product: | Base System | Reporter: | dgilbert <dgilbert> |
| Component: | bin | Assignee: | Gregory Neil Shapiro <gshapiro> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.1.1-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
dgilbert
2000-11-04 04:40:01 UTC
State Changed From-To: open->feedback Questioning originator about make.conf settings Responsible Changed From-To: freebsd-bugs->dougb This might be related to my uucp conditionalizing commit dgilbert@velocet.ca wrote: > >Synopsis: rmail recently broken wrt (at least) postfix > When uucp is being used with postfix, rmail (/bin/rmail) is still used. > Recently (sometime after 4.1.1) rmail broke wrt postfix. Can you let me know the results of 'ident /usr/src/bin/Makefile' (is it 1.15.2.2?) and also let me know whether you have either of NO_SENDMAIL and/or NOUUCP defined in /etc/make.conf? I'm presuming you don't have the second, but building rmail in src/bin/Makefile is conditional on neither of them being defined: .if !defined(NO_SENDMAIL) && !defined(NOUUCP) SUBDIR+=rmail .endif I added the test for NOUUCP to RELENG_4 on the 31st, but the test for NO_SENDMAIL has been there since 1998, and since you're running postfix I'm assuming that you have that one defined? Doug Responsible Changed From-To: dougb->gshapiro Originator confirms that his make.conf settings are not such that they would prevent rmail from building, therefore it's more likely a gshapiro problem. State Changed From-To: feedback->analyzed The following patch fixes the problem for the postfix port. The postfix-current port already works because the latest postfix snapshot recognizes the -G flag. Blaz Zupan, Medinet d.o.o, Linhartova 21, 2000 Maribor, Slovenia E-mail: blaz@amis.net, Tel: +386-2-320-6320, Fax: +386-2-320-6325 diff -urN postfix.old/files/patch-cb postfix/files/patch-cb --- postfix.old/files/patch-cb Tue Nov 14 07:28:57 2000 +++ postfix/files/patch-cb Wed Dec 20 18:38:09 2000 @@ -1,20 +1,25 @@ -*** ./man/man1/sendmail.1.orig Thu Mar 30 14:05:28 2000 ---- ./man/man1/sendmail.1 Thu Jun 1 22:39:16 2000 -*************** -*** 63,65 **** - The path name of the \fBsendmail.cf\fR file. Postfix configuration -! files are kept in \fB/etc/postfix\fR. - .IP "\fB-F \fIfull_name\fR ---- 63,65 ---- - The path name of the \fBsendmail.cf\fR file. Postfix configuration -! files are kept in \fB!!PREFIX!!/etc/postfix\fR. - .IP "\fB-F \fIfull_name\fR -*************** -*** 173,175 **** - /var/spool/postfix, mail queue -! /etc/postfix, configuration files - .SH CONFIGURATION PARAMETERS ---- 173,175 ---- - /var/spool/postfix, mail queue -! !!PREFIX!!/etc/postfix, configuration files - .SH CONFIGURATION PARAMETERS +--- man/man1/sendmail.1.orig Thu Mar 30 17:46:10 2000 ++++ man/man1/sendmail.1 Wed Dec 20 18:37:45 2000 +@@ -61,10 +61,12 @@ + \fBjust-send-eight\fR. + .IP "\fB-C \fIconfig_file\fR (ignored :-)" + The path name of the \fBsendmail.cf\fR file. Postfix configuration +-files are kept in \fB/etc/postfix\fR. ++files are kept in \fB!!PREFIX!!/etc/postfix\fR. + .IP "\fB-F \fIfull_name\fR + Set the sender full name. This is used only with messages that + have no \fBFrom:\fR message header. ++.IP "\fB-G\fR (ignored)" ++Gateway (relay) submission, as opposed to initial user submission. + .IP \fB-I\fR + Initialize alias database. See the \fBnewaliases\fR + command above. +@@ -171,7 +173,7 @@ + .na + .nf + /var/spool/postfix, mail queue +-/etc/postfix, configuration files ++!!PREFIX!!/etc/postfix, configuration files + .SH CONFIGURATION PARAMETERS + .na + .nf diff -urN postfix.old/files/patch-eg postfix/files/patch-eg --- postfix.old/files/patch-eg Tue Nov 14 07:28:57 2000 +++ postfix/files/patch-eg Wed Dec 20 18:18:12 2000 @@ -1,20 +1,34 @@ -*** ./sendmail/sendmail.c.orig Tue Mar 14 10:42:06 2000 ---- ./sendmail/sendmail.c Thu Jun 1 22:47:24 2000 -*************** -*** 57,59 **** - /* The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /* files are kept in \fB/etc/postfix\fR. - /* .IP "\fB-F \fIfull_name\fR ---- 57,59 ---- - /* The path name of the \fBsendmail.cf\fR file. Postfix configuration -! /* files are kept in \fB!!PREFIX!!/etc/postfix\fR. - /* .IP "\fB-F \fIfull_name\fR -*************** -*** 159,161 **** - /* /var/spool/postfix, mail queue -! /* /etc/postfix, configuration files - /* CONFIGURATION PARAMETERS ---- 159,161 ---- - /* /var/spool/postfix, mail queue -! /* !!PREFIX!!/etc/postfix, configuration files - /* CONFIGURATION PARAMETERS +--- sendmail/sendmail.c.orig Sun Mar 26 22:51:33 2000 ++++ sendmail/sendmail.c Wed Dec 20 18:17:31 2000 +@@ -55,10 +55,12 @@ + /* \fBjust-send-eight\fR. + /* .IP "\fB-C \fIconfig_file\fR (ignored :-)" + /* The path name of the \fBsendmail.cf\fR file. Postfix configuration +-/* files are kept in \fB/etc/postfix\fR. ++/* files are kept in \fB!!PREFIX!!/etc/postfix\fR. + /* .IP "\fB-F \fIfull_name\fR + /* Set the sender full name. This is used only with messages that + /* have no \fBFrom:\fR message header. ++/* .IP "\fB-G \fR (ignored)" ++/* Gateway (relay) submission, as opposed to initial user submission. + /* .IP \fB-I\fR + /* Initialize alias database. See the \fBnewaliases\fR + /* command above. +@@ -157,7 +159,7 @@ + /* \fBdebugger_command\fR configuration parameter. + /* FILES + /* /var/spool/postfix, mail queue +-/* /etc/postfix, configuration files ++/* !!PREFIX!!/etc/postfix, configuration files + /* CONFIGURATION PARAMETERS + /* .ad + /* .fi +@@ -710,6 +712,8 @@ + break; + case 'F': /* full name */ + full_name = optarg; ++ break; ++ case 'G': /* gateway submission */ + break; + case 'I': /* newaliases */ + mode = SM_MODE_NEWALIAS; State Changed From-To: analyzed->closed sendmail 8.11.2 has been imported into the HEAD. rmail no longer uses -G. Additionally, postfix has been updated to accept the -G option. |