diff options
| author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-01-12 07:28:34 +0000 |
|---|---|---|
| committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-01-12 07:28:34 +0000 |
| commit | d4f7d5e67fb3a62e270691d607fbad3fbb43a88f (patch) | |
| tree | 154d82cc031052bf658ba42d80c69e0821d4e27c /mail/dspam-devel/files/patch-src_dspam.conf.in | |
| parent | [Maintainer Update] emulators/xmess to 0.89 (diff) | |
mail-dspam-devel: corect deinstall, package, describe; update; bugfixes; ................
After private debuging, the 25th night spent on-line with
the author and two minor versions all to make it work on
FreeBSD like it should, discovering some other bugs in
proccess,
TA DA !
bring in the compleate daemonized version and adjust it for
package building
dspam-devel-3.3.4 (newer versions sigbus - threads problem)
The daemon mode seems to be working now, so the port act like it should:
- if enabled with WITH_DEAMON we install the rc script; to start it at
boot put 'dspam_enable="YES"' in /etc/rc.conf and set the appropriate
options in dspam.conf
- read section "2.3 Client/Server Mode" from dspam README to learn how to
use dspam in daemon mode
- a simple portupgrade from previous versions will work with no problems
with your current setup, even if compiled with WITH_DEAMON (default)
- change default DB back-end to MySQL to make daemon mode work for package
building
- add MySQL v5.0.x support -- MYSQL50 [1]
- USE_MYSQL and have make describe output right
- change of name: SQLITE --> SQLITE2, as we now have sqlite3 support
- add Sqlite v3.x support -- SQLITE3
- add BNR_DEBUG option
- drop QUARANTINE_AGENT as is not supported by ./configure anymore and
set in dspam.conf UntrustedDeliveryAgent and QuarantineAgent to default to
TrustedDeliveryAgent, but leave them commented out [2]
- add support for exim [4] which we build with the same database back-end
as dspam if possible
- fix PREF_EXT and BDB4 cases as well in our Makefile
- change default DSPAM_HOME_MODE to 0770, it's a directory, you know ;) [3]
- DSPAM_HOME_{OWNER,GROUP} default to DSPAM_{OWNER,GROUP}
- default maximum message size to 300KB in dspam.conf
- correct long-standing copy/paste bug (DSPAM_{GROUP,MODE} were set to
DSPAM_HOME_{GROUP,MODE})
- Makefile clean-ups
- fix deinstall to delete dspam.conf if it hasn't been customized, as
requested by kris@ with "Ports Janitor" hat :) and save the net and myself
some bugging mails
[1] based on ports/74761 by Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
[2] based on ports/75548 by Julien Gabel <jpeg@thilelli.net>
[3] based on ports/75549 by Julien Gabel <jpeg@thilelli.net>
[4] suggested, incorrectly, in ports/74762 by Shahbaz Javeed <sjaveed@adderpit.com>
Note to committer: all those PR are closed.
PR: ports/75647
Submitted by: Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
Diffstat (limited to 'mail/dspam-devel/files/patch-src_dspam.conf.in')
| -rw-r--r-- | mail/dspam-devel/files/patch-src_dspam.conf.in | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/mail/dspam-devel/files/patch-src_dspam.conf.in b/mail/dspam-devel/files/patch-src_dspam.conf.in new file mode 100644 index 000000000000..0210ffac5805 --- /dev/null +++ b/mail/dspam-devel/files/patch-src_dspam.conf.in @@ -0,0 +1,55 @@ +--- src/dspam.conf.in.orig Thu Dec 30 04:05:39 2004 ++++ src/dspam.conf.in Thu Dec 30 04:14:16 2004 +@@ -34,7 +34,7 @@ + # the user DSPAM is processing mail for. This configuration parameter is only + # necessary if you plan on allowing untrusted processing. + # +-#UntrustedDeliveryAgent "/usr/bin/procmail -d %u" ++#UntrustedDeliveryAgent "@delivery_agent@" + + # + # Quarantine Agent: DSPAM's default behavior is to quarantine all mail it +@@ -42,7 +42,7 @@ + # a quarantine agent which will be called with all messages DSPAM thinks is + # spam. Use %u to specify the user DSPAM is processing mail for. + # +-#QuarantineAgent "/usr/bin/procmail -d spam" ++#QuarantineAgent "@delivery_agent@" + + # + # OnFail: What to do if local delivery or quarantine should fail. If set +@@ -169,7 +169,7 @@ + # Storage driver settings: Specific to a particular storage driver. Uncomment + # the configuration specific to your installation, if applicable. + # +-#MySQLServer /var/lib/mysql/mysql.sock ++#MySQLServer /tmp/mysql.sock + #MySQLPort + #MySQLUser dspam + #MySQLPass changeme +@@ -375,6 +375,7 @@ + # without processing. Value is in bytes. + # + #MaxMessageSize 4194304 ++MaxMessageSize 307200 + + # + # Daemonized Server: If you are running DSPAM as a daemonized server using +@@ -388,6 +389,7 @@ + #ServerQueueSize 32 + #ServerPass.Relay1 "secret" + #ServerPass.Relay2 "password" ++# keep this is sync with /usr/local/etc/rc.d/dspam.rc script + #ServerPID /var/run/dspam.pid + + # If you wish to use a local domain socket instead of a TCP socket, uncomment +@@ -395,7 +397,8 @@ + # you are running the client and server on the same machine, as it eliminates + # much of the bandwidth overhead. + # +-#ServerDomainSocketPath "/tmp/dspam.sock" ++# keep this is sync with /usr/local/etc/rd.d/dspam.rc script ++#ServerDomainSocketPath "/var/run/dspam.sock" + + # + # Client Mode: If you are running DSPAM in client/server mode, uncomment and |
