-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rfc2045mkboundary.c was broken in 0.68 Changes 0.68: * rfc2045/rfc2045mkboundary.c (rfc2045_mk_boundary): truncate the hostname portion of the boundary to 30 chars. * courier/doc/courier.sgml: Remove descriptions of some configuration files that were moved to the courier-authlib package a while ago. They don't belong here any more. * courier/submit.C: Use the authenticated address, instead of the return address, for domain-based virtual configuration. * courier/libs/cfilename.c (config_has_vhost): Checks whether vhost.[ip] exists. * courier/module.esmtp/courieresmtpd.c (main): Only set a message's virtual host if vhost.[ip] exists. * courier/module.esmtp/esmtpclient.c (get_sourceaddr): Make sure the input buffer is null-terminated. * courier/submit.C (getrcpts): If there's no vhost setting from the sender's IP address (this includes local mail!) if vhost.domain exists, use [domain] as the virtual host. * Remove config_search(), which simply called config_localfilename(). Change all current callers to call config_localfilename(). * courier/libs/cfilename.c (config_set_local_vhost): saves a string that gets appended as a suffix, by config_localfilename(), and if that filename exists, that's returned as the filename, otherwise it's the original string without the suffix. config_get_local_vhost() returns the suffix string. to config_set_local_vhost(). * courier/libs/comsubmitclient.c (submit_fork): If config_get_local_vhost(), add a -vhost parameter to submit(). * courier/submit.C (cppmain): -vhost sets config_set_local_vhost(). * courier/submit2.C (closectl): New COMCTLFILE_VHOST parameter in the config file, taken from the vhost setting. * courier/libs/comctlfile.c (ctlfile_setvhost): If COMCTLFILE_VHOST is set, call ctlfile_setvhost(), return an indication if the vhost has changed. Absence of a COMCTLFILE_VHOST treated as a discrete "(null)" setting. * courier/module.esmtp/esmtpclient.c (esmtpchild): If ctlfile_setvhost() then disconnect the current socket, if one is open. * courier/module.esmtp/esmtpclient.c (get_sourceaddr): The IP address specified in ipout or ip6out overrides SOURCE_ADDRESS and SOURCE_ADDRESS_IPV6 environment variable. * courier/module.local/localmail.c (main): Call ctlfile_setvhost(). * courier/module.uucp/uucp.c (uux): Call ctlfile_setvhost(). * courier/module.dsn/dsn.c (main): Call ctlfile_setvhost(). * liblock/mail.c (dotlock_exists): Quell a compiler warning. * courier/courierd.dist.in SOURCE_ADDRESS: Add a note that this setting is deprecated.
- Loading branch information
adam
committed
Jun 9, 2012
1 parent
2ab857c
commit 3f27b2d
Showing
22 changed files
with
82 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
$NetBSD: distinfo,v 1.15 2010/11/10 10:40:15 adam Exp $ | ||
$NetBSD: distinfo,v 1.16 2012/06/09 11:45:38 adam Exp $ | ||
|
||
SHA1 (courier-0.65.2.tar.bz2) = 784893216ea6c43c91606fa550cfdff13060855d | ||
RMD160 (courier-0.65.2.tar.bz2) = 6a81f74c85f9e78e6514f840598dde634fe070ce | ||
Size (courier-0.65.2.tar.bz2) = 7152680 bytes | ||
SHA1 (courier-0.68.1.tar.bz2) = fbd7cd0bc88876dc12d02b9404cea95877805ebe | ||
RMD160 (courier-0.68.1.tar.bz2) = 3f062aae0d34a71055a5ff5ad172ca191ab3f0e4 | ||
Size (courier-0.68.1.tar.bz2) = 7024234 bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
$NetBSD: distinfo,v 1.16 2011/11/26 17:14:42 joerg Exp $ | ||
$NetBSD: distinfo,v 1.17 2012/06/09 11:45:38 adam Exp $ | ||
|
||
SHA1 (courier-0.65.2.tar.bz2) = 784893216ea6c43c91606fa550cfdff13060855d | ||
RMD160 (courier-0.65.2.tar.bz2) = 6a81f74c85f9e78e6514f840598dde634fe070ce | ||
Size (courier-0.65.2.tar.bz2) = 7152680 bytes | ||
SHA1 (patch-aa) = eaf5ade8fb49254aeeb66a3dc07368d1559d62e8 | ||
SHA1 (patch-ab) = 0152fc7e178cd6634142e05606b5cfa66bfa163d | ||
SHA1 (patch-ac) = 78ce4535d6a0d88d00cf0199c879786cde0eb1c1 | ||
SHA1 (patch-ad) = a93db864d07813fe80f6345528ec0ae472fde0a7 | ||
SHA1 (patch-ae) = e52ab2f6a4e253dc4a28291db6744ea2593f2fc3 | ||
SHA1 (patch-af) = 17afc29c101568e87d941a1f87860523d02b5ac9 | ||
SHA1 (patch-ag) = 1bedd756d9932365896da82704941cdbc06e1dfd | ||
SHA1 (patch-ah) = d3ee8e92a2927d25f77791db6468b17e6d0e0cf0 | ||
SHA1 (patch-ai) = 1337870d95bb46882980553ffba6ec6956bc9147 | ||
SHA1 (patch-aj) = cf666ac5c05e9fb5aef9c23d534edefa745ab547 | ||
SHA1 (courier-0.68.1.tar.bz2) = fbd7cd0bc88876dc12d02b9404cea95877805ebe | ||
RMD160 (courier-0.68.1.tar.bz2) = 3f062aae0d34a71055a5ff5ad172ca191ab3f0e4 | ||
Size (courier-0.68.1.tar.bz2) = 7024234 bytes | ||
SHA1 (patch-aa) = 26af5d3ffd188fb7ab6ce18ef3241305e3c2363a | ||
SHA1 (patch-ab) = b65ceddc722962592af713c20fcf99da76b6af50 | ||
SHA1 (patch-ac) = 225b0c418758e38e4f144100b1b2a34362008c33 | ||
SHA1 (patch-ad) = 4a086c2d72106913989aa248d4d70b932a67eb90 | ||
SHA1 (patch-ae) = 25cf54b4764da79d7c2a4ee40189b93542a2d1ff | ||
SHA1 (patch-af) = d5222c55039eb1060d1486d1d776e9f7afe9a991 | ||
SHA1 (patch-ag) = fc9bfb34ce7a93647076c2305d206fd36ce54d9a | ||
SHA1 (patch-ah) = ef516d4da2acaffe72dd32a859ef03c2593a7b1e | ||
SHA1 (patch-ai) = ee3ae11ec6342afcd2284f4607b6f15412c1ac15 | ||
SHA1 (patch-aj) = 9c4e9525f05ca73cb7358e4e0b341ef3e9aa08a5 | ||
SHA1 (patch-al) = 1c7935b46b7affafa86e4a858ba6a79b7fbebbc5 | ||
SHA1 (patch-an) = 7c8693271f18b59515ff19ff6b447f2fd28416f4 | ||
SHA1 (patch-ax) = cd7fc4f373e83c1d6777103dc075455f98d24f51 | ||
SHA1 (patch-an) = 2b78be9a0e8a9daf528da83007ba865f9b8cc402 | ||
SHA1 (patch-ax) = 8978eacb3aa13559905849e9a7038441c0dfef22 | ||
SHA1 (patch-ay) = d4b391e76167cd27012f928587d5feb57ea1b4ff | ||
SHA1 (patch-courier_cdfilters.C) = 1f9169de45355cd9a4ecb7e8ddac30df05d368d0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.