Enable LMTP mode

Submitted by:   Phillip Oleson <poleson@verio.net>
This commit is contained in:
Andrey A. Chernov 2003-03-30 16:35:43 +00:00
parent 4555236c48
commit 5c4dd55822
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77749
2 changed files with 38 additions and 49 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= procmail
PORTVERSION= 3.22
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.procmail.org/pub/procmail/ \
ftp://ftp.psg.com/pub/unix/procmail/ \

View file

@ -1,48 +1,37 @@
*** config.h.orig Mon Apr 28 04:27:41 1997
--- config.h Wed Apr 22 05:55:53 1998
***************
*** 43,51 ****
>From_ field will be added in the header */
#define TRUSTED_IDS {"root","daemon","uucp","mail","x400","network",\
! "list","slist","lists","news",0}
! /*#define NO_fcntl_LOCK /* uncomment any of these three if you */
/*#define NO_lockf_LOCK /* definitely do not want procmail to make */
/*#define NO_flock_LOCK /* use of those kernel-locking methods */
--- 43,51 ----
>From_ field will be added in the header */
#define TRUSTED_IDS {"root","daemon","uucp","mail","x400","network",\
! "list","slist","lists","news","majordom","majordomo",0}
! #define NO_fcntl_LOCK /* uncomment any of these three if you */
/*#define NO_lockf_LOCK /* definitely do not want procmail to make */
/*#define NO_flock_LOCK /* use of those kernel-locking methods */
***************
*** 71,81 ****
is not found, maildelivery will proceed as normal to the default
system mailbox. */
! #define ETCRC "/etc/procmailrc" /* optional global procmailrc startup
file (will only be read if procmail
is started with no rcfile on the command line). */
! #define ETCRCS "/etc/procmailrcs/" /* optional trusted path prefix for
rcfiles which will be executed with
the uid of the owner of the rcfile (this only happens if procmail is
called with the -m option, without variable assignments on the command
--- 71,81 ----
is not found, maildelivery will proceed as normal to the default
system mailbox. */
! #define ETCRC "%%PREFIX%%/etc/procmailrc" /* optional global procmailrc startup
file (will only be read if procmail
is started with no rcfile on the command line). */
! #define ETCRCS "%%PREFIX%%/etc/procmailrcs/" /* optional trusted path prefix for
rcfiles which will be executed with
the uid of the owner of the rcfile (this only happens if procmail is
called with the -m option, without variable assignments on the command
--- config.h.orig Tue Sep 11 08:53:50 2001
+++ config.h Sun Mar 30 20:23:47 2003
@@ -52,7 +52,7 @@
is group writable or contained in a group writable home directory
if the group involved is the user's default group. */
-/*#define LMTP /* uncomment this if you
+#define LMTP /* uncomment this if you
want to use procmail
as an LMTP (rfc2033) server, presumably for invocation by an MTA.
The file examples/local_procmail_lmtp.m4 contains info on how to
@@ -75,9 +75,9 @@
>From_ field will be added in the header */
#define TRUSTED_IDS {"root","daemon","uucp","mail","x400","network",\
- "list","slist","lists","news",0}
+ "list","slist","lists","news","majordom","majordomo",0}
-/*#define NO_fcntl_LOCK /* uncomment any of these three if you */
+#define NO_fcntl_LOCK /* uncomment any of these three if you */
/*#define NO_lockf_LOCK /* definitely do not want procmail to make */
/*#define NO_flock_LOCK /* use of those kernel-locking methods */
/* If you set LOCKINGTEST to a binary number
@@ -116,11 +116,11 @@
is not found, maildelivery will proceed as normal to the default
system mailbox. This also must be an absolute path */
-#define ETCRC "/etc/procmailrc" /* optional global procmailrc startup
+#define ETCRC "%%PREFIX%%/etc/procmailrc" /* optional global procmailrc startup
file (will only be read if procmail
is started with no rcfile on the command line). */
-#define ETCRCS "/etc/procmailrcs/" /* optional trusted path prefix for
+#define ETCRCS "%%PREFIX%%/etc/procmailrcs/" /* optional trusted path prefix for
rcfiles which will be executed with
the uid of the owner of the rcfile (this only happens if procmail is
called with the -m option, without variable assignments on the command