From 09b16018d032d94de7fbaf59c4d6fc4a43c4d610 Mon Sep 17 00:00:00 2001 From: Gregory Neil Shapiro Date: Tue, 26 Jan 2010 04:17:18 +0000 Subject: [PATCH] Import sendmail 8.14.4 --- CACerts | 205 +- LICENSE | 6 +- PGPKEYS | 75 +- README | 3 +- RELEASE_NOTES | 89 +- cf/README | 4 +- cf/cf/generic-bsd4.4.cf | 14 +- cf/cf/generic-hpux10.cf | 14 +- cf/cf/generic-hpux9.cf | 14 +- cf/cf/generic-linux.cf | 14 +- cf/cf/generic-mpeix.cf | 14 +- cf/cf/generic-nextstep3.3.cf | 14 +- cf/cf/generic-osf1.cf | 14 +- cf/cf/generic-solaris.cf | 14 +- cf/cf/generic-sunos4.1.cf | 14 +- cf/cf/generic-ultrix4.cf | 14 +- cf/cf/submit.cf | 14 +- cf/feature/ldap_routing.m4 | 36 +- cf/m4/cfhead.m4 | 6 +- cf/m4/proto.m4 | 17 +- cf/m4/version.m4 | 6 +- contrib/qtool.pl | 8 +- contrib/smcontrol.pl | 4 +- devtools/M4/switch.m4 | 4 +- devtools/OS/Linux | 3 +- devtools/OS/OpenBSD | 29 +- devtools/OS/SunOS.5.11 | 4 +- devtools/README | 6 +- doc/op/op.me | 42 +- doc/op/op.ps | 9551 ++++++++++++++-------------- include/libmilter/mfapi.h | 13 +- include/libmilter/mfdef.h | 18 +- include/sm/conf.h | 23 +- include/sm/ldap.h | 4 +- include/sm/sem.h | 5 +- libmilter/Makefile.m4 | 2 +- libmilter/comm.c | 17 +- libmilter/docs/api.html | 8 +- libmilter/docs/overview.html | 6 +- libmilter/docs/smfi_addheader.html | 10 +- libmilter/docs/smfi_chgheader.html | 9 +- libmilter/docs/smfi_insheader.html | 9 +- libmilter/engine.c | 143 +- libmilter/example.c | 4 +- libmilter/handler.c | 21 +- libmilter/libmilter.h | 3 +- libmilter/listener.c | 7 +- libmilter/main.c | 5 +- libmilter/worker.c | 47 +- libsm/debug.c | 31 +- libsm/ldap.c | 33 +- libsm/mbdb.c | 19 +- libsm/sem.c | 46 +- libsm/t-sem.c | 70 +- libsmdb/smdb1.c | 25 +- libsmdb/smdb2.c | 13 +- libsmutil/safefile.c | 3 +- praliases/praliases.0 | 8 +- praliases/praliases.8 | 10 +- praliases/praliases.c | 7 +- src/Makefile.m4 | 2 +- src/README | 5 +- src/TRACEFLAGS | 3 +- src/collect.c | 5 +- src/conf.c | 62 +- src/conf.h | 15 +- src/daemon.c | 11 +- src/deliver.c | 37 +- src/envelope.c | 18 +- src/headers.c | 17 +- src/main.c | 35 +- src/map.c | 42 +- src/milter.c | 95 +- src/queue.c | 83 +- src/ratectrl.c | 52 +- src/readcf.c | 165 +- src/savemail.c | 4 +- src/sendmail.0 | 4 +- src/sendmail.8 | 6 +- src/sendmail.h | 26 +- src/sfsasl.c | 4 +- src/srvrsmtp.c | 105 +- src/tls.c | 80 +- src/usersmtp.c | 13 +- src/util.c | 8 +- src/version.c | 6 +- vacation/vacation.c | 31 +- 87 files changed, 6417 insertions(+), 5388 deletions(-) diff --git a/CACerts b/CACerts index b74fb7f19179..dee28194ebce 100644 --- a/CACerts +++ b/CACerts @@ -1,4 +1,4 @@ -# $Id: CACerts,v 8.3 2007/06/11 22:04:46 ca Exp $ +# $Id: CACerts,v 8.4 2009/06/26 05:46:10 ca Exp $ # This file contains some CA certificates that are used to sign the # certificates of mail servers of members of the sendmail consortium # who may reply to questions etc sent to sendmail.org. @@ -6,73 +6,6 @@ # a certificate signed by one of these CA certificates. # -Certificate: - Data: - Version: 3 (0x2) - Serial Number: 0 (0x0) - Signature Algorithm: md5WithRSAEncryption - Issuer: C=US, ST=California, L=Berkeley, O=Sendmail Consortium, CN=Certificate Authority/emailAddress=certificates@sendmail.org - Validity - Not Before: Feb 1 21:51:47 2003 GMT - Not After : Jan 31 21:51:47 2008 GMT - Subject: C=US, ST=California, L=Berkeley, O=Sendmail Consortium, CN=Certificate Authority/emailAddress=certificates@sendmail.org - Subject Public Key Info: - Public Key Algorithm: rsaEncryption - RSA Public Key: (1024 bit) - Modulus (1024 bit): - 00:9a:fb:dc:4c:a3:58:21:1b:84:78:0a:53:56:b3: - 8d:84:05:b7:db:dd:d7:81:ea:dd:c1:ab:d4:be:d9: - 2b:12:e0:6d:3a:31:d5:f0:7b:13:fc:d8:da:09:0b: - 71:11:8e:b9:48:c4:ab:ae:f5:9c:4c:e2:04:27:8e: - c8:03:3a:aa:00:8b:46:f2:79:09:ae:65:b2:9a:66: - e7:ac:a9:ea:32:f7:4a:4e:fd:da:41:48:34:5a:9d: - b0:42:ea:55:40:17:27:5e:67:9e:e5:ce:dc:84:6d: - 1d:48:37:23:11:68:9d:a8:d4:58:02:05:ea:88:35: - bd:0d:b6:28:d5:cd:d4:d8:95 - Exponent: 65537 (0x10001) - X509v3 extensions: - X509v3 Subject Key Identifier: - DE:CD:6E:B8:89:34:06:3D:E9:CD:A7:FE:45:4F:4E:FB:E1:8D:E7:79 - X509v3 Authority Key Identifier: - keyid:DE:CD:6E:B8:89:34:06:3D:E9:CD:A7:FE:45:4F:4E:FB:E1:8D:E7:79 - DirName:/C=US/ST=California/L=Berkeley/O=Sendmail Consortium/CN=Certificate Authority/emailAddress=certificates@sendmail.org - serial:00 - - X509v3 Basic Constraints: - CA:TRUE - Signature Algorithm: md5WithRSAEncryption - 66:92:b9:57:17:3b:6a:0e:72:b1:85:29:53:9f:11:68:a0:0d: - 79:43:d0:7c:48:73:b9:71:09:50:08:02:03:0b:28:0c:33:9a: - 00:ac:94:69:4f:bc:0f:45:6b:f5:3a:ca:6a:87:a1:7f:28:f7: - 9a:c4:b6:b0:f3:dc:a3:eb:42:95:9f:99:19:f8:b8:84:6d:f1: - 1d:bc:9f:f0:a0:cc:60:2d:00:6b:17:55:33:16:85:d1:73:e1: - 00:59:89:33:19:c4:2e:29:5a:39:a7:0e:e7:9b:d2:4c:c7:b9: - 7d:6a:3e:b4:00:83:86:d3:16:28:fd:ad:55:65:60:4e:14:02: - 46:d3 ------BEGIN CERTIFICATE----- -MIIDsDCCAxmgAwIBAgIBADANBgkqhkiG9w0BAQQFADCBnTELMAkGA1UEBhMCVVMx -EzARBgNVBAgTCkNhbGlmb3JuaWExETAPBgNVBAcTCEJlcmtlbGV5MRwwGgYDVQQK -ExNTZW5kbWFpbCBDb25zb3J0aXVtMR4wHAYDVQQDExVDZXJ0aWZpY2F0ZSBBdXRo -b3JpdHkxKDAmBgkqhkiG9w0BCQEWGWNlcnRpZmljYXRlc0BzZW5kbWFpbC5vcmcw -HhcNMDMwMjAxMjE1MTQ3WhcNMDgwMTMxMjE1MTQ3WjCBnTELMAkGA1UEBhMCVVMx -EzARBgNVBAgTCkNhbGlmb3JuaWExETAPBgNVBAcTCEJlcmtlbGV5MRwwGgYDVQQK -ExNTZW5kbWFpbCBDb25zb3J0aXVtMR4wHAYDVQQDExVDZXJ0aWZpY2F0ZSBBdXRo -b3JpdHkxKDAmBgkqhkiG9w0BCQEWGWNlcnRpZmljYXRlc0BzZW5kbWFpbC5vcmcw -gZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAJr73EyjWCEbhHgKU1azjYQFt9vd -14Hq3cGr1L7ZKxLgbTox1fB7E/zY2gkLcRGOuUjEq671nEziBCeOyAM6qgCLRvJ5 -Ca5lsppm56yp6jL3Sk792kFINFqdsELqVUAXJ15nnuXO3IRtHUg3IxFonajUWAIF -6og1vQ22KNXN1NiVAgMBAAGjgf0wgfowHQYDVR0OBBYEFN7NbriJNAY96c2n/kVP -Tvvhjed5MIHKBgNVHSMEgcIwgb+AFN7NbriJNAY96c2n/kVPTvvhjed5oYGjpIGg -MIGdMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTERMA8GA1UEBxMI -QmVya2VsZXkxHDAaBgNVBAoTE1NlbmRtYWlsIENvbnNvcnRpdW0xHjAcBgNVBAMT -FUNlcnRpZmljYXRlIEF1dGhvcml0eTEoMCYGCSqGSIb3DQEJARYZY2VydGlmaWNh -dGVzQHNlbmRtYWlsLm9yZ4IBADAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBAUA -A4GBAGaSuVcXO2oOcrGFKVOfEWigDXlD0HxIc7lxCVAIAgMLKAwzmgCslGlPvA9F -a/U6ymqHoX8o95rEtrDz3KPrQpWfmRn4uIRt8R28n/CgzGAtAGsXVTMWhdFz4QBZ -iTMZxC4pWjmnDueb0kzHuX1qPrQAg4bTFij9rVVlYE4UAkbT ------END CERTIFICATE----- - - Certificate: Data: Version: 3 (0x2) @@ -144,93 +77,93 @@ Certificate: Data: Version: 3 (0x2) Serial Number: - fa:7c:2c:80:29:3f:c2:64 + c2:3c:61:67:3b:0a:cc:5e Signature Algorithm: md5WithRSAEncryption - Issuer: C=US, ST=California, L=Berkeley, O=Endmail Org, OU=MTA, CN=Claus Assmann CA RSA 2007/emailAddress=ca+ca-rsa2007@esmtp.org + Issuer: C=US, ST=California, L=Berkeley, O=Endmail Org, OU=MTA, CN=Claus Assmann CA RSA 2009/emailAddress=ca+ca-rsa2009@esmtp.org Validity - Not Before: May 4 02:07:56 2007 GMT - Not After : May 3 02:07:56 2010 GMT - Subject: C=US, ST=California, L=Berkeley, O=Endmail Org, OU=MTA, CN=Claus Assmann CA RSA 2007/emailAddress=ca+ca-rsa2007@esmtp.org + Not Before: May 14 04:42:18 2009 GMT + Not After : May 13 04:42:18 2012 GMT + Subject: C=US, ST=California, L=Berkeley, O=Endmail Org, OU=MTA, CN=Claus Assmann CA RSA 2009/emailAddress=ca+ca-rsa2009@esmtp.org Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public Key: (2048 bit) Modulus (2048 bit): - 00:b0:28:91:31:af:82:ce:72:ef:36:ab:7d:e9:b1: - f5:77:66:38:4b:38:1f:5f:3d:12:d3:c8:fd:9a:f4: - d4:f6:b8:90:f9:26:5f:29:f7:43:f9:34:ec:65:62: - 01:bb:64:f1:5d:ea:75:04:3d:92:65:60:a2:06:62: - fa:88:ca:d8:20:50:c8:1e:38:53:b5:18:dd:b7:bd: - c7:08:35:4c:d9:dc:c6:97:56:37:b6:65:33:74:5a: - b2:c3:85:08:2b:b7:26:70:ff:38:02:1a:67:6a:d0: - 49:18:10:4b:f8:db:af:06:9c:b1:a8:82:a1:b1:75: - d2:52:9b:53:0c:ca:a7:e3:15:38:79:6d:a1:f5:ef: - 7c:8b:fd:bd:04:78:f9:e8:1e:b9:92:ea:74:d7:45: - 1e:4c:c8:bd:f4:5c:fc:1a:7f:e7:31:c6:ab:cb:78: - c7:4d:2f:b5:72:10:35:27:4a:1a:fa:53:19:f8:a7: - 59:63:eb:e9:15:ab:dc:71:69:8c:42:1c:96:4e:89: - 80:66:c9:9e:21:d5:3d:08:19:74:a5:f5:07:a0:ae: - de:79:af:fd:42:c2:79:7e:8c:f8:39:22:3b:c3:c4: - 58:3b:d0:0d:e6:a9:11:b6:a2:cd:2e:e5:16:66:fd: - 7e:65:33:94:b0:36:80:27:f5:80:76:a9:e5:df:f2: - cf:ef + 00:d5:f8:d3:48:38:75:df:2e:6b:8b:c4:8d:1d:41: + 5e:ad:4b:96:3d:48:c2:dc:e5:ff:61:98:95:32:03: + e9:b6:71:5a:68:31:bc:e1:5c:aa:0e:70:a7:bc:51: + b7:13:6a:78:54:ae:a6:d0:44:49:1b:5e:37:5b:59: + 20:01:47:a7:ec:41:4c:11:79:8c:25:c1:1b:c0:ed: + 85:b2:de:0f:10:9f:e7:b2:a3:c4:f1:fc:85:51:aa: + d6:68:49:51:3e:04:e1:eb:e9:cd:87:1b:d0:9d:97: + 7b:4c:e1:1e:b1:6a:be:01:0a:a9:97:9a:50:89:e3: + 66:06:4c:07:cb:7e:99:70:13:e8:b4:9c:e7:e6:52: + 38:c0:64:90:42:d0:f5:cf:22:46:22:60:e9:34:70: + 1d:e3:d1:13:33:3a:31:ba:13:06:a8:c2:34:90:47: + c5:a1:bd:2d:7d:98:21:70:de:22:d0:13:11:e5:08: + dd:a0:77:0b:df:34:a7:07:55:de:5a:71:f6:6c:9e: + ec:f7:45:75:1f:22:a9:84:06:c6:4f:84:3d:4e:05: + d7:e4:e5:98:41:61:7b:8e:c9:3b:a6:ed:31:80:7d: + fd:fa:f0:dc:b7:07:82:b8:ec:27:20:39:5f:78:95: + f1:0d:93:8d:f9:4d:21:08:fd:72:89:01:ff:2c:a0: + 71:9d Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: - B2:49:6B:52:45:EE:90:36:D2:79:47:03:33:D9:A0:BA:80:50:DA:1C + A7:61:FA:31:AF:A8:E2:5E:93:B6:84:9E:74:08:A2:76:50:87:69:7C X509v3 Authority Key Identifier: - keyid:B2:49:6B:52:45:EE:90:36:D2:79:47:03:33:D9:A0:BA:80:50:DA:1C - DirName:/C=US/ST=California/L=Berkeley/O=Endmail Org/OU=MTA/CN=Claus Assmann CA RSA 2007/emailAddress=ca+ca-rsa2007@esmtp.org - serial:FA:7C:2C:80:29:3F:C2:64 + keyid:A7:61:FA:31:AF:A8:E2:5E:93:B6:84:9E:74:08:A2:76:50:87:69:7C + DirName:/C=US/ST=California/L=Berkeley/O=Endmail Org/OU=MTA/CN=Claus Assmann CA RSA 2009/emailAddress=ca+ca-rsa2009@esmtp.org + serial:C2:3C:61:67:3B:0A:CC:5E X509v3 Basic Constraints: - CA:TRUE + CA:TRUE X509v3 Subject Alternative Name: - email:ca+ca-rsa2007@esmtp.org + email:ca+ca-rsa2009@esmtp.org X509v3 Issuer Alternative Name: - email:ca+ca-rsa2007@esmtp.org + email:ca+ca-rsa2009@esmtp.org Signature Algorithm: md5WithRSAEncryption - 98:98:7c:d3:d0:5b:72:47:15:e6:22:68:bb:78:0e:78:66:e9: - 56:16:d8:bc:9d:5a:dc:27:29:fb:91:2d:6a:21:35:18:56:b4: - 4f:2a:09:c0:08:6f:9a:59:2b:2e:72:9a:fb:50:ba:c7:a9:91: - a0:f9:6c:be:cf:78:42:43:02:70:53:97:ba:6a:e3:da:17:e8: - 1f:c7:3a:5b:e7:bc:eb:e5:24:4c:f5:cf:61:34:1e:20:ed:17: - 63:ef:81:d3:9e:25:fe:cc:05:19:cc:8a:82:c9:4c:3a:b5:6b: - 49:51:76:46:02:aa:60:bb:c4:b9:61:48:33:da:79:8d:46:a3: - 06:20:98:f3:b2:db:3b:ad:c9:1d:0e:97:3d:b7:14:19:d3:7d: - 04:8b:6a:81:e0:11:5b:e1:35:a3:ff:2f:11:86:1c:31:85:7a: - fd:3f:36:ef:99:25:46:2e:b0:cb:43:45:4a:ec:be:d3:3f:a4: - 77:9b:79:cc:ce:92:63:a5:d9:ed:db:a0:9d:5d:7c:d7:80:f6: - c9:41:fb:02:96:8e:fd:f3:da:05:9d:81:a7:25:da:26:35:3b: - a9:0c:8c:f5:a7:5d:48:ec:87:c7:7a:60:51:76:f2:de:9b:14: - 2b:55:8a:43:df:99:19:f3:eb:e7:03:e6:a7:a2:a2:28:dd:d5: - 07:6a:3f:f7 + b3:38:e0:da:a8:07:d8:cc:b8:4d:8c:20:a6:06:2c:f8:27:db: + 8e:28:0f:39:bd:d9:24:c7:9f:e0:4d:d6:b6:63:42:36:0f:d8: + 70:41:e7:9e:a2:24:64:05:ea:85:97:ac:f2:cc:c2:a6:71:bb: + 30:21:c1:c7:c4:54:34:1d:30:09:f0:9b:74:27:93:59:12:4c: + 53:0b:8c:3e:d0:39:ed:4a:d0:d9:66:24:d8:e7:e5:9c:a8:6d: + 5f:56:5d:9a:91:fe:1b:7d:b9:7c:79:9e:1c:b9:71:74:14:f8: + 0c:30:50:f9:b1:22:56:a8:4d:6f:4b:9b:e5:8a:81:33:1b:77: + 75:f6:d8:ce:d4:90:34:86:34:d1:86:75:a9:e1:23:e6:af:c1: + 8e:28:97:47:20:4d:1b:57:09:39:f4:56:01:d2:87:43:3e:29: + f6:c4:5b:7d:8f:9e:bd:ad:36:79:cf:09:70:43:30:21:98:23: + 31:c8:0d:39:ee:77:e1:4a:44:1a:5c:79:2f:6c:ec:8a:3c:db: + 99:a0:11:bc:1a:46:24:51:e7:75:d6:9a:db:ad:dd:55:d4:dd: + ca:81:a0:10:77:96:91:9c:76:30:38:18:f0:82:43:b3:7c:41: + 64:4c:4e:da:66:22:67:cf:b7:d7:10:ba:ed:f4:6d:43:59:00: + d0:82:1e:07 -----BEGIN CERTIFICATE----- -MIIFJzCCBA+gAwIBAgIJAPp8LIApP8JkMA0GCSqGSIb3DQEBBAUAMIGlMQswCQYD +MIIFJzCCBA+gAwIBAgIJAMI8YWc7CsxeMA0GCSqGSIb3DQEBBAUAMIGlMQswCQYD VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTERMA8GA1UEBxMIQmVya2VsZXkx FDASBgNVBAoTC0VuZG1haWwgT3JnMQwwCgYDVQQLEwNNVEExIjAgBgNVBAMTGUNs -YXVzIEFzc21hbm4gQ0EgUlNBIDIwMDcxJjAkBgkqhkiG9w0BCQEWF2NhK2NhLXJz -YTIwMDdAZXNtdHAub3JnMB4XDTA3MDUwNDAyMDc1NloXDTEwMDUwMzAyMDc1Nlow +YXVzIEFzc21hbm4gQ0EgUlNBIDIwMDkxJjAkBgkqhkiG9w0BCQEWF2NhK2NhLXJz +YTIwMDlAZXNtdHAub3JnMB4XDTA5MDUxNDA0NDIxOFoXDTEyMDUxMzA0NDIxOFow gaUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMREwDwYDVQQHEwhC ZXJrZWxleTEUMBIGA1UEChMLRW5kbWFpbCBPcmcxDDAKBgNVBAsTA01UQTEiMCAG -A1UEAxMZQ2xhdXMgQXNzbWFubiBDQSBSU0EgMjAwNzEmMCQGCSqGSIb3DQEJARYX -Y2ErY2EtcnNhMjAwN0Blc210cC5vcmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw -ggEKAoIBAQCwKJExr4LOcu82q33psfV3ZjhLOB9fPRLTyP2a9NT2uJD5Jl8p90P5 -NOxlYgG7ZPFd6nUEPZJlYKIGYvqIytggUMgeOFO1GN23vccINUzZ3MaXVje2ZTN0 -WrLDhQgrtyZw/zgCGmdq0EkYEEv4268GnLGogqGxddJSm1MMyqfjFTh5baH173yL -/b0EePnoHrmS6nTXRR5MyL30XPwaf+cxxqvLeMdNL7VyEDUnShr6Uxn4p1lj6+kV -q9xxaYxCHJZOiYBmyZ4h1T0IGXSl9Qegrt55r/1Cwnl+jPg5IjvDxFg70A3mqRG2 -os0u5RZm/X5lM5SwNoAn9YB2qeXf8s/vAgMBAAGjggFWMIIBUjAdBgNVHQ4EFgQU -sklrUkXukDbSeUcDM9mguoBQ2hwwgdoGA1UdIwSB0jCBz4AUsklrUkXukDbSeUcD -M9mguoBQ2hyhgaukgagwgaUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9y +A1UEAxMZQ2xhdXMgQXNzbWFubiBDQSBSU0EgMjAwOTEmMCQGCSqGSIb3DQEJARYX +Y2ErY2EtcnNhMjAwOUBlc210cC5vcmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw +ggEKAoIBAQDV+NNIOHXfLmuLxI0dQV6tS5Y9SMLc5f9hmJUyA+m2cVpoMbzhXKoO +cKe8UbcTanhUrqbQREkbXjdbWSABR6fsQUwReYwlwRvA7YWy3g8Qn+eyo8Tx/IVR +qtZoSVE+BOHr6c2HG9Cdl3tM4R6xar4BCqmXmlCJ42YGTAfLfplwE+i0nOfmUjjA +ZJBC0PXPIkYiYOk0cB3j0RMzOjG6EwaowjSQR8WhvS19mCFw3iLQExHlCN2gdwvf +NKcHVd5acfZsnuz3RXUfIqmEBsZPhD1OBdfk5ZhBYXuOyTum7TGAff368Ny3B4K4 +7CcgOV94lfENk435TSEI/XKJAf8soHGdAgMBAAGjggFWMIIBUjAdBgNVHQ4EFgQU +p2H6Ma+o4l6TtoSedAiidlCHaXwwgdoGA1UdIwSB0jCBz4AUp2H6Ma+o4l6TtoSe +dAiidlCHaXyhgaukgagwgaUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9y bmlhMREwDwYDVQQHEwhCZXJrZWxleTEUMBIGA1UEChMLRW5kbWFpbCBPcmcxDDAK -BgNVBAsTA01UQTEiMCAGA1UEAxMZQ2xhdXMgQXNzbWFubiBDQSBSU0EgMjAwNzEm -MCQGCSqGSIb3DQEJARYXY2ErY2EtcnNhMjAwN0Blc210cC5vcmeCCQD6fCyAKT/C -ZDAMBgNVHRMEBTADAQH/MCIGA1UdEQQbMBmBF2NhK2NhLXJzYTIwMDdAZXNtdHAu -b3JnMCIGA1UdEgQbMBmBF2NhK2NhLXJzYTIwMDdAZXNtdHAub3JnMA0GCSqGSIb3 -DQEBBAUAA4IBAQCYmHzT0FtyRxXmImi7eA54ZulWFti8nVrcJyn7kS1qITUYVrRP -KgnACG+aWSsucpr7ULrHqZGg+Wy+z3hCQwJwU5e6auPaF+gfxzpb57zr5SRM9c9h -NB4g7Rdj74HTniX+zAUZzIqCyUw6tWtJUXZGAqpgu8S5YUgz2nmNRqMGIJjzsts7 -rckdDpc9txQZ030Ei2qB4BFb4TWj/y8RhhwxhXr9PzbvmSVGLrDLQ0VK7L7TP6R3 -m3nMzpJjpdnt26CdXXzXgPbJQfsClo7989oFnYGnJdomNTupDIz1p11I7IfHemBR -dvLemxQrVYpD35kZ8+vnA+anoqIo3dUHaj/3 +BgNVBAsTA01UQTEiMCAGA1UEAxMZQ2xhdXMgQXNzbWFubiBDQSBSU0EgMjAwOTEm +MCQGCSqGSIb3DQEJARYXY2ErY2EtcnNhMjAwOUBlc210cC5vcmeCCQDCPGFnOwrM +XjAMBgNVHRMEBTADAQH/MCIGA1UdEQQbMBmBF2NhK2NhLXJzYTIwMDlAZXNtdHAu +b3JnMCIGA1UdEgQbMBmBF2NhK2NhLXJzYTIwMDlAZXNtdHAub3JnMA0GCSqGSIb3 +DQEBBAUAA4IBAQCzOODaqAfYzLhNjCCmBiz4J9uOKA85vdkkx5/gTda2Y0I2D9hw +QeeeoiRkBeqFl6zyzMKmcbswIcHHxFQ0HTAJ8Jt0J5NZEkxTC4w+0DntStDZZiTY +5+WcqG1fVl2akf4bfbl8eZ4cuXF0FPgMMFD5sSJWqE1vS5vlioEzG3d19tjO1JA0 +hjTRhnWp4SPmr8GOKJdHIE0bVwk59FYB0odDPin2xFt9j569rTZ5zwlwQzAhmCMx +yA057nfhSkQaXHkvbOyKPNuZoBG8GkYkUed11prbrd1V1N3KgaAQd5aRnHYwOBjw +gkOzfEFkTE7aZiJnz7fXELrt9G1DWQDQgh4H -----END CERTIFICATE----- diff --git a/LICENSE b/LICENSE index e8639f5a5a92..2c604033ee30 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ SENDMAIL LICENSE The following license terms and conditions apply, unless a different -license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor, +license is obtained from Sendmail, Inc., 6475 Christie Ave, Suite 350, Emeryville, CA 94608, USA, or by electronic mail at license@sendmail.com. License Terms: @@ -33,7 +33,7 @@ each of the following conditions is met: forth as paragraph 6 below, in the documentation and/or other materials provided with the distribution. For the purposes of binary distribution the "Copyright Notice" refers to the following language: - "Copyright (c) 1998-2004 Sendmail, Inc. All rights reserved." + "Copyright (c) 1998-2009 Sendmail, Inc. All rights reserved." 4. Neither the name of Sendmail, Inc. nor the University of California nor the names of their contributors may be used to endorse or promote @@ -76,4 +76,4 @@ each of the following conditions is met: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -$Revision: 8.13 $, Last updated $Date: 2004/05/11 23:57:57 $ +$Revision: 8.15 $, Last updated $Date: 2009/03/04 19:58:04 $ diff --git a/PGPKEYS b/PGPKEYS index 3f7e9226d968..5f89ed439429 100644 --- a/PGPKEYS +++ b/PGPKEYS @@ -141,6 +141,79 @@ gpExpdV7qPrw9k01j5rod5PjZlG8zV0= =SR28 -----END PGP PUBLIC KEY BLOCK----- +Type Bits KeyID Created Expires Algorithm Use +pub 1024 0xA77F2429 2009-01-01 ---------- RSA Sign & Encrypt +f16 Fingerprint16 = 33 3A 62 61 2C F3 21 AA 4E 87 47 F2 2F 2C 40 4D +uid Sendmail Signing Key/2009 + +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.8 (OpenBSD) + +mQCNA0lcVHwAAAEEAM7aXDJHNH3g0oxbsSUjqRiKh47W4srnfEYREj2Q26AXWzXE +BSyfl6QMRLbSVNIiPOWlMPbZWjCx4c1TNsj3TiiklCcievlvbAPVa3kY2hZ6pmyU +czJq4S/mT1lt+uPOCjvKxo8OLQoFuJMTIS+Ya7LVjW7fJD5yrhKJbpunfyQpAAUR +tDFTZW5kbWFpbCBTaWduaW5nIEtleS8yMDA5IDxzZW5kbWFpbEBTZW5kbWFpbC5P +Ukc+iQCVAwUQSVxUfBKJbpunfyQpAQHirwP+JvK4cBqtw9rxSZ0whmC1N4a2r24f +SH2WDC1zNNeiCHg93udKs3PKLPm688U+WxiaSsrGQXQlGojx7jn1XggTPOG+SteJ +JP/Ea9buJK9KaLaniUm84XxHxa71y3v3+SfhJMpJioY4G6qKqfLZFzmpiwUTvtLR +B9LfWvzvUUHJSTyJAJUDBRBJXFY9wZwdJRLTRh0BAcrBBACYcnhE8cx5eA8WqTR4 +2CVZgxxrIMOrqda+hdpSgsRjUEWRpb5+Es1hfM3OLXqbsywCTUvxeoymVYQr3aSP +sbm+rQ4l6gf7ibpiVZA6vDxh0EfwNYE+aI3AoW03ODoCAaj+utOjGdqzIcec0RpS +zXPI1gWW3sBck95KsiDUYmXYTIkAlQMFEElcVkzvWJZk1DLhnQEByUIEAKOdWew/ +M75xyVbugMGUZnAJrTZPKu9y3V3TLqyET3rGYfLjt6M4R+99j+mkhmi2rOckM9VV +30kvjW9BBarnr13XoMVTtLneoLaVrbMw4aZHRkTdRL14LIj+w1jzEKXDwYylJbGZ +UlmZn7lFkJrLIaBDmQl7GswBJRJvFLQbdzzMiQCVAwUQSVxWVW9Sk9ijm6ZVAQHr +DQP9ECF56TGI8YRPVOzZJzUyOmiMAouRoJ74aWfM8TA2Q8gVtedDc6IHiNzcVjq4 +jOZuMgb1KTPPF/TwWL5MHIFldsMdJ/i0Rml+x4h3Ff+8ZYlJgFBylUmx++nW1rbc +nn9RS/Es+zKsDOnTN5fTFo3br1z2saLnuXNB+SuJmSC8i2CJAJUDBRBJXFZgnBy9 +4uNcVjUBAcdaA/9ur7HbueufNbvr0HoDbhBijagbeqRrzmYtsOtYUfBGEtc5JiNH +r7NIAM66Tog8p9ZZA+qOaGHvujecBOTlokLpPKvcQngOz7c53z3Yop90TnMytUL2 +IExcuCdH4BMy72R5nH5YY5pMqb7pFjcyGDDIM8cxMgbZ3gzvbPDHZMUQ6okAlQMF +EElcVmc4IttHzDdPLQEBJ/0EANME79+Z/BItRKlSgzH52JBGGQZrZi57Pz+hJ+du +K7RgSkhpsXnk1kELvig5TCd2YaDZXoZwUrJLObVKAMI4lpGNTkZlzRRrFXcx4Q14 +YPJ/nay5jkqHvR9neKTsifzdsPVLi9nUDBMtURIQo5yn5AYMloiDzw/HpNGvkk92 +ITqwiQCVAwUQSVxWbolpYrhnjAoDAQHLDgP+L+Od/CoHaVUpsZld1SJKwvelIe1S +wT8SBqppQyDbKw0ZczetUSASt+g8OqJKD88I2no5mjEmHx0lncoKJ06qxpJBIu7A +lbByeE9i8Bn52YKhPGka4AwA3DOm5yR967BncOf/zY65t83hocZL1uKQeHW8wnpR +x3o+RBz2354phxyJAJUDBRBJXFZ2IYPhsTlvB4kBARKHA/sHFkKAvCo5Hto2CJWF +gyBCJUsUuHCaQTkfL4IspkIBjmrsr2KKe0WQUqIlebhhWzVhgYsc8AXZil+pLahC +L9CNQVQpoPKD3mit2+Vsi8254QxQjeYD3jUQT1C6uq6l9IORdIxYah9DNBNHCgwX +PuTMmpU1JQj6haKhGa1kbaQq2IkAlQMFEElcVn3I1e0plfYXcQEB2TYD+wYXb+sU +0vmG51lVWj2BPMvv/lbfzU6KnqXNCD2ra0yu6C83WHNFXEz+JuLYlzLnaKm8DJI/ +SFBZZIxpUaoaFHyGrjbWrDI6oMfvp/dMnJjfibNbmZuVIl2z0TKO98jiJ/+/9e/5 +AtCsSFfyZ6FSTtAHbG1ZOJvhPBub9aELiUCiiQCVAwUQSVxWknCgJE0e+ZJRAQHz +NQP7BYHJwViDWqp9c5DmxM6vHrVq/wsDyPgm52+QpopErCRt2iTpocldHQG/9ZdE +0ENn6PhI49xobh+m0HfoZZ+Cr4LPU7g2ftmEtrxtDN1BYdNQHZLZStUp7A8SsLgL +2IvYSI9iKAmQoWQTAOECDD41o1BOnnM1eraeUyqdmZaFm8iJAJUDBRBJXFaZHnuz +yK+VliUBAVgdBACmbsAKzbNnvfaTCJxqhaJI5uNDCdH7rgoCHEJR4aefPY89Do7b +ixLCyW4wUr7pxqvf/xbEGJHNCG5WnmncXBCnoEVqmHb7J9vQw1o3K6pRPqtTjVBR +VEUUK4xe6ZIOft3FOI5fKAPO5Vc9NlxPDjSJcjR6+B//TpecZ2L9A/Dp+4kAlQMF +EElcVqGXQwEYcJO4QQEBl1YD/AsMu6g/4KiwelIz2rDzm4wzvsQm+cYm47hv2IHV +Fkx5f8mS6um39+4J/FHni7i2bfSuHpRn1RdURR7Gebu7HKYfGTNLNYyKt7U/6VFb +ylDxUTS32sier3GlDrlJrBQ+VDIG4dUaioKoKUXxBhEVzAZrvkYhaiGWIl/K4zz5 +C1qdiQCVAwUQSVxWqdiq8Mr2swcpAQFzwgP9FJOM0MysHIjq/KihatPjerxhud6j +bd1Zo/tIKybvPsJNaeTeR+0IKm+vbAWtYL5oBc2wxgdQAs8tUi5SryK1otMAJ6sj +KNN+QxIp2FEumzReGRo+hCETiusjD9Abbh1L9L7FOkhGhH+m6fBVQIYUytmMFpnQ +qn17I9DVPxpwob+JAJUDBRBJXFa9wCnKQBb0zOkBAd0BA/9yRRB2waP3duE2rYKF +Obsbs3XXOQHEl/rjpIHVmYIqqRSglmlTEXwjKJeCEN9q0PRiazhztEhVJWP8ORRP +fkjlscP25T4A4tMC1F49biMak5MI2ffawVkUVsjIWFF/vFQIqKl4JG8SI/r4Oxep +yaozkowCJX3zZtkEfB2Id1nU9IkAlQMFEElcV0e92o/WP+p9/QEBxQID/R4E3pRI +isTe5RJotQKcsQKo3y+8KkmvfZQ6d3h/n4anq6bs1rRrWKqL6XoM7Nc5teLR3QaW +CVTssPtt3P06WqMm8Ct25iZ8dIyqRN0d0k5dJ6d5Qp4WSCL0TmTQ7wO4q9aCOhGK +YFKCP3i2v8zCOhuqk2pLeOYxl6f912COvmwSiQCVAwUQSVxXVXxLZ22gDhVjAQFU +WAP/TjyHxNVsptLRcFRfMCi9fjkrftbma00pzIaj9d6Ybxt6nMQ8C8TCTrurkXpq +9kGIrFVndsovql8++Y9VsDeh/vLX65mZl8FEVFvbl38+YSYeB44upadibU6uB0iL +zFz6da6gZmm/NENX3UCldIWv35L33EFotQ9GxTn8b0MQnY2JAJUDBRBJXFdl1uCh +/k++Kt0BAQ39BACfVZaig8loIuKosYh5Ydcefe0NZTZOCgPZ+mAzShEeBIN/btA0 ++jMXfu6tEgqUKQnyKCXZcPoZwY9Y0hOqGT2AIkWmZHJ/uKrzXIAcwUTS0TQV1k5x +mHPkZmvr55JDYp/JIbxIZ8QTpTuEzlymow12qMOUhPkL/wOQET9duDMKzokAlQMF +EEli68zPHrUDIjJ6AQEBzacD/RPBzReBSsVar0+B4xEW0i11LKV2Q7gH+y256IDX +3SxML4+GZM9FmEMVhlTbHPOE2rfwFvLrMxCmIqGHjMccJRZpV9OFpXa8z15FRDmJ +U01qOITDcIAiIPgGamifxMOYG4+spaj2sxLGnY/6aowhjh1XNbQPuJ6laNq7bz50 +wzfu +=RCyv +-----END PGP PUBLIC KEY BLOCK----- + Type Bits KeyID Created Expires Algorithm Use pub 1024 0xF6B30729 2008-01-18 ---------- RSA Sign & Encrypt f16 Fingerprint16 = 07 FB 9A F9 F7 94 4B E4 0F 28 D1 8E 23 6F A2 B0 @@ -1792,4 +1865,4 @@ DnF3FZZEzV7oqPwC2jzv/1dD6GFhtgy0cnyoPGUJCyc= =nES8 -----END PGP PUBLIC KEY BLOCK----- -$Revision: 8.26 $, Last updated $Date: 2008/01/22 06:20:27 $ +$Revision: 8.29 $, Last updated $Date: 2009/01/06 05:59:03 $ diff --git a/README b/README index a8db16227a3e..8175b1a879c7 100644 --- a/README +++ b/README @@ -38,6 +38,7 @@ the latest updates. 4. Read cf/README. Sendmail is a trademark of Sendmail, Inc. +US Patent Numbers 6865671, 6986037. +-----------------------+ | DIRECTORY PERMISSIONS | @@ -464,4 +465,4 @@ sendmail Source for the sendmail program itself. test Some test scripts (currently only for compilation aids). vacation Source for the vacation program. NOT PART OF SENDMAIL! -$Revision: 8.94 $, Last updated $Date: 2008/02/12 16:40:05 $ +$Revision: 8.95 $, Last updated $Date: 2009/04/10 17:49:18 $ diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 0d8ed8663c09..4e1e8f38305f 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -1,11 +1,96 @@ SENDMAIL RELEASE NOTES - $Id: RELEASE_NOTES,v 8.1926 2008/05/03 03:34:26 ca Exp $ + $Id: RELEASE_NOTES,v 8.1963 2009/12/23 04:43:46 ca Exp $ This listing shows the version of the sendmail binary, the version of the sendmail configuration files, the date of release, and a summary of the changes in that release. +8.14.4/8.14.4 2009/12/30 + SECURITY: Handle bogus certificates containing NUL characters + in CNs by placing a string indicating a bad certificate + in the {cn_subject} or {cn_issuer} macro. Patch inspired + by Matthias Andree's changes for fetchmail. + During the generation of a queue identifier an integer overflow + could occur which might result in bogus characters + being used. Based on patch from John Vannoy of + Pepperdine University. + The value of headers, e.g., Precedence, Content-Type, et.al., + was not processed correctly. Patch from Per Hedeland. + Between 8.11.7 and 8.12.0 the length limitation on a return + path was erroneously reduced from MAXNAME (256) to + MAXSHORTSTR (203). Patch from John Gardiner Myers + of Proofpoint; the problem was also noted by Steve + Hubert of University of Washington. + Prevent a crash when a hostname lookup returns a seemingly + valid result which contains a NULL pointer (this seems + to be happening on some Linux versions). + The process title was missing the current load average when + the MTA was delaying connections due to DelayLA. + Patch from Dick St.Peters of NetHeaven. + Do not reset the number of queue entries in shared memory if + only some of them are processed. + Fix overflow of an internal array when parsing some replies + from a milter. Problem found by Scott Rotondo + of Sun Microsystems. + If STARTTLS is turned off in the server (via M=S) then it + would not be initialized for use in the client either. + Patch from Kazuteru Okahashi of IIJ. + If a Diffie-Hellman cipher is selected for STARTTLS, the + handshake could fail with some TLS implementations + because the prime used by the server is not long enough. + Note: the initialization of the DSA/DH parameters for + the server can take a significant amount of time on slow + machines. This can be turned off by setting DHParameters + to none or a file (see doc/op/op.me). Patch from + Petr Lampa of the Brno University of Technology. + Fix handling of `b' modifier for DaemonPortOptions on little + endian machines for loopback address. Patch from + John Beck of Sun Microsystems. + Fix a potential memory leak in libsmdb/smdb1.c found by parfait. + Based on patch from Jonathan Gray of OpenBSD. + If a milter sets the reply code to "421" during the transfer + of the body, the SMTP server will terminate the SMTP session + with that error to match the behavior of the other callbacks. + Return EX_IOERR (instead of 0) if a mail submission fails due to + missing disk space in the mail queue. Based on patch + from Martin Poole of RedHat. + CONFIG: Using FEATURE(`ldap_routing')'s `nodomain' argument would + cause addresses not found in LDAP to be misparsed. + CONFIG: Using a CN restriction did not work for TLS_Clt as it + referred to a wrong macro. Patch from John Gardiner + Myers of Proofpoint. + CONFIG: The option relaytofulladdress of FEATURE(`access_db') + did not work if FEATURE(`relay_hosts_only') is used too. + Problem noted by Kristian Shaw. + CONFIG: The internal function lower() was broken and hence + strcasecmp() did not work either, which could cause + problems for some FEATURE()s if upper case arguments + were used. Patch from Vesa-Matti J Kari of the + University of Helsinki. + LIBMILTER: Fix internal check whether a milter application + is compiled against the same version of libmilter as + it is linked against (especially useful for dynamic + libraries). + LIBMILTER: Fix memory leak that occurred when smfi_setsymlist() + was used. Based on patch by Dan Lukes. + LIBMILTER: Document the effect of SMFIP_HDR_LEADSPC for filters + which add, insert, or replace headers. From Benjamin + Pineau. + LIBMILTER: Fix error messages which refer to "select()" to be + correct if SM_CONF_POLL is used. Based on patch from + John Nemeth. + LIBSM: Fix handling of LDAP search failures where the error is + carried in the search result itself, such as seen with + OpenLDAP proxy servers. + VACATION: Do not refer to a local variable outside its scope. + Based on patch from Mark Costlow of Southwest Cyberport. + Portability: + Enable HAVE_NANOSLEEP for SunOS 5.11. Patch from + John Beck of Sun Microsystems. + Drop NISPLUS from default SunOS 5.11 map definitions. + Patch from John Beck of Sun Microsystems. + 8.14.3/8.14.3 2008/05/03 During ruleset processing the generation of a key for a map lookup and the parsing of the default value was broken @@ -37,7 +122,7 @@ summary of the changes in that release. Support shared libraries in Darwin 8 and 9. Patch from Chris Behrens of Concentric. Add support for SCO OpenServer 6, patch from Boyd Gerber. - DEVTOOLS: Clarify that confSHAREDLIBDIR requires a trailing path. + DEVTOOLS: Clarify that confSHAREDLIBDIR requires a trailing slash. Added Files: devtools/OS/Darwin.9.x devtools/OS/OSR.i386 diff --git a/cf/README b/cf/README index 43737f60bce6..e3496e927b6e 100644 --- a/cf/README +++ b/cf/README @@ -3142,7 +3142,7 @@ starts with '+' and the items are separated by '++'. Allowed extensions are: CN:name name must match ${cn_subject} -CN ${server_name} must match ${cn_subject} +CN ${client_name}/${server_name} must match ${cn_subject} CS:name name must match ${cert_subject} CI:name name must match ${cert_issuer} @@ -4701,4 +4701,4 @@ M4 DIVERSIONS 8 DNS based blacklists 9 special local rulesets (1 and 2) -$Revision: 8.724 $, Last updated $Date: 2008/02/15 23:05:32 $ +$Revision: 8.727 $, Last updated $Date: 2009/05/07 23:46:17 $ diff --git a/cf/cf/generic-bsd4.4.cf b/cf/cf/generic-bsd4.4.cf index da8cce260f71..c681756e5795 100644 --- a/cf/cf/generic-bsd4.4.cf +++ b/cf/cf/generic-bsd4.4.cf @@ -1,5 +1,5 @@ # -# Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -16,8 +16,8 @@ ##### ##### SENDMAIL CONFIGURATION FILE ##### -##### built by ca@wiz.smi.sendmail.com on Fri May 2 20:38:59 PDT 2008 -##### in /extra/home/ca/sm-8.14.3/OpenSource/sendmail-8.14.3/cf/cf +##### built by ca@wiz.smi.sendmail.com on Tue Dec 22 20:49:08 PST 2009 +##### in /extra/home/ca/sm-8.14.4/OpenSource/sendmail-8.14.4/cf/cf ##### using ../ as configuration include directory ##### ###################################################################### @@ -27,7 +27,7 @@ ###################################################################### ###################################################################### -##### $Id: cfhead.m4,v 8.116 2004/01/28 22:02:22 ca Exp $ ##### +##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ ##### ##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ ##### ##### $Id: generic-bsd4.4.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp $ ##### @@ -41,7 +41,7 @@ -##### $Id: proto.m4,v 8.734 2008/01/24 23:42:01 ca Exp $ ##### +##### $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ ##### # level 10 config file format V10/Berkeley @@ -122,7 +122,7 @@ DnMAILER-DAEMON CPREDIRECT # Configuration version number -DZ8.14.3 +DZ8.14.4 ############### @@ -448,6 +448,7 @@ O OperatorChars=.:%@!^/[]+ # once the threshold number of recipients have been rejected #O BadRcptThrottle=0 + # shall we get local names from our installed interfaces? #O DontProbeInterfaces=False @@ -508,6 +509,7 @@ O MaxHeadersLength=32768 # SMTP STARTTLS server options #O TLSSrvOptions + # Input mail filters #O InputMailFilters diff --git a/cf/cf/generic-hpux10.cf b/cf/cf/generic-hpux10.cf index b5df4388bd18..3375295dfb61 100644 --- a/cf/cf/generic-hpux10.cf +++ b/cf/cf/generic-hpux10.cf @@ -1,5 +1,5 @@ # -# Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -16,8 +16,8 @@ ##### ##### SENDMAIL CONFIGURATION FILE ##### -##### built by ca@wiz.smi.sendmail.com on Fri May 2 20:38:59 PDT 2008 -##### in /extra/home/ca/sm-8.14.3/OpenSource/sendmail-8.14.3/cf/cf +##### built by ca@wiz.smi.sendmail.com on Tue Dec 22 20:49:08 PST 2009 +##### in /extra/home/ca/sm-8.14.4/OpenSource/sendmail-8.14.4/cf/cf ##### using ../ as configuration include directory ##### ###################################################################### @@ -27,7 +27,7 @@ ###################################################################### ###################################################################### -##### $Id: cfhead.m4,v 8.116 2004/01/28 22:02:22 ca Exp $ ##### +##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ ##### ##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ ##### ##### $Id: generic-hpux10.mc,v 8.13 2001/05/29 17:29:52 ca Exp $ ##### @@ -42,7 +42,7 @@ -##### $Id: proto.m4,v 8.734 2008/01/24 23:42:01 ca Exp $ ##### +##### $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ ##### # level 10 config file format V10/Berkeley @@ -123,7 +123,7 @@ DnMAILER-DAEMON CPREDIRECT # Configuration version number -DZ8.14.3 +DZ8.14.4 ############### @@ -449,6 +449,7 @@ O OperatorChars=.:%@!^/[]+ # once the threshold number of recipients have been rejected #O BadRcptThrottle=0 + # shall we get local names from our installed interfaces? #O DontProbeInterfaces=False @@ -509,6 +510,7 @@ O MaxHeadersLength=32768 # SMTP STARTTLS server options #O TLSSrvOptions + # Input mail filters #O InputMailFilters diff --git a/cf/cf/generic-hpux9.cf b/cf/cf/generic-hpux9.cf index 6b38c5bdd850..92be3b6be01e 100644 --- a/cf/cf/generic-hpux9.cf +++ b/cf/cf/generic-hpux9.cf @@ -1,5 +1,5 @@ # -# Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -16,8 +16,8 @@ ##### ##### SENDMAIL CONFIGURATION FILE ##### -##### built by ca@wiz.smi.sendmail.com on Fri May 2 20:38:59 PDT 2008 -##### in /extra/home/ca/sm-8.14.3/OpenSource/sendmail-8.14.3/cf/cf +##### built by ca@wiz.smi.sendmail.com on Tue Dec 22 20:49:08 PST 2009 +##### in /extra/home/ca/sm-8.14.4/OpenSource/sendmail-8.14.4/cf/cf ##### using ../ as configuration include directory ##### ###################################################################### @@ -27,7 +27,7 @@ ###################################################################### ###################################################################### -##### $Id: cfhead.m4,v 8.116 2004/01/28 22:02:22 ca Exp $ ##### +##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ ##### ##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ ##### ##### $Id: generic-hpux9.mc,v 8.11 1999/02/07 07:26:02 gshapiro Exp $ ##### @@ -42,7 +42,7 @@ -##### $Id: proto.m4,v 8.734 2008/01/24 23:42:01 ca Exp $ ##### +##### $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ ##### # level 10 config file format V10/Berkeley @@ -123,7 +123,7 @@ DnMAILER-DAEMON CPREDIRECT # Configuration version number -DZ8.14.3 +DZ8.14.4 ############### @@ -449,6 +449,7 @@ O OperatorChars=.:%@!^/[]+ # once the threshold number of recipients have been rejected #O BadRcptThrottle=0 + # shall we get local names from our installed interfaces? #O DontProbeInterfaces=False @@ -509,6 +510,7 @@ O MaxHeadersLength=32768 # SMTP STARTTLS server options #O TLSSrvOptions + # Input mail filters #O InputMailFilters diff --git a/cf/cf/generic-linux.cf b/cf/cf/generic-linux.cf index 2cd89253dbd1..cdb635f64aa3 100644 --- a/cf/cf/generic-linux.cf +++ b/cf/cf/generic-linux.cf @@ -1,5 +1,5 @@ # -# Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -16,8 +16,8 @@ ##### ##### SENDMAIL CONFIGURATION FILE ##### -##### built by ca@wiz.smi.sendmail.com on Fri May 2 20:38:59 PDT 2008 -##### in /extra/home/ca/sm-8.14.3/OpenSource/sendmail-8.14.3/cf/cf +##### built by ca@wiz.smi.sendmail.com on Tue Dec 22 20:49:08 PST 2009 +##### in /extra/home/ca/sm-8.14.4/OpenSource/sendmail-8.14.4/cf/cf ##### using ../ as configuration include directory ##### ###################################################################### @@ -27,7 +27,7 @@ ###################################################################### ###################################################################### -##### $Id: cfhead.m4,v 8.116 2004/01/28 22:02:22 ca Exp $ ##### +##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ ##### ##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ ##### ##### $Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $ ##### @@ -46,7 +46,7 @@ -##### $Id: proto.m4,v 8.734 2008/01/24 23:42:01 ca Exp $ ##### +##### $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ ##### # level 10 config file format V10/Berkeley @@ -127,7 +127,7 @@ DnMAILER-DAEMON CPREDIRECT # Configuration version number -DZ8.14.3 +DZ8.14.4 ############### @@ -453,6 +453,7 @@ O OperatorChars=.:%@!^/[]+ # once the threshold number of recipients have been rejected #O BadRcptThrottle=0 + # shall we get local names from our installed interfaces? #O DontProbeInterfaces=False @@ -513,6 +514,7 @@ O MaxHeadersLength=32768 # SMTP STARTTLS server options #O TLSSrvOptions + # Input mail filters #O InputMailFilters diff --git a/cf/cf/generic-mpeix.cf b/cf/cf/generic-mpeix.cf index f94d61c8681e..695ee879fc09 100644 --- a/cf/cf/generic-mpeix.cf +++ b/cf/cf/generic-mpeix.cf @@ -1,5 +1,5 @@ # -# Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -16,8 +16,8 @@ ##### ##### SENDMAIL CONFIGURATION FILE ##### -##### built by ca@wiz.smi.sendmail.com on Fri May 2 20:38:59 PDT 2008 -##### in /extra/home/ca/sm-8.14.3/OpenSource/sendmail-8.14.3/cf/cf +##### built by ca@wiz.smi.sendmail.com on Tue Dec 22 20:49:08 PST 2009 +##### in /extra/home/ca/sm-8.14.4/OpenSource/sendmail-8.14.4/cf/cf ##### using ../ as configuration include directory ##### ###################################################################### @@ -27,7 +27,7 @@ ###################################################################### ###################################################################### -##### $Id: cfhead.m4,v 8.116 2004/01/28 22:02:22 ca Exp $ ##### +##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ ##### ##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ ##### ##### $Id: generic-mpeix.mc,v 8.1 2001/12/13 23:56:37 gshapiro Exp $ ##### @@ -42,7 +42,7 @@ -##### $Id: proto.m4,v 8.734 2008/01/24 23:42:01 ca Exp $ ##### +##### $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ ##### # level 10 config file format V10/Berkeley @@ -123,7 +123,7 @@ DnMAILER-DAEMON CPREDIRECT # Configuration version number -DZ8.14.3 +DZ8.14.4 ############### @@ -449,6 +449,7 @@ O OperatorChars=.:%@!^/[]+ # once the threshold number of recipients have been rejected #O BadRcptThrottle=0 + # shall we get local names from our installed interfaces? #O DontProbeInterfaces=False @@ -509,6 +510,7 @@ O MaxHeadersLength=32768 # SMTP STARTTLS server options #O TLSSrvOptions + # Input mail filters #O InputMailFilters diff --git a/cf/cf/generic-nextstep3.3.cf b/cf/cf/generic-nextstep3.3.cf index 7ff514cd0c21..3a13c80951c6 100644 --- a/cf/cf/generic-nextstep3.3.cf +++ b/cf/cf/generic-nextstep3.3.cf @@ -1,5 +1,5 @@ # -# Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -16,8 +16,8 @@ ##### ##### SENDMAIL CONFIGURATION FILE ##### -##### built by ca@wiz.smi.sendmail.com on Fri May 2 20:38:59 PDT 2008 -##### in /extra/home/ca/sm-8.14.3/OpenSource/sendmail-8.14.3/cf/cf +##### built by ca@wiz.smi.sendmail.com on Tue Dec 22 20:49:08 PST 2009 +##### in /extra/home/ca/sm-8.14.4/OpenSource/sendmail-8.14.4/cf/cf ##### using ../ as configuration include directory ##### ###################################################################### @@ -27,7 +27,7 @@ ###################################################################### ###################################################################### -##### $Id: cfhead.m4,v 8.116 2004/01/28 22:02:22 ca Exp $ ##### +##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ ##### ##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ ##### ##### $Id: generic-nextstep3.3.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp $ ##### @@ -41,7 +41,7 @@ -##### $Id: proto.m4,v 8.734 2008/01/24 23:42:01 ca Exp $ ##### +##### $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ ##### # level 10 config file format V10/Berkeley @@ -122,7 +122,7 @@ DnMAILER-DAEMON CPREDIRECT # Configuration version number -DZ8.14.3 +DZ8.14.4 ############### @@ -448,6 +448,7 @@ O OperatorChars=.:%@!^/[]+ # once the threshold number of recipients have been rejected #O BadRcptThrottle=0 + # shall we get local names from our installed interfaces? #O DontProbeInterfaces=False @@ -508,6 +509,7 @@ O MaxHeadersLength=32768 # SMTP STARTTLS server options #O TLSSrvOptions + # Input mail filters #O InputMailFilters diff --git a/cf/cf/generic-osf1.cf b/cf/cf/generic-osf1.cf index 62171c299d61..05421a78e389 100644 --- a/cf/cf/generic-osf1.cf +++ b/cf/cf/generic-osf1.cf @@ -1,5 +1,5 @@ # -# Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -16,8 +16,8 @@ ##### ##### SENDMAIL CONFIGURATION FILE ##### -##### built by ca@wiz.smi.sendmail.com on Fri May 2 20:38:59 PDT 2008 -##### in /extra/home/ca/sm-8.14.3/OpenSource/sendmail-8.14.3/cf/cf +##### built by ca@wiz.smi.sendmail.com on Tue Dec 22 20:49:08 PST 2009 +##### in /extra/home/ca/sm-8.14.4/OpenSource/sendmail-8.14.4/cf/cf ##### using ../ as configuration include directory ##### ###################################################################### @@ -27,7 +27,7 @@ ###################################################################### ###################################################################### -##### $Id: cfhead.m4,v 8.116 2004/01/28 22:02:22 ca Exp $ ##### +##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ ##### ##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ ##### ##### $Id: generic-osf1.mc,v 8.11 1999/02/07 07:26:02 gshapiro Exp $ ##### @@ -42,7 +42,7 @@ -##### $Id: proto.m4,v 8.734 2008/01/24 23:42:01 ca Exp $ ##### +##### $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ ##### # level 10 config file format V10/Berkeley @@ -123,7 +123,7 @@ DnMAILER-DAEMON CPREDIRECT # Configuration version number -DZ8.14.3 +DZ8.14.4 ############### @@ -449,6 +449,7 @@ O OperatorChars=.:%@!^/[]+ # once the threshold number of recipients have been rejected #O BadRcptThrottle=0 + # shall we get local names from our installed interfaces? #O DontProbeInterfaces=False @@ -509,6 +510,7 @@ O MaxHeadersLength=32768 # SMTP STARTTLS server options #O TLSSrvOptions + # Input mail filters #O InputMailFilters diff --git a/cf/cf/generic-solaris.cf b/cf/cf/generic-solaris.cf index 2f58b6538147..ad473472df38 100644 --- a/cf/cf/generic-solaris.cf +++ b/cf/cf/generic-solaris.cf @@ -1,5 +1,5 @@ # -# Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -16,8 +16,8 @@ ##### ##### SENDMAIL CONFIGURATION FILE ##### -##### built by ca@wiz.smi.sendmail.com on Fri May 2 20:38:59 PDT 2008 -##### in /extra/home/ca/sm-8.14.3/OpenSource/sendmail-8.14.3/cf/cf +##### built by ca@wiz.smi.sendmail.com on Tue Dec 22 20:49:08 PST 2009 +##### in /extra/home/ca/sm-8.14.4/OpenSource/sendmail-8.14.4/cf/cf ##### using ../ as configuration include directory ##### ###################################################################### @@ -27,7 +27,7 @@ ###################################################################### ###################################################################### -##### $Id: cfhead.m4,v 8.116 2004/01/28 22:02:22 ca Exp $ ##### +##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ ##### ##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ ##### ##### $Id: generic-solaris.mc,v 8.13 2001/06/27 21:46:30 gshapiro Exp $ ##### @@ -41,7 +41,7 @@ -##### $Id: proto.m4,v 8.734 2008/01/24 23:42:01 ca Exp $ ##### +##### $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ ##### # level 10 config file format V10/Berkeley @@ -122,7 +122,7 @@ DnMAILER-DAEMON CPREDIRECT # Configuration version number -DZ8.14.3 +DZ8.14.4 ############### @@ -448,6 +448,7 @@ O OperatorChars=.:%@!^/[]+ # once the threshold number of recipients have been rejected #O BadRcptThrottle=0 + # shall we get local names from our installed interfaces? #O DontProbeInterfaces=False @@ -508,6 +509,7 @@ O MaxHeadersLength=32768 # SMTP STARTTLS server options #O TLSSrvOptions + # Input mail filters #O InputMailFilters diff --git a/cf/cf/generic-sunos4.1.cf b/cf/cf/generic-sunos4.1.cf index 534e482bfe85..b800e767f798 100644 --- a/cf/cf/generic-sunos4.1.cf +++ b/cf/cf/generic-sunos4.1.cf @@ -1,5 +1,5 @@ # -# Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -16,8 +16,8 @@ ##### ##### SENDMAIL CONFIGURATION FILE ##### -##### built by ca@wiz.smi.sendmail.com on Fri May 2 20:38:59 PDT 2008 -##### in /extra/home/ca/sm-8.14.3/OpenSource/sendmail-8.14.3/cf/cf +##### built by ca@wiz.smi.sendmail.com on Tue Dec 22 20:49:08 PST 2009 +##### in /extra/home/ca/sm-8.14.4/OpenSource/sendmail-8.14.4/cf/cf ##### using ../ as configuration include directory ##### ###################################################################### @@ -27,7 +27,7 @@ ###################################################################### ###################################################################### -##### $Id: cfhead.m4,v 8.116 2004/01/28 22:02:22 ca Exp $ ##### +##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ ##### ##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ ##### ##### $Id: generic-sunos4.1.mc,v 8.11 1999/02/07 07:26:03 gshapiro Exp $ ##### @@ -42,7 +42,7 @@ -##### $Id: proto.m4,v 8.734 2008/01/24 23:42:01 ca Exp $ ##### +##### $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ ##### # level 10 config file format V10/Berkeley @@ -123,7 +123,7 @@ DnMAILER-DAEMON CPREDIRECT # Configuration version number -DZ8.14.3 +DZ8.14.4 ############### @@ -449,6 +449,7 @@ O OperatorChars=.:%@!^/[]+ # once the threshold number of recipients have been rejected #O BadRcptThrottle=0 + # shall we get local names from our installed interfaces? #O DontProbeInterfaces=False @@ -509,6 +510,7 @@ O MaxHeadersLength=32768 # SMTP STARTTLS server options #O TLSSrvOptions + # Input mail filters #O InputMailFilters diff --git a/cf/cf/generic-ultrix4.cf b/cf/cf/generic-ultrix4.cf index d96d1f8f05d5..beab0a95a54b 100644 --- a/cf/cf/generic-ultrix4.cf +++ b/cf/cf/generic-ultrix4.cf @@ -1,5 +1,5 @@ # -# Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -16,8 +16,8 @@ ##### ##### SENDMAIL CONFIGURATION FILE ##### -##### built by ca@wiz.smi.sendmail.com on Fri May 2 20:38:59 PDT 2008 -##### in /extra/home/ca/sm-8.14.3/OpenSource/sendmail-8.14.3/cf/cf +##### built by ca@wiz.smi.sendmail.com on Tue Dec 22 20:49:09 PST 2009 +##### in /extra/home/ca/sm-8.14.4/OpenSource/sendmail-8.14.4/cf/cf ##### using ../ as configuration include directory ##### ###################################################################### @@ -27,7 +27,7 @@ ###################################################################### ###################################################################### -##### $Id: cfhead.m4,v 8.116 2004/01/28 22:02:22 ca Exp $ ##### +##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ ##### ##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ ##### ##### $Id: generic-ultrix4.mc,v 8.11 1999/02/07 07:26:03 gshapiro Exp $ ##### @@ -42,7 +42,7 @@ -##### $Id: proto.m4,v 8.734 2008/01/24 23:42:01 ca Exp $ ##### +##### $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ ##### # level 10 config file format V10/Berkeley @@ -123,7 +123,7 @@ DnMAILER-DAEMON CPREDIRECT # Configuration version number -DZ8.14.3 +DZ8.14.4 ############### @@ -449,6 +449,7 @@ O OperatorChars=.:%@!^/[]+ # once the threshold number of recipients have been rejected #O BadRcptThrottle=0 + # shall we get local names from our installed interfaces? #O DontProbeInterfaces=False @@ -509,6 +510,7 @@ O MaxHeadersLength=32768 # SMTP STARTTLS server options #O TLSSrvOptions + # Input mail filters #O InputMailFilters diff --git a/cf/cf/submit.cf b/cf/cf/submit.cf index 11f3820eaa3e..5286c681be03 100644 --- a/cf/cf/submit.cf +++ b/cf/cf/submit.cf @@ -1,5 +1,5 @@ # -# Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -16,8 +16,8 @@ ##### ##### SENDMAIL CONFIGURATION FILE ##### -##### built by ca@wiz.smi.sendmail.com on Fri May 2 20:39:00 PDT 2008 -##### in /extra/home/ca/sm-8.14.3/OpenSource/sendmail-8.14.3/cf/cf +##### built by ca@wiz.smi.sendmail.com on Tue Dec 22 20:49:09 PST 2009 +##### in /extra/home/ca/sm-8.14.4/OpenSource/sendmail-8.14.4/cf/cf ##### using ../ as configuration include directory ##### ###################################################################### @@ -27,7 +27,7 @@ ###################################################################### ###################################################################### -##### $Id: cfhead.m4,v 8.116 2004/01/28 22:02:22 ca Exp $ ##### +##### $Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $ ##### ##### $Id: cf.m4,v 8.32 1999/02/07 07:26:14 gshapiro Exp $ ##### ##### $Id: submit.mc,v 8.14 2006/04/05 05:54:41 ca Exp $ ##### ##### $Id: msp.m4,v 1.33 2004/02/09 22:32:38 ca Exp $ ##### @@ -35,7 +35,7 @@ ##### $Id: no_default_msa.m4,v 8.2 2001/02/14 05:03:22 gshapiro Exp $ ##### -##### $Id: proto.m4,v 8.734 2008/01/24 23:42:01 ca Exp $ ##### +##### $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $ ##### # level 10 config file format V10/Berkeley @@ -114,7 +114,7 @@ D{MTAHost}[127.0.0.1] # Configuration version number -DZ8.14.3/Submit +DZ8.14.4/Submit ############### @@ -440,6 +440,7 @@ O RunAsUser=smmsp # once the threshold number of recipients have been rejected #O BadRcptThrottle=0 + # shall we get local names from our installed interfaces? O DontProbeInterfaces=True @@ -500,6 +501,7 @@ O PidFile=/var/spool/clientmqueue/sm-client.pid # SMTP STARTTLS server options #O TLSSrvOptions + # Input mail filters #O InputMailFilters diff --git a/cf/feature/ldap_routing.m4 b/cf/feature/ldap_routing.m4 index a474f17fbe4a..227060c20e90 100644 --- a/cf/feature/ldap_routing.m4 +++ b/cf/feature/ldap_routing.m4 @@ -1,6 +1,6 @@ divert(-1) # -# Copyright (c) 1999-2002, 2004, 2007 Sendmail, Inc. and its suppliers. +# Copyright (c) 1999-2002, 2004, 2007, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # # By using this file, you agree to the terms and conditions set @@ -10,7 +10,7 @@ divert(-1) # divert(0) -VERSIONID(`$Id: ldap_routing.m4,v 8.15 2007/05/01 17:38:25 ca Exp $') +VERSIONID(`$Id: ldap_routing.m4,v 8.17 2009/06/26 21:11:08 ca Exp $') divert(-1) # Check first two arguments. If they aren't set, may need to warn in proto.m4 @@ -35,12 +35,40 @@ ifelse(len(X`'_ARG6_), `1', `define(`_LDAP_ROUTE_MAPTEMP_', `_QUEUE_')', _ARG6_, `tempfail', `define(`_LDAP_ROUTE_MAPTEMP_', `_TEMPFAIL_')', _ARG6_, `queue', `define(`_LDAP_ROUTE_MAPTEMP_', `_QUEUE_')') +define(`_ATMPF_', `')dnl +dnl check whether arg contains -T`'_ATMPF_ +dnl unless it is a sequence map or just LDAP +dnl note: this does not work if ARG1 begins with space(s), however, as +dnl we issue a warning, hopefully the user will fix it... +ifelse(defn(`_ARG1_'), `', `', + defn(`_ARG1_'), `LDAP', `', + `ifelse(index(_ARG1_, `sequence '), `0', `', + `ifelse(index(_ARG1_, _ATMPF_), `-1', + `errprint(`*** WARNING: missing -T'_ATMPF_` in first argument of FEATURE(`ldap_routing') +') + define(`_ABP_', index(_ARG1_, ` ')) + define(`_NARG1_', `substr(_ARG1_, 0, _ABP_) -T'_ATMPF_` substr(_ARG1_, _ABP_)') + ') + ') + ') +ifelse(defn(`_ARG2_'), `', `', + defn(`_ARG2_'), `LDAP', `', + `ifelse(index(_ARG2_, `sequence '), `0', `', + `ifelse(index(_ARG2_, _ATMPF_), `-1', + `errprint(`*** WARNING: missing -T'_ATMPF_` in second argument of FEATURE(`ldap_routing') +') + define(`_ABP_', index(_ARG2_, ` ')) + define(`_NARG2_', `substr(_ARG2_, 0, _ABP_) -T'_ATMPF_` substr(_ARG2_, _ABP_)') + ') + ') + ') + LOCAL_CONFIG # LDAP routing maps Kldapmh ifelse(len(X`'_ARG1_), `1', `ldap -1 -T -v mailHost -k (&(objectClass=inetLocalMailRecipient)(mailLocalAddress=%0))', - `_ARG1_') + defn(`_NARG1_'), `', `_ARG1_', `_NARG1_') Kldapmra ifelse(len(X`'_ARG2_), `1', `ldap -1 -T -v mailRoutingAddress -k (&(objectClass=inetLocalMailRecipient)(mailLocalAddress=%0))', - `_ARG2_') + defn(`_NARG2_'), `', `_ARG2_', `_NARG2_') diff --git a/cf/m4/cfhead.m4 b/cf/m4/cfhead.m4 index 9ccaa244887c..e3a7ea5afd4b 100644 --- a/cf/m4/cfhead.m4 +++ b/cf/m4/cfhead.m4 @@ -1,5 +1,5 @@ # -# Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2004, 2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -48,7 +48,7 @@ define(`OSTYPE', define(`_ARG_', $2) include(_CF_DIR_`'ostype/$1.m4)POPDIVERT`'') ## helpful functions -define(`lower', `translit(`$1', `ABCDEFGHIJKLMNOPQRSTUVWXYZ', `abcdefghijklmnopqrstuvwx')') +define(`lower', `translit(`$1', `ABCDEFGHIJKLMNOPQRSTUVWXYZ', `abcdefghijklmnopqrstuvwxyz')') define(`strcasecmp', `ifelse(lower($1), lower($2), `1', `0')') ## access to further arguments in FEATURE/HACK define(`_ACC_ARG_1_',`$1') @@ -306,4 +306,4 @@ define(`confMILTER_MACROS_EOM', `{msg_id}') divert(0)dnl -VERSIONID(`$Id: cfhead.m4,v 8.116 2004/01/28 22:02:22 ca Exp $') +VERSIONID(`$Id: cfhead.m4,v 8.120 2009/01/23 22:39:21 ca Exp $') diff --git a/cf/m4/proto.m4 b/cf/m4/proto.m4 index 4e314b3e41b9..c021581c3777 100644 --- a/cf/m4/proto.m4 +++ b/cf/m4/proto.m4 @@ -1,6 +1,6 @@ divert(-1) # -# Copyright (c) 1998-2007 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983, 1995 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -13,7 +13,7 @@ divert(-1) # divert(0) -VERSIONID(`$Id: proto.m4,v 8.734 2008/01/24 23:42:01 ca Exp $') +VERSIONID(`$Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $') # level CF_LEVEL config file format V`'CF_LEVEL/ifdef(`VENDOR_NAME', `VENDOR_NAME', `Berkeley') @@ -580,6 +580,7 @@ _OPTION(MaxRecipientsPerMessage, `confMAX_RCPTS_PER_MESSAGE', `0') # once the threshold number of recipients have been rejected _OPTION(BadRcptThrottle, `confBAD_RCPT_THROTTLE', `0') + # shall we get local names from our installed interfaces? _OPTION(DontProbeInterfaces, `confDONT_PROBE_INTERFACES', `False') @@ -640,6 +641,7 @@ _OPTION(AuthMaxBits, `confAUTH_MAX_BITS', `') # SMTP STARTTLS server options _OPTION(TLSSrvOptions, `confTLS_SRV_OPTIONS', `') + # Input mail filters _OPTION(InputMailFilters, `confINPUT_MAIL_FILTERS', `') @@ -1509,7 +1511,9 @@ ifdef(`_LDAP_ROUTE_DETAIL_', # try without +detail R<> <> <$+> <$+ + $* @ $+> <> $@ $>LDAPExpand <$1> <$2 @ $4> <+$3>')dnl -ifdef(`_LDAP_ROUTE_NODOMAIN_', `dnl', ` +ifdef(`_LDAP_ROUTE_NODOMAIN_', ` +# pretend we did the @domain lookup +R<> <> <$+> <$+ @ $+> <$*> $: <> <> <$1> <@ $3> <$4>', ` # if still no mailRoutingAddress and no mailHost, # try @domain ifelse(_LDAP_ROUTE_DETAIL_, `_PRESERVE_', `dnl @@ -2139,7 +2143,10 @@ R$+ < @ $=w > $@ RELAY ifdef(`_RELAY_HOSTS_ONLY_', `R$+ < @ $=R > $@ RELAY ifdef(`_ACCESS_TABLE_', `dnl -R$+ < @ $+ > $: <$(access To:$2 $: ? $)> <$1 < @ $2 >> +ifdef(`_RELAY_FULL_ADDR_', `dnl +R$+ < @ $+ > $: <$(access To:$1@$2 $: ? $)> <$1 < @ $2 >> +R <$+ < @ $+ >> $: <$(access To:$2 $: ? $)> <$1 < @ $2 >>',` +R$+ < @ $+ > $: <$(access To:$2 $: ? $)> <$1 < @ $2 >>') dnl workspace: > R <$+ < @ $+ >> $: <$(access $2 $: ? $)> <$1 < @ $2 >>',`dnl')', `R$+ < @ $* $=R > $@ RELAY @@ -2691,7 +2698,7 @@ R$* $#$* $#$2 R$* $* $: $1', `dnl') ifdef(`_ACCESS_TABLE_', `dnl dnl store name of other side -R$* $: $(macro {TLS_Name} $@ $&{server_name} $) $1 +R$* $: $(macro {TLS_Name} $@ $&{client_name} $) $1 dnl ignore second arg for now dnl maybe use it to distinguish permanent/temporary error? dnl if MAIL: permanent (STARTTLS has not been offered) diff --git a/cf/m4/version.m4 b/cf/m4/version.m4 index bd722ac3a89b..5ad5ffb90249 100644 --- a/cf/m4/version.m4 +++ b/cf/m4/version.m4 @@ -1,6 +1,6 @@ divert(-1) # -# Copyright (c) 1998-2008 Sendmail, Inc. and its suppliers. +# Copyright (c) 1998-2009 Sendmail, Inc. and its suppliers. # All rights reserved. # Copyright (c) 1983 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 @@ -11,8 +11,8 @@ divert(-1) # the sendmail distribution. # # -VERSIONID(`$Id: version.m4,v 8.195 2008/04/17 17:04:30 ca Exp $') +VERSIONID(`$Id: version.m4,v 8.205 2009/12/23 04:43:09 ca Exp $') # divert(0) # Configuration version number -DZ8.14.3`'ifdef(`confCF_VERSION', `/confCF_VERSION') +DZ8.14.4`'ifdef(`confCF_VERSION', `/confCF_VERSION') diff --git a/contrib/qtool.pl b/contrib/qtool.pl index d6a63ec17eba..f2d33c27b4ad 100755 --- a/contrib/qtool.pl +++ b/contrib/qtool.pl @@ -3,7 +3,7 @@ ## Copyright (c) 1998-2002 Sendmail, Inc. and its suppliers. ## All rights reserved. ## -## $Id: qtool.pl,v 8.29 2007/02/16 01:12:08 ca Exp $ +## $Id: qtool.pl,v 8.30 2009/03/04 16:57:30 ca Exp $ ## use strict; use File::Basename; @@ -450,7 +450,7 @@ sub unlock_file ## ## Parameters: ## src_name -- The name of the file to be move. -## dst_nome -- The name of the place to move it to. +## dst_name -- The name of the place to move it to. ## ## Returns: ## error_string -- If undef then no problem. Otherwise it is a @@ -1193,7 +1193,7 @@ sub bounce ## ## This Condition Class checks the modification time of the ## source file and returns true if the file's modification time is -## older than the number of seconds the class was initialzed with. +## older than the number of seconds the class was initialized with. ## package OlderThan; @@ -1286,7 +1286,7 @@ sub check_move ## Eval ## ## Takes a perl expression and evaluates it. The ControlFile object -## for the source QueuedMessage is avaliable through the name '$msg'. +## for the source QueuedMessage is available through the name '$msg'. ## package Eval; diff --git a/contrib/smcontrol.pl b/contrib/smcontrol.pl index 4987460e4d4e..43ae5759132c 100755 --- a/contrib/smcontrol.pl +++ b/contrib/smcontrol.pl @@ -1,4 +1,6 @@ -#!/usr/local/bin/perl -w +#!/usr/bin/perl -w + +# $Id: smcontrol.pl,v 8.8 2008/07/21 21:31:43 ca Exp $ use strict; use Getopt::Std; diff --git a/devtools/M4/switch.m4 b/devtools/M4/switch.m4 index e95afdf43bb0..e63cb17a9f61 100644 --- a/devtools/M4/switch.m4 +++ b/devtools/M4/switch.m4 @@ -10,7 +10,7 @@ divert(-1) # # Definitions for Makefile construction for sendmail # -# $Id: switch.m4,v 8.16 2000/04/06 18:45:22 peterh Exp $ +# $Id: switch.m4,v 8.17 2008/08/06 22:41:33 guenther Exp $ # divert(0)dnl include(confBUILDTOOLSDIR`/M4/string.m4')dnl @@ -46,7 +46,7 @@ define(`bldPUSH_STRIP_TARGET', define(`bldPRODUCT_START', `define(`bldCURRENT_PRODUCT', `$2')dnl -define(`bldCURRENT_PRD', translit(`$2', `.', `_'))dnl +define(`bldCURRENT_PRD', translit(`$2', `-.', `__'))dnl define(`bldPRODUCT_TYPE', `$1')dnl' )dnl diff --git a/devtools/OS/Linux b/devtools/OS/Linux index 52418c8473aa..119b6f9f830f 100644 --- a/devtools/OS/Linux +++ b/devtools/OS/Linux @@ -1,9 +1,10 @@ -# $Id: Linux,v 8.30 2002/03/21 23:59:25 gshapiro Exp $ +# $Id: Linux,v 8.31 2009/01/22 02:15:42 guenther Exp $ dnl DO NOT EDIT THIS FILE. dnl Place personal settings in devtools/Site/site.config.m4 define(`confDEPEND_TYPE', `CC-M') +define(`confCCOPTS_SO', `-fPIC') define(`confSM_OS_HEADER', `sm_os_linux') define(`confMANROOT', `/usr/man/man') define(`confLIBS', `-ldl') diff --git a/devtools/OS/OpenBSD b/devtools/OS/OpenBSD index 07bec0fd2f52..5b28c017c950 100644 --- a/devtools/OS/OpenBSD +++ b/devtools/OS/OpenBSD @@ -1,4 +1,4 @@ -# $Id: OpenBSD,v 8.20 2002/03/21 23:59:25 gshapiro Exp $ +# $Id: OpenBSD,v 8.21 2008/08/06 23:41:44 guenther Exp $ dnl DO NOT EDIT THIS FILE. dnl Place personal settings in devtools/Site/site.config.m4 @@ -8,7 +8,32 @@ define(`confLDOPTS_SO', `-shared') define(`confCCOPTS_SO', `-fPIC') define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX') -define(`confENVDEF', ` -DNETISO -DFAST_PID_RECYCLE') +define(`confENVDEF', ` -DFAST_PID_RECYCLE') define(`confSM_OS_HEADER', `sm_os_openbsd') define(`confMTCCOPTS', `-pthread') define(`confMTLDOPTS', `-pthread') + +ifelse(confBLDVARIANT, `DEBUG', +dnl Debug build +` + define(`confOPTIMIZE',`-g') +', +dnl Optimized build +confBLDVARIANT, `OPTIMIZED', +` + define(`confOPTIMIZE',`-O') +', +dnl Purify build +confBLDVARIANT, `PURIFY', +` + define(`confOPTIMIZE',`-g') +', +dnl default +` + define(`confOPTIMIZE',`-O') +') +define(`USE_ICONV',` + APPENDDEF(`confLIBS',`-liconv ')dnl + APPENDDEF(`confLIBDIRS',`-L/usr/local/lib ')dnl + APPENDDEF(`confINCDIRS',`-I/usr/local/include ')dnl +')dnl diff --git a/devtools/OS/SunOS.5.11 b/devtools/OS/SunOS.5.11 index 0001caab178c..d383aeaa1916 100644 --- a/devtools/OS/SunOS.5.11 +++ b/devtools/OS/SunOS.5.11 @@ -1,4 +1,4 @@ -# $Id: SunOS.5.11,v 1.1 2005/06/20 23:52:31 ca Exp $ +# $Id: SunOS.5.11,v 1.2 2009/10/13 21:46:01 ca Exp $ dnl DO NOT EDIT THIS FILE. dnl Place personal settings in devtools/Site/site.config.m4 @@ -6,7 +6,7 @@ dnl Place personal settings in devtools/Site/site.config.m4 define(`confCC', `gcc') define(`confLDOPTS_SO', `-G') define(`confBEFORE', `sysexits.h') -define(`confMAPDEF', `-DNDBM -DNIS -DNISPLUS -DMAP_REGEX') +define(`confMAPDEF', `-DNDBM -DNIS -DMAP_REGEX') define(`confENVDEF', `-DSOLARIS=21100 -DNETINET6') define(`confSM_OS_HEADER', `sm_os_sunos') define(`confLIBS', `-lsocket -lnsl') diff --git a/devtools/README b/devtools/README index 69be72b6a335..b7a0a83a179f 100644 --- a/devtools/README +++ b/devtools/README @@ -86,7 +86,7 @@ confBUILDBIN ../../devtools/bin The location of the build support directory. confCC cc The C compiler to use. confCCOPTS [empty] Additional options to pass to confCC. -*confCCOPTS_SO -fPIC Additional options for compiling +*confCCOPTS_SO [empty] Additional options for compiling shared object libraries. confCCLINK confCC Linker to use (for executables). confCOPY cp A program that copies files. @@ -129,7 +129,7 @@ confINSTALL install The BSD-compatible install program. confINSTALL_RAWMAN [undefined] Install the unformatted manual pages. *confLD confCC Linker to use (for libraries). confLDOPTS [empty] Linker options. -*confLDOPTS_SO -shared -Wl Additional linker options for +*confLDOPTS_SO [empty] Additional linker options for linking shared object libraries. confLIBDIR /usr/lib Where to install library files. confLIBDIRS [empty] -L flags passed to ld. @@ -395,4 +395,4 @@ files that make up the library. bldINSTALLABLE - This should be set if the library should be installed in confLIBDIR. -$Revision: 8.102 $, Last updated $Date: 2008/02/12 16:40:05 $ +$Revision: 8.103 $, Last updated $Date: 2009/01/22 02:15:07 $ diff --git a/doc/op/op.me b/doc/op/op.me index 74c2d6679a41..be0781024366 100644 --- a/doc/op/op.me +++ b/doc/op/op.me @@ -9,7 +9,7 @@ .\" the sendmail distribution. .\" .\" -.\" $Id: op.me,v 8.741 2007/06/22 23:08:59 ca Exp $ +.\" $Id: op.me,v 8.745 2009/12/13 04:12:46 ca Exp $ .\" .\" eqn op.me | pic | troff -me .\" @@ -90,13 +90,14 @@ Sendmail, Inc. .de Ve Version \\$2 .. -.Ve $Revision: 8.741 $ +.Ve $Revision: 8.745 $ .rm Ve .sp For Sendmail Version 8.14 .)l .(f Sendmail is a trademark of Sendmail, Inc. +US Patent Numbers 6865671, 6986037. .)f .sp 2 .pp @@ -4952,9 +4953,21 @@ as "(may be forged)". .ip ${cn_issuer} The CN (common name) of the CA that signed the presented certificate (STARTTLS only). +Note: if the CN cannot be extracted properly it will be replaced by +one of these strings based on the encountered error: +.(b +.ta 25n +BadCertificateContainsNUL CN contains a NUL character +BadCertificateTooLong CN is too long +BadCertificateUnknown CN could not be extracted +.)b +In the last case, some other (unspecific) error occurred. .ip ${cn_subject} The CN (common name) of the presented certificate (STARTTLS only). +See +.b ${cn_issuer} +for possible replacements. .ip ${currHeader} Header value as quoted string (possibly truncated to @@ -5130,7 +5143,7 @@ The total number of incoming connections over the time interval specified by ConnectionRateWindowSize. .ip ${verify} The result of the verification of the presented cert; -only defined after STARTTLS has been used. +only defined after STARTTLS has been used (or attempted). Possible values are: .(b .ta 13n @@ -6710,10 +6723,25 @@ CRL checking requires at least OpenSSL version 0.9.7. Note: if a CRLFile is specified but the file is unusable, STARTTLS is disabled. .ip DHParameters -File with DH parameters for STARTTLS. +Possible values are: +.(b +.ta 1i +5 use 512 bit prime +1 use 1024 bit prime +none do not use Diffie-Hellman +NAME load prime from file +.)b This is only required if a ciphersuite containing DSA/DH is used. -This is only for people with a good knowledge of TLS, all others -can ignore this option. +If ``5'' is selected, then precomputed, fixed primes are used. +This is the default for the client side. +If ``1'' is selected, then prime values are computed during startup. +This is the default for the server side. +Note: this operation can take a significant amount of time on a +slow machine (several seconds), but it is only done once at startup. +If ``none'' is selected, then TLS ciphersuites containing DSA/DH +cannot be used. +If a file name is specified (which must be an absolute path), +then the primes are read from it. .ip DaemonPortOptions=\fIoptions\fP [O] Set server SMTP options. @@ -11435,7 +11463,7 @@ replace it with a blank sheet for double-sided output. .\".sz 10 .\"Eric Allman .\".sp -.\"Version $Revision: 8.741 $ +.\"Version $Revision: 8.745 $ .\".ce 0 .bp 3 .ce diff --git a/doc/op/op.ps b/doc/op/op.ps index 4e5ceab89e86..0962b2628b3d 100644 --- a/doc/op/op.ps +++ b/doc/op/op.ps @@ -1,12 +1,12 @@ %!PS-Adobe-3.0 %%Creator: groff version 1.19 -%%CreationDate: Fri May 2 20:38:42 2008 +%%CreationDate: Tue Dec 22 20:48:52 2009 %%DocumentNeededResources: font Times-Bold %%+ font Times-Roman %%+ font Times-Italic %%+ font Symbol %%DocumentSuppliedResources: procset grops 1.19 0 -%%Pages: 108 +%%Pages: 110 %%PageOrder: Ascend %%DocumentMedia: Default 612 792 0 () () %%Orientation: Portrait @@ -234,7 +234,7 @@ BP (TION AND OPERA)-1.14 E(TION GUIDE)-1.14 E/F3 10/Times-Roman@0 SF (Eric Allman)263.42 196.2 Q(Claus Assmann)256.75 208.2 Q(Gre)244.75 220.2 Q(gory Neil Shapiro)-.15 E(Sendmail, Inc.)258.975 232.2 Q -1.11 -(Ve)260.225 256.2 S(rsion 8.741)1.11 E -.15(Fo)234.465 280.2 S 2.5(rS) +(Ve)260.225 256.2 S(rsion 8.745)1.11 E -.15(Fo)234.465 280.2 S 2.5(rS) .15 G(endmail V)-2.5 E(ersion 8.14)-1.11 E/F4 10/Times-Italic@0 SF (Sendmail)97 324.6 Q/F5 8/Times-Roman@0 SF(TM)-5 I F3 .1 (implements a general purpose internetw)2.6 5 N .1(ork mail routing f) @@ -312,7 +312,8 @@ DL 128 675 124 675 DL 132 675 128 675 DL 136 675 132 675 DL 140 675 136 DL 204 675 200 675 DL 208 675 204 675 DL 212 675 208 675 DL 216 675 212 675 DL/F6 8/Times-Bold@0 SF(DISCLAIMER:)93.6 687 Q F5 (This documentation is under modi\214cation.)2 E -(Sendmail is a trademark of Sendmail, Inc.)93.6 699 Q F1 +(Sendmail is a trademark of Sendmail, Inc.)93.6 699 Q(US P)4 E +(atent Numbers 6865671, 6986037.)-.12 E F1 (Sendmail Installation and Operation Guide)72 756 Q(SMM:08-1)200.86 E 0 Cg EP %%Page: 2 2 @@ -4293,310 +4294,290 @@ F0(${client_name})2.5 E F1 5(.P)C(ossible v)-5 E(alues are:)-.25 E 33.06 127 240.6 R 3.282(ged. This)-.18 F .782(is re\215ected as)3.282 F(the v) 127 252.6 Q(alue FORGED for)-.25 E F0(${client_r)2.5 E(esolv)-.18 E(e}) -.1 E F1(and it also sho)2.5 E(ws up in)-.25 E F0($_)2.5 E F1 -(as "\(may be for)2.5 E(ged\)".)-.18 E(${cn_issuer})102 268.8 Q(The CN \ -\(common name\) of the CA that signed the presented certi\214cate \(ST) -127 280.8 Q(AR)-.93 E(TTLS only\).)-.6 E(${cn_subject})102 297 Q -(The CN \(common name\) of the presented certi\214cate \(ST)127 309 Q -(AR)-.93 E(TTLS only\).)-.6 E(${currHeader})102 325.2 Q .164(Header v) -127 337.2 R .164(alue as quoted string \(possibly truncated to)-.25 F F0 -(MAXN)2.664 E(AME)-.2 E F1 2.664(\). This)B .163(macro is only a)2.664 F --.25(va)-.2 G(il-).25 E(able in header check rulesets.)127 349.2 Q -(${daemon_addr})102 365.4 Q -(The IP address the daemon is listening on for connections.)127 377.4 Q -(${daemon_f)102 393.6 Q(amily})-.1 E .355(The netw)127 405.6 R .355 -(ork f)-.1 F .356(amily if the daemon is accepting netw)-.1 F .356 -(ork connections.)-.1 F .356(Possible v)5.356 F .356(alues include)-.25 +(as "\(may be for)2.5 E(ged\)".)-.18 E(${cn_issuer})102 268.8 Q .874(Th\ +e CN \(common name\) of the CA that signed the presented certi\214cate \ +\(ST)127 280.8 R(AR)-.93 E .873(TTLS only\).)-.6 F .376 +(Note: if the CN cannot be e)127 292.8 R .376 +(xtracted properly it will be replaced by one of these strings based) +-.15 F(on the encountered error:)127 304.8 Q 8.62 +(BadCerti\214cateContainsNUL CN)167 321 R(contains a NUL character)2.5 E +(BadCerti\214cateT)167 333 Q 28.31(ooLong CN)-.8 F(is too long)2.5 E +(BadCerti\214cateUnkno)167 345 Q 25.54(wn CN)-.25 F(could not be e)2.5 E +(xtracted)-.15 E +(In the last case, some other \(unspeci\214c\) error occurred.)127 361.2 +Q(${cn_subject})102 377.4 Q 1.251 +(The CN \(common name\) of the presented certi\214cate \(ST)127 389.4 R +(AR)-.93 E 1.251(TTLS only\).)-.6 F(See)6.251 E F0(${cn_issuer})3.75 E +F1(for possible replacements.)127 401.4 Q(${currHeader})102 417.6 Q .163 +(Header v)127 429.6 R .164 +(alue as quoted string \(possibly truncated to)-.25 F F0(MAXN)2.664 E +(AME)-.2 E F1 2.664(\). This)B .164(macro is only a)2.664 F -.25(va)-.2 +G(il-).25 E(able in header check rulesets.)127 441.6 Q(${daemon_addr}) +102 457.8 Q(The IP address the daemon is listening on for connections.) +127 469.8 Q(${daemon_f)102 486 Q(amily})-.1 E .356(The netw)127 498 R +.356(ork f)-.1 F .356(amily if the daemon is accepting netw)-.1 F .356 +(ork connections.)-.1 F .355(Possible v)5.356 F .355(alues include)-.25 F(\231inet\232, \231inet6\232, \231iso\232, \231ns\232, \231x.25\232)127 -417.6 Q(${daemon_\215ags})102 433.8 Q .103 +510 Q(${daemon_\215ags})102 526.2 Q .103 (The \215ags for the daemon as speci\214ed by the Modi\214er= part of) -127 445.8 R F0(DaemonP)2.603 E(ortOptions)-.2 E F1(whereby)2.603 E .548 +127 538.2 R F0(DaemonP)2.603 E(ortOptions)-.2 E F1(whereby)2.604 E .548 (the \215ags are separated from each other by spaces, and upper case \ -\215ags are doubled.)127 457.8 R .549(That is,)5.549 F .37 -(Modi\214er=Ea will be represented as "EE a" in)127 469.8 R F0 +\215ags are doubled.)127 550.2 R .548(That is,)5.548 F .37 +(Modi\214er=Ea will be represented as "EE a" in)127 562.2 R F0 (${daemon_\215ags})2.87 E F1 2.87(,w)C .37(hich is required for testing) --2.87 F(the \215ags in rulesets.)127 481.8 Q(${daemon_info})102 498 Q -4.763(Some information about a daemon as a te)127 510 R 4.764 -(xt string.)-.15 F -.15(Fo)9.764 G 7.264(re).15 G 4.764 -(xample, \231SMTP+queue-)-7.414 F(ing@00:30:00\232.)127 522 Q -(${daemon_name})102 538.2 Q .734(The name of the daemon from)127 550.2 R +-2.87 F(the \215ags in rulesets.)127 574.2 Q(${daemon_info})102 590.4 Q +4.764(Some information about a daemon as a te)127 602.4 R 4.763 +(xt string.)-.15 F -.15(Fo)9.763 G 7.263(re).15 G 4.763 +(xample, \231SMTP+queue-)-7.413 F(ing@00:30:00\232.)127 614.4 Q +(${daemon_name})102 630.6 Q .734(The name of the daemon from)127 642.6 R F0(DaemonP)3.234 E(ortOptions)-.2 E F1 .734(Name= suboption.)3.234 F -.734(If this suboption is)5.734 F -(not set, "Daemon#", where # is the daemon number)127 562.2 Q 2.5(,i)-.4 -G 2.5(su)-2.5 G(sed.)-2.5 E(${daemon_port})102 578.4 Q 1.459 -(The port the daemon is accepting connection on.)127 590.4 R(Unless) -6.459 E F0(DaemonP)3.959 E(ortOptions)-.2 E F1 1.46(is set, this)3.959 F -(will most lik)127 602.4 Q(ely be \23125\232.)-.1 E(${deli)102 618.6 Q --.15(ve)-.25 G(ryMode}).15 E .806(The current deli)127 630.6 R -.15(ve) --.25 G .806(ry mode sendmail is using.).15 F .806 -(It is initially set to the v)5.806 F .805(alue of the)-.25 F F0(Deli) -3.305 E -.1(ve)-.1 G(ry-).1 E(Mode)127 642.6 Q F1(option.)2.5 E(${en)102 -658.8 Q(vid})-.4 E(The en)127 670.8 Q -.15(ve)-.4 G -(lope id parameter \(ENVID=\) passed to sendmail as part of the en).15 E --.15(ve)-.4 G(lope.).15 E(${hdrlen})102 687 Q .339 -(The length of the header v)127 699 R .339 -(alue which is stored in ${currHeader} \(before possible truncation\).) --.25 F(If this v)127 711 Q(alue is greater than or equal to)-.25 E F0 -(MAXN)2.5 E(AME)-.2 E F1(the header has been truncated.)2.5 E 0 Cg EP +.735(If this suboption is)5.734 F +(not set, "Daemon#", where # is the daemon number)127 654.6 Q 2.5(,i)-.4 +G 2.5(su)-2.5 G(sed.)-2.5 E(${daemon_port})102 670.8 Q 1.459 +(The port the daemon is accepting connection on.)127 682.8 R(Unless) +6.459 E F0(DaemonP)3.959 E(ortOptions)-.2 E F1 1.459(is set, this)3.959 +F(will most lik)127 694.8 Q(ely be \23125\232.)-.1 E(${deli)102 711 Q +-.15(ve)-.25 G(ryMode}).15 E 3.641(The current deli)127 723 R -.15(ve) +-.25 G 3.641(ry mode sendmail is using.).15 F 3.641 +(It is initially set to the v)8.641 F 3.642(alue of the)-.25 F 0 Cg EP %%Page: 50 46 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 193.36(SMM:08-50 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF -(${hdr_name})102 96 Q .167(The name of the header \214eld for which the\ - current header check ruleset has been called.)127 108 R(This)5.166 E -.831(is useful for a def)127 120 R .832(ault header check ruleset to ge\ -t the name of the header; the macro is only)-.1 F -.2(av)127 132 S -(ailable in header check rulesets.)-.05 E(${if_addr})102 148.2 Q 1.194 -(The IP address of the interf)127 160.2 R 1.194 +(Installation and Operation Guide)2.5 E(Deli)127 96 Q -.1(ve)-.1 G +(ryMode).1 E/F1 10/Times-Roman@0 SF(option.)2.5 E(${en)102 112.2 Q(vid}) +-.4 E(The en)127 124.2 Q -.15(ve)-.4 G +(lope id parameter \(ENVID=\) passed to sendmail as part of the en).15 E +-.15(ve)-.4 G(lope.).15 E(${hdrlen})102 140.4 Q .34 +(The length of the header v)127 152.4 R .339 +(alue which is stored in ${currHeader} \(before possible truncation\).) +-.25 F(If this v)127 164.4 Q(alue is greater than or equal to)-.25 E F0 +(MAXN)2.5 E(AME)-.2 E F1(the header has been truncated.)2.5 E +(${hdr_name})102 180.6 Q .167(The name of the header \214eld for which \ +the current header check ruleset has been called.)127 192.6 R(This)5.167 +E .832(is useful for a def)127 204.6 R .832(ault header check ruleset t\ +o get the name of the header; the macro is only)-.1 F -.2(av)127 216.6 S +(ailable in header check rulesets.)-.05 E(${if_addr})102 232.8 Q 1.193 +(The IP address of the interf)127 244.8 R 1.194 (ace of an incoming connection unless it is in the loopback net.)-.1 F -(IPv6 addresses are tagged with "IPv6:" before the address.)127 172.2 Q -(${if_addr_out})102 188.4 Q 1.332(The IP address of the interf)127 200.4 -R 1.333(ace of an outgoing connection unless it is in the loopback net.) --.1 F(IPv6 addresses are tagged with "IPv6:" before the address.)127 -212.4 Q(${if_f)102 228.6 Q(amily})-.1 E(The IP f)127 240.6 Q +(IPv6 addresses are tagged with "IPv6:" before the address.)127 256.8 Q +(${if_addr_out})102 273 Q 1.333(The IP address of the interf)127 285 R +1.332(ace of an outgoing connection unless it is in the loopback net.) +-.1 F(IPv6 addresses are tagged with "IPv6:" before the address.)127 297 +Q(${if_f)102 313.2 Q(amily})-.1 E(The IP f)127 325.2 Q (amily of the interf)-.1 E (ace of an incoming connection unless it is in the loopback net.)-.1 E -(${if_f)102 256.8 Q(amily_out})-.1 E(The IP f)127 268.8 Q +(${if_f)102 341.4 Q(amily_out})-.1 E(The IP f)127 353.4 Q (amily of the interf)-.1 E (ace of an outgoing connection unless it is in the loopback net.)-.1 E -(${if_name})102 285 Q 1.086(The hostname associated with the interf)127 -297 R 1.086(ace of an incoming connection.)-.1 F 1.086 +(${if_name})102 369.6 Q 1.086(The hostname associated with the interf) +127 381.6 R 1.086(ace of an incoming connection.)-.1 F 1.087 (This macro can be)6.086 F(used for SmtpGreetingMessage and HRecei)127 -309 Q -.15(ve)-.25 G 2.5(df).15 G(or virtual hosting.)-2.5 E -.15(Fo)5 G -2.5(re).15 G(xample:)-2.65 E 2.5(OS)167 325.2 S +393.6 Q -.15(ve)-.25 G 2.5(df).15 G(or virtual hosting.)-2.5 E -.15(Fo)5 +G 2.5(re).15 G(xample:)-2.65 E 2.5(OS)167 409.8 S (mtpGreetingMessage=$?{if_name}${if_name}$|$j$. MT)-2.5 E(A)-.93 E -(${if_name_out})102 345.6 Q(The name of the interf)127 357.6 Q -(ace of an outgoing connection.)-.1 E(${load_a)102 373.8 Q(vg})-.2 E -(The current load a)127 385.8 Q -.15(ve)-.2 G(rage.).15 E(${mail_addr}) -102 402 Q 1.239(The address part of the resolv)127 414 R 1.239 +(${if_name_out})102 430.2 Q(The name of the interf)127 442.2 Q +(ace of an outgoing connection.)-.1 E(${load_a)102 458.4 Q(vg})-.2 E +(The current load a)127 470.4 Q -.15(ve)-.2 G(rage.).15 E(${mail_addr}) +102 486.6 Q 1.239(The address part of the resolv)127 498.6 R 1.239 (ed triple of the address gi)-.15 F -.15(ve)-.25 G 3.739(nf).15 G 1.239 -(or the)-3.739 F/F2 9/Times-Roman@0 SF 1.24(SMTP MAIL)3.739 F F1 -(command.)3.74 E(De\214ned in the SMTP serv)127 426 Q(er only)-.15 E(.) --.65 E(${mail_host})102 442.2 Q .146(The host from the resolv)127 454.2 -R .146(ed triple of the address gi)-.15 F -.15(ve)-.25 G 2.646(nf).15 G -.146(or the)-2.646 F F2 .145(SMTP MAIL)2.646 F F1 2.645 -(command. De\214ned)2.645 F(in the SMTP serv)127 466.2 Q(er only)-.15 E -(.)-.65 E(${mail_mailer})102 482.4 Q 2.14(The mailer from the resolv)127 -494.4 R 2.14(ed triple of the address gi)-.15 F -.15(ve)-.25 G 4.641(nf) -.15 G 2.141(or the)-4.641 F F2 2.141(SMTP MAIL)4.641 F F1(command.)4.641 -E(De\214ned in the SMTP serv)127 506.4 Q(er only)-.15 E(.)-.65 E -(${msg_id})102 522.6 Q(The v)127 534.6 Q(alue of the Message-Id: header) --.25 E(.)-.55 E(${msg_size})102 550.8 Q 1.033(The v)127 562.8 R 1.033 -(alue of the SIZE= parameter)-.25 F 3.533(,i)-.4 G 1.032 -(.e., usually the size of the message \(in an ESMTP dia-)-3.533 F 1.252 +(or the)-3.739 F/F2 9/Times-Roman@0 SF 1.239(SMTP MAIL)3.739 F F1 +(command.)3.739 E(De\214ned in the SMTP serv)127 510.6 Q(er only)-.15 E +(.)-.65 E(${mail_host})102 526.8 Q .145(The host from the resolv)127 +538.8 R .146(ed triple of the address gi)-.15 F -.15(ve)-.25 G 2.646(nf) +.15 G .146(or the)-2.646 F F2 .146(SMTP MAIL)2.646 F F1 2.646 +(command. De\214ned)2.646 F(in the SMTP serv)127 550.8 Q(er only)-.15 E +(.)-.65 E(${mail_mailer})102 567 Q 2.141(The mailer from the resolv)127 +579 R 2.141(ed triple of the address gi)-.15 F -.15(ve)-.25 G 4.64(nf) +.15 G 2.14(or the)-4.64 F F2 2.14(SMTP MAIL)4.64 F F1(command.)4.64 E +(De\214ned in the SMTP serv)127 591 Q(er only)-.15 E(.)-.65 E(${msg_id}) +102 607.2 Q(The v)127 619.2 Q(alue of the Message-Id: header)-.25 E(.) +-.55 E(${msg_size})102 635.4 Q 1.032(The v)127 647.4 R 1.032 +(alue of the SIZE= parameter)-.25 F 3.532(,i)-.4 G 1.033 +(.e., usually the size of the message \(in an ESMTP dia-)-3.532 F 1.252 (logue\), before the message has been collected, thereafter the message\ - size as computed by)127 574.8 R/F3 10/Times-Italic@0 SF(sendmail)127 -586.8 Q F1(\(and can be used in check_compat\).)2.5 E(${nbadrcpts})102 -603 Q(The number of bad recipients for a single message.)127 615 Q -(${nrcpts})102 631.2 Q .049(The number of v)127 643.2 R .049 -(alidated recipients for a single message.)-.25 F .048 -(Note: since recipient v)5.048 F .048(alidation hap-)-.25 F .472 -(pens after)127 655.2 R F3 -.15(ch)2.973 G(ec).15 E(k_r)-.2 E(cpt)-.37 E -F1 .473(has been called, the v)2.973 F .473 -(alue in this ruleset is one less than what might be)-.25 F -.15(ex)127 -667.2 S(pected.).15 E(${ntries})102 683.4 Q(The number of deli)127 695.4 -Q -.15(ve)-.25 G(ry attempts.).15 E(${opMode})102 711.6 Q -(The current operation mode \(from the)127 723.6 Q F02.5 E F1 -(\215ag\).)2.5 E 0 Cg EP + size as computed by)127 659.4 R/F3 10/Times-Italic@0 SF(sendmail)127 +671.4 Q F1(\(and can be used in check_compat\).)2.5 E(${nbadrcpts})102 +687.6 Q(The number of bad recipients for a single message.)127 699.6 Q 0 +Cg EP %%Page: 51 47 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-51)195.86 E/F1 10/Times-Roman@0 SF(${quarantine})102 96 Q -(The quarantine reason for the en)127 108 Q -.15(ve)-.4 G -(lope, if it is quarantined.).15 E(${queue_interv)102 124.2 Q(al})-.25 E -.362(The queue run interv)127 136.2 R .362(al gi)-.25 F -.15(ve)-.25 G -2.862(nb).15 G 2.862(yt)-2.862 G(he)-2.862 E F02.861 E F1 2.861 -(\215ag. F)2.861 F .361(or e)-.15 F(xample,)-.15 E F0(\255q30m)2.861 E -F1 -.1(wo)2.861 G .361(uld set).1 F F0(${queue_inter)2.861 E(-)-.37 E --.1(va)127 148.2 S(l}).1 E F1(to \23100:30:00\232.)2.5 E(${rcpt_addr}) -102 164.4 Q 1.271(The address part of the resolv)127 176.4 R 1.272 -(ed triple of the address gi)-.15 F -.15(ve)-.25 G 3.772(nf).15 G 1.272 -(or the)-3.772 F/F2 9/Times-Roman@0 SF 1.272(SMTP RCPT)3.772 F F1 -(command.)3.772 E(De\214ned in the SMTP serv)127 188.4 Q -(er only after a RCPT command.)-.15 E(${rcpt_host})102 204.6 Q .179 -(The host from the resolv)127 216.6 R .178(ed triple of the address gi) --.15 F -.15(ve)-.25 G 2.678(nf).15 G .178(or the)-2.678 F F2 .178 -(SMTP RCPT)2.678 F F1 2.678(command. De\214ned)2.678 F(in the SMTP serv) -127 228.6 Q(er only after a RCPT command.)-.15 E(${rcpt_mailer})102 -244.8 Q 2.175(The mailer from the resolv)127 256.8 R 2.175 +(SMM:08-51)195.86 E/F1 10/Times-Roman@0 SF(${nrcpts})102 96 Q .048 +(The number of v)127 108 R .048 +(alidated recipients for a single message.)-.25 F .049 +(Note: since recipient v)5.049 F .049(alidation hap-)-.25 F .473 +(pens after)127 120 R/F2 10/Times-Italic@0 SF -.15(ch)2.973 G(ec).15 E +(k_r)-.2 E(cpt)-.37 E F1 .473(has been called, the v)2.973 F .473 +(alue in this ruleset is one less than what might be)-.25 F -.15(ex)127 +132 S(pected.).15 E(${ntries})102 148.2 Q(The number of deli)127 160.2 Q +-.15(ve)-.25 G(ry attempts.).15 E(${opMode})102 176.4 Q +(The current operation mode \(from the)127 188.4 Q F02.5 E F1 +(\215ag\).)2.5 E(${quarantine})102 204.6 Q +(The quarantine reason for the en)127 216.6 Q -.15(ve)-.4 G +(lope, if it is quarantined.).15 E(${queue_interv)102 232.8 Q(al})-.25 E +.361(The queue run interv)127 244.8 R .361(al gi)-.25 F -.15(ve)-.25 G +2.861(nb).15 G 2.861(yt)-2.861 G(he)-2.861 E F02.861 E F1 2.862 +(\215ag. F)2.861 F .362(or e)-.15 F(xample,)-.15 E F0(\255q30m)2.862 E +F1 -.1(wo)2.862 G .362(uld set).1 F F0(${queue_inter)2.862 E(-)-.37 E +-.1(va)127 256.8 S(l}).1 E F1(to \23100:30:00\232.)2.5 E(${rcpt_addr}) +102 273 Q 1.272(The address part of the resolv)127 285 R 1.272 +(ed triple of the address gi)-.15 F -.15(ve)-.25 G 3.771(nf).15 G 1.271 +(or the)-3.771 F/F3 9/Times-Roman@0 SF 1.271(SMTP RCPT)3.771 F F1 +(command.)3.771 E(De\214ned in the SMTP serv)127 297 Q +(er only after a RCPT command.)-.15 E(${rcpt_host})102 313.2 Q .178 +(The host from the resolv)127 325.2 R .178(ed triple of the address gi) +-.15 F -.15(ve)-.25 G 2.678(nf).15 G .178(or the)-2.678 F F3 .179 +(SMTP RCPT)2.678 F F1 2.679(command. De\214ned)2.679 F(in the SMTP serv) +127 337.2 Q(er only after a RCPT command.)-.15 E(${rcpt_mailer})102 +353.4 Q 2.176(The mailer from the resolv)127 365.4 R 2.175 (ed triple of the address gi)-.15 F -.15(ve)-.25 G 4.675(nf).15 G 2.175 -(or the)-4.675 F F2 2.176(SMTP RCPT)4.676 F F1(command.)4.676 E -(De\214ned in the SMTP serv)127 268.8 Q(er only after a RCPT command.) --.15 E(${serv)102 285 Q(er_addr})-.15 E .515(The address of the serv)127 -297 R .514(er of the current outgoing SMTP connection.)-.15 F -.15(Fo) -5.514 G 3.014(rL).15 G .514(MTP deli)-3.014 F -.15(ve)-.25 G .514 -(ry the).15 F(macro is set to the name of the mailer)127 309 Q(.)-.55 E -(${serv)102 325.2 Q(er_name})-.15 E(The name of the serv)127 337.2 Q +(or the)-4.675 F F3 2.175(SMTP RCPT)4.675 F F1(command.)4.675 E +(De\214ned in the SMTP serv)127 377.4 Q(er only after a RCPT command.) +-.15 E(${serv)102 393.6 Q(er_addr})-.15 E .514(The address of the serv) +127 405.6 R .514(er of the current outgoing SMTP connection.)-.15 F -.15 +(Fo)5.515 G 3.015(rL).15 G .515(MTP deli)-3.015 F -.15(ve)-.25 G .515 +(ry the).15 F(macro is set to the name of the mailer)127 417.6 Q(.)-.55 +E(${serv)102 433.8 Q(er_name})-.15 E(The name of the serv)127 445.8 Q (er of the current outgoing SMTP or LMTP connection.)-.15 E(${time})102 -353.4 Q .006(The output of the)127 365.4 R/F3 10/Times-Italic@0 SF(time) -2.506 E F1 .007(\(3\) function, i.e., the number of seconds since 0 hou\ -rs, 0 minutes, 0 sec-)B(onds, January 1, 1970, Coordinated Uni)127 377.4 -Q -.15(ve)-.25 G(rsal T).15 E(ime \(UTC\).)-.35 E(${tls_v)102 393.6 Q -(ersion})-.15 E 1.755(The TLS/SSL v)127 405.6 R 1.755(ersion used for t\ -he connection, e.g., TLSv1, SSLv3, SSLv2; de\214ned after)-.15 F(ST)127 -417.6 Q(AR)-.93 E(TTLS has been used.)-.6 E(${total_rate})102 433.8 Q -1.373(The total number of incoming connections o)127 445.8 R -.15(ve) --.15 G 3.873(rt).15 G 1.373(he time interv)-3.873 F 1.374 -(al speci\214ed by Connection-)-.25 F(RateW)127 457.8 Q(indo)-.4 E -(wSize.)-.25 E(${v)102 474 Q(erify})-.15 E 1.141(The result of the v)127 -486 R 1.141 +462 Q .007(The output of the)127 474 R F2(time)2.507 E F1 .006(\(3\) fu\ +nction, i.e., the number of seconds since 0 hours, 0 minutes, 0 sec-)B +(onds, January 1, 1970, Coordinated Uni)127 486 Q -.15(ve)-.25 G(rsal T) +.15 E(ime \(UTC\).)-.35 E(${tls_v)102 502.2 Q(ersion})-.15 E 1.755 +(The TLS/SSL v)127 514.2 R 1.755(ersion used for the connection, e.g., \ +TLSv1, SSLv3, SSLv2; de\214ned after)-.15 F(ST)127 526.2 Q(AR)-.93 E +(TTLS has been used.)-.6 E(${total_rate})102 542.4 Q 1.374 +(The total number of incoming connections o)127 554.4 R -.15(ve)-.15 G +3.873(rt).15 G 1.373(he time interv)-3.873 F 1.373 +(al speci\214ed by Connection-)-.25 F(RateW)127 566.4 Q(indo)-.4 E +(wSize.)-.25 E(${v)102 582.6 Q(erify})-.15 E 1.14(The result of the v) +127 594.6 R 1.141 (eri\214cation of the presented cert; only de\214ned after ST)-.15 F(AR) --.93 E 1.14(TTLS has been)-.6 F 2.5(used. Possible)127 498 R -.25(va)2.5 -G(lues are:).25 E 48.06(OK v)167 514.2 R(eri\214cation succeeded.)-.15 E -48.06(NO no)167 526.2 R(cert presented.)2.5 E(NO)167 538.2 Q 44.85(Tn) --.4 G 2.5(oc)-44.85 G(ert requested.)-2.5 E -.74(FA)167 550.2 S 41.02 -(IL cert).74 F(presented b)2.5 E(ut could not be v)-.2 E(eri\214ed,)-.15 -E(e.g., the signing CA is missing.)232 562.2 Q 34.73(NONE ST)167 574.2 R -(AR)-.93 E(TTLS has not been performed.)-.6 E 35.83(TEMP temporary)167 -586.2 R(error occurred.)2.5 E(PR)167 598.2 Q -1.88 -.4(OT O)-.4 H 10.7 -(COL some).4 F(protocol error occurred.)2.5 E(SOFTW)167 610.2 Q 9.81 -(ARE ST)-1.2 F(AR)-.93 E(TTLS handshak)-.6 E 2.5(ef)-.1 G(ailed,)-2.6 E -(which is a f)232 622.2 Q(atal error for this session,)-.1 E -(the e-mail will be queued.)232 634.2 Q .749 -(There are three types of dates that can be used.)127 654.6 R(The)5.749 -E F0($a)3.249 E F1(and)3.249 E F0($b)3.249 E F1 .749 -(macros are in RFC 822 for)3.249 F(-)-.2 E(mat;)102 666.6 Q F0($a)3.214 -E F1 .714(is the time as e)3.214 F .713 -(xtracted from the \231Date:\232 line of the message \(if there w)-.15 F -.713(as one\), and)-.1 F F0($b)3.213 E F1(is)3.213 E .056 -(the current date and time \(used for postmarks\).)102 678.6 R .057 -(If no \231Date:\232 line is found in the incoming message,)5.056 F F0 -($a)102 690.6 Q F1 .305(is set to the current time also.)2.805 F(The) -5.305 E F0($d)2.805 E F1 .304(macro is equi)2.805 F -.25(va)-.25 G .304 -(lent to the).25 F F0($b)2.804 E F1 .304(macro in UNIX \(ctime\) for) -2.804 F(-)-.2 E(mat.)102 702.6 Q 0 Cg EP +-.93 E 1.141(TTLS has been)-.6 F(used \(or attempted\).)127 606.6 Q +(Possible v)5 E(alues are:)-.25 E 0 Cg EP %%Page: 52 48 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 193.36(SMM:08-52 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF .238 -(The macros)127 96 R F0($w)2.738 E F1(,)A F0($j)2.738 E F1 2.738(,a)C -(nd)-2.738 E F0($m)2.738 E F1 .238 -(are set to the identity of this host.)2.738 F/F2 10/Times-Italic@0 SF -(Sendmail)5.239 E F1 .239(tries to \214nd the fully)2.739 F .335(quali\ +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 48.06 +(OK v)167 96 R(eri\214cation succeeded.)-.15 E 48.06(NO no)167 108 R +(cert presented.)2.5 E(NO)167 120 Q 44.85(Tn)-.4 G 2.5(oc)-44.85 G +(ert requested.)-2.5 E -.74(FA)167 132 S 41.02(IL cert).74 F +(presented b)2.5 E(ut could not be v)-.2 E(eri\214ed,)-.15 E +(e.g., the signing CA is missing.)232 144 Q 34.73(NONE ST)167 156 R(AR) +-.93 E(TTLS has not been performed.)-.6 E 35.83(TEMP temporary)167 168 R +(error occurred.)2.5 E(PR)167 180 Q -1.88 -.4(OT O)-.4 H 10.7(COL some) +.4 F(protocol error occurred.)2.5 E(SOFTW)167 192 Q 9.81(ARE ST)-1.2 F +(AR)-.93 E(TTLS handshak)-.6 E 2.5(ef)-.1 G(ailed,)-2.6 E(which is a f) +232 204 Q(atal error for this session,)-.1 E(the e-mail will be queued.) +232 216 Q .749(There are three types of dates that can be used.)127 +236.4 R(The)5.749 E F0($a)3.249 E F1(and)3.249 E F0($b)3.249 E F1 .749 +(macros are in RFC 822 for)3.249 F(-)-.2 E(mat;)102 248.4 Q F0($a)3.213 +E F1 .713(is the time as e)3.213 F .714 +(xtracted from the \231Date:\232 line of the message \(if there w)-.15 F +.714(as one\), and)-.1 F F0($b)3.214 E F1(is)3.214 E .057 +(the current date and time \(used for postmarks\).)102 260.4 R .056 +(If no \231Date:\232 line is found in the incoming message,)5.057 F F0 +($a)102 272.4 Q F1 .304(is set to the current time also.)2.804 F(The) +5.304 E F0($d)2.804 E F1 .305(macro is equi)2.804 F -.25(va)-.25 G .305 +(lent to the).25 F F0($b)2.805 E F1 .305(macro in UNIX \(ctime\) for) +2.805 F(-)-.2 E(mat.)102 284.4 Q .239(The macros)127 300.6 R F0($w)2.739 +E F1(,)A F0($j)2.739 E F1 2.739(,a)C(nd)-2.739 E F0($m)2.739 E F1 .238 +(are set to the identity of this host.)2.739 F/F2 10/Times-Italic@0 SF +(Sendmail)5.238 E F1 .238(tries to \214nd the fully)2.738 F .334(quali\ \214ed name of the host if at all possible; it does this by calling)102 -108 R F2 -.1(ge)2.834 G(thostname).1 E F1 .334(\(2\) to get the current) -B .457(hostname and then passing that to)102 120 R F2 -.1(ge)2.957 G -(thostbyname).1 E F1 .457 +312.6 R F2 -.1(ge)2.835 G(thostname).1 E F1 .335 +(\(2\) to get the current)B .457(hostname and then passing that to)102 +324.6 R F2 -.1(ge)2.957 G(thostbyname).1 E F1 .457 (\(3\) which is supposed to return the canonical v)B(er)-.15 E(-)-.2 E -.279(sion of that host name.)102 134 R/F3 7/Times-Roman@0 SF(17)-4 I F1 -.279(Assuming this is successful,)2.779 4 N F0($j)2.778 E F1 .278 -(is set to the fully quali\214ed name and)2.778 F F0($m)2.778 E F1(is) -2.778 E .706(set to the domain part of the name \(e)102 146 R -.15(ve) +.278(sion of that host name.)102 338.6 R/F3 7/Times-Roman@0 SF(17)-4 I +F1 .278(Assuming this is successful,)2.778 4 N F0($j)2.778 E F1 .279 +(is set to the fully quali\214ed name and)2.778 F F0($m)2.779 E F1(is) +2.779 E .706(set to the domain part of the name \(e)102 350.6 R -.15(ve) -.25 G .706(rything after the \214rst dot\).).15 F(The)5.706 E F0($w) -3.206 E F1 .706(macro is set to the \214rst)3.206 F -.1(wo)102 158 S -.359(rd \(e).1 F -.15(ve)-.25 G .358 +3.206 E F1 .706(macro is set to the \214rst)3.206 F -.1(wo)102 362.6 S +.358(rd \(e).1 F -.15(ve)-.25 G .358 (rything before the \214rst dot\) if you ha).15 F .658 -.15(ve a l)-.2 H --2.15 -.25(ev e).15 H 2.858(l5o).25 G 2.858(rh)-2.858 G .358 -(igher con\214guration \214le; otherwise, it)-2.858 F .404 -(is set to the same v)102 170 R .405(alue as)-.25 F F0($j)2.905 E F1 +-2.15 -.25(ev e).15 H 2.858(l5o).25 G 2.858(rh)-2.858 G .359 +(igher con\214guration \214le; otherwise, it)-2.858 F .405 +(is set to the same v)102 374.6 R .405(alue as)-.25 F F0($j)2.905 E F1 5.405(.I)C 2.905(ft)-5.405 G .405 -(he canoni\214cation is not successful, it is imperati)-2.905 F .705 --.15(ve t)-.25 H .405(hat the con\214g).15 F(\214le set)102 184 Q F0($j) -2.5 E F1(to the fully quali\214ed domain name)2.5 E F3(18)-4 I F1(.)4 I -(The)127 200.2 Q F0($f)2.833 E F1 .333(macro is the id of the sender as\ - originally determined; when mailing to a speci\214c host)2.833 F(the) -102 212.2 Q F0($g)3.224 E F1 .724 -(macro is set to the address of the sender)3.224 F F2 -.37(re)3.225 G -.725(lative to the r).37 F(ecipient.)-.37 E F1 -.15(Fo)5.725 G 3.225(re) -.15 G .725(xample, if I send to)-3.375 F(\231bollard@matisse.CS.Berk)102 -224.2 Q(ele)-.1 E -.65(y.)-.15 G .425(EDU\232 from the machine \231v).65 +(he canoni\214cation is not successful, it is imperati)-2.905 F .704 +-.15(ve t)-.25 H .404(hat the con\214g).15 F(\214le set)102 388.6 Q F0 +($j)2.5 E F1(to the fully quali\214ed domain name)2.5 E F3(18)-4 I F1(.) +4 I(The)127 404.8 Q F0($f)2.832 E F1 .333(macro is the id of the sender\ + as originally determined; when mailing to a speci\214c host)2.833 F +(the)102 416.8 Q F0($g)3.225 E F1 .725 +(macro is set to the address of the sender)3.225 F F2 -.37(re)3.224 G +.724(lative to the r).37 F(ecipient.)-.37 E F1 -.15(Fo)5.724 G 3.224(re) +.15 G .724(xample, if I send to)-3.374 F(\231bollard@matisse.CS.Berk)102 +428.8 Q(ele)-.1 E -.65(y.)-.15 G .424(EDU\232 from the machine \231v).65 F(angogh.CS.Berk)-.25 E(ele)-.1 E -.65(y.)-.15 G .424(EDU\232 the).65 F -F0($f)2.924 E F1(macro)2.924 E(will be \231eric\232 and the)102 236.2 Q +F0($f)2.925 E F1(macro)2.925 E(will be \231eric\232 and the)102 440.8 Q F0($g)2.5 E F1(macro will be \231eric@v)2.5 E(angogh.CS.Berk)-.25 E(ele) --.1 E -.65(y.)-.15 G(EDU.).65 E<9a>-.7 E(The)127 252.4 Q F0($x)2.562 E -F1 .062(macro is set to the full name of the sender)2.562 F 5.062(.T) --.55 G .062(his can be determined in se)-5.062 F -.15(ve)-.25 G .063 -(ral w).15 F 2.563(ays. It)-.1 F .63(can be passed as \215ag to)102 -264.4 R F2(sendmail)3.13 E F1 5.629(.I)C 3.129(tc)-5.629 G .629 -(an be de\214ned in the)-3.129 F/F4 9/Times-Roman@0 SF -.315(NA)3.129 G -(ME).315 E F1(en)3.129 E .629(vironment v)-.4 F 3.129(ariable. The)-.25 -F(third)3.129 E .948(choice is the v)102 276.4 R .948 -(alue of the \231Full-Name:\232 line in the header if it e)-.25 F .949 +-.1 E -.65(y.)-.15 G(EDU.).65 E<9a>-.7 E(The)127 457 Q F0($x)2.563 E F1 +.062(macro is set to the full name of the sender)2.563 F 5.062(.T)-.55 G +.062(his can be determined in se)-5.062 F -.15(ve)-.25 G .062(ral w).15 +F 2.562(ays. It)-.1 F .629(can be passed as \215ag to)102 469 R F2 +(sendmail)3.129 E F1 5.629(.I)C 3.129(tc)-5.629 G .629 +(an be de\214ned in the)-3.129 F/F4 9/Times-Roman@0 SF -.315(NA)3.13 G +(ME).315 E F1(en)3.13 E .63(vironment v)-.4 F 3.13(ariable. The)-.25 F +(third)3.13 E .949(choice is the v)102 481 R .949 +(alue of the \231Full-Name:\232 line in the header if it e)-.25 F .948 (xists, and the fourth choice is the)-.15 F .526 -(comment \214eld of a \231From:\232 line.)102 288.4 R .526 +(comment \214eld of a \231From:\232 line.)102 493 R .526 (If all of these f)5.526 F .526 (ail, and if the message is being originated locally)-.1 F(,)-.65 E -(the full name is look)102 300.4 Q(ed up in the)-.1 E F2(/etc/passwd)2.5 -E F1(\214le.)2.5 E 1.32(When sending, the)127 316.6 R F0($h)3.82 E F1(,) -A F0($u)3.82 E F1 3.82(,a)C(nd)-3.82 E F0($z)3.82 E F1 1.321 -(macros get set to the host, user)3.82 F 3.821(,a)-.4 G 1.321 -(nd home directory \(if)-3.821 F .517(local\) of the recipient.)102 -328.6 R .517(The \214rst tw)5.517 F 3.016(oa)-.1 G .516(re set from the) --3.016 F F0($@)3.016 E F1(and)3.016 E F0($:)3.016 E F1 .516 -(part of the re)3.016 F .516(writing rules, respec-)-.25 F(ti)102 340.6 -Q -.15(ve)-.25 G(ly).15 E(.)-.65 E(The)127 356.8 Q F0($p)3.806 E F1(and) -3.806 E F0($t)3.806 E F1 1.306(macros are used to create unique strings\ - \(e.g., for the \231Message-Id:\232 \214eld\).)3.806 F(The)102 368.8 Q -F0($i)3.252 E F1 .751(macro is set to the queue id on this host; if put\ - into the timestamp line it can be e)3.252 F(xtremely)-.15 E .164 -(useful for tracking messages.)102 380.8 R(The)5.164 E F0($v)2.664 E F1 -.164(macro is set to be the v)2.664 F .165(ersion number of)-.15 F F2 -(sendmail)2.665 E F1 2.665(;t)C .165(his is nor)-2.665 F(-)-.2 E -(mally put in timestamps and has been pro)102 392.8 Q -.15(ve)-.15 G 2.5 -(ne).15 G(xtremely useful for deb)-2.65 E(ugging.)-.2 E(The)127 409 Q F0 -($c)3.548 E F1 1.048(\214eld is set to the \231hop count,)3.548 F 3.548 -<9a69>-.7 G 1.048(.e., the number of times this message has been pro-) --3.548 F 2.856(cessed. This)102 421 R .356(can be determined by the) -2.856 F F02.856 E F1 .357 -(\215ag on the command line or by counting the timestamps)2.856 F -(in the message.)102 433 Q(The)127 449.2 Q F0($r)2.833 E F1(and)2.833 E -F0($s)2.833 E F1 .333 +(the full name is look)102 505 Q(ed up in the)-.1 E F2(/etc/passwd)2.5 E +F1(\214le.)2.5 E 1.321(When sending, the)127 521.2 R F0($h)3.821 E F1(,) +A F0($u)3.821 E F1 3.821(,a)C(nd)-3.821 E F0($z)3.821 E F1 1.321 +(macros get set to the host, user)3.821 F 3.82(,a)-.4 G 1.32 +(nd home directory \(if)-3.82 F .516(local\) of the recipient.)102 533.2 +R .516(The \214rst tw)5.516 F 3.016(oa)-.1 G .516(re set from the)-3.016 +F F0($@)3.016 E F1(and)3.016 E F0($:)3.016 E F1 .517(part of the re) +3.017 F .517(writing rules, respec-)-.25 F(ti)102 545.2 Q -.15(ve)-.25 G +(ly).15 E(.)-.65 E(The)127 561.4 Q F0($p)3.806 E F1(and)3.806 E F0($t) +3.806 E F1 1.306(macros are used to create unique strings \(e.g., for t\ +he \231Message-Id:\232 \214eld\).)3.806 F(The)102 573.4 Q F0($i)3.251 E +F1 .751(macro is set to the queue id on this host; if put into the time\ +stamp line it can be e)3.251 F(xtremely)-.15 E .165 +(useful for tracking messages.)102 585.4 R(The)5.165 E F0($v)2.665 E F1 +.164(macro is set to be the v)2.665 F .164(ersion number of)-.15 F F2 +(sendmail)2.664 E F1 2.664(;t)C .164(his is nor)-2.664 F(-)-.2 E +(mally put in timestamps and has been pro)102 597.4 Q -.15(ve)-.15 G 2.5 +(ne).15 G(xtremely useful for deb)-2.65 E(ugging.)-.2 E(The)127 613.6 Q +F0($c)3.547 E F1 1.048(\214eld is set to the \231hop count,)3.547 F +3.548<9a69>-.7 G 1.048 +(.e., the number of times this message has been pro-)-3.548 F 2.857 +(cessed. This)102 625.6 R .357(can be determined by the)2.857 F F0 +2.857 E F1 .356 +(\215ag on the command line or by counting the timestamps)2.857 F +(in the message.)102 637.6 Q(The)127 653.8 Q F0($r)2.832 E F1(and)2.833 +E F0($s)2.833 E F1 .333 (\214elds are set to the protocol used to communicate with)2.833 F F2 -(sendmail)2.833 E F1 .333(and the send-)2.833 F .194(ing hostname.)102 -461.2 R(The)5.194 E 2.694(yc)-.15 G .194(an be set together using the) +(sendmail)2.833 E F1 .333(and the send-)2.833 F .195(ing hostname.)102 +665.8 R(The)5.195 E 2.694(yc)-.15 G .194(an be set together using the) -2.694 F F02.694 E F1 .194 -(command line \215ag or separately using the)2.694 F F02.695 E F1 -(or)102 473.2 Q F0(\255oM)2.5 E F1(\215ags.)2.5 E(The)127 489.4 Q F0($_) -2.967 E F1 .467(is set to a v)2.967 F .467(alidated sender host name.) --.25 F .466(If the sender is running an RFC 1413 compli-)5.467 F .384 -(ant IDENT serv)102 501.4 R .384(er and the recei)-.15 F -.15(ve)-.25 G -2.884(rh).15 G .384 -(as the IDENT protocol turned on, it will include the user name)-2.884 F -(on that host.)102 513.4 Q(The)127 529.6 Q F0(${client_name})5.98 E F1 -(,)A F0(${client_addr})5.98 E F1 5.98(,a)C(nd)-5.98 E F0(${client_port}) -5.98 E F1 3.48(macros are set to the name,)5.98 F .786 -(address, and port number of the SMTP client who is in)102 541.6 R -.2 -(vo)-.4 G(king).2 E F2(sendmail)3.286 E F1 .786(as a serv)3.286 F(er) --.15 E 5.786(.T)-.55 G .786(hese can be)-5.786 F(used in the)102 553.6 Q -F2 -.15(ch)2.5 G(ec).15 E(k_*)-.2 E F1(rulesets \(using the)2.5 E F0($&) -2.5 E F1(deferred e)2.5 E -.25(va)-.25 G(luation form, of course!\).).25 -E F0 2.5(5.3. C)87 577.6 R(and F \212 De\214ne Classes)2.5 E F1 .66(Cla\ -sses of phrases may be de\214ned to match on the left hand side of re) -127 593.8 R .659(writing rules, where a)-.25 F .464(\231phrase\232 is a\ - sequence of characters that does not contain space characters.)102 -605.8 R -.15(Fo)5.465 G 2.965(re).15 G .465(xample a class of)-3.115 F -.654(all local names for this site might be created so that attempts to\ - send to oneself can be eliminated.)102 617.8 R .041(These can either b\ -e de\214ned directly in the con\214guration \214le or read in from anot\ -her \214le.)102 629.8 R .041(Classes are)5.041 F .649 -(named as a single letter or a w)102 641.8 R .649(ord in {braces}.)-.1 F -.649(Class names be)5.649 F .649(ginning with lo)-.15 F .648 -(wer case letters and)-.25 F .638(special characters are reserv)102 -653.8 R .638(ed for system use.)-.15 F .639 -(Classes de\214ned in con\214g \214les may be gi)5.639 F -.15(ve)-.25 G -3.139(nn).15 G(ames)-3.139 E 1.05 -(from the set of upper case letters for short names or be)102 665.8 R -1.05(ginning with an upper case letter for long)-.15 F .32 LW 76 675.4 -72 675.4 DL 80 675.4 76 675.4 DL 84 675.4 80 675.4 DL 88 675.4 84 675.4 -DL 92 675.4 88 675.4 DL 96 675.4 92 675.4 DL 100 675.4 96 675.4 DL 104 -675.4 100 675.4 DL 108 675.4 104 675.4 DL 112 675.4 108 675.4 DL 116 -675.4 112 675.4 DL 120 675.4 116 675.4 DL 124 675.4 120 675.4 DL 128 -675.4 124 675.4 DL 132 675.4 128 675.4 DL 136 675.4 132 675.4 DL 140 -675.4 136 675.4 DL 144 675.4 140 675.4 DL 148 675.4 144 675.4 DL 152 -675.4 148 675.4 DL 156 675.4 152 675.4 DL 160 675.4 156 675.4 DL 164 -675.4 160 675.4 DL 168 675.4 164 675.4 DL 172 675.4 168 675.4 DL 176 -675.4 172 675.4 DL 180 675.4 176 675.4 DL 184 675.4 180 675.4 DL 188 -675.4 184 675.4 DL 192 675.4 188 675.4 DL 196 675.4 192 675.4 DL 200 -675.4 196 675.4 DL 204 675.4 200 675.4 DL 208 675.4 204 675.4 DL 212 -675.4 208 675.4 DL 216 675.4 212 675.4 DL/F5 5/Times-Roman@0 SF(17)93.6 -685.8 Q/F6 8/Times-Roman@0 SF -.12(Fo)3.2 K 2(re).12 G -(xample, on some systems)-2.12 E/F7 8/Times-Italic@0 SF -.08(ge)2 G -(thostname).08 E F6(might return \231foo\232 which w)2 E +(command line \215ag or separately using the)2.694 F F02.694 E .32 +LW 76 675.4 72 675.4 DL 80 675.4 76 675.4 DL 84 675.4 80 675.4 DL 88 +675.4 84 675.4 DL 92 675.4 88 675.4 DL 96 675.4 92 675.4 DL 100 675.4 96 +675.4 DL 104 675.4 100 675.4 DL 108 675.4 104 675.4 DL 112 675.4 108 +675.4 DL 116 675.4 112 675.4 DL 120 675.4 116 675.4 DL 124 675.4 120 +675.4 DL 128 675.4 124 675.4 DL 132 675.4 128 675.4 DL 136 675.4 132 +675.4 DL 140 675.4 136 675.4 DL 144 675.4 140 675.4 DL 148 675.4 144 +675.4 DL 152 675.4 148 675.4 DL 156 675.4 152 675.4 DL 160 675.4 156 +675.4 DL 164 675.4 160 675.4 DL 168 675.4 164 675.4 DL 172 675.4 168 +675.4 DL 176 675.4 172 675.4 DL 180 675.4 176 675.4 DL 184 675.4 180 +675.4 DL 188 675.4 184 675.4 DL 192 675.4 188 675.4 DL 196 675.4 192 +675.4 DL 200 675.4 196 675.4 DL 204 675.4 200 675.4 DL 208 675.4 204 +675.4 DL 212 675.4 208 675.4 DL 216 675.4 212 675.4 DL/F5 5 +/Times-Roman@0 SF(17)93.6 685.8 Q/F6 8/Times-Roman@0 SF -.12(Fo)3.2 K 2 +(re).12 G(xample, on some systems)-2.12 E/F7 8/Times-Italic@0 SF -.08 +(ge)2 G(thostname).08 E F6(might return \231foo\232 which w)2 E (ould be mapped to \231foo.bar)-.08 E(.com\232 by)-.44 E F7 -.08(ge)2 G (thostbyname).08 E F6(.)A F5(18)93.6 699.4 Q F6(Older v)3.2 I (ersions of sendmail didn')-.12 E 2(tp)-.144 G(re-de\214ne)-2 E/F8 8 @@ -4607,1918 +4588,4170 @@ F7(always)2 E F6(had to de\214ne)2 E F8($j)2 E F6(.)A 0 Cg EP BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-53)195.86 E/F1 10/Times-Roman@0 SF(names.)102 96 Q -(The syntax is:)127 112.2 Q F0(C)142 128.4 Q/F2 10/Times-Italic@0 SF -1.666(cp)C(hr)-1.666 E(ase1 phr)-.15 E(ase2...)-.15 E F0(F)142 140.4 Q -F2 1.666<638c>C(le)-1.666 E F0(F)142 152.4 Q F2 1.666(c|)C(pr)-1.666 E --.1(og)-.45 G -.15(ra).1 G(m).15 E F0(F)142 164.4 Q F2 1.666(c[)C(mapk) --1.666 E -.3(ey)-.1 G(]@mapclass:mapspec).3 E F1 .035 -(The \214rst form de\214nes the class)102 180.6 R F2(c)2.535 E F1 .035 -(to match an)2.535 F 2.535(yo)-.15 G 2.535(ft)-2.535 G .035(he named w) --2.535 F 2.535(ords. If)-.1 F F2(phr)2.536 E(ase1)-.15 E F1(or)2.536 E -F2(phr)2.536 E(ase2)-.15 E F1 .036(is another)2.536 F .747(class, e.g.,) -102 192.6 R F2($=S)3.247 E F1 3.247(,t)C .747(he contents of class) --3.247 F F2(S)3.246 E F1 .746(are added to class)3.246 F F2(c)3.246 E F1 -5.746(.I)C 3.246(ti)-5.746 G 3.246(sp)-3.246 G .746 -(ermissible to split them among)-3.246 F(multiple lines; for e)102 204.6 -Q(xample, the tw)-.15 E 2.5(of)-.1 G(orms:)-2.5 E(CHmonet ucbmonet)142 -220.8 Q(and)102 237 Q(CHmonet)142 253.2 Q(CHucbmonet)142 265.2 Q 1.015 -(are equi)102 281.4 R -.25(va)-.25 G 3.515(lent. The).25 F -.74(``)3.516 -G(F').74 E 3.516('f)-.74 G 1.016(orms read the elements of the class) --3.516 F F2(c)3.516 E F1 1.016(from the named)3.516 F F2(\214le)3.516 E -F1(,)A F2(pr)3.516 E -.1(og)-.45 G -.15(ra).1 G(m).15 E F1 3.516(,o)C(r) --3.516 E F2 .162(map speci\214cation)102 293.4 R F1 5.162(.E)C .161 -(ach element should be listed on a separate line.)-5.162 F 1.761 -.8 -(To s)5.161 H .161(pecify an optional \214le, use).8 F -.74(``)102 305.4 -S(\255o').74 E 2.5('b)-.74 G +(SMM:08-53)195.86 E/F1 10/Times-Roman@0 SF(or)102 96 Q F0(\255oM)2.5 E +F1(\215ags.)2.5 E(The)127 112.2 Q F0($_)2.966 E F1 .466(is set to a v) +2.966 F .467(alidated sender host name.)-.25 F .467 +(If the sender is running an RFC 1413 compli-)5.467 F .385 +(ant IDENT serv)102 124.2 R .384(er and the recei)-.15 F -.15(ve)-.25 G +2.884(rh).15 G .384 +(as the IDENT protocol turned on, it will include the user name)-2.884 F +(on that host.)102 136.2 Q(The)127 152.4 Q F0(${client_name})5.98 E F1 +(,)A F0(${client_addr})5.98 E F1 5.98(,a)C(nd)-5.98 E F0(${client_port}) +5.98 E F1 3.48(macros are set to the name,)5.98 F .786 +(address, and port number of the SMTP client who is in)102 164.4 R -.2 +(vo)-.4 G(king).2 E/F2 10/Times-Italic@0 SF(sendmail)3.286 E F1 .786 +(as a serv)3.286 F(er)-.15 E 5.786(.T)-.55 G .785(hese can be)-5.786 F +(used in the)102 176.4 Q F2 -.15(ch)2.5 G(ec).15 E(k_*)-.2 E F1 +(rulesets \(using the)2.5 E F0($&)2.5 E F1(deferred e)2.5 E -.25(va)-.25 +G(luation form, of course!\).).25 E F0 2.5(5.3. C)87 200.4 R +(and F \212 De\214ne Classes)2.5 E F1 .659(Classes of phrases may be de\ +\214ned to match on the left hand side of re)127 216.6 R .66 +(writing rules, where a)-.25 F .465(\231phrase\232 is a sequence of cha\ +racters that does not contain space characters.)102 228.6 R -.15(Fo) +5.464 G 2.964(re).15 G .464(xample a class of)-3.114 F .654(all local n\ +ames for this site might be created so that attempts to send to oneself\ + can be eliminated.)102 240.6 R .041(These can either be de\214ned dire\ +ctly in the con\214guration \214le or read in from another \214le.)102 +252.6 R .04(Classes are)5.04 F .649(named as a single letter or a w)102 +264.6 R .649(ord in {braces}.)-.1 F .649(Class names be)5.649 F .649 +(ginning with lo)-.15 F .649(wer case letters and)-.25 F .639 +(special characters are reserv)102 276.6 R .639(ed for system use.)-.15 +F .638(Classes de\214ned in con\214g \214les may be gi)5.639 F -.15(ve) +-.25 G 3.138(nn).15 G(ames)-3.138 E 1.05 +(from the set of upper case letters for short names or be)102 288.6 R +1.05(ginning with an upper case letter for long)-.15 F(names.)102 300.6 +Q(The syntax is:)127 316.8 Q F0(C)142 333 Q F2 1.666(cp)C(hr)-1.666 E +(ase1 phr)-.15 E(ase2...)-.15 E F0(F)142 345 Q F2 1.666<638c>C(le)-1.666 +E F0(F)142 357 Q F2 1.666(c|)C(pr)-1.666 E -.1(og)-.45 G -.15(ra).1 G(m) +.15 E F0(F)142 369 Q F2 1.666(c[)C(mapk)-1.666 E -.3(ey)-.1 G +(]@mapclass:mapspec).3 E F1 .036(The \214rst form de\214nes the class) +102 385.2 R F2(c)2.535 E F1 .035(to match an)2.535 F 2.535(yo)-.15 G +2.535(ft)-2.535 G .035(he named w)-2.535 F 2.535(ords. If)-.1 F F2(phr) +2.535 E(ase1)-.15 E F1(or)2.535 E F2(phr)2.535 E(ase2)-.15 E F1 .035 +(is another)2.535 F .746(class, e.g.,)102 397.2 R F2($=S)3.246 E F1 +3.246(,t)C .746(he contents of class)-3.246 F F2(S)3.246 E F1 .746 +(are added to class)3.246 F F2(c)3.246 E F1 5.746(.I)C 3.247(ti)-5.746 G +3.247(sp)-3.247 G .747(ermissible to split them among)-3.247 F +(multiple lines; for e)102 409.2 Q(xample, the tw)-.15 E 2.5(of)-.1 G +(orms:)-2.5 E(CHmonet ucbmonet)142 425.4 Q(and)102 441.6 Q(CHmonet)142 +457.8 Q(CHucbmonet)142 469.8 Q 1.016(are equi)102 486 R -.25(va)-.25 G +3.516(lent. The).25 F -.74(``)3.516 G(F').74 E 3.516('f)-.74 G 1.016 +(orms read the elements of the class)-3.516 F F2(c)3.516 E F1 1.016 +(from the named)3.516 F F2(\214le)3.516 E F1(,)A F2(pr)3.515 E -.1(og) +-.45 G -.15(ra).1 G(m).15 E F1 3.515(,o)C(r)-3.515 E F2 .161 +(map speci\214cation)102 498 R F1 5.161(.E)C .161 +(ach element should be listed on a separate line.)-5.161 F 1.761 -.8 +(To s)5.161 H .162(pecify an optional \214le, use).8 F -.74(``)102 510 S +(\255o').74 E 2.5('b)-.74 G (etween the class name and the \214le name, e.g.,)-2.5 E -(Fc \255o /path/to/\214le)142 321.6 Q .396(If the \214le can')102 337.8 +(Fc \255o /path/to/\214le)142 526.2 Q .397(If the \214le can')102 542.4 R 2.896(tb)-.18 G 2.896(eu)-2.896 G(sed,)-2.896 E F2(sendmail)2.896 E F1 .396(will not complain b)2.896 F .396(ut silently ignore it.)-.2 F .396 -(The map form should be)5.396 F .364(an optional map k)102 349.8 R -.15 -(ey)-.1 G 2.864(,a)-.5 G 2.864(na)-2.864 G 2.864(ts)-2.864 G .363 -(ign, and a map class follo)-2.864 F .363 -(wed by the speci\214cation for that map.)-.25 F(Exam-)5.363 E -(ples include:)102 361.8 Q(F{V)142 378 Q(irtHosts}@ldap:\255k \(&\(obje\ -ctClass=virtHosts\)\(host=*\)\) \255v host)-.6 E -(F{MyClass}foo@hash:/etc/mail/classes)142 390 Q .95 -(will \214ll the class)102 406.2 R F0($={V)3.45 E(irtHosts})-.37 E F1 -.951(from an LD)3.45 F .951(AP map lookup and)-.4 F F0($={MyClass})3.451 -E F1 .951(from a hash data-)3.451 F .017(base map lookup of the)102 -418.2 R F0 -.25(fo)2.517 G(o).25 E F1 5.017(.T)C .017(here is also a b) --5.017 F .016(uilt-in schema that can be accessed by only specifying:) --.2 F(F{)142 434.4 Q F2(ClassName)A F1(}@LD)A(AP)-.4 E -(This will tell sendmail to use the def)102 450.6 Q(ault schema:)-.1 E -(\255k \(&\(objectClass=sendmailMT)142 466.8 Q -.4(AC)-.93 G(lass\)).4 E -(\(sendmailMT)154.5 478.8 Q -.4(AC)-.93 G(lassName=).4 E F2(ClassName)A -F1(\))A(\(|\(sendmailMT)154.5 490.8 Q -.4(AC)-.93 G(luster=${sendmailMT) -.4 E -.4(AC)-.93 G(luster}\)).4 E(\(sendmailMT)159.5 502.8 Q -(AHost=$j\)\)\))-.93 E(\255v sendmailMT)142 514.8 Q -.4(AC)-.93 G(lassV) -.4 E(alue)-1.11 E -(Note that the lookup is only done when sendmail is initially started.) -102 531 Q 1.339(Elements of classes can be accessed in rules using)127 -547.2 R F0($=)3.839 E F1(or)3.839 E F0($~)3.839 E F1 6.339(.T)C(he) --6.339 E F0($~)3.839 E F1 1.339(\(match entries not in)3.839 F -(class\) only matches a single w)102 559.2 Q(ord; multi-w)-.1 E -(ord entries in the class are ignored in this conte)-.1 E(xt.)-.15 E -(Some classes ha)127 575.4 Q .3 -.15(ve i)-.2 H(nternal meaning to).15 E -F2(sendmail)2.5 E F1(:)A 18.42($=e contains)102 591.6 R .562 -(the Content-T)3.062 F(ransfer)-.35 E .562(-Encodings that can be 8)-.2 -F/F3 10/Symbol SFA F1 3.062(7b)C .562(it encoded.)-3.062 F .561 -(It is prede\214ned to)5.561 F -(contain \2317bit\232, \2318bit\232, and \231binary\232.)138 603.6 Q -17.86($=k set)102 619.8 R(to be the same as)2.5 E F0($k)2.5 E F1 2.5(,t) -C(hat is, the UUCP node name.)-2.5 E 15.08($=m set)102 636 R -(to the set of domains by which this host is kno)2.5 E -(wn, initially just)-.25 E F0($m)2.5 E F1(.)A 17.86($=n can)102 652.2 R -.58(be set to the set of MIME body types that can ne)3.08 F -.15(ve)-.25 -G 3.081(rb).15 G 3.081(ee)-3.081 G .581(ight to se)-3.081 F -.15(ve)-.25 -G 3.081(nb).15 G .581(it encoded.)-3.081 F(It)5.581 E(def)138 664.2 Q -1.81(aults to \231multipart/signed\232.)-.1 F 1.81 -(Message types \231message/*\232 and \231multipart/*\232 are ne)6.81 F --.15(ve)-.25 G(r).15 E 1.853(encoded directly)138 676.2 R 6.853(.M)-.65 -G 1.853(ultipart messages are al)-6.853 F -.1(wa)-.1 G 1.853 -(ys handled recursi).1 F -.15(ve)-.25 G(ly).15 E 6.853(.T)-.65 G 1.853 -(he handling of)-6.853 F(message/* messages are controlled by class)138 -688.2 Q F0($=s)2.5 E F1(.)A 17.86($=q A)102 704.4 R .712 -(set of Content-T)3.212 F .712(ypes that will ne)-.8 F -.15(ve)-.25 G -3.212(rb).15 G 3.212(ee)-3.212 G .712(ncoded as base64 \(if the)-3.212 F -3.212(yh)-.15 G -2.25 -.2(av e)-3.212 H .711(to be encoded,)3.412 F(the) -138 716.4 Q 3.357(yw)-.15 G .858(ill be encoded as quoted-printable\).) --3.357 F .858(It can ha)5.858 F 1.158 -.15(ve p)-.2 H .858 -(rimary types \(e.g., \231te).15 F .858(xt\232\) or full)-.15 F 0 Cg EP +(The map form should be)5.396 F .363(an optional map k)102 554.4 R -.15 +(ey)-.1 G 2.863(,a)-.5 G 2.863(na)-2.863 G 2.863(ts)-2.863 G .363 +(ign, and a map class follo)-2.863 F .364 +(wed by the speci\214cation for that map.)-.25 F(Exam-)5.364 E +(ples include:)102 566.4 Q(F{V)142 582.6 Q(irtHosts}@ldap:\255k \(&\(ob\ +jectClass=virtHosts\)\(host=*\)\) \255v host)-.6 E +(F{MyClass}foo@hash:/etc/mail/classes)142 594.6 Q .951 +(will \214ll the class)102 610.8 R F0($={V)3.451 E(irtHosts})-.37 E F1 +.951(from an LD)3.451 F .951(AP map lookup and)-.4 F F0($={MyClass})3.45 +E F1 .95(from a hash data-)3.45 F .016(base map lookup of the)102 622.8 +R F0 -.25(fo)2.516 G(o).25 E F1 5.016(.T)C .017(here is also a b)-5.016 +F .017(uilt-in schema that can be accessed by only specifying:)-.2 F(F{) +142 639 Q F2(ClassName)A F1(}@LD)A(AP)-.4 E +(This will tell sendmail to use the def)102 655.2 Q(ault schema:)-.1 E 0 +Cg EP %%Page: 54 50 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 193.36(SMM:08-54 Sendmail)72 60 R (Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF -(types \(such as \231te)138 96 Q 2.5(xt/plain\232\). The)-.15 F +(\255k \(&\(objectClass=sendmailMT)142 96 Q -.4(AC)-.93 G(lass\)).4 E +(\(sendmailMT)154.5 108 Q -.4(AC)-.93 G(lassName=).4 E/F2 10 +/Times-Italic@0 SF(ClassName)A F1(\))A(\(|\(sendmailMT)154.5 120 Q -.4 +(AC)-.93 G(luster=${sendmailMT).4 E -.4(AC)-.93 G(luster}\)).4 E +(\(sendmailMT)159.5 132 Q(AHost=$j\)\)\))-.93 E(\255v sendmailMT)142 144 +Q -.4(AC)-.93 G(lassV).4 E(alue)-1.11 E +(Note that the lookup is only done when sendmail is initially started.) +102 160.2 Q 1.339(Elements of classes can be accessed in rules using)127 +176.4 R F0($=)3.839 E F1(or)3.839 E F0($~)3.839 E F1 6.339(.T)C(he) +-6.339 E F0($~)3.839 E F1 1.338(\(match entries not in)3.839 F +(class\) only matches a single w)102 188.4 Q(ord; multi-w)-.1 E +(ord entries in the class are ignored in this conte)-.1 E(xt.)-.15 E +(Some classes ha)127 204.6 Q .3 -.15(ve i)-.2 H(nternal meaning to).15 E +F2(sendmail)2.5 E F1(:)A 18.42($=e contains)102 220.8 R .561 +(the Content-T)3.061 F(ransfer)-.35 E .561(-Encodings that can be 8)-.2 +F/F3 10/Symbol SFA F1 3.062(7b)C .562(it encoded.)-3.062 F .562 +(It is prede\214ned to)5.562 F +(contain \2317bit\232, \2318bit\232, and \231binary\232.)138 232.8 Q +17.86($=k set)102 249 R(to be the same as)2.5 E F0($k)2.5 E F1 2.5(,t)C +(hat is, the UUCP node name.)-2.5 E 15.08($=m set)102 265.2 R +(to the set of domains by which this host is kno)2.5 E +(wn, initially just)-.25 E F0($m)2.5 E F1(.)A 17.86($=n can)102 281.4 R +.581(be set to the set of MIME body types that can ne)3.081 F -.15(ve) +-.25 G 3.08(rb).15 G 3.08(ee)-3.08 G .58(ight to se)-3.08 F -.15(ve)-.25 +G 3.08(nb).15 G .58(it encoded.)-3.08 F(It)5.58 E(def)138 293.4 Q 1.81 +(aults to \231multipart/signed\232.)-.1 F 1.81 +(Message types \231message/*\232 and \231multipart/*\232 are ne)6.81 F +-.15(ve)-.25 G(r).15 E 1.853(encoded directly)138 305.4 R 6.853(.M)-.65 +G 1.853(ultipart messages are al)-6.853 F -.1(wa)-.1 G 1.853 +(ys handled recursi).1 F -.15(ve)-.25 G(ly).15 E 6.853(.T)-.65 G 1.853 +(he handling of)-6.853 F(message/* messages are controlled by class)138 +317.4 Q F0($=s)2.5 E F1(.)A 17.86($=q A)102 333.6 R .711 +(set of Content-T)3.211 F .712(ypes that will ne)-.8 F -.15(ve)-.25 G +3.212(rb).15 G 3.212(ee)-3.212 G .712(ncoded as base64 \(if the)-3.212 F +3.212(yh)-.15 G -2.25 -.2(av e)-3.212 H .712(to be encoded,)3.412 F(the) +138 345.6 Q 3.358(yw)-.15 G .858(ill be encoded as quoted-printable\).) +-3.358 F .858(It can ha)5.858 F 1.158 -.15(ve p)-.2 H .858 +(rimary types \(e.g., \231te).15 F .857(xt\232\) or full)-.15 F +(types \(such as \231te)138 357.6 Q 2.5(xt/plain\232\). The)-.15 F (class is initialized to ha)2.5 E .3 -.15(ve \231)-.2 H(te).15 E -(xt/plain\232 only)-.15 E(.)-.65 E 18.97($=s contains)102 112.2 R .648 +(xt/plain\232 only)-.15 E(.)-.65 E 18.97($=s contains)102 373.8 R .648 (the set of subtypes of message that can be treated recursi)3.148 F -.15 (ve)-.25 G(ly).15 E 5.648(.B)-.65 G 3.148(yd)-5.648 G(ef)-3.148 E .648 -(ault it con-)-.1 F .969(tains only \231rfc822\232.)138 124.2 R .969 -(Other \231message/*\232 types cannot be 8)5.969 F/F2 10/Symbol SFA -F1 3.469(7b)C .969(it encoded.)-3.469 F .97(If a message)5.97 F 1.045 -(containing eight bit data is sent to a se)138 136.2 R -.15(ve)-.25 G +(ault it con-)-.1 F .97(tains only \231rfc822\232.)138 385.8 R .969 +(Other \231message/*\232 types cannot be 8)5.97 F F3A F1 3.469(7b)C +.969(it encoded.)-3.469 F .969(If a message)5.969 F 1.045 +(containing eight bit data is sent to a se)138 397.8 R -.15(ve)-.25 G 3.545(nb).15 G 1.045(it host, and that message cannot be encoded)-3.545 -F(into se)138 148.2 Q -.15(ve)-.25 G 2.5(nb).15 G -(its, it will be stripped to 7 bits.)-2.5 E 20.08($=t set)102 164.4 R -.372(to the set of trusted users by the)2.872 F F0(T)2.872 E F1 .372 -(con\214guration line.)2.872 F .372(If you w)5.372 F .373 -(ant to read trusted users)-.1 F(from a \214le, use)138 176.4 Q F0(Ft) -2.5 E/F3 10/Times-Italic@0 SF(/\214le/name)A F1(.)A 15.64($=w set)102 -192.6 R .513(to be the set of all names this host is kno)3.013 F .513 -(wn by)-.25 F 5.513(.T)-.65 G .513(his can be used to match local host-) --5.513 F(names.)138 204.6 Q($={persistentMacros})102 220.8 Q 1.712 -(set to the macros that should be sa)138 232.8 R -.15(ve)-.2 G 4.212(da) +F(into se)138 409.8 Q -.15(ve)-.25 G 2.5(nb).15 G +(its, it will be stripped to 7 bits.)-2.5 E 20.08($=t set)102 426 R .372 +(to the set of trusted users by the)2.873 F F0(T)2.872 E F1 .372 +(con\214guration line.)2.872 F .372(If you w)5.372 F .372 +(ant to read trusted users)-.1 F(from a \214le, use)138 438 Q F0(Ft)2.5 +E F2(/\214le/name)A F1(.)A 15.64($=w set)102 454.2 R .513 +(to be the set of all names this host is kno)3.013 F .513(wn by)-.25 F +5.513(.T)-.65 G .513(his can be used to match local host-)-5.513 F +(names.)138 466.2 Q($={persistentMacros})102 482.4 Q 1.712 +(set to the macros that should be sa)138 494.4 R -.15(ve)-.2 G 4.212(da) .15 G 1.712(cross queue runs.)-4.212 F 1.712(Care should be tak)6.712 F -1.712(en when)-.1 F(adding macro names to this class.)138 244.8 Q F3 -(Sendmail)127 261 Q F1 .183(can be compiled to allo)2.683 F 2.683(wa) --.25 G F3(scanf)-.001 E F1 .182(\(3\) string on the)B F0(F)2.682 E F1 -2.682(line. This)2.682 F .182(lets you do simplistic)2.682 F .554 -(parsing of te)102 273 R .554(xt \214les.)-.15 F -.15(Fo)5.554 G 3.054 -(re).15 G .554(xample, to read all the user names in your system)-3.204 -F F3(/etc/passwd)3.055 E F1 .555(\214le into a)3.055 F(class, use)102 -285 Q(FL/etc/passwd %[^:])142 301.2 Q(which reads e)102 317.4 Q -.15(ve) --.25 G(ry line up to the \214rst colon.).15 E F0 2.5(5.4. M)87 341.4 R -2.5<8a44>2.5 G(e\214ne Mailer)-2.5 E F1(Programs and interf)127 357.6 Q +1.712(en when)-.1 F(adding macro names to this class.)138 506.4 Q F2 +(Sendmail)127 522.6 Q F1 .182(can be compiled to allo)2.682 F 2.682(wa) +-.25 G F2(scanf)A F1 .182(\(3\) string on the)B F0(F)2.682 E F1 2.683 +(line. This)2.683 F .183(lets you do simplistic)2.683 F .555 +(parsing of te)102 534.6 R .555(xt \214les.)-.15 F -.15(Fo)5.555 G 3.055 +(re).15 G .554(xample, to read all the user names in your system)-3.205 +F F2(/etc/passwd)3.054 E F1 .554(\214le into a)3.054 F(class, use)102 +546.6 Q(FL/etc/passwd %[^:])142 562.8 Q(which reads e)102 579 Q -.15(ve) +-.25 G(ry line up to the \214rst colon.).15 E F0 2.5(5.4. M)87 603 R 2.5 +<8a44>2.5 G(e\214ne Mailer)-2.5 E F1(Programs and interf)127 619.2 Q (aces to mailers are de\214ned in this line.)-.1 E(The format is:)5 E F0 -(M)142 373.8 Q F3(name)A F1 2.5(,{)C F3(\214eld)-2.5 E F1(=)A F3(value)A -F1(}*)1.666 E(where)102 390 Q F3(name)4.244 E F1 1.744(is the name of t\ -he mailer \(used internally only\) and the \231\214eld=name\232 pairs d\ -e\214ne)4.244 F(attrib)102 402 Q(utes of the mailer)-.2 E 5(.F)-.55 G -(ields are:)-5 E -.15(Pa)142 418.2 S 51.87(th The).15 F -(pathname of the mailer)2.5 E 47.83(Flags Special)142 430.2 R -(\215ags for this mailer)2.5 E 41.73(Sender Re)142 442.2 R -(writing set\(s\) for sender addresses)-.25 E 31.17(Recipient Re)142 -454.2 R(writing set\(s\) for recipient addresses)-.25 E 30.62 -(recipients Maximum)142 466.2 R(number of recipients per connection)2.5 -E(Ar)142 478.2 Q 49.13(gv An)-.18 F(ar)2.5 E(gument v)-.18 E -(ector to pass to this mailer)-.15 E 55.61(Eol The)142 490.2 R -(end-of-line string for this mailer)2.5 E 35.62(Maxsize The)142 502.2 R -(maximum message length to this mailer)2.5 E 14.51(maxmessages The)142 -514.2 R(maximum message deli)2.5 E -.15(ve)-.25 G(ries per connection) -.15 E 32.27(Linelimit The)142 526.2 R -(maximum line length in the message body)2.5 E 31.18(Directory The)142 -538.2 R -.1(wo)2.5 G(rking directory for the mailer).1 E 42.84 -(Userid The)142 550.2 R(def)2.5 E(ault user and group id to run as)-.1 E -50.62(Nice The)142 562.2 R(nice\(2\) increment for the mailer)2.5 E -38.95(Charset The)142 574.2 R(def)2.5 E -(ault character set for 8-bit characters)-.1 E -.8(Ty)142 586.2 S 49.75 -(pe T).8 F(ype information for DSN diagnostics)-.8 E -.8(Wa)142 598.2 S -50.86(it The).8 F(maximum time to w)2.5 E(ait for the mailer)-.1 E -(Queue)142 610.2 Q 20.22(group The)-.15 F(def)2.5 E -(ault queue group for the mailer)-.1 E 69.22(/T)142 622.2 S -(he root directory for the mailer)-69.22 E -(Only the \214rst character of the \214eld name is check)102 638.4 Q -(ed \(it')-.1 E 2.5(sc)-.55 G(ase-sensiti)-2.5 E -.15(ve)-.25 G(\).).15 -E .396(The follo)127 654.6 R .396 -(wing \215ags may be set in the mailer description.)-.25 F(An)5.396 E -2.896(yo)-.15 G .397(ther \215ags may be used freely)-2.896 F .075(to c\ -onditionally assign headers to messages destined for particular mailers\ -.)102 666.6 R .075(Flags mark)5.075 F .075(ed with \207 are)-.1 F 1.192 -(not interpreted by the)102 678.6 R F3(sendmail)3.692 E F1 1.193 -(binary; these are the con)3.692 F -.15(ve)-.4 G 1.193 -(ntionally used to correlate to the \215ags).15 F .738(portion of the) -102 690.6 R F0(H)3.238 E F1 3.237(line. Flags)3.238 F(mark)3.237 E .737 -(ed with \210 apply to the mailers for the sender address rather than) --.1 F(the usual recipient mailers.)102 702.6 Q 0 Cg EP +(M)142 635.4 Q F2(name)A F1 2.5(,{)C F2(\214eld)-2.5 E F1(=)A F2(value)A +F1(}*)1.666 E(where)102 651.6 Q F2(name)4.244 E F1 1.744(is the name of\ + the mailer \(used internally only\) and the \231\214eld=name\232 pairs\ + de\214ne)4.244 F(attrib)102 663.6 Q(utes of the mailer)-.2 E 5(.F)-.55 +G(ields are:)-5 E 0 Cg EP %%Page: 55 51 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-55)195.86 E/F1 10/Times-Roman@0 SF 15.56(aR)102 96 S .987(un Ex\ -tended SMTP \(ESMTP\) protocol \(de\214ned in RFCs 1869, 1652, and 1870\ -\).)-15.56 F .987(This \215ag)5.987 F(def)122 108 Q +(SMM:08-55)195.86 E/F1 10/Times-Roman@0 SF -.15(Pa)142 96 S 51.87 +(th The).15 F(pathname of the mailer)2.5 E 47.83(Flags Special)142 108 R +(\215ags for this mailer)2.5 E 41.73(Sender Re)142 120 R +(writing set\(s\) for sender addresses)-.25 E 31.17(Recipient Re)142 132 +R(writing set\(s\) for recipient addresses)-.25 E 30.62 +(recipients Maximum)142 144 R(number of recipients per connection)2.5 E +(Ar)142 156 Q 49.13(gv An)-.18 F(ar)2.5 E(gument v)-.18 E +(ector to pass to this mailer)-.15 E 55.61(Eol The)142 168 R +(end-of-line string for this mailer)2.5 E 35.62(Maxsize The)142 180 R +(maximum message length to this mailer)2.5 E 14.51(maxmessages The)142 +192 R(maximum message deli)2.5 E -.15(ve)-.25 G(ries per connection).15 +E 32.27(Linelimit The)142 204 R(maximum line length in the message body) +2.5 E 31.18(Directory The)142 216 R -.1(wo)2.5 G +(rking directory for the mailer).1 E 42.84(Userid The)142 228 R(def)2.5 +E(ault user and group id to run as)-.1 E 50.62(Nice The)142 240 R +(nice\(2\) increment for the mailer)2.5 E 38.95(Charset The)142 252 R +(def)2.5 E(ault character set for 8-bit characters)-.1 E -.8(Ty)142 264 +S 49.75(pe T).8 F(ype information for DSN diagnostics)-.8 E -.8(Wa)142 +276 S 50.86(it The).8 F(maximum time to w)2.5 E(ait for the mailer)-.1 E +(Queue)142 288 Q 20.22(group The)-.15 F(def)2.5 E +(ault queue group for the mailer)-.1 E 69.22(/T)142 300 S +(he root directory for the mailer)-69.22 E +(Only the \214rst character of the \214eld name is check)102 316.2 Q +(ed \(it')-.1 E 2.5(sc)-.55 G(ase-sensiti)-2.5 E -.15(ve)-.25 G(\).).15 +E .397(The follo)127 332.4 R .396 +(wing \215ags may be set in the mailer description.)-.25 F(An)5.396 E +2.896(yo)-.15 G .396(ther \215ags may be used freely)-2.896 F .075(to c\ +onditionally assign headers to messages destined for particular mailers\ +.)102 344.4 R .075(Flags mark)5.075 F .075(ed with \207 are)-.1 F 1.193 +(not interpreted by the)102 356.4 R/F2 10/Times-Italic@0 SF(sendmail) +3.693 E F1 1.193(binary; these are the con)3.693 F -.15(ve)-.4 G 1.192 +(ntionally used to correlate to the \215ags).15 F .737(portion of the) +102 368.4 R F0(H)3.237 E F1 3.237(line. Flags)3.237 F(mark)3.237 E .737 +(ed with \210 apply to the mailers for the sender address rather than) +-.1 F(the usual recipient mailers.)102 380.4 Q 15.56(aR)102 396.6 S .987 +(un Extended SMTP \(ESMTP\) protocol \(de\214ned in RFCs 1869, 1652, an\ +d 1870\).)-15.56 F .986(This \215ag)5.987 F(def)122 408.6 Q (aults on if the SMTP greeting message includes the w)-.1 E -(ord \231ESMTP\232.)-.1 E 12.78(AL)102 124.2 S .852 +(ord \231ESMTP\232.)-.1 E 12.78(AL)102 424.8 S .852 (ook up the user \(address\) part of the resolv)-12.78 F .852 (ed mailer triple, in the alias database.)-.15 F(Normally)5.852 E -(this is only set for local mailers.)122 136.2 Q 15(bF)102 152.4 S .456 +(this is only set for local mailers.)122 436.8 Q 15(bF)102 453 S .456 (orce a blank line on the end of a message.)-15.15 F .456 (This is intended to w)5.456 F .456(ork around some stupid v)-.1 F(er) --.15 E(-)-.2 E .362(sions of /bin/mail that require a blank line, b)122 -164.4 R .362(ut do not pro)-.2 F .362(vide it themselv)-.15 F 2.861 -(es. It)-.15 F -.1(wo)2.861 G .361(uld not nor).1 F(-)-.2 E -(mally be used on netw)122 176.4 Q(ork mail.)-.1 E 13.33(BS)102 192.6 S -.142(trip leading backslashes \(\\\) of)-13.33 F 2.643(fo)-.25 G 2.643 +-.15 E(-)-.2 E .361(sions of /bin/mail that require a blank line, b)122 +465 R .362(ut do not pro)-.2 F .362(vide it themselv)-.15 F 2.862 +(es. It)-.15 F -.1(wo)2.862 G .362(uld not nor).1 F(-)-.2 E +(mally be used on netw)122 477 Q(ork mail.)-.1 E 13.33(BS)102 493.2 S +.143(trip leading backslashes \(\\\) of)-13.33 F 2.643(fo)-.25 G 2.643 (ft)-2.643 G .143 (he address; this is a subset of the functionality of the)-2.643 F F0(s) -2.643 E F1(\215ag.)2.643 E 15.56(cD)102 208.8 S 2.663(on)-15.56 G .163 -(ot include comments in addresses.)-2.663 F .163 +2.642 E F1(\215ag.)2.642 E 15.56(cD)102 509.4 S 2.662(on)-15.56 G .163 +(ot include comments in addresses.)-2.662 F .163 (This should only be used if you ha)5.163 F .463 -.15(ve t)-.2 H 2.663 (ow).15 G .163(ork around a)-2.763 F 1.846 -(remote mailer that gets confused by comments.)122 220.8 R 1.846 +(remote mailer that gets confused by comments.)122 521.4 R 1.846 (This strips addresses of the form \231Phrase)6.846 F -(
\232 or \231address \(Comment\)\232 do)122 232.8 Q -(wn to just \231address\232.)-.25 E 5.83(C\210 If)102 249 R .214 -(mail is)2.714 F/F2 10/Times-Italic@0 SF -.37(re)2.714 G(ceived).37 E F1 -.213(from a mailer with this \215ag set, an)2.713 F 2.713(ya)-.15 G .213 +(
\232 or \231address \(Comment\)\232 do)122 533.4 Q +(wn to just \231address\232.)-.25 E 5.83(C\210 If)102 549.6 R .213 +(mail is)2.713 F F2 -.37(re)2.713 G(ceived).37 E F1 .213 +(from a mailer with this \215ag set, an)2.713 F 2.713(ya)-.15 G .213 (ddresses in the header that do not ha)-2.713 F -.15(ve)-.2 G .97 -(an at sign \(\231@\232\) after being re)122 261 R .97 +(an at sign \(\231@\232\) after being re)122 561.6 R .97 (written by ruleset three will ha)-.25 F 1.27 -.15(ve t)-.2 H .97 -(he \231@domain\232 clause from).15 F(the sender en)122 273 Q -.15(ve) +(he \231@domain\232 clause from).15 F(the sender en)122 573.6 Q -.15(ve) -.4 G(lope address tack).15 E(ed on.)-.1 E(This allo)5 E -(ws mail with headers of the form:)-.25 E(From: usera@hosta)162 289.2 Q --.8(To)162 301.2 S 2.5(:u).8 G(serb@hostb, userc)-2.5 E(to be re)122 -317.4 Q(written as:)-.25 E(From: usera@hosta)162 333.6 Q -.8(To)162 -345.6 S 2.5(:u).8 G(serb@hostb, userc@hosta)-2.5 E(automatically)122 -361.8 Q 5(.H)-.65 G -.25(ow)-5 G -2.15 -.25(ev e).25 H .8 -.4(r, i).25 H -2.5(td).4 G(oesn')-2.5 E 2.5(tr)-.18 G(eally w)-2.5 E(ork reliably)-.1 E -(.)-.65 E 15(dD)102 378 S 2.56(on)-15 G .06(ot include angle brack)-2.56 -F .06(ets around route-address syntax addresses.)-.1 F .06 -(This is useful on mailers)5.06 F .187(that are going to pass addresses\ - to a shell that might interpret angle brack)122 390 R .188 -(ets as I/O redirection.)-.1 F(Ho)122 402 Q(we)-.25 E -.15(ve)-.25 G -1.621 -.4(r, i).15 H 3.321(td).4 G .821(oes not protect ag)-3.321 F .821 +(ws mail with headers of the form:)-.25 E(From: usera@hosta)162 589.8 Q +-.8(To)162 601.8 S 2.5(:u).8 G(serb@hostb, userc)-2.5 E(to be re)122 618 +Q(written as:)-.25 E(From: usera@hosta)162 634.2 Q -.8(To)162 646.2 S +2.5(:u).8 G(serb@hostb, userc@hosta)-2.5 E(automatically)122 662.4 Q 5 +(.H)-.65 G -.25(ow)-5 G -2.15 -.25(ev e).25 H .8 -.4(r, i).25 H 2.5(td) +.4 G(oesn')-2.5 E 2.5(tr)-.18 G(eally w)-2.5 E(ork reliably)-.1 E(.)-.65 +E 15(dD)102 678.6 S 2.56(on)-15 G .06(ot include angle brack)-2.56 F .06 +(ets around route-address syntax addresses.)-.1 F .06 +(This is useful on mailers)5.06 F .188(that are going to pass addresses\ + to a shell that might interpret angle brack)122 690.6 R .187 +(ets as I/O redirection.)-.1 F(Ho)122 702.6 Q(we)-.25 E -.15(ve)-.25 G +1.62 -.4(r, i).15 H 3.321(td).4 G .821(oes not protect ag)-3.321 F .821 (ainst other shell metacharacters.)-.05 F .821 (Therefore, passing addresses)5.821 F -(to a shell should not be considered secure.)122 414 Q 5.28(D\207 This) -102 430.2 R(mailer w)2.5 E(ants a \231Date:\232 header line.)-.1 E 15.56 -(eT)102 446.4 S .173(his mailer is e)-15.56 F(xpensi)-.15 E .473 -.15 -(ve t)-.25 H 2.673(oc).15 G .173(onnect to, so try to a)-2.673 F -.2(vo) --.2 G .174(id connecting normally; an).2 F 2.674(yn)-.15 G .174 -(ecessary con-)-2.674 F(nection will occur during a queue run.)122 458.4 -Q(See also option)5 E F0(HoldExpensi)2.5 E -.1(ve)-.1 G F1(.).1 E 13.89 -(EE)102 474.6 S(scape lines be)-13.89 E(ginning with \231From)-.15 E 2.5 -<9a69>5 G 2.5(nt)-2.5 G(he message with a `>' sign.)-2.5 E 16.67(fT)102 -490.8 S .19(he mailer w)-16.67 F .19(ants a)-.1 F F02.69 E F2(fr) -2.69 E(om)-.45 E F1 .19(\215ag, b)2.69 F .19(ut only if this is a netw) --.2 F .19(ork forw)-.1 F .19(ard operation \(i.e., the mailer)-.1 F -(will gi)122 502.8 Q .3 -.15(ve a)-.25 H 2.5(ne).15 G(rror if the e)-2.5 -E -.15(xe)-.15 G(cuting user does not ha).15 E .3 -.15(ve s)-.2 H -(pecial permissions\).).15 E 6.94(F\207 This)102 519 R(mailer w)2.5 E -(ants a \231From:\232 header line.)-.1 E 15(gN)102 535.2 S(ormally)-15 E -(,)-.65 E F2(sendmail)4.892 E F1 2.393(sends internally generated email\ - \(e.g., error messages\) using the null)4.892 F 1.327 -(return address as required by RFC 1123.)122 547.2 R(Ho)6.327 E(we)-.25 -E -.15(ve)-.25 G 2.127 -.4(r, s).15 H 1.327(ome mailers don').4 F 3.827 -(ta)-.18 G 1.327(ccept a null return)-3.827 F 3.31(address. If)122 559.2 -R(necessary)3.31 E 3.31(,y)-.65 G .81(ou can set the)-3.31 F F0(g)3.311 -E F1 .811(\215ag to pre)3.311 F -.15(ve)-.25 G(nt).15 E F2(sendmail) -3.311 E F1 .811(from obe)3.311 F .811(ying the standards;)-.15 F 1.57 -(error messages will be sent as from the MAILER-D)122 571.2 R 1.57 -(AEMON \(actually)-.4 F 4.07(,t)-.65 G 1.57(he v)-4.07 F 1.57 -(alue of the)-.25 F F0($n)4.07 E F1(macro\).)122 583.2 Q 15(hU)102 599.4 -S 1.006(pper case should be preserv)-15 F 1.007 -(ed in host names \(the $@ portion of the mailer triplet resolv)-.15 F -(ed)-.15 E(from ruleset 0\) for this mailer)122 611.4 Q(.)-.55 E 17.22 -(iD)102 627.6 S 2.5(oU)-17.22 G(ser Database re)-2.5 E(writing on en) --.25 E -.15(ve)-.4 G(lope sender address.).15 E 16.67(IT)102 643.8 S -.475(his mailer will be speaking SMTP to another)-16.67 F F2(sendmail) -2.974 E F1 2.974<8a61>2.974 G 2.974(ss)-2.974 G .474 -(uch it can use special protocol)-2.974 F 2.642(features. This)122 655.8 -R .142(\215ag should not be used e)2.642 F .142(xcept for deb)-.15 F -.142(ugging purposes because it uses)-.2 F F0(VERB)2.642 E F1(as)2.642 E -(SMTP command.)122 667.8 Q 17.22(jD)102 684 S 2.5(oU)-17.22 G -(ser Database re)-2.5 E(writing on recipients as well as senders.)-.25 E -15(kN)102 700.2 S 1.03(ormally when)-15 F F2(sendmail)3.53 E F1 1.03 -(connects to a host via SMTP)3.53 F 3.529(,i)-1.11 G 3.529(tc)-3.529 G -1.029(hecks to mak)-3.529 F 3.529(es)-.1 G 1.029(ure that this isn') --3.529 F(t)-.18 E .562(accidently the same host name as might happen if) -122 712.2 R F2(sendmail)3.062 E F1 .562 -(is miscon\214gured or if a long-haul)3.062 F(netw)122 724.2 Q 1.074 -(ork interf)-.1 F 1.074(ace is set in loopback mode.)-.1 F 1.073 -(This \215ag disables the loopback check.)6.074 F 1.073(It should)6.073 -F 0 Cg EP +(to a shell should not be considered secure.)122 714.6 Q 0 Cg EP %%Page: 56 52 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 193.36(SMM:08-56 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF -(only be used under v)122 96 Q(ery unusual circumstances.)-.15 E 12.78 -(KC)102 112.2 S(urrently unimplemented.)-12.78 E(Reserv)5 E -(ed for chunking.)-.15 E 17.22(lT)102 128.4 S +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 5.28 +(D\207 This)102 96 R(mailer w)2.5 E(ants a \231Date:\232 header line.) +-.1 E 15.56(eT)102 112.2 S .174(his mailer is e)-15.56 F(xpensi)-.15 E +.474 -.15(ve t)-.25 H 2.674(oc).15 G .173(onnect to, so try to a)-2.674 +F -.2(vo)-.2 G .173(id connecting normally; an).2 F 2.673(yn)-.15 G .173 +(ecessary con-)-2.673 F(nection will occur during a queue run.)122 124.2 +Q(See also option)5 E F0(HoldExpensi)2.5 E -.1(ve)-.1 G F1(.).1 E 13.89 +(EE)102 140.4 S(scape lines be)-13.89 E(ginning with \231From)-.15 E 2.5 +<9a69>5 G 2.5(nt)-2.5 G(he message with a `>' sign.)-2.5 E 16.67(fT)102 +156.6 S .19(he mailer w)-16.67 F .19(ants a)-.1 F F02.69 E/F2 10 +/Times-Italic@0 SF(fr)2.69 E(om)-.45 E F1 .19(\215ag, b)2.69 F .19 +(ut only if this is a netw)-.2 F .19(ork forw)-.1 F .19 +(ard operation \(i.e., the mailer)-.1 F(will gi)122 168.6 Q .3 -.15 +(ve a)-.25 H 2.5(ne).15 G(rror if the e)-2.5 E -.15(xe)-.15 G +(cuting user does not ha).15 E .3 -.15(ve s)-.2 H(pecial permissions\).) +.15 E 6.94(F\207 This)102 184.8 R(mailer w)2.5 E +(ants a \231From:\232 header line.)-.1 E 15(gN)102 201 S(ormally)-15 E +(,)-.65 E F2(sendmail)4.893 E F1 2.393(sends internally generated email\ + \(e.g., error messages\) using the null)4.893 F 1.327 +(return address as required by RFC 1123.)122 213 R(Ho)6.327 E(we)-.25 E +-.15(ve)-.25 G 2.127 -.4(r, s).15 H 1.327(ome mailers don').4 F 3.827 +(ta)-.18 G 1.328(ccept a null return)-3.827 F 3.311(address. If)122 225 +R(necessary)3.311 E 3.311(,y)-.65 G .811(ou can set the)-3.311 F F0(g) +3.311 E F1 .811(\215ag to pre)3.311 F -.15(ve)-.25 G(nt).15 E F2 +(sendmail)3.31 E F1 .81(from obe)3.31 F .81(ying the standards;)-.15 F +1.57(error messages will be sent as from the MAILER-D)122 237 R 1.57 +(AEMON \(actually)-.4 F 4.07(,t)-.65 G 1.57(he v)-4.07 F 1.57 +(alue of the)-.25 F F0($n)4.07 E F1(macro\).)122 249 Q 15(hU)102 265.2 S +1.007(pper case should be preserv)-15 F 1.007 +(ed in host names \(the $@ portion of the mailer triplet resolv)-.15 F +(ed)-.15 E(from ruleset 0\) for this mailer)122 277.2 Q(.)-.55 E 17.22 +(iD)102 293.4 S 2.5(oU)-17.22 G(ser Database re)-2.5 E(writing on en) +-.25 E -.15(ve)-.4 G(lope sender address.).15 E 16.67(IT)102 309.6 S +.474(his mailer will be speaking SMTP to another)-16.67 F F2(sendmail) +2.974 E F1 2.974<8a61>2.974 G 2.975(ss)-2.974 G .475 +(uch it can use special protocol)-2.975 F 2.642(features. This)122 321.6 +R .142(\215ag should not be used e)2.642 F .142(xcept for deb)-.15 F +.142(ugging purposes because it uses)-.2 F F0(VERB)2.642 E F1(as)2.642 E +(SMTP command.)122 333.6 Q 17.22(jD)102 349.8 S 2.5(oU)-17.22 G +(ser Database re)-2.5 E(writing on recipients as well as senders.)-.25 E +15(kN)102 366 S 1.029(ormally when)-15 F F2(sendmail)3.529 E F1 1.029 +(connects to a host via SMTP)3.529 F 3.529(,i)-1.11 G 3.529(tc)-3.529 G +1.03(hecks to mak)-3.529 F 3.53(es)-.1 G 1.03(ure that this isn')-3.53 F +(t)-.18 E .562(accidently the same host name as might happen if)122 378 +R F2(sendmail)3.062 E F1 .562(is miscon\214gured or if a long-haul)3.062 +F(netw)122 390 Q 1.073(ork interf)-.1 F 1.073 +(ace is set in loopback mode.)-.1 F 1.074 +(This \215ag disables the loopback check.)6.074 F 1.074(It should)6.074 +F(only be used under v)122 402 Q(ery unusual circumstances.)-.15 E 12.78 +(KC)102 418.2 S(urrently unimplemented.)-12.78 E(Reserv)5 E +(ed for chunking.)-.15 E 17.22(lT)102 434.4 S (his mailer is local \(i.e., \214nal deli)-17.22 E -.15(ve)-.25 G -(ry will be performed\).).15 E 13.89(LL)102 144.6 S .598 +(ry will be performed\).).15 E 13.89(LL)102 450.6 S .598 (imit the line lengths as speci\214ed in RFC 821.)-13.89 F .598 -(This deprecated option should be replaced by)5.598 F(the)122 156.6 Q F0 +(This deprecated option should be replaced by)5.598 F(the)122 462.6 Q F0 (L=)2.5 E F1(mail declaration.)2.5 E -.15(Fo)5 G 2.5(rh).15 G (istoric reasons, the)-2.5 E F0(L)2.5 E F1(\215ag also sets the)2.5 E F0 -(7)2.5 E F1(\215ag.)2.5 E 12.22(mT)102 172.8 S .464(his mailer can send\ - to multiple users on the same host in one transaction.)-12.22 F .463 -(When a)5.463 F F0($u)2.963 E F1(macro)2.963 E .731(occurs in the)122 -184.8 R/F2 10/Times-Italic@0 SF(ar)3.231 E(gv)-.37 E F1 .732(part of th\ -e mailer de\214nition, that \214eld will be repeated as necessary for a\ -ll)3.231 F .674(qualifying users.)122 196.8 R(Remo)5.674 E .674(ving th\ -is \215ag can defeat duplicate supression on a remote site as each)-.15 -F(recipient is sent in a separate transaction.)122 208.8 Q 3.61 -(M\207 This)102 225 R(mailer w)2.5 E -(ants a \231Message-Id:\232 header line.)-.1 E 15(nD)102 241.2 S 2.5(on) +(7)2.5 E F1(\215ag.)2.5 E 12.22(mT)102 478.8 S .463(his mailer can send\ + to multiple users on the same host in one transaction.)-12.22 F .464 +(When a)5.464 F F0($u)2.964 E F1(macro)2.964 E .732(occurs in the)122 +490.8 R F2(ar)3.232 E(gv)-.37 E F1 .732(part of the mailer de\214nition\ +, that \214eld will be repeated as necessary for all)3.232 F .673 +(qualifying users.)122 502.8 R(Remo)5.673 E .674(ving this \215ag can d\ +efeat duplicate supression on a remote site as each)-.15 F +(recipient is sent in a separate transaction.)122 514.8 Q 3.61 +(M\207 This)102 531 R(mailer w)2.5 E +(ants a \231Message-Id:\232 header line.)-.1 E 15(nD)102 547.2 S 2.5(on) -15 G (ot insert a UNIX-style \231From\232 line on the front of the message.) --2.5 E 15(oA)102 257.4 S -.1(lwa)-15 G .816(ys run as the o).1 F .816 +-2.5 E 15(oA)102 563.4 S -.1(lwa)-15 G .816(ys run as the o).1 F .816 (wner of the recipient mailbox.)-.25 F(Normally)5.816 E F2(sendmail) 3.316 E F1 .816(runs as the sender for)3.316 F .198 -(locally generated mail or as \231daemon\232 \(actually)122 269.4 R +(locally generated mail or as \231daemon\232 \(actually)122 575.4 R 2.698(,t)-.65 G .198(he user speci\214ed in the)-2.698 F F0(u)2.698 E F1 -.198(option\) when deli)2.698 F(v-)-.25 E 1.337(ering netw)122 281.4 R -1.337(ork mail.)-.1 F 1.338(The normal beha)6.338 F 1.338 +.198(option\) when deli)2.698 F(v-)-.25 E 1.338(ering netw)122 587.4 R +1.338(ork mail.)-.1 F 1.338(The normal beha)6.338 F 1.338 (vior is required by most local mailers, which will not)-.2 F(allo)122 -293.4 Q 2.521(wt)-.25 G .021(he en)-2.521 F -.15(ve)-.4 G .021 +599.4 Q 2.52(wt)-.25 G .02(he en)-2.52 F -.15(ve)-.4 G .021 (lope sender address to be set unless the mailer is running as daemon.) -.15 F .02(This \215ag is)5.02 F(ignored if the)122 305.4 Q F0(S)2.5 E F1 -(\215ag is set.)2.5 E 15(pU)102 321.6 S .497(se the route-addr style re) --15 F -.15(ve)-.25 G .498(rse-path in the SMTP \231MAIL FR).15 F .498 +.15 F .021(This \215ag is)5.021 F(ignored if the)122 611.4 Q F0(S)2.5 E +F1(\215ag is set.)2.5 E 15(pU)102 627.6 S .498 +(se the route-addr style re)-15 F -.15(ve)-.25 G .498 +(rse-path in the SMTP \231MAIL FR).15 F .497 (OM:\232 command rather than just)-.4 F .205(the return address; althou\ -gh this is required in RFC 821 section 3.1, man)122 333.6 R 2.705(yh) --.15 G .205(osts do not process)-2.705 F(re)122 345.6 Q -.15(ve)-.25 G +gh this is required in RFC 821 section 3.1, man)122 639.6 R 2.705(yh) +-.15 G .205(osts do not process)-2.705 F(re)122 651.6 Q -.15(ve)-.25 G (rse-paths properly).15 E 5(.R)-.65 G -2.15 -.25(ev e)-5 H (rse-paths are of).25 E(\214cially discouraged by RFC 1123.)-.25 E 6.94 -(P\207 This)102 361.8 R(mailer w)2.5 E(ants a \231Return-P)-.1 E -(ath:\232 line.)-.15 E 15(qW)102 378 S .068(hen an address that resolv) --15 F .069(es to this mailer is v)-.15 F .069 +(P\207 This)102 667.8 R(mailer w)2.5 E(ants a \231Return-P)-.1 E +(ath:\232 line.)-.15 E 15(qW)102 684 S .069(hen an address that resolv) +-15 F .069(es to this mailer is v)-.15 F .068 (eri\214ed \(SMTP VRFY command\), generate 250)-.15 F -(responses instead of 252 responses.)122 390 Q -(This will imply that the address is local.)5 E 16.67(rS)102 406.2 S +(responses instead of 252 responses.)122 696 Q +(This will imply that the address is local.)5 E 16.67(rS)102 712.2 S (ame as)-16.67 E F0(f)2.5 E F1 2.5(,b)C(ut sends a)-2.7 E F02.5 E -F1(\215ag.)2.5 E 13.33(RO)102 422.4 S .67 -(pen SMTP connections from a \231secure\232 port.)-13.33 F .669 -(Secure ports aren')5.669 F 3.169(t\()-.18 G .669(secure, that is\) e) --3.169 F .669(xcept on)-.15 F .639 -(UNIX machines, so it is unclear that this adds an)122 434.4 R(ything.) --.15 E F2(sendmail)5.639 E F1 .64(must be running as root to)3.14 F -(be able to use this \215ag.)122 446.4 Q 16.11(sS)102 462.6 S -(trip quote characters \(" and \\\) of)-16.11 E 2.5(fo)-.25 G 2.5(ft) --2.5 G(he address before calling the mailer)-2.5 E(.)-.55 E 14.44(SD)102 -478.8 S(on')-14.44 E 3.332(tr)-.18 G .832 -(eset the userid before calling the mailer)-3.332 F 5.831(.T)-.55 G .831 -(his w)-5.831 F .831(ould be used in a secure en)-.1 F(vironment)-.4 E -(where)122 490.8 Q F2(sendmail)3.317 E F1 .817(ran as root.)3.317 F .817 -(This could be used to a)5.817 F -.2(vo)-.2 G .817(id for).2 F .817 -(ged addresses.)-.18 F .817(If the)5.817 F F0(U=)3.317 E F1 .818 -(\214eld is)3.317 F(also speci\214ed, this \215ag causes the ef)122 -502.8 Q(fecti)-.25 E .3 -.15(ve u)-.25 H(ser id to be set to that user) -.15 E(.)-.55 E 15(uU)102 519 S .726(pper case should be preserv)-15 F -.725(ed in user names for this mailer)-.15 F 5.725(.S)-.55 G .725 -(tandards require preserv)-5.725 F(ation)-.25 E .748 -(of case in the local part of addresses, e)122 531 R .748 -(xcept for those address for which your system accepts)-.15 F -(responsibility)122 543 Q 5.151(.R)-.65 G .151(FC 2142 pro)-5.151 F .151 -(vides a long list of addresses which should be case insensiti)-.15 F --.15(ve)-.25 G 5.15(.I).15 G(f)-5.15 E .359 -(you use this \215ag, you may be violating RFC 2142.)122 555 R .36 -(Note that postmaster is al)5.359 F -.1(wa)-.1 G .36(ys treated as a).1 -F(case insensiti)122 567 Q .3 -.15(ve a)-.25 H(ddress re).15 E -.05(ga) --.15 G(rdless of this \215ag.).05 E 12.78(UT)102 583.2 S(his mailer w) --12.78 E(ants UUCP-style \231From\232 lines with the ugly \231remote fr\ -om \232 on the end.)-.1 E 12.78(wT)102 599.4 S .607 -(he user must ha)-12.78 F .907 -.15(ve a v)-.2 H .606 -(alid account on this machine, i.e.,)-.1 F F2 -.1(ge)3.106 G(tpwnam).1 E -F1 .606(must succeed.)3.106 F .606(If not, the)5.606 F 1.233 -(mail is bounced.)122 611.4 R 1.233(See also the)6.233 F F0 -(MailBoxDatabase)3.733 E F1 3.733(option. This)3.733 F 1.233 -(is required to get \231.forw)3.733 F(ard\232)-.1 E(capability)122 623.4 -Q(.)-.65 E 10.56(WI)102 639.6 S(gnore long term host status information\ - \(see Section "Persistent Host Status Information"\).)-10.56 E 7.5 -(x\207 This)102 655.8 R(mailer w)2.5 E -(ants a \231Full-Name:\232 header line.)-.1 E 12.78(XT)102 672 S .512 -(his mailer w)-12.78 F .512(ants to use the hidden dot algorithm as spe\ -ci\214ed in RFC 821; basically)-.1 F 3.011(,a)-.65 G .811 -.15(ny l) --3.011 H(ine).15 E(be)122 684 Q .796(ginning with a dot will ha)-.15 F -1.096 -.15(ve a)-.2 H 3.296(ne).15 G .797 -(xtra dot prepended \(to be stripped at the other end\).)-3.446 F(This) -5.797 E(insures that lines in the message containing a dot will not ter\ -minate the message prematurely)122 696 Q(.)-.65 E 15.56(zR)102 712.2 S -.965(un Local Mail T)-15.56 F .965(ransfer Protocol \(LMTP\) between) --.35 F F2(sendmail)3.465 E F1 .965(and the local mailer)3.465 F 5.965 -(.T)-.55 G .965(his is a)-5.965 F -.25(va)122 724.2 S 1.752(riant on SM\ -TP de\214ned in RFC 2033 that is speci\214cally designed for deli).25 F --.15(ve)-.25 G 1.752(ry to a local).15 F 0 Cg EP +F1(\215ag.)2.5 E 0 Cg EP %%Page: 57 53 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-57)195.86 E/F1 10/Times-Roman@0 SF(mailbox.)122 96 Q 13.89(ZA) -102 112.2 S(pply DialDelay \(if set\) to this mailer)-13.89 E(.)-.55 E -15(0D)102 128.4 S(on')-15 E 3.607(tl)-.18 G 1.106 -(ook up MX records for hosts sent via SMTP/LMTP)-3.607 F 6.106(.D)-1.11 -G 3.606(on)-6.106 G 1.106(ot apply)-3.606 F F0 -.25(Fa)3.606 G -(llbackMXhost).25 E F1(either)122 140.4 Q(.)-.55 E 15(1D)102 156.6 S +(SMM:08-57)195.86 E/F1 10/Times-Roman@0 SF 13.33(RO)102 96 S .669 +(pen SMTP connections from a \231secure\232 port.)-13.33 F .669 +(Secure ports aren')5.669 F 3.169(t\()-.18 G .67(secure, that is\) e) +-3.169 F .67(xcept on)-.15 F .64 +(UNIX machines, so it is unclear that this adds an)122 108 R(ything.) +-.15 E/F2 10/Times-Italic@0 SF(sendmail)5.639 E F1 .639 +(must be running as root to)3.139 F(be able to use this \215ag.)122 120 +Q 16.11(sS)102 136.2 S(trip quote characters \(" and \\\) of)-16.11 E +2.5(fo)-.25 G 2.5(ft)-2.5 G(he address before calling the mailer)-2.5 E +(.)-.55 E 14.44(SD)102 152.4 S(on')-14.44 E 3.331(tr)-.18 G .831 +(eset the userid before calling the mailer)-3.331 F 5.831(.T)-.55 G .831 +(his w)-5.831 F .832(ould be used in a secure en)-.1 F(vironment)-.4 E +(where)122 164.4 Q F2(sendmail)3.318 E F1 .817(ran as root.)3.317 F .817 +(This could be used to a)5.817 F -.2(vo)-.2 G .817(id for).2 F .817 +(ged addresses.)-.18 F .817(If the)5.817 F F0(U=)3.317 E F1 .817 +(\214eld is)3.317 F(also speci\214ed, this \215ag causes the ef)122 +176.4 Q(fecti)-.25 E .3 -.15(ve u)-.25 H(ser id to be set to that user) +.15 E(.)-.55 E 15(uU)102 192.6 S .725(pper case should be preserv)-15 F +.725(ed in user names for this mailer)-.15 F 5.726(.S)-.55 G .726 +(tandards require preserv)-5.726 F(ation)-.25 E .748 +(of case in the local part of addresses, e)122 204.6 R .748 +(xcept for those address for which your system accepts)-.15 F +(responsibility)122 216.6 Q 5.15(.R)-.65 G .15(FC 2142 pro)-5.15 F .151 +(vides a long list of addresses which should be case insensiti)-.15 F +-.15(ve)-.25 G 5.151(.I).15 G(f)-5.151 E .36 +(you use this \215ag, you may be violating RFC 2142.)122 228.6 R .359 +(Note that postmaster is al)5.359 F -.1(wa)-.1 G .359(ys treated as a).1 +F(case insensiti)122 240.6 Q .3 -.15(ve a)-.25 H(ddress re).15 E -.05 +(ga)-.15 G(rdless of this \215ag.).05 E 12.78(UT)102 256.8 S +(his mailer w)-12.78 E(ants UUCP-style \231From\232 lines with the ugly\ + \231remote from \232 on the end.)-.1 E 12.78(wT)102 273 S .606 +(he user must ha)-12.78 F .906 -.15(ve a v)-.2 H .606 +(alid account on this machine, i.e.,)-.1 F F2 -.1(ge)3.106 G(tpwnam).1 E +F1 .607(must succeed.)3.106 F .607(If not, the)5.607 F 1.234 +(mail is bounced.)122 285 R 1.233(See also the)6.233 F F0 +(MailBoxDatabase)3.733 E F1 3.733(option. This)3.733 F 1.233 +(is required to get \231.forw)3.733 F(ard\232)-.1 E(capability)122 297 Q +(.)-.65 E 10.56(WI)102 313.2 S(gnore long term host status information \ +\(see Section "Persistent Host Status Information"\).)-10.56 E 7.5 +(x\207 This)102 329.4 R(mailer w)2.5 E +(ants a \231Full-Name:\232 header line.)-.1 E 12.78(XT)102 345.6 S .511 +(his mailer w)-12.78 F .512(ants to use the hidden dot algorithm as spe\ +ci\214ed in RFC 821; basically)-.1 F 3.012(,a)-.65 G .812 -.15(ny l) +-3.012 H(ine).15 E(be)122 357.6 Q .797(ginning with a dot will ha)-.15 F +1.097 -.15(ve a)-.2 H 3.297(ne).15 G .796 +(xtra dot prepended \(to be stripped at the other end\).)-3.447 F(This) +5.796 E(insures that lines in the message containing a dot will not ter\ +minate the message prematurely)122 369.6 Q(.)-.65 E 15.56(zR)102 385.8 S +.965(un Local Mail T)-15.56 F .965(ransfer Protocol \(LMTP\) between) +-.35 F F2(sendmail)3.465 E F1 .965(and the local mailer)3.465 F 5.965 +(.T)-.55 G .965(his is a)-5.965 F -.25(va)122 397.8 S .167(riant on SMT\ +P de\214ned in RFC 2033 that is speci\214cally designed for deli).25 F +-.15(ve)-.25 G .167(ry to a local mail-).15 F(box.)122 409.8 Q 13.89(ZA) +102 426 S(pply DialDelay \(if set\) to this mailer)-13.89 E(.)-.55 E 15 +(0D)102 442.2 S(on')-15 E 3.606(tl)-.18 G 1.106 +(ook up MX records for hosts sent via SMTP/LMTP)-3.606 F 6.106(.D)-1.11 +G 3.606(on)-6.106 G 1.107(ot apply)-3.606 F F0 -.25(Fa)3.607 G +(llbackMXhost).25 E F1(either)122 454.2 Q(.)-.55 E 15(1D)102 470.4 S (on')-15 E 2.5(ts)-.18 G(end null characters \('\\0'\) to this mailer) --2.5 E(.)-.55 E 15(2D)102 172.8 S(on')-15 E 3.032(tu)-.18 G .532 -(se ESMTP e)-3.032 F -.15(ve)-.25 G 3.032(ni).15 G 3.032(fo)-3.032 G --.25(ff)-3.032 G .532(ered; this is useful for brok).25 F .533 -(en systems that of)-.1 F .533(fer ESMTP b)-.25 F .533(ut f)-.2 F(ail) --.1 E(on EHLO \(without reco)122 184.8 Q -.15(ve)-.15 G -(ring when HELO is tried ne).15 E(xt\).)-.15 E 15(3E)102 201 S .002 -(xtend the list of characters con)-15 F -.15(ve)-.4 G .001 -(rted to =XX notation when con).15 F -.15(ve)-.4 G .001 -(rting to Quoted-Printable to).15 F .977(include those that don')122 213 -R 3.478(tm)-.18 G .978(ap cleanly between ASCII and EBCDIC.)-3.478 F -.978(Useful if you ha)5.978 F 1.278 -.15(ve I)-.2 H(BM).15 E -(mainframes on site.)122 225 Q 15(5I)102 241.2 S 2.717(fn)-15 G 2.717 -(oa)-2.717 G .217(liases are found for this address, pass the address t\ -hrough ruleset 5 for possible alternate)-2.717 F 2.5(resolution. This) -122 253.2 R(is intended to forw)2.5 E(ard the mail to an alternate deli) --.1 E -.15(ve)-.25 G(ry spot.).15 E 15(6S)102 269.4 S +-2.5 E(.)-.55 E 15(2D)102 486.6 S(on')-15 E 3.033(tu)-.18 G .533 +(se ESMTP e)-3.033 F -.15(ve)-.25 G 3.033(ni).15 G 3.033(fo)-3.033 G +-.25(ff)-3.033 G .533(ered; this is useful for brok).25 F .532 +(en systems that of)-.1 F .532(fer ESMTP b)-.25 F .532(ut f)-.2 F(ail) +-.1 E(on EHLO \(without reco)122 498.6 Q -.15(ve)-.15 G +(ring when HELO is tried ne).15 E(xt\).)-.15 E 15(3E)102 514.8 S .001 +(xtend the list of characters con)-15 F -.15(ve)-.4 G .002 +(rted to =XX notation when con).15 F -.15(ve)-.4 G .002 +(rting to Quoted-Printable to).15 F .978(include those that don')122 +526.8 R 3.478(tm)-.18 G .978(ap cleanly between ASCII and EBCDIC.)-3.478 +F .978(Useful if you ha)5.978 F 1.277 -.15(ve I)-.2 H(BM).15 E +(mainframes on site.)122 538.8 Q 15(5I)102 555 S 2.716(fn)-15 G 2.716 +(oa)-2.716 G .217(liases are found for this address, pass the address t\ +hrough ruleset 5 for possible alternate)-2.716 F 2.5(resolution. This) +122 567 R(is intended to forw)2.5 E(ard the mail to an alternate deli) +-.1 E -.15(ve)-.25 G(ry spot.).15 E 15(6S)102 583.2 S (trip headers to se)-15 E -.15(ve)-.25 G 2.5(nb).15 G(its.)-2.5 E 15(7S) -102 285.6 S 1.14(trip all output to se)-15 F -.15(ve)-.25 G 3.64(nb).15 -G 3.64(its. This)-3.64 F 1.14(is the def)3.64 F 1.141(ault if the)-.1 F -F0(L)3.641 E F1 1.141(\215ag is set.)3.641 F 1.141 -(Note that clearing this)6.141 F .295(option is not suf)122 297.6 R .295 -(\214cient to get full eight bit data passed through)-.25 F/F2 10 -/Times-Italic@0 SF(sendmail)2.795 E F1 5.295(.I)C 2.795(ft)-5.295 G(he) --2.795 E F0(7)2.795 E F1 .295(option is set,)2.795 F .716 -(this is essentially al)122 309.6 R -.1(wa)-.1 G .717 -(ys set, since the eighth bit w).1 F .717(as stripped on input.)-.1 F -.717(Note that this option)5.717 F(will only impact messages that didn') -122 321.6 Q 2.5(th)-.18 G -2.25 -.2(av e)-2.5 H(8)2.7 E/F3 10/Symbol SF -A F1 2.5(7b)C(it MIME con)-2.5 E -.15(ve)-.4 G(rsions performed.).15 -E 15(8I)102 337.8 S 3.783(fs)-15 G 1.283(et, it is acceptable to send e\ -ight bit data to this mailer; the usual attempt to do 8)-3.783 F F3A -F1 3.782(7b)C(it)-3.782 E(MIME con)122 349.8 Q -.15(ve)-.4 G -(rsions will be bypassed.).15 E 15(9I)102 366 S 2.704(fs)-15 G .204 -(et, do)-2.704 F F2(limited)2.704 E F1(7)2.704 E F3A F1 2.704(8b)C -.204(it MIME con)-2.704 F -.15(ve)-.4 G 2.704(rsions. These).15 F(con) -2.704 E -.15(ve)-.4 G .205(rsions are limited to te).15 F .205 -(xt/plain data.)-.15 F 17.22(:C)102 382.2 S .982 -(heck addresses to see if the)-17.22 F 3.482(yb)-.15 G -.15(eg)-3.482 G -.982(in \231:include:\232; if the).15 F 3.482(yd)-.15 G .982(o, con) --3.482 F -.15(ve)-.4 G .982(rt them to the \231*include*\232).15 F -(mailer)122 394.2 Q(.)-.55 E 18(|C)102 410.4 S -(heck addresses to see if the)-18 E 2.5(yb)-.15 G -.15(eg)-2.5 G -(in with a `|'; if the).15 E 2.5(yd)-.15 G(o, con)-2.5 E -.15(ve)-.4 G -(rt them to the \231prog\232 mailer).15 E(.)-.55 E 17.22(/C)102 426.6 S -(heck addresses to see if the)-17.22 E 2.5(yb)-.15 G -.15(eg)-2.5 G -(in with a `/'; if the).15 E 2.5(yd)-.15 G(o, con)-2.5 E -.15(ve)-.4 G -(rt them to the \231*\214le*\232 mailer).15 E(.)-.55 E 10.79(@L)102 -442.8 S(ook up addresses in the user database.)-10.79 E 11.67(%D)102 459 -S 3.382(on)-11.67 G .882(ot attempt deli)-3.382 F -.15(ve)-.25 G .883(r\ -y on initial recipient of a message or on queue runs unless the queued) -.15 F(message is selected using one of the -qI/-qR/-qS queue run modi\ -\214ers or an ETRN request.)122 471 Q .268 -(Con\214guration \214les prior to le)127 487.2 R -.15(ve)-.25 G 2.768 -(l6a).15 G .268(ssume the `)-2.768 F -1.11(A')-.8 G 2.768(,`)1.11 G .268 -(w', `5', `:', `|', `/', and `@' options on the)-2.768 F -(mailer named \231local\232.)102 499.2 Q .306(The mailer with the speci\ -al name \231error\232 can be used to generate a user error)127 515.4 R -5.306(.T)-.55 G .306(he \(optional\))-5.306 F .324(host \214eld is an e) -102 527.4 R .323(xit status to be returned, and the user \214eld is a m\ -essage to be printed.)-.15 F .323(The e)5.323 F .323(xit sta-)-.15 F -.891(tus may be numeric or one of the v)102 539.4 R .891(alues USA)-.25 -F .891(GE, NOUSER, NOHOST)-.4 F 3.391(,U)-.74 G -.35(NA)-3.391 G -1.35 -(VA)-1 G .891(ILABLE, SOFT)1.35 F(-)-.92 E -1.2(WA)102 551.4 S 1.142 -(RE, TEMPF)1.2 F 1.142(AIL, PR)-.74 F -1.88 -.4(OT O)-.4 H 1.142 -(COL, or CONFIG to return the corresponding EX_ e).4 F 1.141 -(xit code, or an)-.15 F .288 -(enhanced error code as described in RFC 1893,)102 563.4 R F2 .288 -(Enhanced Mail System Status Codes.)2.788 F F1 -.15(Fo)5.288 G 2.788(re) -.15 G(xample,)-2.938 E(the entry:)102 575.4 Q -($#error $@ NOHOST $: Host unkno)142 591.6 Q(wn in this domain)-.25 E -.145(on the RHS of a rule will cause the speci\214ed error to be genera\ -ted and the \231Host unkno)102 607.8 R .145(wn\232 e)-.25 F .145 -(xit sta-)-.15 F .491(tus to be returned if the LHS matches.)102 619.8 R -.491(This mailer is only functional in rulesets 0, 5, or one of the) -5.491 F 1.81(check_* rulesets.)102 631.8 R 1.81 -(The host \214eld can also contain the special tok)6.81 F(en)-.1 E F0 -(quarantine)4.31 E F1 1.81(which instructs)4.31 F -(sendmail to quarantine the current message.)102 643.8 Q .256 -(The mailer with the special name \231discard\232 causes an)127 660 R -2.756(ym)-.15 G .257(ail sent to it to be discarded b)-2.756 F .257 -(ut oth-)-.2 F 1.314(erwise treated as though it were successfully deli) -102 672 R -.15(ve)-.25 G 3.813(red. This).15 F 1.313 -(mailer cannot be used in ruleset 0,)3.813 F(only in the v)102 684 Q -(arious address checking rulesets.)-.25 E .468 -(The mailer named \231local\232)127 700.2 R F2(must)2.968 E F1 .468 -(be de\214ned in e)2.968 F -.15(ve)-.25 G .468 -(ry con\214guration \214le.).15 F .468(This is used to deli)5.468 F -.15 -(ve)-.25 G(r).15 E .25(local mail, and is treated specially in se)102 -712.2 R -.15(ve)-.25 G .25(ral w).15 F 2.75(ays. Additionally)-.1 F 2.75 -(,t)-.65 G .25(hree other mailers named \231prog\232,)-2.75 F .942(\231\ -*\214le*\232, and \231*include*\232 may be de\214ned to tune the deli) -102 724.2 R -.15(ve)-.25 G .942 -(ry of messages to programs, \214les, and).15 F 0 Cg EP +102 599.4 S 1.141(trip all output to se)-15 F -.15(ve)-.25 G 3.641(nb) +.15 G 3.641(its. This)-3.641 F 1.141(is the def)3.641 F 1.141 +(ault if the)-.1 F F0(L)3.64 E F1 1.14(\215ag is set.)3.64 F 1.14 +(Note that clearing this)6.14 F .295(option is not suf)122 611.4 R .295 +(\214cient to get full eight bit data passed through)-.25 F F2(sendmail) +2.795 E F1 5.295(.I)C 2.795(ft)-5.295 G(he)-2.795 E F0(7)2.795 E F1 .295 +(option is set,)2.795 F .717(this is essentially al)122 623.4 R -.1(wa) +-.1 G .717(ys set, since the eighth bit w).1 F .717 +(as stripped on input.)-.1 F .716(Note that this option)5.717 F +(will only impact messages that didn')122 635.4 Q 2.5(th)-.18 G -2.25 +-.2(av e)-2.5 H(8)2.7 E/F3 10/Symbol SFA F1 2.5(7b)C(it MIME con) +-2.5 E -.15(ve)-.4 G(rsions performed.).15 E 15(8I)102 651.6 S 3.782(fs) +-15 G 1.283(et, it is acceptable to send eight bit data to this mailer;\ + the usual attempt to do 8)-3.782 F F3A F1 3.783(7b)C(it)-3.783 E +(MIME con)122 663.6 Q -.15(ve)-.4 G(rsions will be bypassed.).15 E 15 +(9I)102 679.8 S 2.705(fs)-15 G .205(et, do)-2.705 F F2(limited)2.705 E +F1(7)2.705 E F3A F1 2.704(8b)C .204(it MIME con)-2.704 F -.15(ve)-.4 +G 2.704(rsions. These).15 F(con)2.704 E -.15(ve)-.4 G .204 +(rsions are limited to te).15 F .204(xt/plain data.)-.15 F 17.22(:C)102 +696 S .982(heck addresses to see if the)-17.22 F 3.482(yb)-.15 G -.15 +(eg)-3.482 G .982(in \231:include:\232; if the).15 F 3.482(yd)-.15 G +.982(o, con)-3.482 F -.15(ve)-.4 G .982 +(rt them to the \231*include*\232).15 F(mailer)122 708 Q(.)-.55 E 0 Cg +EP %%Page: 58 54 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 193.36(SMM:08-58 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF -(:include: lists respecti)102 96 Q -.15(ve)-.25 G(ly).15 E 5(.T)-.65 G -(he)-5 E 2.5(yd)-.15 G(ef)-2.5 E(ault to:)-.1 E -(Mprog, P=/bin/sh, F=lsoDq9, T=DNS/RFC822/X-Unix, A=sh \255c $u)142 -112.2 Q -(M*\214le*, P=[FILE], F=lsDFMPEouq9, T=DNS/RFC822/X-Unix, A=FILE $u)142 -124.2 Q(M*include*, P=/de)142 136.2 Q(v/null, F=su, A=INCLUDE $u)-.25 E -.466 +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 18(|C)102 +96 S(heck addresses to see if the)-18 E 2.5(yb)-.15 G -.15(eg)-2.5 G +(in with a `|'; if the).15 E 2.5(yd)-.15 G(o, con)-2.5 E -.15(ve)-.4 G +(rt them to the \231prog\232 mailer).15 E(.)-.55 E 17.22(/C)102 112.2 S +(heck addresses to see if the)-17.22 E 2.5(yb)-.15 G -.15(eg)-2.5 G +(in with a `/'; if the).15 E 2.5(yd)-.15 G(o, con)-2.5 E -.15(ve)-.4 G +(rt them to the \231*\214le*\232 mailer).15 E(.)-.55 E 10.79(@L)102 +128.4 S(ook up addresses in the user database.)-10.79 E 11.67(%D)102 +144.6 S 3.383(on)-11.67 G .883(ot attempt deli)-3.383 F -.15(ve)-.25 G +.882(ry on initial recipient of a message or on queue runs unless the q\ +ueued).15 F(message is selected using one of the -qI/-qR/-qS queue run \ +modi\214ers or an ETRN request.)122 156.6 Q .267 +(Con\214guration \214les prior to le)127 172.8 R -.15(ve)-.25 G 2.768 +(l6a).15 G .268(ssume the `)-2.768 F -1.11(A')-.8 G 2.768(,`)1.11 G .268 +(w', `5', `:', `|', `/', and `@' options on the)-2.768 F +(mailer named \231local\232.)102 184.8 Q .306(The mailer with the speci\ +al name \231error\232 can be used to generate a user error)127 201 R +5.305(.T)-.55 G .305(he \(optional\))-5.305 F .323(host \214eld is an e) +102 213 R .323(xit status to be returned, and the user \214eld is a mes\ +sage to be printed.)-.15 F .324(The e)5.324 F .324(xit sta-)-.15 F .891 +(tus may be numeric or one of the v)102 225 R .891(alues USA)-.25 F .891 +(GE, NOUSER, NOHOST)-.4 F 3.39(,U)-.74 G -.35(NA)-3.39 G -1.35(VA)-1 G +.89(ILABLE, SOFT)1.35 F(-)-.92 E -1.2(WA)102 237 S 1.141(RE, TEMPF)1.2 F +1.141(AIL, PR)-.74 F -1.88 -.4(OT O)-.4 H 1.141 +(COL, or CONFIG to return the corresponding EX_ e).4 F 1.142 +(xit code, or an)-.15 F .288 +(enhanced error code as described in RFC 1893,)102 249 R/F2 10 +/Times-Italic@0 SF .288(Enhanced Mail System Status Codes.)2.788 F F1 +-.15(Fo)5.287 G 2.787(re).15 G(xample,)-2.937 E(the entry:)102 261 Q +($#error $@ NOHOST $: Host unkno)142 277.2 Q(wn in this domain)-.25 E +.145(on the RHS of a rule will cause the speci\214ed error to be genera\ +ted and the \231Host unkno)102 293.4 R .146(wn\232 e)-.25 F .146 +(xit sta-)-.15 F .491(tus to be returned if the LHS matches.)102 305.4 R +.491(This mailer is only functional in rulesets 0, 5, or one of the) +5.491 F 1.81(check_* rulesets.)102 317.4 R 1.81 +(The host \214eld can also contain the special tok)6.81 F(en)-.1 E F0 +(quarantine)4.31 E F1 1.81(which instructs)4.31 F +(sendmail to quarantine the current message.)102 329.4 Q .257 +(The mailer with the special name \231discard\232 causes an)127 345.6 R +2.756(ym)-.15 G .256(ail sent to it to be discarded b)-2.756 F .256 +(ut oth-)-.2 F 1.313(erwise treated as though it were successfully deli) +102 357.6 R -.15(ve)-.25 G 3.813(red. This).15 F 1.314 +(mailer cannot be used in ruleset 0,)3.813 F(only in the v)102 369.6 Q +(arious address checking rulesets.)-.25 E .468 +(The mailer named \231local\232)127 385.8 R F2(must)2.968 E F1 .468 +(be de\214ned in e)2.968 F -.15(ve)-.25 G .468 +(ry con\214guration \214le.).15 F .468(This is used to deli)5.468 F -.15 +(ve)-.25 G(r).15 E .25(local mail, and is treated specially in se)102 +397.8 R -.15(ve)-.25 G .25(ral w).15 F 2.75(ays. Additionally)-.1 F 2.75 +(,t)-.65 G .25(hree other mailers named \231prog\232,)-2.75 F .942(\231\ +*\214le*\232, and \231*include*\232 may be de\214ned to tune the deli) +102 409.8 R -.15(ve)-.25 G .942 +(ry of messages to programs, \214les, and).15 F +(:include: lists respecti)102 421.8 Q -.15(ve)-.25 G(ly).15 E 5(.T)-.65 +G(he)-5 E 2.5(yd)-.15 G(ef)-2.5 E(ault to:)-.1 E +(Mprog, P=/bin/sh, F=lsoDq9, T=DNS/RFC822/X-Unix, A=sh \255c $u)142 438 +Q(M*\214le*, P=[FILE], F=lsDFMPEouq9, T=DNS/RFC822/X-Unix, A=FILE $u)142 +450 Q(M*include*, P=/de)142 462 Q(v/null, F=su, A=INCLUDE $u)-.25 E .466 (Builtin pathnames are [FILE] and [IPC], the former is used for deli)127 -156.6 R -.15(ve)-.25 G .466(ry to \214les, the latter for).15 F(deli)102 -168.6 Q -.15(ve)-.25 G .12(ry via interprocess communication.).15 F -.15 +482.4 R -.15(ve)-.25 G .467(ry to \214les, the latter for).15 F(deli)102 +494.4 Q -.15(ve)-.25 G .12(ry via interprocess communication.).15 F -.15 (Fo)5.12 G 2.62(rm).15 G .12(ailers that use [IPC] as pathname the ar) -2.62 F .12(gument v)-.18 F(ec-)-.15 E .761 -(tor \(A=\) must start with TCP or FILE for deli)102 180.6 R -.15(ve) +(tor \(A=\) must start with TCP or FILE for deli)102 506.4 R -.15(ve) -.25 G .761(ry via a TCP or a Unix domain sock).15 F 3.261(et. If)-.1 F -.761(TCP is)3.261 F .109(used, the second ar)102 192.6 R .109 -(gument must be the name of the host to contact.)-.18 F .11 -(Optionally a third ar)5.11 F .11(gument can)-.18 F .576 -(be used to specify a port, the def)102 204.6 R .576 +.761(TCP is)3.261 F .11(used, the second ar)102 518.4 R .109 +(gument must be the name of the host to contact.)-.18 F .109 +(Optionally a third ar)5.109 F .109(gument can)-.18 F .575 +(be used to specify a port, the def)102 530.4 R .576 (ault is smtp \(port 25\).)-.1 F .576(If FILE is used, the second ar) -5.576 F .575(gument must)-.18 F(be the name of the Unix domain sock)102 -216.6 Q(et.)-.1 E .668(If the ar)127 232.8 R .668(gument v)-.18 F .669 -(ector does not contain $u then)-.15 F/F2 10/Times-Italic@0 SF(sendmail) -3.169 E F1 .669(will speak SMTP \(or LMTP if the)3.169 F -(mailer \215ag z is speci\214ed\) to the mailer)102 244.8 Q(.)-.55 E -(If no Eol \214eld is de\214ned, then the def)127 261 Q -(ault is "\\r\\n" for SMTP mailers and "\\n" of others.)-.1 E .616 -(The Sender and Recipient re)127 277.2 R .615 +5.576 F .576(gument must)-.18 F(be the name of the Unix domain sock)102 +542.4 Q(et.)-.1 E .669(If the ar)127 558.6 R .669(gument v)-.18 F .669 +(ector does not contain $u then)-.15 F F2(sendmail)3.169 E F1 .668 +(will speak SMTP \(or LMTP if the)3.169 F +(mailer \215ag z is speci\214ed\) to the mailer)102 570.6 Q(.)-.55 E +(If no Eol \214eld is de\214ned, then the def)127 586.8 Q +(ault is "\\r\\n" for SMTP mailers and "\\n" of others.)-.1 E .615 +(The Sender and Recipient re)127 603 R .615 (writing sets may either be a simple ruleset id or may be tw)-.25 F -3.115(oi)-.1 G(ds)-3.115 E .575 -(separated by a slash; if so, the \214rst re)102 289.2 R .576 -(writing set is applied to en)-.25 F -.15(ve)-.4 G .576 -(lope addresses and the second is).15 F(applied to headers.)102 301.2 Q +3.116(oi)-.1 G(ds)-3.116 E .576 +(separated by a slash; if so, the \214rst re)102 615 R .575 +(writing set is applied to en)-.25 F -.15(ve)-.4 G .575 +(lope addresses and the second is).15 F(applied to headers.)102 627 Q (Setting an)5 E 2.5(yv)-.15 G (alue to zero disables corresponding mailer)-2.75 E(-speci\214c re)-.2 E -(writing.)-.25 E .197 +(writing.)-.25 E .196 (The Directory is actually a colon-separated path of directories to try) -127 317.4 R 5.196(.F)-.65 G .196(or e)-5.346 F .196 +127 643.2 R 5.197(.F)-.65 G .197(or e)-5.347 F .197 (xample, the de\214ni-)-.15 F .104 -(tion \231D=$z:/\232 \214rst tries to e)102 329.4 R -.15(xe)-.15 G .104 +(tion \231D=$z:/\232 \214rst tries to e)102 655.2 R -.15(xe)-.15 G .104 (cute in the recipient').15 F 2.604(sh)-.55 G .104 -(ome directory; if that is not a)-2.604 F -.25(va)-.2 G .104 -(ilable, it tries to).25 F -.15(exe)102 341.4 S .816 +(ome directory; if that is not a)-2.604 F -.25(va)-.2 G .103 +(ilable, it tries to).25 F -.15(exe)102 667.2 S .816 (cute in the root of the \214lesystem.).15 F .816 (This is intended to be used only on the \231prog\232 mailer)5.816 F -3.316(,s)-.4 G(ince)-3.316 E .008(some shells \(such as)102 353.4 R F2 +3.317(,s)-.4 G(ince)-3.317 E .009(some shells \(such as)102 679.2 R F2 (csh)2.509 E F1 2.509(\)r)C .009(efuse to e)-2.509 F -.15(xe)-.15 G .009 (cute if the).15 F 2.509(yc)-.15 G .009 -(annot read the current directory)-2.509 F 5.009(.S)-.65 G .009 -(ince the queue)-5.009 F(directory is not normally readable by unpri)102 -365.4 Q(vile)-.25 E(ged users)-.15 E F2(csh)2.5 E F1 -(scripts as recipients can f)2.5 E(ail.)-.1 E 1.863 -(The Userid speci\214es the def)127 381.6 R 1.863 -(ault user and group id to run as, o)-.1 F -.15(ve)-.15 G 1.862 -(rriding the).15 F F0(DefaultUser)4.362 E F1 .098(option \(q.v)102 393.6 +(annot read the current directory)-2.509 F 5.008(.S)-.65 G .008 +(ince the queue)-5.008 F(directory is not normally readable by unpri)102 +691.2 Q(vile)-.25 E(ged users)-.15 E F2(csh)2.5 E F1 +(scripts as recipients can f)2.5 E(ail.)-.1 E 1.862 +(The Userid speci\214es the def)127 707.4 R 1.863 +(ault user and group id to run as, o)-.1 F -.15(ve)-.15 G 1.863 +(rriding the).15 F F0(DefaultUser)4.363 E F1 .098(option \(q.v)102 719.4 R 2.598(.\). If)-.65 F(the)2.598 E F0(S)2.598 E F1 .098(mailer \215ag i\ s also speci\214ed, this user and group will be set as the ef)2.598 F -(fecti)-.25 E .398 -.15(ve u)-.25 H(id).15 E .694 -(and gid for the process.)102 405.6 R .694(This may be gi)5.694 F -.15 -(ve)-.25 G 3.194(na).15 G(s)-3.194 E F2(user:gr)3.194 E(oup)-.45 E F1 -.693(to set both the user and group id; either)3.194 F .126 -(may be an inte)102 417.6 R .127(ger or a symbolic name to be look)-.15 -F .127(ed up in the)-.1 F F2(passwd)2.627 E F1(and)2.627 E F2(gr)2.627 E -(oup)-.45 E F1 .127(\214les respecti)2.627 F -.15(ve)-.25 G(ly).15 E -5.127(.I)-.65 G(f)-5.127 E .782 -(only a symbolic user name is speci\214ed, the group id in the)102 429.6 -R F2(passwd)3.282 E F1 .782(\214le for that user is used as the)3.282 F -(group id.)102 441.6 Q .545(The Charset \214eld is used when con)127 -457.8 R -.15(ve)-.4 G .545 -(rting a message to MIME; this is the character set used).15 F .466 -(in the Content-T)102 469.8 R .466(ype: header)-.8 F 5.466(.I)-.55 G -2.966(ft)-5.466 G .466(his is not set, the)-2.966 F F0(DefaultCharset) -2.966 E F1 .465(option is used, and if that is not)2.965 F .257 -(set, the v)102 481.8 R .257(alue \231unkno)-.25 F .257 -(wn-8bit\232 is used.)-.25 F F0 -1.2(WA)5.257 G(RNING:)1.2 E F1 .257 -(this \214eld applies to the sender')2.757 F 2.758(sm)-.55 G(ailer) --2.758 E 2.758(,n)-.4 G .258(ot the)-2.758 F(recipient')102 493.8 Q -2.702(sm)-.55 G(ailer)-2.702 E 5.202(.F)-.55 G .202(or e)-5.352 F .202 -(xample, if the en)-.15 F -.15(ve)-.4 G .201 -(lope sender address lists an address on the local netw).15 F(ork)-.1 E -.48(and the recipient is on an e)102 505.8 R .48(xternal netw)-.15 F .48 -(ork, the character set will be set from the Charset= \214eld for)-.1 F -(the local netw)102 517.8 Q(ork mailer)-.1 E 2.5(,n)-.4 G -(ot that of the e)-2.5 E(xternal netw)-.15 E(ork mailer)-.1 E(.)-.55 E -.795(The T)127 534 R .795(ype= \214eld sets the type information used i\ -n MIME error messages as de\214ned by RFC)-.8 F 2.805(1894. It)102 546 R -.305(is actually three v)2.805 F .305 -(alues separated by slashes: the MT)-.25 F .305 -(A-type \(that is, the description of ho)-.93 F(w)-.25 E .083(hosts are\ - named\), the address type \(the description of e-mail addresses\), and\ - the diagnostic type \(the)102 558 R .142 -(description of error diagnostic codes\).)102 570 R .142 -(Each of these must be a re)5.142 F .143(gistered v)-.15 F .143 -(alue or be)-.25 F .143(gin with \231X\255\232.)-.15 F(The def)102 582 Q -(ault is \231dns/rfc822/smtp\232.)-.1 E 1.175(The m= \214eld speci\214e\ -s the maximum number of messages to attempt to deli)127 598.2 R -.15(ve) --.25 G 3.674(ro).15 G 3.674(nas)-3.674 G(ingle)-3.674 E -(SMTP or LMTP connection.)102 610.2 Q(The def)5 E(ault is in\214nite.) --.1 E 1.545(The r= \214eld speci\214es the maximum number of recipients\ - to attempt to deli)127 626.4 R -.15(ve)-.25 G 4.046(ri).15 G 4.046(nas) --4.046 G(ingle)-4.046 E(en)102 638.4 Q -.15(ve)-.4 G 2.5(lope. It).15 F -(def)2.5 E(aults to 100.)-.1 E 1.052(The /= \214eld speci\214es a ne)127 -654.6 R 3.552(wr)-.25 G 1.052(oot directory for the mailer)-3.552 F -6.052(.T)-.55 G 1.052(he path is macro e)-6.052 F 1.051(xpanded and)-.15 -F .512(then passed to the \231chroot\232 system call.)102 666.6 R .512 -(The root directory is changed before the Directory \214eld is)5.512 F -(consulted or the uid is changed.)102 678.6 Q .561(The W)127 694.8 R -.561(ait= \214eld speci\214es the maximum time to w)-.8 F .56 -(ait for the mailer to return after sending all)-.1 F(data to it.)102 -706.8 Q(This applies to mailers that ha)5 E .3 -.15(ve b)-.2 H(een fork) -.15 E(ed by)-.1 E F2(sendmail)2.5 E F1(.)A 0 Cg EP +(fecti)-.25 E .398 -.15(ve u)-.25 H(id).15 E 0 Cg EP %%Page: 59 55 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-59)195.86 E/F1 10/Times-Roman@0 SF 1.163(The Queue)127 96 R +(SMM:08-59)195.86 E/F1 10/Times-Roman@0 SF .693 +(and gid for the process.)102 96 R .694(This may be gi)5.693 F -.15(ve) +-.25 G 3.194(na).15 G(s)-3.194 E/F2 10/Times-Italic@0 SF(user:gr)3.194 E +(oup)-.45 E F1 .694(to set both the user and group id; either)3.194 F +.127(may be an inte)102 108 R .127(ger or a symbolic name to be look) +-.15 F .127(ed up in the)-.1 F F2(passwd)2.627 E F1(and)2.627 E F2(gr) +2.627 E(oup)-.45 E F1 .126(\214les respecti)2.626 F -.15(ve)-.25 G(ly) +.15 E 5.126(.I)-.65 G(f)-5.126 E .782 +(only a symbolic user name is speci\214ed, the group id in the)102 120 R +F2(passwd)3.282 E F1 .782(\214le for that user is used as the)3.282 F +(group id.)102 132 Q .545(The Charset \214eld is used when con)127 148.2 +R -.15(ve)-.4 G .545 +(rting a message to MIME; this is the character set used).15 F .465 +(in the Content-T)102 160.2 R .465(ype: header)-.8 F 5.465(.I)-.55 G +2.965(ft)-5.465 G .465(his is not set, the)-2.965 F F0(DefaultCharset) +2.966 E F1 .466(option is used, and if that is not)2.966 F .258 +(set, the v)102 172.2 R .258(alue \231unkno)-.25 F .258 +(wn-8bit\232 is used.)-.25 F F0 -1.2(WA)5.257 G(RNING:)1.2 E F1 .257 +(this \214eld applies to the sender')2.757 F 2.757(sm)-.55 G(ailer) +-2.757 E 2.757(,n)-.4 G .257(ot the)-2.757 F(recipient')102 184.2 Q +2.701(sm)-.55 G(ailer)-2.701 E 5.201(.F)-.55 G .201(or e)-5.351 F .201 +(xample, if the en)-.15 F -.15(ve)-.4 G .202 +(lope sender address lists an address on the local netw).15 F(ork)-.1 E +.48(and the recipient is on an e)102 196.2 R .48(xternal netw)-.15 F .48 +(ork, the character set will be set from the Charset= \214eld for)-.1 F +(the local netw)102 208.2 Q(ork mailer)-.1 E 2.5(,n)-.4 G +(ot that of the e)-2.5 E(xternal netw)-.15 E(ork mailer)-.1 E(.)-.55 E +.794(The T)127 224.4 R .795(ype= \214eld sets the type information used\ + in MIME error messages as de\214ned by RFC)-.8 F 2.805(1894. It)102 +236.4 R .305(is actually three v)2.805 F .305 +(alues separated by slashes: the MT)-.25 F .305 +(A-type \(that is, the description of ho)-.93 F(w)-.25 E .083(hosts are\ + named\), the address type \(the description of e-mail addresses\), and\ + the diagnostic type \(the)102 248.4 R .143 +(description of error diagnostic codes\).)102 260.4 R .143 +(Each of these must be a re)5.143 F .142(gistered v)-.15 F .142 +(alue or be)-.25 F .142(gin with \231X\255\232.)-.15 F(The def)102 272.4 +Q(ault is \231dns/rfc822/smtp\232.)-.1 E 1.175(The m= \214eld speci\214\ +es the maximum number of messages to attempt to deli)127 288.6 R -.15 +(ve)-.25 G 3.675(ro).15 G 3.675(nas)-3.675 G(ingle)-3.675 E +(SMTP or LMTP connection.)102 300.6 Q(The def)5 E(ault is in\214nite.) +-.1 E 1.545(The r= \214eld speci\214es the maximum number of recipients\ + to attempt to deli)127 316.8 R -.15(ve)-.25 G 4.045(ri).15 G 4.045(nas) +-4.045 G(ingle)-4.045 E(en)102 328.8 Q -.15(ve)-.4 G 2.5(lope. It).15 F +(def)2.5 E(aults to 100.)-.1 E 1.052(The /= \214eld speci\214es a ne)127 +345 R 3.552(wr)-.25 G 1.052(oot directory for the mailer)-3.552 F 6.052 +(.T)-.55 G 1.052(he path is macro e)-6.052 F 1.052(xpanded and)-.15 F +.512(then passed to the \231chroot\232 system call.)102 357 R .512 +(The root directory is changed before the Directory \214eld is)5.512 F +(consulted or the uid is changed.)102 369 Q .56(The W)127 385.2 R .56 +(ait= \214eld speci\214es the maximum time to w)-.8 F .561 +(ait for the mailer to return after sending all)-.1 F(data to it.)102 +397.2 Q(This applies to mailers that ha)5 E .3 -.15(ve b)-.2 H(een fork) +.15 E(ed by)-.1 E F2(sendmail)2.5 E F1(.)A 1.164(The Queue)127 413.4 R 1.164(group= \214eld speci\214es the def)-.15 F 1.164 (ault queue group in which recei)-.1 F -.15(ve)-.25 G 3.664(dm).15 G -1.164(ail should be)-3.664 F 2.849(queued. This)102 108 R .349(can be o) -2.849 F -.15(ve)-.15 G .349(rridden by other means as e).15 F .348 -(xplained in section `)-.15 F .348(`Queue Groups and Queue)-.74 F -(Directories')102 120 Q('.)-.74 E F0 2.5(5.5. H)87 144 R 2.5<8a44>2.5 G -(e\214ne Header)-2.5 E F1 1.135(The format of the header lines that)127 -160.2 R/F2 10/Times-Italic@0 SF(sendmail)3.636 E F1 1.136 -(inserts into the message are de\214ned by the)3.636 F F0(H)3.636 E F1 -2.5(line. The)102 172.2 R(syntax of this line is one of the follo)2.5 E -(wing:)-.25 E F0(H)142 188.4 Q F2(hname)A F0(:)A F2(htemplate)2.5 E F0 -(H)142 208.8 Q F1([)A F0(?)A F2(m\215a)A(gs)-.1 E F0(?])A F2(hname)A F0 -(:)A F2(htemplate)2.5 E F0(H)142 229.2 Q F1([)A F0(?$)A F2({macr)A(o}) +1.163(ail should be)-3.664 F 2.848(queued. This)102 425.4 R .348 +(can be o)2.848 F -.15(ve)-.15 G .349(rridden by other means as e).15 F +.349(xplained in section `)-.15 F .349(`Queue Groups and Queue)-.74 F +(Directories')102 437.4 Q('.)-.74 E F0 2.5(5.5. H)87 461.4 R 2.5<8a44> +2.5 G(e\214ne Header)-2.5 E F1 1.136 +(The format of the header lines that)127 477.6 R F2(sendmail)3.636 E F1 +1.135(inserts into the message are de\214ned by the)3.636 F F0(H)3.635 E +F1 2.5(line. The)102 489.6 R(syntax of this line is one of the follo)2.5 +E(wing:)-.25 E F0(H)142 505.8 Q F2(hname)A F0(:)A F2(htemplate)2.5 E F0 +(H)142 526.2 Q F1([)A F0(?)A F2(m\215a)A(gs)-.1 E F0(?])A F2(hname)A F0 +(:)A F2(htemplate)2.5 E F0(H)142 546.6 Q F1([)A F0(?$)A F2({macr)A(o}) -.45 E F0(?])A F2(hname)A F0(:)A F2(htemplate)2.5 E F1 1.058(Continuati\ on lines in this spec are re\215ected directly into the outgoing messag\ -e.)102 245.4 R(The)6.058 E F2(htemplate)3.557 E F1(is)3.557 E(macro-e) -102 257.4 Q 1.12(xpanded before insertion into the message.)-.15 F 1.12 +e.)102 562.8 R(The)6.058 E F2(htemplate)3.558 E F1(is)3.558 E(macro-e) +102 574.8 Q 1.12(xpanded before insertion into the message.)-.15 F 1.12 (If the)6.12 F F2(m\215a)3.62 E(gs)-.1 E F1 1.12 (\(surrounded by question marks\))3.62 F .161(are speci\214ed, at least\ one of the speci\214ed \215ags must be stated in the mailer de\214niti\ -on for this header)102 269.4 R .857(to be automatically output.)102 -281.4 R .858(If a)5.858 F F2(${macr)3.358 E(o})-.45 E F1 .858 +on for this header)102 586.8 R .858(to be automatically output.)102 +598.8 R .858(If a)5.858 F F2(${macr)3.358 E(o})-.45 E F1 .858 (\(surrounded by question marks\) is speci\214ed, the header)3.358 F -1.264(will be automatically output if the macro is set.)102 293.4 R -1.264(The macro may be set using an)6.264 F 3.764(yo)-.15 G 3.763(ft) --3.764 G 1.263(he normal)-3.763 F .232(methods, including using the)102 -305.4 R F0(macr)2.732 E(o)-.18 E F1 .232(storage map in a ruleset.)2.732 -F .232(If one of these headers is in the input)5.232 F .125 -(it is re\215ected to the output re)102 317.4 R -.05(ga)-.15 G .125 -(rdless of these \215ags or macros.).05 F .124(Notice: If a)5.124 F F2 -(${macr)2.624 E(o})-.45 E F1 .124(is used to set a)2.624 F(header)102 -329.4 Q 4.308(,t)-.4 G 1.809 -(hen it is useful to add that macro to class)-4.308 F F2($={per)4.309 E -(sistentMacr)-.1 E(os})-.45 E F1 1.809(which consists of the)4.309 F -(macros that should be sa)102 341.4 Q -.15(ve)-.2 G 2.5(da).15 G -(cross queue runs.)-2.5 E(Some headers ha)127 357.6 Q .3 -.15(ve s)-.2 H -(pecial semantics that will be described later).15 E(.)-.55 E 2.711(As) -127 373.8 S .211(econdary syntax allo)-2.711 F .211(ws v)-.25 F .211 +1.264(will be automatically output if the macro is set.)102 610.8 R +1.264(The macro may be set using an)6.264 F 3.764(yo)-.15 G 3.764(ft) +-3.764 G 1.264(he normal)-3.764 F .233(methods, including using the)102 +622.8 R F0(macr)2.733 E(o)-.18 E F1 .232(storage map in a ruleset.)2.732 +F .232(If one of these headers is in the input)5.232 F .124 +(it is re\215ected to the output re)102 634.8 R -.05(ga)-.15 G .124 +(rdless of these \215ags or macros.).05 F .125(Notice: If a)5.125 F F2 +(${macr)2.625 E(o})-.45 E F1 .125(is used to set a)2.625 F(header)102 +646.8 Q 4.309(,t)-.4 G 1.809 +(hen it is useful to add that macro to class)-4.309 F F2($={per)4.308 E +(sistentMacr)-.1 E(os})-.45 E F1 1.808(which consists of the)4.308 F +(macros that should be sa)102 658.8 Q -.15(ve)-.2 G 2.5(da).15 G +(cross queue runs.)-2.5 E(Some headers ha)127 675 Q .3 -.15(ve s)-.2 H +(pecial semantics that will be described later).15 E(.)-.55 E 2.71(As) +127 691.2 S .21(econdary syntax allo)-2.71 F .21(ws v)-.25 F .211 (alidation of headers as the)-.25 F 2.711(ya)-.15 G .211(re being read.) --2.711 F 1.81 -.8(To e)5.21 H .21(nable v).8 F(alidation,)-.25 E(use:) -102 385.8 Q F0(H)142 402 Q F2(Header)A F0 2.5(:$)C(>)-2.5 E F2(Ruleset)A -F0(H)142 414 Q F2(Header)A F0 2.5(:$)C(>+)-2.5 E F2(Ruleset)A F1 .265 -(The indicated)102 430.2 R F2(Ruleset)2.765 E F1 .265 -(is called for the speci\214ed)2.765 F F2(Header)2.765 E F1 2.765(,a)C -.265(nd can return)-2.765 F F0($#err)2.765 E(or)-.18 E F1 .265 -(to reject or quaran-)2.765 F 1.304(tine the message or)102 442.2 R F0 -($#discard)3.804 E F1 1.304(to discard the message \(as with the other) -3.804 F F0(check_)3.804 E F1 3.804(*r)C 3.804(ulesets\). The)-3.804 F -3.175(ruleset recei)102 454.2 R -.15(ve)-.25 G 5.675(st).15 G 3.175 -(he header \214eld-body as ar)-5.675 F 3.176 -(gument, i.e., not the header \214eld-name; see also)-.18 F .63 -(${hdr_name} and ${currHeader}.)102 466.2 R .629 -(The header is treated as a structured \214eld, that is, te)5.63 F .629 -(xt in paren-)-.15 F .337 -(theses is deleted before processing, unless the second form)102 478.2 R -F0($>+)2.837 E F1 .337(is used.)2.837 F .337(Note: only one ruleset can) -5.337 F(be associated with a header;)102 490.2 Q F2(sendmail)2.5 E F1 -(will silently ignore multiple entries.)2.5 E -.15(Fo)127 506.4 S 2.5 -(re).15 G(xample, the con\214guration lines:)-2.65 E -(HMessage-Id: $>CheckMessageId)142 522.6 Q(SCheckMessageId)142 546.6 Q -(R< $+ @ $+)142 558.6 Q 11.06(>$)5 G 2.5(@O)-11.06 G(K)-2.5 E 52.83 -(R$* $#error)142 570.6 R($: Ille)2.5 E -.05(ga)-.15 G 2.5(lM).05 G -(essage-Id header)-2.5 E -.1(wo)102 586.8 S(uld refuse an).1 E 2.5(ym) --.15 G(essage that had a Message-Id: header of an)-2.5 E 2.5(yo)-.15 G -2.5(ft)-2.5 G(he follo)-2.5 E(wing forms:)-.25 E(Message-Id: <>)142 603 -Q(Message-Id: some te)142 615 Q(xt)-.15 E(Message-Id: e).15 E(xtra crud)-.15 -E 3.069(Ad)102 643.2 S(ef)-3.069 E .569 -(ault ruleset that is called for headers which don')-.1 F 3.069(th)-.18 -G -2.25 -.2(av e)-3.069 H 3.069(as)3.269 G .568 -(peci\214c ruleset de\214ned for them can)-3.069 F(be speci\214ed by:) -102 655.2 Q F0(H)142 671.4 Q F2(*)A F0 2.5(:$)C(>)-2.5 E F2(Ruleset)A F1 -(or)102 687.6 Q F0(H)142 703.8 Q F2(*)A F0 2.5(:$)C(>+)-2.5 E F2 -(Ruleset)A 0 Cg EP +-2.711 F 1.811 -.8(To e)5.211 H .211(nable v).8 F(alidation,)-.25 E +(use:)102 703.2 Q 0 Cg EP %%Page: 60 56 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 193.36(SMM:08-60 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E 2.5(5.6. O)87 96 R 2.5<8a53>2.5 -G(et Option)-2.5 E/F1 10/Times-Roman@0 SF .962(There are a number of gl\ -obal options that can be set from a con\214guration \214le.)127 112.2 R -.963(Options are)5.963 F .86(represented by full w)102 124.2 R .86(ords\ -; some are also representable as single characters for back compatibili\ -ty)-.1 F(.)-.65 E(The syntax of this line is:)102 136.2 Q F0(O)142 152.4 -Q/F2 10/Times-Italic@0 SF(option)7.5 E F0(=)A F2(value)A F1 .562 -(This sets option)102 168.6 R F2(option)3.062 E F1 .562(to be)3.062 F F2 -(value)3.062 E F1 5.562(.N)C .562(ote that there)-5.562 F F2(must)3.062 -E F1 .562(be a space between the letter `O' and the)3.062 F -(name of the option.)102 180.6 Q(An older v)5 E(ersion is:)-.15 E F0(O) -142 196.8 Q F2 1.666(ov)C(alue)-1.666 E F1 .13(where the option)102 213 -R F2(o)2.63 E F1 .13(is a single character)2.63 F 5.13(.D)-.55 G .13 -(epending on the option,)-5.13 F F2(value)2.63 E F1 .13 -(may be a string, an inte)2.63 F(ger)-.15 E(,)-.4 E 2.5(ab)102 225 S +(Installation and Operation Guide)2.5 E(H)142 96 Q/F1 10/Times-Italic@0 +SF(Header)A F0 2.5(:$)C(>)-2.5 E F1(Ruleset)A F0(H)142 108 Q F1(Header)A +F0 2.5(:$)C(>+)-2.5 E F1(Ruleset)A/F2 10/Times-Roman@0 SF .265 +(The indicated)102 124.2 R F1(Ruleset)2.765 E F2 .265 +(is called for the speci\214ed)2.765 F F1(Header)2.765 E F2 2.765(,a)C +.265(nd can return)-2.765 F F0($#err)2.765 E(or)-.18 E F2 .265 +(to reject or quaran-)2.765 F 1.304(tine the message or)102 136.2 R F0 +($#discard)3.804 E F2 1.304(to discard the message \(as with the other) +3.804 F F0(check_)3.804 E F2 3.804(*r)C 3.804(ulesets\). The)-3.804 F +3.176(ruleset recei)102 148.2 R -.15(ve)-.25 G 5.676(st).15 G 3.176 +(he header \214eld-body as ar)-5.676 F 3.175 +(gument, i.e., not the header \214eld-name; see also)-.18 F .629 +(${hdr_name} and ${currHeader}.)102 160.2 R .629 +(The header is treated as a structured \214eld, that is, te)5.629 F .63 +(xt in paren-)-.15 F .337 +(theses is deleted before processing, unless the second form)102 172.2 R +F0($>+)2.837 E F2 .337(is used.)2.837 F .337(Note: only one ruleset can) +5.337 F(be associated with a header;)102 184.2 Q F1(sendmail)2.5 E F2 +(will silently ignore multiple entries.)2.5 E -.15(Fo)127 200.4 S 2.5 +(re).15 G(xample, the con\214guration lines:)-2.65 E +(HMessage-Id: $>CheckMessageId)142 216.6 Q(SCheckMessageId)142 240.6 Q +(R< $+ @ $+)142 252.6 Q 11.06(>$)5 G 2.5(@O)-11.06 G(K)-2.5 E 52.83 +(R$* $#error)142 264.6 R($: Ille)2.5 E -.05(ga)-.15 G 2.5(lM).05 G +(essage-Id header)-2.5 E -.1(wo)102 280.8 S(uld refuse an).1 E 2.5(ym) +-.15 G(essage that had a Message-Id: header of an)-2.5 E 2.5(yo)-.15 G +2.5(ft)-2.5 G(he follo)-2.5 E(wing forms:)-.25 E(Message-Id: <>)142 297 +Q(Message-Id: some te)142 309 Q(xt)-.15 E(Message-Id: e).15 E(xtra crud)-.15 +E 3.068(Ad)102 337.2 S(ef)-3.068 E .569 +(ault ruleset that is called for headers which don')-.1 F 3.069(th)-.18 +G -2.25 -.2(av e)-3.069 H 3.069(as)3.269 G .569 +(peci\214c ruleset de\214ned for them can)-3.069 F(be speci\214ed by:) +102 349.2 Q F0(H)142 365.4 Q F1(*)A F0 2.5(:$)C(>)-2.5 E F1(Ruleset)A F2 +(or)102 381.6 Q F0(H)142 397.8 Q F1(*)A F0 2.5(:$)C(>+)-2.5 E F1 +(Ruleset)A F0 2.5(5.6. O)87 426 R 2.5<8a53>2.5 G(et Option)-2.5 E F2 +.963(There are a number of global options that can be set from a con\ +\214guration \214le.)127 442.2 R .962(Options are)5.962 F .86 +(represented by full w)102 454.2 R .86(ords; some are also representabl\ +e as single characters for back compatibility)-.1 F(.)-.65 E +(The syntax of this line is:)102 466.2 Q F0(O)142 482.4 Q F1(option)7.5 +E F0(=)A F1(value)A F2 .563(This sets option)102 498.6 R F1(option)3.062 +E F2 .562(to be)3.062 F F1(value)3.062 E F2 5.562(.N)C .562 +(ote that there)-5.562 F F1(must)3.062 E F2 .562 +(be a space between the letter `O' and the)3.062 F(name of the option.) +102 510.6 Q(An older v)5 E(ersion is:)-.15 E F0(O)142 526.8 Q F1 1.666 +(ov)C(alue)-1.666 E F2 .13(where the option)102 543 R F1(o)2.63 E F2 .13 +(is a single character)2.63 F 5.13(.D)-.55 G .13 +(epending on the option,)-5.13 F F1(value)2.63 E F2 .13 +(may be a string, an inte)2.63 F(ger)-.15 E(,)-.4 E 2.5(ab)102 555 S (oolean \(with le)-2.5 E -.05(ga)-.15 G 2.5(lv).05 G (alues \231t\232, \231T\232, \231f\232, or \231F\232; the def)-2.75 E (ault is TR)-.1 E(UE\), or a time interv)-.4 E(al.)-.25 E 1.164(All \ \214lenames used in options should be absolute paths, i.e., starting wi\ -th '/'.)127 241.2 R(Relati)6.165 E 1.465 -.15(ve \214)-.25 H(le-).15 E -(names most lik)102 253.2 Q +th '/'.)127 571.2 R(Relati)6.164 E 1.464 -.15(ve \214)-.25 H(le-).15 E +(names most lik)102 583.2 Q (ely cause surprises during operation \(unless otherwise noted\).)-.1 E (The options supported \(with the old, one character names in brack)127 -269.4 Q(ets\) are:)-.1 E(AliasFile=)102 285.6 Q F2(spec, spec, ...)A F1 -.183([A] Specify possible alias \214le\(s\).)174 297.6 R(Each)5.182 E F2 -(spec)2.682 E F1 .182(should be in the format `)2.682 F(`)-.74 E F2 -(class)A F0(:)A F2(info)2.682 E F1 -.74('')C(where)174 309.6 Q F2(class) -3.03 E F0(:)A F1 .531(is optional and def)3.03 F .531(aults to `)-.1 F -(`implicit')-.74 E 3.031('. Note)-.74 F(that)3.031 E F2(info)3.031 E F1 -.531(is required for)3.031 F(all)174 321.6 Q F2(class)3.525 E F1 1.025 -(es e)B 1.025(xcept \231ldap\232.)-.15 F -.15(Fo)6.025 G 3.524(rt).15 G -1.024(he \231ldap\232 class, if)-3.524 F F2(info)3.524 E F1 1.024 -(is not speci\214ed, a def)3.524 F(ault)-.1 E F2(info)174 333.6 Q F1 --.25(va)2.5 G(lue is used as follo).25 E(ws:)-.25 E -(\255k \(&\(objectClass=sendmailMT)214 349.8 Q(AAliasObject\))-.93 E -(\(sendmailMT)226.5 361.8 Q(AAliasName=aliases\))-.93 E(\(|\(sendmailMT) -226.5 373.8 Q -.4(AC)-.93 G(luster=${sendmailMT).4 E -.4(AC)-.93 G -(luster}\)).4 E(\(sendmailMT)231.5 385.8 Q(AHost=$j\)\))-.93 E -(\(sendmailMT)226.5 397.8 Q(AK)-.93 E -.15(ey)-.25 G(=%0\)\)).15 E -(\255v sendmailMT)214 409.8 Q(AAliasV)-.93 E(alue)-1.11 E 2.305 -(Depending on ho)174 426 R(w)-.25 E F2(sendmail)4.805 E F1 2.305 -(is compiled, v)4.805 F 2.305 -(alid classes are \231implicit\232 \(search)-.25 F 1.207(through a comp\ -iled-in list of alias \214le types, for back compatibility\), \231hash\ -\232 \(if)174 438 R/F3 9/Times-Roman@0 SF(NEWDB)174 450 Q F1 .496 -(is speci\214ed\), \231btree\232 \(if)2.996 F F3(NEWDB)2.996 E F1 .496 -(is speci\214ed\), \231dbm\232 \(if)2.996 F F3(NDBM)2.996 E F1 .496 -(is speci-)2.996 F .201(\214ed\), \231stab\232 \(internal symbol table \ -\212 not normally used unless you ha)174 462 R .5 -.15(ve n)-.2 H 2.7 -(oo).15 G(ther)-2.7 E 2.785 -(database lookup\), \231sequence\232 \(use a sequence of maps pre)174 -474 R 2.786(viously declared\),)-.25 F .639(\231ldap\232 \(if)174 486 R -F3(LD)3.139 E(APMAP)-.36 E F1 .639 -(is speci\214ed\), or \231nis\232 \(if)3.139 F F3(NIS)3.139 E F1 .638 -(is speci\214ed\).)3.139 F .638(If a list of)5.638 F F2(spec)3.138 E F1 -(s)A(are pro)174 498 Q(vided,)-.15 E F2(sendmail)2.5 E F1 -(searches them in order)2.5 E(.)-.55 E(AliasW)102 514.2 Q(ait=)-.8 E F2 -(timeout)A F1 .14([a] If set, w)174 526.2 R .14(ait up to)-.1 F F2 -(timeout)2.64 E F1 .141(\(units def)2.641 F .141 -(ault to minutes\) for an \231@:@\232 entry to e)-.1 F(xist)-.15 E .518 -(in the alias database before starting up.)174 538.2 R .517 -(If it does not appear in the)5.517 F F2(timeout)3.017 E F1(inter)3.017 -E(-)-.2 E -.25(va)174 550.2 S 2.5(li).25 G(ssue a w)-2.5 E(arning.)-.1 E -(Allo)102 566.4 Q(wBogusHELO)-.25 E 1.104([no short name] If set, allo) -174 578.4 R 3.604(wH)-.25 G 1.104(ELO SMTP commands that don')-3.604 F -3.604(ti)-.18 G 1.104(nclude a host)-3.604 F 2.882(name. Setting)174 -590.4 R .382(this violates RFC 1123 section 5.2.5, b)2.882 F .381 -(ut is necessary to interoper)-.2 F(-)-.2 E .06(ate with se)174 602.4 R --.15(ve)-.25 G .06(ral SMTP clients.).15 F .061(If there is a v)5.06 F -.061(alue, it is still check)-.25 F .061(ed for le)-.1 F(gitimac)-.15 E --.65(y.)-.15 G(AuthMaxBits=)102 618.6 Q F2(N)A F1 .698([no short name] \ -Limit the maximum encryption strength for the security layer in)5.24 F -1.317(SMTP A)174 630.6 R 1.317(UTH \(SASL\). Def)-.55 F 1.317 -(ault is essentially unlimited.)-.1 F 1.317(This allo)6.317 F 1.318 -(ws to turn of)-.25 F(f)-.25 E .377(additional encryption in SASL if ST) -174 642.6 R(AR)-.93 E .377(TTLS is already encrypting the communi-)-.6 F -.179(cation, because the e)174 654.6 R .179 -(xisting encryption strength is tak)-.15 F .179 -(en into account when choos-)-.1 F .998 -(ing an algorithm for the security layer)174 666.6 R 5.998(.F)-.55 G -.998(or e)-6.148 F .998(xample, if ST)-.15 F(AR)-.93 E .997 -(TTLS is used and)-.6 F .437 -(the symmetric cipher is 3DES, then the the k)174 678.6 R -.15(ey)-.1 G -.437(length \(in bits\) is 168.).15 F .438(Hence set-)5.438 F(ting)174 -690.6 Q F0 -.5(Au)2.5 G(thMaxBits).5 E F1(to 168 will disable an)2.5 E -2.5(ye)-.15 G(ncryption in SASL.)-2.5 E -1.05(AuthMechanisms [no)102 -706.8 R .687(short name] List of authentication mechanisms for A)3.188 F -.687(UTH \(separated by spa-)-.55 F 3.048(ces\). The)174 718.8 R(adv) -3.048 E .548 -(ertised list of authentication mechanisms will be the intersection of) --.15 F 0 Cg EP +599.4 Q(ets\) are:)-.1 E(AliasFile=)102 615.6 Q F1(spec, spec, ...)A F2 +.182([A] Specify possible alias \214le\(s\).)174 627.6 R(Each)5.182 E F1 +(spec)2.682 E F2 .183(should be in the format `)2.682 F(`)-.74 E F1 +(class)A F0(:)A F1(info)2.683 E F2 -.74('')C(where)174 639.6 Q F1(class) +3.031 E F0(:)A F2 .531(is optional and def)3.031 F .531(aults to `)-.1 F +(`implicit')-.74 E 3.031('. Note)-.74 F(that)3.031 E F1(info)3.031 E F2 +.53(is required for)3.03 F(all)174 651.6 Q F1(class)3.524 E F2 1.024 +(es e)B 1.024(xcept \231ldap\232.)-.15 F -.15(Fo)6.024 G 3.524(rt).15 G +1.024(he \231ldap\232 class, if)-3.524 F F1(info)3.524 E F2 1.025 +(is not speci\214ed, a def)3.524 F(ault)-.1 E F1(info)174 663.6 Q F2 +-.25(va)2.5 G(lue is used as follo).25 E(ws:)-.25 E 0 Cg EP %%Page: 61 57 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-61)195.86 E/F1 10/Times-Roman@0 SF 1.126 -(this list and the list of a)174 96 R -.25(va)-.2 G 1.125 -(ilable mechanisms as determined by the Cyrus SASL).25 F(library)174 108 -Q 6.166(.I)-.65 G 3.667(fS)-6.166 G -.93(TA)-3.667 G -.6(RT).93 G 1.167 +(SMM:08-61)195.86 E/F1 10/Times-Roman@0 SF +(\255k \(&\(objectClass=sendmailMT)214 96 Q(AAliasObject\))-.93 E +(\(sendmailMT)226.5 108 Q(AAliasName=aliases\))-.93 E(\(|\(sendmailMT) +226.5 120 Q -.4(AC)-.93 G(luster=${sendmailMT).4 E -.4(AC)-.93 G +(luster}\)).4 E(\(sendmailMT)231.5 132 Q(AHost=$j\)\))-.93 E +(\(sendmailMT)226.5 144 Q(AK)-.93 E -.15(ey)-.25 G(=%0\)\)).15 E +(\255v sendmailMT)214 156 Q(AAliasV)-.93 E(alue)-1.11 E 2.305 +(Depending on ho)174 172.2 R(w)-.25 E/F2 10/Times-Italic@0 SF(sendmail) +4.805 E F1 2.305(is compiled, v)4.805 F 2.305 +(alid classes are \231implicit\232 \(search)-.25 F 1.207(through a comp\ +iled-in list of alias \214le types, for back compatibility\), \231hash\ +\232 \(if)174 184.2 R/F3 9/Times-Roman@0 SF(NEWDB)174 196.2 Q F1 .496 +(is speci\214ed\), \231btree\232 \(if)2.996 F F3(NEWDB)2.996 E F1 .496 +(is speci\214ed\), \231dbm\232 \(if)2.996 F F3(NDBM)2.996 E F1 .496 +(is speci-)2.996 F .201(\214ed\), \231stab\232 \(internal symbol table \ +\212 not normally used unless you ha)174 208.2 R .501 -.15(ve n)-.2 H +2.701(oo).15 G(ther)-2.701 E 2.786 +(database lookup\), \231sequence\232 \(use a sequence of maps pre)174 +220.2 R 2.785(viously declared\),)-.25 F .638(\231ldap\232 \(if)174 +232.2 R F3(LD)3.138 E(APMAP)-.36 E F1 .638 +(is speci\214ed\), or \231nis\232 \(if)3.138 F F3(NIS)3.139 E F1 .639 +(is speci\214ed\).)3.139 F .639(If a list of)5.639 F F2(spec)3.139 E F1 +(s)A(are pro)174 244.2 Q(vided,)-.15 E F2(sendmail)2.5 E F1 +(searches them in order)2.5 E(.)-.55 E(AliasW)102 260.4 Q(ait=)-.8 E F2 +(timeout)A F1 .141([a] If set, w)174 272.4 R .141(ait up to)-.1 F F2 +(timeout)2.641 E F1 .141(\(units def)2.641 F .14 +(ault to minutes\) for an \231@:@\232 entry to e)-.1 F(xist)-.15 E .517 +(in the alias database before starting up.)174 284.4 R .517 +(If it does not appear in the)5.517 F F2(timeout)3.018 E F1(inter)3.018 +E(-)-.2 E -.25(va)174 296.4 S 2.5(li).25 G(ssue a w)-2.5 E(arning.)-.1 E +(Allo)102 312.6 Q(wBogusHELO)-.25 E 1.104([no short name] If set, allo) +174 324.6 R 3.604(wH)-.25 G 1.104(ELO SMTP commands that don')-3.604 F +3.604(ti)-.18 G 1.103(nclude a host)-3.604 F 2.881(name. Setting)174 +336.6 R .382(this violates RFC 1123 section 5.2.5, b)2.881 F .382 +(ut is necessary to interoper)-.2 F(-)-.2 E .061(ate with se)174 348.6 R +-.15(ve)-.25 G .061(ral SMTP clients.).15 F .061(If there is a v)5.061 F +.06(alue, it is still check)-.25 F .06(ed for le)-.1 F(gitimac)-.15 E +-.65(y.)-.15 G(AuthMaxBits=)102 364.8 Q F2(N)A F1 .697([no short name] \ +Limit the maximum encryption strength for the security layer in)5.24 F +1.318(SMTP A)174 376.8 R 1.318(UTH \(SASL\). Def)-.55 F 1.317 +(ault is essentially unlimited.)-.1 F 1.317(This allo)6.317 F 1.317 +(ws to turn of)-.25 F(f)-.25 E .377(additional encryption in SASL if ST) +174 388.8 R(AR)-.93 E .377(TTLS is already encrypting the communi-)-.6 F +.179(cation, because the e)174 400.8 R .179 +(xisting encryption strength is tak)-.15 F .179 +(en into account when choos-)-.1 F .997 +(ing an algorithm for the security layer)174 412.8 R 5.998(.F)-.55 G +.998(or e)-6.148 F .998(xample, if ST)-.15 F(AR)-.93 E .998 +(TTLS is used and)-.6 F .437 +(the symmetric cipher is 3DES, then the the k)174 424.8 R -.15(ey)-.1 G +.437(length \(in bits\) is 168.).15 F .437(Hence set-)5.437 F(ting)174 +436.8 Q F0 -.5(Au)2.5 G(thMaxBits).5 E F1(to 168 will disable an)2.5 E +2.5(ye)-.15 G(ncryption in SASL.)-2.5 E -1.05(AuthMechanisms [no)102 453 +R .687(short name] List of authentication mechanisms for A)3.187 F .688 +(UTH \(separated by spa-)-.55 F 3.049(ces\). The)174 465 R(adv)3.049 E +.548 +(ertised list of authentication mechanisms will be the intersection of) +-.15 F 1.125(this list and the list of a)174 477 R -.25(va)-.2 G 1.126 +(ilable mechanisms as determined by the Cyrus SASL).25 F(library)174 489 +Q 6.167(.I)-.65 G 3.667(fS)-6.167 G -.93(TA)-3.667 G -.6(RT).93 G 1.167 (TLS is acti).6 F -.15(ve)-.25 G 3.667(,E).15 G(XTERN)-3.667 E 1.167 -(AL will be added to this list.)-.35 F 1.167(In that)6.167 F -(case, the v)174 120 Q +(AL will be added to this list.)-.35 F 1.166(In that)6.167 F +(case, the v)174 501 Q (alue of {cert_subject} is used as authentication id.)-.25 E 17.83 -(AuthOptions [no)102 136.2 R .836 -(short name] List of options for SMTP A)3.336 F .836 -(UTH consisting of single characters)-.55 F(with interv)174 148.2 Q -(ening white space or commas.)-.15 E 12.78(AU)214 164.4 S(se the A) --12.78 E(UTH= parameter for the MAIL FR)-.55 E(OM)-.4 E -(command only when authentication succeeded.)234 176.4 Q -(This can be used as a w)234 188.4 Q(orkaround for brok)-.1 E(en)-.1 E -(MT)234 200.4 Q(As that do not implement RFC 2554 correctly)-.93 E(.) --.65 E 15.56(ap)214 212.4 S(rotection from acti)-15.56 E .3 -.15(ve \() --.25 H(non-dictionary\) attacks).15 E(during authentication e)234 224.4 -Q(xchange.)-.15 E 15.56(cr)214 236.4 S -(equire mechanisms which pass client credentials,)-15.56 E(and allo)234 -248.4 Q 2.5(wm)-.25 G(echanisms which can pass credentials)-2.5 E -(to do so.)234 260.4 Q 15(dd)214 272.4 S(on')-15 E 2.5(tp)-.18 G -(ermit mechanisms susceptible to passi)-2.5 E -.15(ve)-.25 G -(dictionary attack.)234 284.4 Q 16.67(fr)214 296.4 S(equire forw)-16.67 -E(ard secrec)-.1 E 2.5(yb)-.15 G(etween sessions)-2.5 E -(\(breaking one w)234 308.4 Q(on')-.1 E 2.5(th)-.18 G(elp break ne)-2.5 -E(xt\).)-.15 E 12.22(mr)214 320.4 S(equire mechanisms which pro)-12.22 E -(vide mutual authentication)-.15 E(\(only a)234 332.4 Q -.25(va)-.2 G -(ilable if using Cyrus SASL v2 or later\).).25 E 15(pd)214 344.4 S(on') --15 E 2.5(tp)-.18 G(ermit mechanisms susceptible to simple)-2.5 E(passi) -234 356.4 Q .3 -.15(ve a)-.25 H(ttack \(e.g., PLAIN, LOGIN\), unless a) -.15 E(security layer is acti)234 368.4 Q -.15(ve)-.25 G(.).15 E 15(yd) -214 380.4 S(on')-15 E 2.5(tp)-.18 G(ermit mechanisms that allo)-2.5 E -2.5(wa)-.25 G(non)-2.5 E(ymous login.)-.15 E(The \214rst option applies\ - to sendmail as a client, the others to a serv)174 396.6 Q(er)-.15 E 5 -(.E)-.55 G(xample:)-5 E 2.5(OA)214 412.8 S(uthOptions=p,y)-2.5 E -.1(wo) -174 429 S 1.346(uld disallo).1 F 3.846(wA)-.25 G 1.346(NONYMOUS as A) --3.846 F 1.347(UTH mechanism and w)-.55 F 1.347(ould allo)-.1 F 3.847 -(wP)-.25 G(LAIN)-3.847 E 1.789 -(and LOGIN only if a security layer \(e.g., pro)174 441 R 1.788 -(vided by ST)-.15 F(AR)-.93 E 1.788(TTLS\) is already)-.6 F(acti)174 453 -Q -.15(ve)-.25 G 5.364(.T).15 G .364(he options 'a', 'c', ')-5.364 F -.364(d', 'f)-.5 F .364 -(', 'p', and 'y' refer to properties of the selected).55 F 1.09 -(SASL mechanisms.)174 465 R 1.089 -(Explanations of these properties can be found in the Cyrus)6.089 F -(SASL documentation.)174 477 Q 23.39(AuthRealm [no)102 493.2 R 2.503 -(short name] The authentication realm that is passed to the Cyrus SASL) -5.002 F(library)174 505.2 Q 5(.I)-.65 G 2.5(fn)-5 G 2.5(or)-2.5 G -(ealm is speci\214ed,)-2.5 E F0($j)2.5 E F1(is used.)2.5 E -(BadRcptThrottle=)102 521.4 Q/F2 10/Times-Italic@0 SF(N)A F1 1.194([no \ -short name] If set and the speci\214ed number of recipients in a single\ - SMTP)174 533.4 R .595(transaction ha)174 545.4 R .895 -.15(ve b)-.2 H -.596(een rejected, sleep for one second after each subsequent RCPT).15 F -(command in that transaction.)174 557.4 Q(BlankSub=)102 573.6 Q F2(c)A -F1 1.255([B] Set the blank substitution character to)22.47 F F2(c)3.755 -E F1 6.255(.U)C 1.255(nquoted spaces in addresses are)-6.255 F -(replaced by this character)174 585.6 Q 5(.D)-.55 G(ef)-5 E -(aults to space \(i.e., no change is made\).)-.1 E(CA)102 601.8 Q(CertP) --.4 E 21.16(ath [no)-.15 F .896(short name] P)3.396 F .897 -(ath to directory with certi\214cates of CAs.)-.15 F .897 -(This directory direc-)5.897 F 1.234(tory must contain the hashes of ea\ -ch CA certi\214cate as \214lenames \(or as links to)174 613.8 R(them\).) -174 625.8 Q(CA)102 642 Q 23.23(CertFile [no)-.4 F 1.439(short name] Fil\ -e containing one or more CA certi\214cates; see section about)3.939 F -(ST)174 654 Q(AR)-.93 E(TTLS for more information.)-.6 E 14.51 -(CheckAliases [n])102 670.2 R -1.11(Va)2.5 G -(lidate the RHS of aliases when reb)1.11 E(uilding the alias database.) --.2 E(CheckpointInterv)102 686.4 Q(al=)-.25 E F2(N)A F1 1.297 -([C] Checkpoints the queue e)174 698.4 R -.15(ve)-.25 G(ry).15 E F2(N) -3.797 E F1(\(def)3.797 E 1.297(ault 10\) addresses sent.)-.1 F 1.296 -(If your system)6.296 F .746(crashes during deli)174 710.4 R -.15(ve) --.25 G .746(ry to a lar).15 F .746(ge list, this pre)-.18 F -.15(ve)-.25 -G .746(nts retransmission to an).15 F 3.247(yb)-.15 G .747(ut the)-3.447 -F(last)174 722.4 Q F2(N)2.5 E F1(recipients.)2.5 E 0 Cg EP +(AuthOptions [no)102 517.2 R .836 +(short name] List of options for SMTP A)3.335 F .836 +(UTH consisting of single characters)-.55 F(with interv)174 529.2 Q +(ening white space or commas.)-.15 E 0 Cg EP %%Page: 62 58 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 193.36(SMM:08-62 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF(ClassF) -102 96 Q(actor=)-.15 E/F2 10/Times-Italic@0 SF(fact)A F1 1.625 -([z] The indicated)4.29 F F2(fact)4.124 E F1 1.624 -(or is multiplied by the message class \(determined by the)B .718 -(Precedence: \214eld in the user header and the)174 108 R F0(P)3.219 E -F1 .719(lines in the con\214guration \214le\) and)3.219 F 2.638 -(subtracted from the priority)174 120 R 7.637(.T)-.65 G 2.637 -(hus, messages with a higher Priority: will be)-7.637 F -.1(fa)174 132 S --.2(vo)-.1 G 2.5(red. Def).2 F(aults to 1800.)-.1 E 12.27 -(ClientCertFile [no)102 148.2 R .708(short name] File containing the ce\ -rti\214cate of the client, i.e., this certi\214cate is)3.208 F -(used when)174 160.2 Q F2(sendmail)2.5 E F1(acts as client \(for ST)2.5 -E(AR)-.93 E(TTLS\).)-.6 E(ClientK)102 176.4 Q -.15(ey)-.25 G 13.23 -(File [no).15 F .714(short name] File containing the pri)3.215 F -.25 -(va)-.25 G .714(te k).25 F 1.014 -.15(ey b)-.1 H .714 -(elonging to the client certi\214cate).15 F(\(for ST)174 188.4 Q(AR)-.93 -E(TTLS if)-.6 E F2(sendmail)2.5 E F1(runs as client\).)2.5 E -(ClientPortOptions=)102 204.6 Q F2(options)A F1 .355 -([O] Set client SMTP options.)174 216.6 R .355(The options are)5.355 F -F2 -.1(ke)2.855 G(y=value)-.2 E F1 .355(pairs separated by com-)2.855 F -2.5(mas. Kno)174 228.6 R(wn k)-.25 E -.15(ey)-.1 G 2.5(sa).15 G(re:)-2.5 -E 52.83(Port Name/number)214 244.8 R -(of source port for connection \(def)2.5 E(aults to an)-.1 E 2.5(yf)-.15 -G(ree port\))-2.5 E 48.95(Addr Address)214 256.8 R(mask \(def)2.5 E -(aults IN)-.1 E(ADDR_ANY\))-.35 E -.15(Fa)214 268.8 S 41.31 -(mily Address).15 F -.1(fa)2.5 G(mily \(def).1 E(aults to INET\))-.1 E -21.72(SndBufSize Size)214 280.8 R(of TCP send b)2.5 E(uf)-.2 E(fer)-.25 -E 21.17(RcvBufSize Size)214 292.8 R(of TCP recei)2.5 E .3 -.15(ve b)-.25 -H(uf)-.05 E(fer)-.25 E 34.5(Modi\214er Options)214 304.8 R -(\(\215ags\) for the client)2.5 E(The)174 321 Q F2(Addr)3.166 E F1 .666 -(ess mask may be a numeric address in dot notation or a netw)B .665 -(ork name.)-.1 F F2(Modi\214er)174 333 Q F1(can be the follo)2.5 E -(wing character:)-.25 E 67(hu)214 349.2 S(se name of interf)-67 E -(ace for HELO command)-.1 E 64.78(Ad)214 361.2 S(on')-64.78 E 2.5(tu) --.18 G(se A)-2.5 E(UTH when sending e-mail)-.55 E 66.44(Sd)214 373.2 S -(on')-66.44 E 2.5(tu)-.18 G(se ST)-2.5 E(AR)-.93 E -(TTLS when sending e-mail)-.6 E .763(If `)174 389.4 R(`h')-.74 E 3.263 -('i)-.74 G 3.263(ss)-3.263 G .763 -(et, the name corresponding to the outgoing interf)-3.263 F .764 -(ace address \(whether)-.1 F .431 -(chosen via the Connection parameter or the def)174 401.4 R .431 -(ault\) is used for the HELO/EHLO)-.1 F 3.617(command. Ho)174 413.4 R -(we)-.25 E -.15(ve)-.25 G 1.917 -.4(r, t).15 H 1.118 -(he name must not start with a square brack).4 F 1.118(et and it must) --.1 F 1.842(contain at least one dot.)174 425.4 R 1.842 -(This is a simple test whether the name is not an IP)6.842 F .712 -(address \(in square brack)174 437.4 R .713(ets\) b)-.1 F .713 -(ut a quali\214ed hostname.)-.2 F .713(Note that multiple Client-)5.713 -F .344(PortOptions settings are allo)174 449.4 R .343 -(wed in order to gi)-.25 F .643 -.15(ve s)-.25 H .343 -(ettings for each protocol f).15 F(amily)-.1 E .315(\(e.g., one for F) -174 461.4 R .316(amily=inet and one for F)-.15 F 2.816(amily=inet6\). A) --.15 F .316(restriction placed on one)2.816 F -.1(fa)174 473.4 S -(mily only af).1 E(fects outgoing connections on that particular f)-.25 -E(amily)-.1 E(.)-.65 E 3.95(ColonOkInAddr [no)102 489.6 R 4.679 -(short name] If set, colons are acceptable in e-mail addresses \(e.g.,) -7.18 F 3.54(\231host:user\232\). If)174 501.6 R 1.04 -(not set, colons indicate the be)3.54 F 1.04 -(ginning of a RFC 822 group con-)-.15 F 1.988 -(struct \(\231groupname: member1, member2, ... memberN;\232\).)174 513.6 -R 1.987(Doubled colons are)6.987 F(al)174 525.6 Q -.1(wa)-.1 G 2.215(ys\ - acceptable \(\231nodename::user\232\) and proper route-addr nesting is\ - under).1 F(-)-.2 E 1.037(stood \(\231<@relay:user@host>\232\).)174 -537.6 R 1.037(Furthermore, this option def)6.037 F 1.036 -(aults on if the con-)-.1 F .853(\214guration v)174 549.6 R .853 -(ersion le)-.15 F -.15(ve)-.25 G 3.353(li).15 G 3.353(sl)-3.353 G .853 -(ess than 6 \(for back compatibility\).)-3.353 F(Ho)5.854 E(we)-.25 E --.15(ve)-.25 G 1.654 -.4(r, i).15 H 3.354(tm).4 G(ust)-3.354 E(be of)174 -561.6 Q 2.5(ff)-.25 G(or full compatibility with RFC 822.)-2.5 E -(ConnectionCacheSize=)102 577.8 Q F2(N)A F1 .242([k] The maximum number\ - of open connections that will be cached at a time.)174 589.8 R(The) -5.242 E(def)174 601.8 Q .385(ault is one.)-.1 F .386 -(This delays closing the current connection until either this in)5.386 F --.2(vo)-.4 G(ca-).2 E 1.192(tion of)174 613.8 R F2(sendmail)3.692 E F1 -1.191(needs to connect to another host or it terminates.)3.692 F 1.191 -(Setting it to)6.191 F 2.046(zero def)174 625.8 R 2.046 -(aults to the old beha)-.1 F(vior)-.2 E 4.546(,t)-.4 G 2.047 -(hat is, connections are closed immediately)-4.546 F(.)-.65 E .266(Sinc\ -e this consumes \214le descriptors, the connection cache should be k)174 -637.8 R .265(ept small: 4)-.1 F(is probably a practical maximum.)174 -649.8 Q(ConnectionCacheT)102 666 Q(imeout=)-.35 E F2(timeout)A F1 .708(\ -[K] The maximum amount of time a cached connection will be permitted to\ - idle)174 678 R 1.083(without acti)174 690 R(vity)-.25 E 6.083(.I)-.65 G -3.583(ft)-6.083 G 1.083(his time is e)-3.583 F 1.082 -(xceeded, the connection is immediately closed.)-.15 F .417(This v)174 -702 R .418(alue should be small \(on the order of ten minutes\).)-.25 F -(Before)5.418 E F2(sendmail)2.918 E F1 .418(uses a)2.918 F .508 -(cached connection, it al)174 714 R -.1(wa)-.1 G .507 -(ys sends a RSET command to check the connection; if).1 F 0 Cg EP +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 12.78(AU) +214 96 S(se the A)-12.78 E(UTH= parameter for the MAIL FR)-.55 E(OM)-.4 +E(command only when authentication succeeded.)234 108 Q +(This can be used as a w)234 120 Q(orkaround for brok)-.1 E(en)-.1 E(MT) +234 132 Q(As that do not implement RFC 2554 correctly)-.93 E(.)-.65 E +15.56(ap)214 144 S(rotection from acti)-15.56 E .3 -.15(ve \()-.25 H +(non-dictionary\) attacks).15 E(during authentication e)234 156 Q +(xchange.)-.15 E 15.56(cr)214 168 S +(equire mechanisms which pass client credentials,)-15.56 E(and allo)234 +180 Q 2.5(wm)-.25 G(echanisms which can pass credentials)-2.5 E +(to do so.)234 192 Q 15(dd)214 204 S(on')-15 E 2.5(tp)-.18 G +(ermit mechanisms susceptible to passi)-2.5 E -.15(ve)-.25 G +(dictionary attack.)234 216 Q 16.67(fr)214 228 S(equire forw)-16.67 E +(ard secrec)-.1 E 2.5(yb)-.15 G(etween sessions)-2.5 E(\(breaking one w) +234 240 Q(on')-.1 E 2.5(th)-.18 G(elp break ne)-2.5 E(xt\).)-.15 E 12.22 +(mr)214 252 S(equire mechanisms which pro)-12.22 E +(vide mutual authentication)-.15 E(\(only a)234 264 Q -.25(va)-.2 G +(ilable if using Cyrus SASL v2 or later\).).25 E 15(pd)214 276 S(on')-15 +E 2.5(tp)-.18 G(ermit mechanisms susceptible to simple)-2.5 E(passi)234 +288 Q .3 -.15(ve a)-.25 H(ttack \(e.g., PLAIN, LOGIN\), unless a).15 E +(security layer is acti)234 300 Q -.15(ve)-.25 G(.).15 E 15(yd)214 312 S +(on')-15 E 2.5(tp)-.18 G(ermit mechanisms that allo)-2.5 E 2.5(wa)-.25 G +(non)-2.5 E(ymous login.)-.15 E(The \214rst option applies to sendmail \ +as a client, the others to a serv)174 328.2 Q(er)-.15 E 5(.E)-.55 G +(xample:)-5 E 2.5(OA)214 344.4 S(uthOptions=p,y)-2.5 E -.1(wo)174 360.6 +S 1.347(uld disallo).1 F 3.847(wA)-.25 G 1.347(NONYMOUS as A)-3.847 F +1.347(UTH mechanism and w)-.55 F 1.346(ould allo)-.1 F 3.846(wP)-.25 G +(LAIN)-3.846 E 1.788(and LOGIN only if a security layer \(e.g., pro)174 +372.6 R 1.789(vided by ST)-.15 F(AR)-.93 E 1.789(TTLS\) is already)-.6 F +(acti)174 384.6 Q -.15(ve)-.25 G 5.364(.T).15 G .364 +(he options 'a', 'c', ')-5.364 F .364(d', 'f)-.5 F .364 +(', 'p', and 'y' refer to properties of the selected).55 F 1.089 +(SASL mechanisms.)174 396.6 R 1.089 +(Explanations of these properties can be found in the Cyrus)6.089 F +(SASL documentation.)174 408.6 Q 23.39(AuthRealm [no)102 424.8 R 2.502 +(short name] The authentication realm that is passed to the Cyrus SASL) +5.003 F(library)174 436.8 Q 5(.I)-.65 G 2.5(fn)-5 G 2.5(or)-2.5 G +(ealm is speci\214ed,)-2.5 E F0($j)2.5 E F1(is used.)2.5 E +(BadRcptThrottle=)102 453 Q/F2 10/Times-Italic@0 SF(N)A F1 1.194([no sh\ +ort name] If set and the speci\214ed number of recipients in a single S\ +MTP)174 465 R .596(transaction ha)174 477 R .896 -.15(ve b)-.2 H .595 +(een rejected, sleep for one second after each subsequent RCPT).15 F +(command in that transaction.)174 489 Q(BlankSub=)102 505.2 Q F2(c)A F1 +1.255([B] Set the blank substitution character to)22.47 F F2(c)3.755 E +F1 6.255(.U)C 1.255(nquoted spaces in addresses are)-6.255 F +(replaced by this character)174 517.2 Q 5(.D)-.55 G(ef)-5 E +(aults to space \(i.e., no change is made\).)-.1 E(CA)102 533.4 Q(CertP) +-.4 E 21.16(ath [no)-.15 F .897(short name] P)3.397 F .897 +(ath to directory with certi\214cates of CAs.)-.15 F .896 +(This directory direc-)5.896 F 1.234(tory must contain the hashes of ea\ +ch CA certi\214cate as \214lenames \(or as links to)174 545.4 R(them\).) +174 557.4 Q(CA)102 573.6 Q 23.23(CertFile [no)-.4 F 1.439(short name] F\ +ile containing one or more CA certi\214cates; see section about)3.94 F +(ST)174 585.6 Q(AR)-.93 E(TTLS for more information.)-.6 E 14.51 +(CheckAliases [n])102 601.8 R -1.11(Va)2.5 G +(lidate the RHS of aliases when reb)1.11 E(uilding the alias database.) +-.2 E(CheckpointInterv)102 618 Q(al=)-.25 E F2(N)A F1 1.296 +([C] Checkpoints the queue e)174 630 R -.15(ve)-.25 G(ry).15 E F2(N) +3.797 E F1(\(def)3.797 E 1.297(ault 10\) addresses sent.)-.1 F 1.297 +(If your system)6.297 F .747(crashes during deli)174 642 R -.15(ve)-.25 +G .746(ry to a lar).15 F .746(ge list, this pre)-.18 F -.15(ve)-.25 G +.746(nts retransmission to an).15 F 3.246(yb)-.15 G .746(ut the)-3.446 F +(last)174 654 Q F2(N)2.5 E F1(recipients.)2.5 E(ClassF)102 670.2 Q +(actor=)-.15 E F2(fact)A F1 1.624([z] The indicated)4.29 F F2(fact)4.124 +E F1 1.624(or is multiplied by the message class \(determined by the)B +.719(Precedence: \214eld in the user header and the)174 682.2 R F0(P) +3.219 E F1 .718(lines in the con\214guration \214le\) and)3.218 F 2.637 +(subtracted from the priority)174 694.2 R 7.637(.T)-.65 G 2.637 +(hus, messages with a higher Priority: will be)-7.637 F -.1(fa)174 706.2 +S -.2(vo)-.1 G 2.5(red. Def).2 F(aults to 1800.)-.1 E 0 Cg EP %%Page: 63 59 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-63)195.86 E/F1 10/Times-Roman@0 SF .401(this f)174 96 R .401 -(ails, it reopens the connection.)-.1 F .401(This k)5.401 F .402 -(eeps your end from f)-.1 F .402(ailing if the other)-.1 F 1.545 -(end times out.)174 108 R 1.545 -(The point of this option is to be a good netw)6.545 F 1.544 -(ork neighbor and)-.1 F -.2(avo)174 120 S(id using up e).2 E(xcessi)-.15 -E .3 -.15(ve r)-.25 H(esources on the other end.).15 E(The def)5 E -(ault is \214v)-.1 E 2.5(em)-.15 G(inutes.)-2.5 E(ConnectOnlyT)102 136.2 -Q(o=)-.8 E/F2 10/Times-Italic@0 SF(addr)A(ess)-.37 E F1 .861 -([no short name] This can be used to o)174 148.2 R -.15(ve)-.15 G .862 -(rride the connection address \(for testing).15 F(purposes\).)174 160.2 -Q(ConnectionRateThrottle=)102 176.4 Q F2(N)A F1 .212 -([no short name] If set to a positi)174 188.4 R .511 -.15(ve v)-.25 H -.211(alue, allo)-.1 F 2.711(wn)-.25 G 2.711(om)-2.711 G .211(ore than) --2.711 F F2(N)2.711 E F1 .211(incoming connec-)2.711 F .132 -(tions in a one second period per daemon.)174 200.4 R .132 -(This is intended to \215atten out peaks and)5.132 F(allo)174 212.4 Q -2.5(wt)-.25 G(he load a)-2.5 E -.15(ve)-.2 G(rage checking to cut in.) -.15 E(Def)5 E(aults to zero \(no limits\).)-.1 E(ConnectionRateW)102 -228.6 Q(indo)-.4 E(wSize=)-.25 E F2(N)A F1 .459 -([no short name] De\214ne the length of the interv)174 240.6 R .458 -(al for which the number of incom-)-.25 F -(ing connections is maintained.)174 252.6 Q(The def)5 E -(ault is 60 seconds.)-.1 E(ControlSock)102 268.8 Q(etName=)-.1 E F2 -(name)A F1 .476([no short name] Name of the control sock)174 280.8 R -.477(et for daemon management.)-.1 F 2.977(Ar)5.477 G(unning)-2.977 E F2 -(sendmail)174 292.8 Q F1 1.225 -(daemon can be controlled through this named sock)3.725 F 3.725(et. A) --.1 F -.25(va)-.74 G 1.225(ilable com-).25 F 2.926(mands are:)174 304.8 -R F2 2.926(help, mstat, r)5.426 F 2.926(estart, shutdown,)-.37 F F1(and) -5.426 E F2(status.)5.426 E F1(The)7.926 E F2(status)5.426 E F1(command) -5.426 E .46(returns the current number of daemon children, the maximum \ -number of daemon)174 316.8 R .449 -(children, the free disk space \(in blocks\) of the queue directory)174 -328.8 R 2.95(,a)-.65 G .45(nd the load a)-2.95 F -.15(ve)-.2 G -.2(r-) -.15 G .883(age of the machine e)174 340.8 R .883(xpressed as an inte) --.15 F(ger)-.15 E 5.883(.I)-.55 G 3.383(fn)-5.883 G .882 -(ot set, no control sock)-3.383 F .882(et will be)-.1 F -.2(av)174 352.8 -S 5.029(ailable. Solaris)-.05 F 2.529(and pre-4.4BSD k)5.029 F 2.529 -(ernel users should see the note in send-)-.1 F(mail/README .)174 364.8 -Q(CRLFile=)102 381 Q F2(name)A F1 .483 -([no short name] Name of \214le that contains certi\214cate re)9.69 F --.2(vo)-.25 G .482(cation status, useful for).2 F .792 -(X.509v3 authentication.)174 393 R .792 -(CRL checking requires at least OpenSSL v)5.792 F .793(ersion 0.9.7.) --.15 F(Note: if a CRLFile is speci\214ed b)174 405 Q -(ut the \214le is unusable, ST)-.2 E(AR)-.93 E(TTLS is disabled.)-.6 E -(DHP)102 421.2 Q 10.78(arameters File)-.15 F 1.149 -(with DH parameters for ST)3.65 F(AR)-.93 E 3.649(TTLS. This)-.6 F 1.149 -(is only required if a ciphersuite)3.649 F 1.025 -(containing DSA/DH is used.)174 433.2 R 1.025 -(This is only for people with a good kno)6.025 F 1.026(wledge of)-.25 F -(TLS, all others can ignore this option.)174 445.2 Q(DaemonPortOptions=) -102 461.4 Q F2(options)A F1 .364([O] Set serv)174 473.4 R .364 -(er SMTP options.)-.15 F .364(Each instance of)5.364 F F0(DaemonP)2.863 -E(ortOptions)-.2 E F1 .363(leads to an)2.863 F(additional incoming sock) -174 485.4 Q 2.5(et. The)-.1 F(options are)2.5 E F2 -.1(ke)2.5 G(y=value) --.2 E F1 2.5(pairs. Kno)2.5 F(wn k)-.25 E -.15(ey)-.1 G 2.5(sa).15 G -(re:)-2.5 E 45.62(Name User)214 501.6 R -(-de\214nable name for the daemon \(def)-.2 E(aults to "Daemon#"\))-.1 E -52.83(Port Name/number)214 513.6 R(of listening port \(def)2.5 E -(aults to "smtp"\))-.1 E 48.95(Addr Address)214 525.6 R(mask \(def)2.5 E -(aults IN)-.1 E(ADDR_ANY\))-.35 E -.15(Fa)214 537.6 S 41.31 +(SMM:08-63)195.86 E/F1 10/Times-Roman@0 SF 12.27(ClientCertFile [no)102 +96 R .708(short name] File containing the certi\214cate of the client, \ +i.e., this certi\214cate is)3.209 F(used when)174 108 Q/F2 10 +/Times-Italic@0 SF(sendmail)2.5 E F1(acts as client \(for ST)2.5 E(AR) +-.93 E(TTLS\).)-.6 E(ClientK)102 124.2 Q -.15(ey)-.25 G 13.23(File [no) +.15 F .714(short name] File containing the pri)3.214 F -.25(va)-.25 G +.714(te k).25 F 1.014 -.15(ey b)-.1 H .714 +(elonging to the client certi\214cate).15 F(\(for ST)174 136.2 Q(AR)-.93 +E(TTLS if)-.6 E F2(sendmail)2.5 E F1(runs as client\).)2.5 E +(ClientPortOptions=)102 152.4 Q F2(options)A F1 .355 +([O] Set client SMTP options.)174 164.4 R .355(The options are)5.355 F +F2 -.1(ke)2.855 G(y=value)-.2 E F1 .355(pairs separated by com-)2.855 F +2.5(mas. Kno)174 176.4 R(wn k)-.25 E -.15(ey)-.1 G 2.5(sa).15 G(re:)-2.5 +E 52.83(Port Name/number)214 192.6 R +(of source port for connection \(def)2.5 E(aults to an)-.1 E 2.5(yf)-.15 +G(ree port\))-2.5 E 48.95(Addr Address)214 204.6 R(mask \(def)2.5 E +(aults IN)-.1 E(ADDR_ANY\))-.35 E -.15(Fa)214 216.6 S 41.31 (mily Address).15 F -.1(fa)2.5 G(mily \(def).1 E(aults to INET\))-.1 E -3.94(InputMailFilters List)214 549.6 R -(of input mail \214lters for the daemon)2.5 E 44.5(Listen Size)214 561.6 -R(of listen queue \(def)2.5 E(aults to 10\))-.1 E 34.5 -(Modi\214er Options)214 573.6 R(\(\215ags\) for the daemon)2.5 E 21.72 -(SndBufSize Size)214 585.6 R(of TCP send b)2.5 E(uf)-.2 E(fer)-.25 E -21.17(RcvBufSize Size)214 597.6 R(of TCP recei)2.5 E .3 -.15(ve b)-.25 H -(uf)-.05 E(fer)-.25 E 36.73(children maximum)214 609.6 R -(number of children per daemon, see)2.5 E F0(MaxDaemonChildr)2.5 E(en) --.18 E F1(.)A(Deli)214 621.6 Q -.15(ve)-.25 G 11.58(ryMode Deli).15 F --.15(ve)-.25 G(ry mode per daemon, see).15 E F0(Deli)2.5 E -.1(ve)-.1 G -(ryMode).1 E F1(.)A 31.74(refuseLA RefuseLA)214 633.6 R(per daemon)2.5 E -34.51(delayLA DelayLA)214 645.6 R(per daemon)2.5 E 32.29 -(queueLA QueueLA)214 657.6 R(per daemon)2.5 E(The)174 673.8 Q F2(Name) -2.68 E F1 -.1(ke)2.68 G 2.68(yi)-.05 G 2.68(su)-2.68 G .181 -(sed for error messages and logging.)-2.68 F(The)5.181 E F2(Addr)2.681 E -F1 .181(ess mask may be)B 2.908(an)174 685.8 S .407 -(umeric address in dot notation or a netw)-2.908 F .407(ork name.)-.1 F -(The)5.407 E F2 -.75(Fa)2.907 G(mily).75 E F1 -.1(ke)2.907 G 2.907(yd) --.05 G(ef)-2.907 E .407(aults to)-.1 F 1.16(INET \(IPv4\).)174 697.8 R -1.161(IPv6 users who wish to also accept IPv6 connections should add) -6.16 F 2.215(additional F)174 709.8 R(amily=inet6)-.15 E F0(DaemonP) -4.715 E(ortOptions)-.2 E F1 4.715(lines. The)4.715 F F2(InputMailF)4.715 -E(ilter)-.45 E(s)-.1 E F1 -.1(ke)4.715 G(y)-.05 E -.15(ove)174 721.8 S -.01(rrides the def).15 F .01 -(ault list of input mail \214lters listed in the)-.1 F F0 -(InputMailFilters)2.51 E F1(option.)2.51 E 0 Cg EP +21.72(SndBufSize Size)214 228.6 R(of TCP send b)2.5 E(uf)-.2 E(fer)-.25 +E 21.17(RcvBufSize Size)214 240.6 R(of TCP recei)2.5 E .3 -.15(ve b)-.25 +H(uf)-.05 E(fer)-.25 E 34.5(Modi\214er Options)214 252.6 R +(\(\215ags\) for the client)2.5 E(The)174 268.8 Q F2(Addr)3.165 E F1 +.666(ess mask may be a numeric address in dot notation or a netw)B .666 +(ork name.)-.1 F F2(Modi\214er)174 280.8 Q F1(can be the follo)2.5 E +(wing character:)-.25 E 67(hu)214 297 S(se name of interf)-67 E +(ace for HELO command)-.1 E 64.78(Ad)214 309 S(on')-64.78 E 2.5(tu)-.18 +G(se A)-2.5 E(UTH when sending e-mail)-.55 E 66.44(Sd)214 321 S(on') +-66.44 E 2.5(tu)-.18 G(se ST)-2.5 E(AR)-.93 E(TTLS when sending e-mail) +-.6 E .764(If `)174 337.2 R(`h')-.74 E 3.264('i)-.74 G 3.264(ss)-3.264 G +.763(et, the name corresponding to the outgoing interf)-3.264 F .763 +(ace address \(whether)-.1 F .431 +(chosen via the Connection parameter or the def)174 349.2 R .431 +(ault\) is used for the HELO/EHLO)-.1 F 3.618(command. Ho)174 361.2 R +(we)-.25 E -.15(ve)-.25 G 1.918 -.4(r, t).15 H 1.118 +(he name must not start with a square brack).4 F 1.117(et and it must) +-.1 F 1.841(contain at least one dot.)174 373.2 R 1.842 +(This is a simple test whether the name is not an IP)6.842 F .713 +(address \(in square brack)174 385.2 R .713(ets\) b)-.1 F .713 +(ut a quali\214ed hostname.)-.2 F .712(Note that multiple Client-)5.713 +F .343(PortOptions settings are allo)174 397.2 R .343 +(wed in order to gi)-.25 F .643 -.15(ve s)-.25 H .344 +(ettings for each protocol f).15 F(amily)-.1 E .316(\(e.g., one for F) +174 409.2 R .316(amily=inet and one for F)-.15 F 2.816(amily=inet6\). A) +-.15 F .315(restriction placed on one)2.816 F -.1(fa)174 421.2 S +(mily only af).1 E(fects outgoing connections on that particular f)-.25 +E(amily)-.1 E(.)-.65 E 3.95(ColonOkInAddr [no)102 437.4 R 4.679 +(short name] If set, colons are acceptable in e-mail addresses \(e.g.,) +7.179 F 3.54(\231host:user\232\). If)174 449.4 R 1.04 +(not set, colons indicate the be)3.54 F 1.04 +(ginning of a RFC 822 group con-)-.15 F 1.987 +(struct \(\231groupname: member1, member2, ... memberN;\232\).)174 461.4 +R 1.988(Doubled colons are)6.988 F(al)174 473.4 Q -.1(wa)-.1 G 2.215(ys\ + acceptable \(\231nodename::user\232\) and proper route-addr nesting is\ + under).1 F(-)-.2 E 1.036(stood \(\231<@relay:user@host>\232\).)174 +485.4 R 1.037(Furthermore, this option def)6.036 F 1.037 +(aults on if the con-)-.1 F .854(\214guration v)174 497.4 R .854 +(ersion le)-.15 F -.15(ve)-.25 G 3.354(li).15 G 3.354(sl)-3.354 G .853 +(ess than 6 \(for back compatibility\).)-3.354 F(Ho)5.853 E(we)-.25 E +-.15(ve)-.25 G 1.653 -.4(r, i).15 H 3.353(tm).4 G(ust)-3.353 E(be of)174 +509.4 Q 2.5(ff)-.25 G(or full compatibility with RFC 822.)-2.5 E +(ConnectionCacheSize=)102 525.6 Q F2(N)A F1 .242([k] The maximum number\ + of open connections that will be cached at a time.)174 537.6 R(The) +5.243 E(def)174 549.6 Q .386(ault is one.)-.1 F .386 +(This delays closing the current connection until either this in)5.386 F +-.2(vo)-.4 G(ca-).2 E 1.191(tion of)174 561.6 R F2(sendmail)3.691 E F1 +1.191(needs to connect to another host or it terminates.)3.691 F 1.192 +(Setting it to)6.192 F 2.047(zero def)174 573.6 R 2.047 +(aults to the old beha)-.1 F(vior)-.2 E 4.546(,t)-.4 G 2.046 +(hat is, connections are closed immediately)-4.546 F(.)-.65 E .266(Sinc\ +e this consumes \214le descriptors, the connection cache should be k)174 +585.6 R .266(ept small: 4)-.1 F(is probably a practical maximum.)174 +597.6 Q(ConnectionCacheT)102 613.8 Q(imeout=)-.35 E F2(timeout)A F1 .708 +([K] The maximum amount of time a cached connection will be permitted t\ +o idle)174 625.8 R 1.082(without acti)174 637.8 R(vity)-.25 E 6.082(.I) +-.65 G 3.582(ft)-6.082 G 1.083(his time is e)-3.582 F 1.083 +(xceeded, the connection is immediately closed.)-.15 F .418(This v)174 +649.8 R .418(alue should be small \(on the order of ten minutes\).)-.25 +F(Before)5.418 E F2(sendmail)2.918 E F1 .417(uses a)2.917 F .507 +(cached connection, it al)174 661.8 R -.1(wa)-.1 G .508 +(ys sends a RSET command to check the connection; if).1 F .402(this f) +174 673.8 R .402(ails, it reopens the connection.)-.1 F .401(This k) +5.402 F .401(eeps your end from f)-.1 F .401(ailing if the other)-.1 F +1.544(end times out.)174 685.8 R 1.545 +(The point of this option is to be a good netw)6.544 F 1.545 +(ork neighbor and)-.1 F -.2(avo)174 697.8 S(id using up e).2 E(xcessi) +-.15 E .3 -.15(ve r)-.25 H(esources on the other end.).15 E(The def)5 E +(ault is \214v)-.1 E 2.5(em)-.15 G(inutes.)-2.5 E 0 Cg EP %%Page: 64 60 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 193.36(SMM:08-64 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 1.011 -(If multiple input mail \214lters are required, the)174 96 R 3.511(ym) --.15 G 1.011(ust be separated by semicolons)-3.511 F .177 -(\(not commas\).)174 108 R/F2 10/Times-Italic@0 SF(Modi\214er)5.177 E F1 -.177(can be a sequence \(without an)2.677 F 2.678(yd)-.15 G .178 -(elimiters\) of the follo)-2.678 F(w-)-.25 E(ing characters:)174 120 Q -67.56(aa)214 136.2 S -.1(lwa)-67.56 G(ys require authentication).1 E 67 -(bb)214 148.2 S(ind to interf)-67 E -(ace through which mail has been recei)-.1 E -.15(ve)-.25 G(d).15 E -67.56(cp)214 160.2 S(erform hostname canoni\214cation \(.cf\))-67.56 E -68.67(fr)214 172.2 S(equire fully quali\214ed hostname \(.cf\))-68.67 E -68.11(sR)214 184.2 S(un smtps \(SMTP o)-68.11 E -.15(ve)-.15 G 2.5(rS) -.15 G(SL\) instead of smtp)-2.5 E 67(ua)214 196.2 S(llo)-67 E 2.5(wu) --.25 G(nquali\214ed addresses \(.cf\))-2.5 E 64.78(Ad)214 208.2 S -(isable A)-64.78 E(UTH \(o)-.55 E -.15(ve)-.15 G -(rrides 'a' modi\214er\)).15 E 65.33(Cd)214 220.2 S(on')-65.33 E 2.5(tp) --.18 G(erform hostname canoni\214cation)-2.5 E 65.89(Ed)214 232.2 S -(isallo)-65.89 E 2.5(wE)-.25 G(TRN \(see RFC 2476\))-2.5 E 64.78(Oo)214 -244.2 S(ptional; if opening the sock)-64.78 E(et f)-.1 E(ails ignore it) --.1 E 66.44(Sd)214 256.2 S(on')-66.44 E 2.5(to)-.18 G -.25(ff)-2.5 G -(er ST).25 E(AR)-.93 E(TTLS)-.6 E 2.413(That is, one w)174 272.4 R 2.412 -(ay to specify a message submission agent \(MSA\) that al)-.1 F -.1(wa) --.1 G(ys).1 E(requires authentication is:)174 284.4 Q 2.5(OD)214 300.6 S -(aemonPortOptions=Name=MSA, Port=587, M=Ea)-2.5 E .243 -(The modi\214ers that are mark)174 316.8 R .244(ed with "\(.cf\)" ha)-.1 -F .544 -.15(ve o)-.2 H .244(nly ef).15 F .244 -(fect in the standard con\214g-)-.25 F .16(uration \214le, in which the) -174 328.8 R 2.66(ya)-.15 G .16(re a)-2.66 F -.25(va)-.2 G .16 -(ilable via).25 F F0(${daemon_\215ags})2.66 E F1 5.16(.N)C .16 -(otice: Do)-5.16 F F0(not)2.66 E F1(use)2.66 E .46(the `)174 340.8 R -(`a')-.74 E 2.96('m)-.74 G .46(odi\214er on a public accessible MT)-2.96 -F 2.961(A! It)-.93 F .461(should only be used for a MSA)2.961 F 2.553 -(that is accessed by authorized users for initial mail submission.)174 -352.8 R 2.552(Users must)7.552 F 1.141 -(authenticate to use a MSA which has this option turned on.)174 364.8 R -1.141(The \215ags `)6.141 F(`c')-.74 E 3.641('a)-.74 G(nd)-3.641 E -.74 -(``)174 376.8 S(C').74 E 3.786('c)-.74 G 1.286(an change the def)-3.786 -F 1.285(ault for hostname canoni\214cation in the)-.1 F F2(sendmail.cf) -3.785 E F1(\214le.)3.785 E .764(See the rele)174 388.8 R -.25(va)-.25 G -.765(nt documentation for).25 F/F3 9/Times-Roman@0 SF(FEA)3.265 E -(TURE\(nocanonify\))-.999 E F1 5.765(.T)C .765(he modi\214er `)-5.765 F --1.95(`f ')-.74 F 3.265('d)-.74 G(is-)-3.265 E(allo)174 400.8 Q .795 -(ws addresses of the form)-.25 F F0(user@host)3.295 E F1 .794 -(unless the)3.295 F 3.294(ya)-.15 G .794(re submitted directly)-3.294 F -5.794(.T)-.65 G(he)-5.794 E 2.127(\215ag `)174 412.8 R(`u')-.74 E 4.627 -('a)-.74 G(llo)-4.627 E 2.127 -(ws unquali\214ed sender addresses, i.e., those without @host.)-.25 F --.74(``)7.127 G(b').74 E(')-.74 E 2.791 -(forces sendmail to bind to the interf)174 424.8 R 2.791 -(ace through which the e-mail has been)-.1 F(recei)174 436.8 Q -.15(ve) --.25 G 4.369(df).15 G 1.869(or the outgoing connection.)-4.369 F F0 -1.2 -(WA)6.869 G(RNING:)1.2 E F1 1.869(Use `)4.369 F(`b')-.74 E 4.369('o)-.74 -G 1.869(nly if outgoing)-4.369 F .517 -(mail can be routed through the incoming connection')174 448.8 R 3.017 -(si)-.55 G(nterf)-3.017 E .517(ace to its destination.)-.1 F .119(No at\ -tempt is made to catch problems due to a miscon\214guration of this par\ -ameter)174 460.8 R(,)-.4 E 1.177 -(use it only for virtual hosting where each virtual interf)174 472.8 R -1.177(ace can connect to e)-.1 F -.15(ve)-.25 G(ry).15 E 2.001 -(possible location.)174 484.8 R 2.001(This will also o)7.001 F -.15(ve) --.15 G 2.001(rride possible settings via).15 F F0(ClientP)4.502 E -(ortOp-)-.2 E(tions.)174 496.8 Q F1(Note,)5.487 E F2(sendmail)2.987 E F1 -.487(will listen on a ne)2.987 F 2.986(ws)-.25 G(ock)-2.986 E .486 -(et for each occurence of the)-.1 F F0(Dae-)2.986 E(monP)174 508.8 Q -(ortOptions)-.2 E F1 .838(option in a con\214guration \214le.)3.338 F -.838(The modi\214er `)5.838 F(`O')-.74 E 3.338('c)-.74 G .838 -(auses send-)-3.338 F 1.418(mail to ignore a sock)174 520.8 R 1.417 -(et if it can')-.1 F 3.917(tb)-.18 G 3.917(eo)-3.917 G 3.917 -(pened. This)-3.917 F 1.417(applies to f)3.917 F 1.417(ailures from the) --.1 F(sock)174 532.8 Q(et\(2\) and bind\(2\) calls.)-.1 E(Def)102 549 Q -2.95(aultAuthInfo [no)-.1 F .181(short name] Filename that contains def) -2.681 F .181(ault authentication information for out-)-.1 F 1.738(going\ - connections. This \214le must contain the user id, the authorization i\ -d, the)174 561 R(passw)174 573 Q 1.561(ord \(plain te)-.1 F 1.562 -(xt\), the realm and the list of mechanisms to use on separate)-.15 F -.288(lines and must be readable by root \(or the trusted user\) only)174 -585 R 5.287(.I)-.65 G 2.787(fn)-5.287 G 2.787(or)-2.787 G .287 -(ealm is speci-)-2.787 F(\214ed,)174 597 Q F0($j)3.704 E F1 1.204 -(is used.)3.704 F 1.205(If no mechanisms are speci\214ed, the list gi) -6.204 F -.15(ve)-.25 G 3.705(nb).15 G(y)-3.705 E F0 -.5(Au)3.705 G -(thMecha-).5 E(nisms)174 609 Q F1 1.372(is used.)3.872 F 1.372 -(Notice: this option is deprecated and will be remo)6.372 F -.15(ve)-.15 -G 3.871(di).15 G 3.871(nf)-3.871 G(uture)-3.871 E -.15(ve)174 621 S 3.41 -(rsions. Moreo).15 F -.15(ve)-.15 G 1.71 -.4(r, i).15 H 3.41(td).4 G -(oesn')-3.41 E 3.41(tw)-.18 G .911(ork for the MSP since it can')-3.51 F -3.411(tr)-.18 G .911(ead the \214le \(the)-3.411 F .014 -(\214le must not be group/w)174 633 R .014(orld-readable otherwise)-.1 F -F2(sendmail)2.514 E F1 .014(will complain\).)2.514 F .014(Use the)5.014 -F 1.2(authinfo ruleset instead which pro)174 645 R 1.2 -(vides more control o)-.15 F -.15(ve)-.15 G 3.7(rt).15 G 1.2 -(he usage of the data)-3.7 F(an)174 657 Q(yw)-.15 E(ay)-.1 E(.)-.65 E -(Def)102 673.2 Q(aultCharSet=)-.1 E F2 -.15(ch)C(ar).15 E(set)-.1 E F1 -.161([no short name] When a message that has 8-bit characters b)174 -685.2 R .16(ut is not in MIME for)-.2 F(-)-.2 E .494(mat is con)174 -697.2 R -.15(ve)-.4 G .495 -(rted to MIME \(see the EightBitMode option\) a character set must be) -.15 F .488(included in the Content-T)174 709.2 R .488(ype: header)-.8 F -5.488(.T)-.55 G .487(his character set is normally set from the)-5.488 F -.133(Charset= \214eld of the mailer descriptor)174 721.2 R 5.133(.I)-.55 -G 2.633(ft)-5.133 G .133(hat is not set, the v)-2.633 F .133 -(alue of this option is)-.25 F 0 Cg EP +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF +(ConnectOnlyT)102 96 Q(o=)-.8 E/F2 10/Times-Italic@0 SF(addr)A(ess)-.37 +E F1 .862([no short name] This can be used to o)174 108 R -.15(ve)-.15 G +.861(rride the connection address \(for testing).15 F(purposes\).)174 +120 Q(ConnectionRateThrottle=)102 136.2 Q F2(N)A F1 .211 +([no short name] If set to a positi)174 148.2 R .511 -.15(ve v)-.25 H +.211(alue, allo)-.1 F 2.711(wn)-.25 G 2.712(om)-2.711 G .212(ore than) +-2.712 F F2(N)2.712 E F1 .212(incoming connec-)2.712 F .132 +(tions in a one second period per daemon.)174 160.2 R .132 +(This is intended to \215atten out peaks and)5.132 F(allo)174 172.2 Q +2.5(wt)-.25 G(he load a)-2.5 E -.15(ve)-.2 G(rage checking to cut in.) +.15 E(Def)5 E(aults to zero \(no limits\).)-.1 E(ConnectionRateW)102 +188.4 Q(indo)-.4 E(wSize=)-.25 E F2(N)A F1 .458 +([no short name] De\214ne the length of the interv)174 200.4 R .459 +(al for which the number of incom-)-.25 F +(ing connections is maintained.)174 212.4 Q(The def)5 E +(ault is 60 seconds.)-.1 E(ControlSock)102 228.6 Q(etName=)-.1 E F2 +(name)A F1 .477([no short name] Name of the control sock)174 240.6 R +.476(et for daemon management.)-.1 F 2.976(Ar)5.476 G(unning)-2.976 E F2 +(sendmail)174 252.6 Q F1 1.225 +(daemon can be controlled through this named sock)3.725 F 3.725(et. A) +-.1 F -.25(va)-.74 G 1.225(ilable com-).25 F 2.926(mands are:)174 264.6 +R F2 2.926(help, mstat, r)5.426 F 2.926(estart, shutdown,)-.37 F F1(and) +5.426 E F2(status.)5.426 E F1(The)7.926 E F2(status)5.426 E F1(command) +5.426 E .46(returns the current number of daemon children, the maximum \ +number of daemon)174 276.6 R .449 +(children, the free disk space \(in blocks\) of the queue directory)174 +288.6 R 2.949(,a)-.65 G .449(nd the load a)-2.949 F -.15(ve)-.2 G -.2 +(r-).15 G .882(age of the machine e)174 300.6 R .883 +(xpressed as an inte)-.15 F(ger)-.15 E 5.883(.I)-.55 G 3.383(fn)-5.883 G +.883(ot set, no control sock)-3.383 F .883(et will be)-.1 F -.2(av)174 +312.6 S 5.03(ailable. Solaris)-.05 F 2.529(and pre-4.4BSD k)5.029 F +2.529(ernel users should see the note in send-)-.1 F(mail/README .)174 +324.6 Q(CRLFile=)102 340.8 Q F2(name)A F1 .482 +([no short name] Name of \214le that contains certi\214cate re)9.69 F +-.2(vo)-.25 G .483(cation status, useful for).2 F .793 +(X.509v3 authentication.)174 352.8 R .792 +(CRL checking requires at least OpenSSL v)5.793 F .792(ersion 0.9.7.) +-.15 F(Note: if a CRLFile is speci\214ed b)174 364.8 Q +(ut the \214le is unusable, ST)-.2 E(AR)-.93 E(TTLS is disabled.)-.6 E +(DHP)102 381 Q 10.78(arameters Possible)-.15 F -.25(va)2.5 G(lues are:) +.25 E 67(5u)214 397.2 S(se 512 bit prime)-67 E 67(1u)214 409.2 S +(se 1024 bit prime)-67 E 50.06(none do)214 421.2 R(not use Dif)2.5 E +(\214e-Hellman)-.25 E -.35(NA)214 433.2 S 40.41(ME load).35 F +(prime from \214le)2.5 E 2.147 +(This is only required if a ciphersuite containing DSA/DH is used.)174 +449.4 R 2.147(If `)7.147 F(`5')-.74 E 4.647('i)-.74 G(s)-4.647 E 1.878 +(selected, then precomputed, \214x)174 461.4 R 1.878 +(ed primes are used.)-.15 F 1.877(This is the def)6.877 F 1.877 +(ault for the)-.1 F 1.538(client side.)174 473.4 R 1.538(If `)6.538 F +(`1')-.74 E 4.038('i)-.74 G 4.038(ss)-4.038 G 1.538 +(elected, then prime v)-4.038 F 1.539 +(alues are computed during startup.)-.25 F .743(This is the def)174 +485.4 R .743(ault for the serv)-.1 F .743(er side.)-.15 F .743 +(Note: this operation can tak)5.743 F 3.242(eas)-.1 G(igni\214cant) +-3.242 E .837(amount of time on a slo)174 497.4 R 3.337(wm)-.25 G .837 +(achine \(se)-3.337 F -.15(ve)-.25 G .837(ral seconds\), b).15 F .838 +(ut it is only done once at)-.2 F 2.959(startup. If)174 509.4 R -.74(``) +2.959 G(none').74 E 2.959('i)-.74 G 2.959(ss)-2.959 G .459 +(elected, then TLS ciphersuites containing DSA/DH cannot)-2.959 F 1.336 +(be used.)174 521.4 R 1.337(If a \214le name is speci\214ed \(which mus\ +t be an absolute path\), then the)6.336 F(primes are read from it.)174 +533.4 Q(DaemonPortOptions=)102 549.6 Q F2(options)A F1 .364 +([O] Set serv)174 561.6 R .364(er SMTP options.)-.15 F .364 +(Each instance of)5.364 F F0(DaemonP)2.863 E(ortOptions)-.2 E F1 .363 +(leads to an)2.863 F(additional incoming sock)174 573.6 Q 2.5(et. The) +-.1 F(options are)2.5 E F2 -.1(ke)2.5 G(y=value)-.2 E F1 2.5(pairs. Kno) +2.5 F(wn k)-.25 E -.15(ey)-.1 G 2.5(sa).15 G(re:)-2.5 E 0 Cg EP %%Page: 65 61 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-65)195.86 E/F1 10/Times-Roman@0 SF 2.5(used. If)174 96 R -(this option is not set, the v)2.5 E(alue \231unkno)-.25 E -(wn-8bit\232 is used.)-.25 E(DataFileBuf)102 112.2 Q(ferSize=)-.25 E/F2 -10/Times-Italic@0 SF(thr)A(eshold)-.37 E F1 .012 -([no short name] Set the)174 124.2 R F2(thr)2.512 E(eshold)-.37 E F1 -2.512(,i)C 2.512(nb)-2.512 G .011 -(ytes, before a memory-based queue data \214le)-2.512 F -(becomes disk-based.)174 136.2 Q(The def)5 E(ault is 4096 bytes.)-.1 E -(DeadLetterDrop=)102 152.4 Q F2(\214le)A F1 .535([no short name] De\214\ -nes the location of the system-wide dead.letter \214le, formerly)174 -164.4 R .744(hardcoded to /usr/tmp/dead.letter)174 176.4 R 5.744(.I)-.55 -G 3.244(ft)-5.744 G .744(his option is not set \(the def)-3.244 F .743 -(ault\), sendmail)-.1 F 1.464(will not attempt to sa)174 188.4 R 1.764 --.15(ve t)-.2 H 3.964(oas).15 G 1.464 -(ystem-wide dead.letter \214le in the e)-3.964 F -.15(ve)-.25 G 1.465 -(nt it cannot).15 F .575(bounce the mail to the user or postmaster)174 -200.4 R 5.575(.I)-.55 G .575(nstead, it will rename the qf \214le as it) --5.575 F -(has in the past when the dead.letter \214le could not be opened.)174 -212.4 Q(Def)102 228.6 Q(aultUser=)-.1 E F2(user:gr)A(oup)-.45 E F1 .013 -([u] Set the def)174 240.6 R .013(ault userid for mailers to)-.1 F F2 -(user:gr)2.513 E(oup)-.45 E F1 5.013(.I)C(f)-5.013 E F2(gr)2.513 E(oup) --.45 E F1 .014(is omitted and)2.514 F F2(user)2.514 E F1(is)2.514 E -4.307(au)174 252.6 S 1.807 -(ser name \(as opposed to a numeric user id\) the def)-4.307 F 1.806 -(ault group listed in the)-.1 F 1.153 -(/etc/passwd \214le for that user is used as the def)174 264.6 R 1.153 -(ault group.)-.1 F(Both)6.153 E F2(user)3.653 E F1(and)3.653 E F2(gr) -3.653 E(oup)-.45 E F1 1.153(may be numeric.)174 276.6 R 1.152 -(Mailers without the)6.152 F F2(S)3.652 E F1 1.152 -(\215ag in the mailer de\214nition will run as)3.652 F .142(this user) -174 290.6 R 5.142(.D)-.55 G(ef)-5.142 E .142(aults to 1:1.)-.1 F .142 -(The v)5.142 F .142(alue can also be gi)-.25 F -.15(ve)-.25 G 2.642(na) -.15 G 2.642(sas)-2.642 G .142(ymbolic user name.)-2.642 F/F3 7 -/Times-Roman@0 SF(19)-4 I F1(DelayLA=)102 306.8 Q F2(LA)A F1 .996 -([no short name] When the system load a)17.48 F -.15(ve)-.2 G .996 -(rage e).15 F(xceeds)-.15 E F2(LA)3.496 E F1(,)A F2(sendmail)3.496 E F1 -.995(will sleep)3.495 F -(for one second on most SMTP commands and before accepting connections.) -174 318.8 Q(Deli)102 335 Q -.15(ve)-.25 G(rByMin=).15 E F2(time)A F1 -.202([0] Set minimum time for Deli)174 347 R -.15(ve)-.25 G 2.702(rB).15 -G 2.702(yS)-2.702 G .202(MTP Service Extension \(RFC 2852\).)-2.702 F -.203(If 0,)5.203 F .487(no time is listed, if less than 0, the e)174 359 -R .487(xtension is not of)-.15 F .486(fered, if greater than 0, it is) --.25 F(listed as minimum time for the EHLO k)174 371 Q -.15(ey)-.1 G -.1 -(wo).15 G(rd DELIVERBY).1 E(.)-1.29 E(Deli)102 387.2 Q -.15(ve)-.25 G -(ryMode=).15 E F2(x)A F1([d] Deli)4 E -.15(ve)-.25 G 2.5(ri).15 G 2.5 -(nm)-2.5 G(ode)-2.5 E F2(x)2.5 E F1 5(.L)C -2.25 -.15(eg a)-5 H 2.5(lm) -.15 G(odes are:)-2.5 E 17.22(iD)214 403.4 S(eli)-17.22 E -.15(ve)-.25 G -2.5(ri).15 G(nteracti)-2.5 E -.15(ve)-.25 G(ly \(synchronously\)).15 E -15(bD)214 415.4 S(eli)-15 E -.15(ve)-.25 G 2.5(ri).15 G 2.5(nb)-2.5 G -(ackground \(asynchronously\))-2.5 E 15(qJ)214 427.4 S -(ust queue the message \(deli)-15 E -.15(ve)-.25 G 2.5(rd).15 G -(uring queue run\))-2.5 E 15(dD)214 439.4 S(efer deli)-15 E -.15(ve)-.25 -G(ry and all map lookups \(deli).15 E -.15(ve)-.25 G 2.5(rd).15 G -(uring queue run\))-2.5 E(Def)174 455.6 Q .711(aults to `)-.1 F(`b')-.74 -E 3.211('i)-.74 G 3.211(fn)-3.211 G 3.211(oo)-3.211 G .711 -(ption is speci\214ed, `)-3.211 F(`i')-.74 E 3.211('i)-.74 G 3.211(fi) --3.211 G 3.211(ti)-3.211 G 3.211(ss)-3.211 G .712(peci\214ed b)-3.211 F -.712(ut gi)-.2 F -.15(ve)-.25 G 3.212(nn).15 G 3.212(oa)-3.212 G -.18 -(rg)-3.212 G(u-).18 E .094(ment \(i.e., `)174 467.6 R(`Od')-.74 E 2.594 -('i)-.74 G 2.594(se)-2.594 G(qui)-2.594 E -.25(va)-.25 G .094(lent to `) -.25 F(`Odi')-.74 E 2.594('\). The)-.74 F F02.594 E F1 .094 -(command line \215ag sets this to)2.594 F F0(i)2.594 E F1(.)A 1.526 -(Note: for internal reasons, `)174 479.6 R(`i')-.74 E 4.026('d)-.74 G -1.526(oes not w)-4.026 F 1.527(ork if a milter is enabled which can)-.1 -F(reject or delete recipients.)174 491.6 Q -(In that case the mode will be changed to `)5 E(`b')-.74 E('.)-.74 E -(DialDelay=)102 507.8 Q F2(sleeptime)A F1 .799 -([no short name] Dial-on-demand netw)174 519.8 R .798 -(ork connections can see timeouts if a con-)-.1 F .665 -(nection is opened before the call is set up.)174 531.8 R .665 -(If this is set to an interv)5.665 F .665(al and a con-)-.25 F .743 -(nection times out on the \214rst connection being attempted)174 543.8 R -F2(sendmail)3.242 E F1 .742(will sleep for)3.242 F .31 -(this amount of time and try ag)174 555.8 R 2.81(ain. This)-.05 F .31 -(should gi)2.81 F .61 -.15(ve y)-.25 H .31(our system time to establish) -.15 F 1.543(the connection to your service pro)174 567.8 R(vider)-.15 E -6.543(.U)-.55 G 1.543(nits def)-6.543 F 1.542 -(ault to seconds, so \231DialDe-)-.1 F 1.798(lay=5\232 uses a \214v)174 -579.8 R 4.298(es)-.15 G 1.798(econd delay)-4.298 F 6.798(.D)-.65 G(ef) --6.798 E 1.799(aults to zero \(no retry\).)-.1 F 1.799(This delay only) -6.799 F(applies to mailers which ha)174 591.8 Q .3 -.15(ve t)-.2 H -(he Z \215ag set.).15 E(DirectSubmissionModi\214ers=)102 608 Q F2 -(modi\214er)A(s)-.1 E F1(De\214nes)174 620 Q F0(${daemon_\215ags})5.084 -E F1 2.583(for direct \(command line\) submissions.)5.084 F 2.583 -(If not set,)7.583 F F0(${daemon_\215ags})174 632 Q F1 1.416 -(is either "CC f" if the option)3.916 F F03.916 E F1 1.417 -(is used or "c u" otherwise.)3.917 F -(Note that only the the "CC", "c", "f", and "u" \215ags are check)174 -644 Q(ed.)-.1 E(DontBlameSendmail=)102 660.2 Q F2(option,option,...)A F1 -.065([no short name] In order to a)174 672.2 R -.2(vo)-.2 G .064 -(id possible cracking attempts caused by w).2 F .064(orld- and)-.1 F .32 -LW 76 681.8 72 681.8 DL 80 681.8 76 681.8 DL 84 681.8 80 681.8 DL 88 -681.8 84 681.8 DL 92 681.8 88 681.8 DL 96 681.8 92 681.8 DL 100 681.8 96 -681.8 DL 104 681.8 100 681.8 DL 108 681.8 104 681.8 DL 112 681.8 108 -681.8 DL 116 681.8 112 681.8 DL 120 681.8 116 681.8 DL 124 681.8 120 -681.8 DL 128 681.8 124 681.8 DL 132 681.8 128 681.8 DL 136 681.8 132 -681.8 DL 140 681.8 136 681.8 DL 144 681.8 140 681.8 DL 148 681.8 144 -681.8 DL 152 681.8 148 681.8 DL 156 681.8 152 681.8 DL 160 681.8 156 -681.8 DL 164 681.8 160 681.8 DL 168 681.8 164 681.8 DL 172 681.8 168 -681.8 DL 176 681.8 172 681.8 DL 180 681.8 176 681.8 DL 184 681.8 180 -681.8 DL 188 681.8 184 681.8 DL 192 681.8 188 681.8 DL 196 681.8 192 -681.8 DL 200 681.8 196 681.8 DL 204 681.8 200 681.8 DL 208 681.8 204 -681.8 DL 212 681.8 208 681.8 DL 216 681.8 212 681.8 DL/F4 5 -/Times-Roman@0 SF(19)93.6 692.2 Q/F5 8/Times-Roman@0 SF(The old)3.2 I/F6 -8/Times-Bold@0 SF(g)2 E F5(option has been combined into the)2 E F6 -(DefaultUser)2 E F5(option.)2 E 0 Cg EP +(SMM:08-65)195.86 E/F1 10/Times-Roman@0 SF 45.62(Name User)214 96 R +(-de\214nable name for the daemon \(def)-.2 E(aults to "Daemon#"\))-.1 E +52.83(Port Name/number)214 108 R(of listening port \(def)2.5 E +(aults to "smtp"\))-.1 E 48.95(Addr Address)214 120 R(mask \(def)2.5 E +(aults IN)-.1 E(ADDR_ANY\))-.35 E -.15(Fa)214 132 S 41.31(mily Address) +.15 F -.1(fa)2.5 G(mily \(def).1 E(aults to INET\))-.1 E 3.94 +(InputMailFilters List)214 144 R(of input mail \214lters for the daemon) +2.5 E 44.5(Listen Size)214 156 R(of listen queue \(def)2.5 E +(aults to 10\))-.1 E 34.5(Modi\214er Options)214 168 R +(\(\215ags\) for the daemon)2.5 E 21.72(SndBufSize Size)214 180 R +(of TCP send b)2.5 E(uf)-.2 E(fer)-.25 E 21.17(RcvBufSize Size)214 192 R +(of TCP recei)2.5 E .3 -.15(ve b)-.25 H(uf)-.05 E(fer)-.25 E 36.73 +(children maximum)214 204 R(number of children per daemon, see)2.5 E F0 +(MaxDaemonChildr)2.5 E(en)-.18 E F1(.)A(Deli)214 216 Q -.15(ve)-.25 G +11.58(ryMode Deli).15 F -.15(ve)-.25 G(ry mode per daemon, see).15 E F0 +(Deli)2.5 E -.1(ve)-.1 G(ryMode).1 E F1(.)A 31.74(refuseLA RefuseLA)214 +228 R(per daemon)2.5 E 34.51(delayLA DelayLA)214 240 R(per daemon)2.5 E +32.29(queueLA QueueLA)214 252 R(per daemon)2.5 E(The)174 268.2 Q/F2 10 +/Times-Italic@0 SF(Name)2.68 E F1 -.1(ke)2.68 G 2.68(yi)-.05 G 2.68(su) +-2.68 G .181(sed for error messages and logging.)-2.68 F(The)5.181 E F2 +(Addr)2.681 E F1 .181(ess mask may be)B 2.908(an)174 280.2 S .407 +(umeric address in dot notation or a netw)-2.908 F .407(ork name.)-.1 F +(The)5.407 E F2 -.75(Fa)2.907 G(mily).75 E F1 -.1(ke)2.907 G 2.907(yd) +-.05 G(ef)-2.907 E .407(aults to)-.1 F 1.16(INET \(IPv4\).)174 292.2 R +1.161(IPv6 users who wish to also accept IPv6 connections should add) +6.16 F 2.215(additional F)174 304.2 R(amily=inet6)-.15 E F0(DaemonP) +4.715 E(ortOptions)-.2 E F1 4.715(lines. The)4.715 F F2(InputMailF)4.715 +E(ilter)-.45 E(s)-.1 E F1 -.1(ke)4.715 G(y)-.05 E -.15(ove)174 316.2 S +.01(rrides the def).15 F .01 +(ault list of input mail \214lters listed in the)-.1 F F0 +(InputMailFilters)2.51 E F1(option.)2.51 E 1.011 +(If multiple input mail \214lters are required, the)174 328.2 R 3.511 +(ym)-.15 G 1.011(ust be separated by semicolons)-3.511 F .177 +(\(not commas\).)174 340.2 R F2(Modi\214er)5.177 E F1 .177 +(can be a sequence \(without an)2.677 F 2.678(yd)-.15 G .178 +(elimiters\) of the follo)-2.678 F(w-)-.25 E(ing characters:)174 352.2 Q +67.56(aa)214 368.4 S -.1(lwa)-67.56 G(ys require authentication).1 E 67 +(bb)214 380.4 S(ind to interf)-67 E +(ace through which mail has been recei)-.1 E -.15(ve)-.25 G(d).15 E +67.56(cp)214 392.4 S(erform hostname canoni\214cation \(.cf\))-67.56 E +68.67(fr)214 404.4 S(equire fully quali\214ed hostname \(.cf\))-68.67 E +68.11(sR)214 416.4 S(un smtps \(SMTP o)-68.11 E -.15(ve)-.15 G 2.5(rS) +.15 G(SL\) instead of smtp)-2.5 E 67(ua)214 428.4 S(llo)-67 E 2.5(wu) +-.25 G(nquali\214ed addresses \(.cf\))-2.5 E 64.78(Ad)214 440.4 S +(isable A)-64.78 E(UTH \(o)-.55 E -.15(ve)-.15 G +(rrides 'a' modi\214er\)).15 E 65.33(Cd)214 452.4 S(on')-65.33 E 2.5(tp) +-.18 G(erform hostname canoni\214cation)-2.5 E 65.89(Ed)214 464.4 S +(isallo)-65.89 E 2.5(wE)-.25 G(TRN \(see RFC 2476\))-2.5 E 64.78(Oo)214 +476.4 S(ptional; if opening the sock)-64.78 E(et f)-.1 E(ails ignore it) +-.1 E 66.44(Sd)214 488.4 S(on')-66.44 E 2.5(to)-.18 G -.25(ff)-2.5 G +(er ST).25 E(AR)-.93 E(TTLS)-.6 E 2.413(That is, one w)174 504.6 R 2.412 +(ay to specify a message submission agent \(MSA\) that al)-.1 F -.1(wa) +-.1 G(ys).1 E(requires authentication is:)174 516.6 Q 2.5(OD)214 532.8 S +(aemonPortOptions=Name=MSA, Port=587, M=Ea)-2.5 E .243 +(The modi\214ers that are mark)174 549 R .244(ed with "\(.cf\)" ha)-.1 F +.544 -.15(ve o)-.2 H .244(nly ef).15 F .244 +(fect in the standard con\214g-)-.25 F .16(uration \214le, in which the) +174 561 R 2.66(ya)-.15 G .16(re a)-2.66 F -.25(va)-.2 G .16(ilable via) +.25 F F0(${daemon_\215ags})2.66 E F1 5.16(.N)C .16(otice: Do)-5.16 F F0 +(not)2.66 E F1(use)2.66 E .46(the `)174 573 R(`a')-.74 E 2.96('m)-.74 G +.46(odi\214er on a public accessible MT)-2.96 F 2.961(A! It)-.93 F .461 +(should only be used for a MSA)2.961 F 2.553 +(that is accessed by authorized users for initial mail submission.)174 +585 R 2.552(Users must)7.552 F 1.141 +(authenticate to use a MSA which has this option turned on.)174 597 R +1.141(The \215ags `)6.141 F(`c')-.74 E 3.641('a)-.74 G(nd)-3.641 E -.74 +(``)174 609 S(C').74 E 3.786('c)-.74 G 1.286(an change the def)-3.786 F +1.285(ault for hostname canoni\214cation in the)-.1 F F2(sendmail.cf) +3.785 E F1(\214le.)3.785 E .764(See the rele)174 621 R -.25(va)-.25 G +.765(nt documentation for).25 F/F3 9/Times-Roman@0 SF(FEA)3.265 E +(TURE\(nocanonify\))-.999 E F1 5.765(.T)C .765(he modi\214er `)-5.765 F +-1.95(`f ')-.74 F 3.265('d)-.74 G(is-)-3.265 E(allo)174 633 Q .795 +(ws addresses of the form)-.25 F F0(user@host)3.295 E F1 .794 +(unless the)3.295 F 3.294(ya)-.15 G .794(re submitted directly)-3.294 F +5.794(.T)-.65 G(he)-5.794 E 2.127(\215ag `)174 645 R(`u')-.74 E 4.627 +('a)-.74 G(llo)-4.627 E 2.127 +(ws unquali\214ed sender addresses, i.e., those without @host.)-.25 F +-.74(``)7.127 G(b').74 E(')-.74 E 2.791 +(forces sendmail to bind to the interf)174 657 R 2.791 +(ace through which the e-mail has been)-.1 F(recei)174 669 Q -.15(ve) +-.25 G 4.369(df).15 G 1.869(or the outgoing connection.)-4.369 F F0 -1.2 +(WA)6.869 G(RNING:)1.2 E F1 1.869(Use `)4.369 F(`b')-.74 E 4.369('o)-.74 +G 1.869(nly if outgoing)-4.369 F .517 +(mail can be routed through the incoming connection')174 681 R 3.017(si) +-.55 G(nterf)-3.017 E .517(ace to its destination.)-.1 F .119(No attemp\ +t is made to catch problems due to a miscon\214guration of this paramet\ +er)174 693 R(,)-.4 E 1.177 +(use it only for virtual hosting where each virtual interf)174 705 R +1.177(ace can connect to e)-.1 F -.15(ve)-.25 G(ry).15 E 10.246 +(possible location.)174 717 R 10.246(This will also o)15.246 F -.15(ve) +-.15 G 10.247(rride possible settings via).15 F 0 Cg EP %%Page: 66 62 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 193.36(SMM:08-66 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF .254 -(group-writable \214les and directories,)174 96 R/F2 10/Times-Italic@0 -SF(sendmail)2.754 E F1 .255(does paranoid checking when open-)2.754 F -.298(ing most of its support \214les.)174 108 R .297 -(If for some reason you absolutely must run with, for)5.297 F -.15(ex) -174 120 S .176(ample, a group-writable).15 F F2(/etc)2.677 E F1 -(directory)2.677 E 2.677(,t)-.65 G .177(hen you will ha)-2.677 F .477 --.15(ve t)-.2 H 2.677(ot).15 G .177(urn of)-2.677 F 2.677(ft)-.25 G .177 -(his check-)-2.677 F .794 -(ing \(at the cost of making your system more vulnerable to attack\).) -174 132 R .793(The possible)5.793 F(ar)174 144 Q 1.394(guments ha)-.18 F -1.694 -.15(ve b)-.2 H 1.394(een described earlier).15 F 6.394(.T)-.55 G -1.395(he details of these \215ags are described)-6.394 F(abo)174 156 Q --.15(ve)-.15 G(.).15 E F0(Use of this option is not r)5 E(ecommended.) --.18 E F1(DontExpandCnames)102 172.2 Q .559([no short name] The standar\ -ds say that all host addresses used in a mail message)174 184.2 R 1.407 -(must be fully canonical.)174 196.2 R -.15(Fo)6.407 G 3.907(re).15 G -1.407(xample, if your host is named \231Cruft.F)-4.057 F(oo.ORG\232)-.15 -E 1.462(and also has an alias of \231FTP)174 208.2 R(.F)-1.11 E 1.462 -(oo.ORG\232, the former name must be used at all)-.15 F 2.63 -(times. This)174 220.2 R .131 -(is enforced during host name canoni\214cation \($[ ... $] lookups\).) -2.63 F .131(If this)5.131 F .662(option is set, the protocols are ignor\ -ed and the \231wrong\232 thing is done.)174 232.2 R(Ho)5.661 E(we)-.25 E --.15(ve)-.25 G -.4(r,).15 G .871(the IETF is mo)174 244.2 R .871 -(ving to)-.15 F -.1(wa)-.25 G .872 -(rd changing this standard, so the beha).1 F .872(vior may become)-.2 F -3.01(acceptable. Please)174 256.2 R .509(note that hosts do)3.01 F .509 -(wnstream may still re)-.25 F .509(write the address to be)-.25 F -(the true canonical name ho)174 268.2 Q(we)-.25 E -.15(ve)-.25 G -.55 -(r.).15 G 6.17(DontInitGroups [no)102 284.4 R .25(short name] If set,) -2.75 F F2(sendmail)2.75 E F1 .25(will a)2.75 F -.2(vo)-.2 G .25 -(id using the initgroups\(3\) call.).2 F .25(If you are)5.25 F .583(run\ -ning NIS, this causes a sequential scan of the groups.byname map, which\ - can)174 296.4 R .435(cause your NIS serv)174 308.4 R .435 -(er to be badly o)-.15 F -.15(ve)-.15 G .435(rloaded in a lar).15 F .436 -(ge domain.)-.18 F .436(The cost of this)5.436 F .697(is that the only \ -group found for users will be their primary group \(the one in the)174 -320.4 R(passw)174 332.4 Q 1.189(ord \214le\), which will mak)-.1 F 3.689 -<658c>-.1 G 1.189(le access permissions some)-3.689 F 1.189 -(what more restric-)-.25 F(ti)174 344.4 Q -.15(ve)-.25 G 5(.H).15 G -(as no ef)-5 E(fect on systems that don')-.25 E 2.5(th)-.18 G -2.25 -.2 -(av e)-2.5 H(group lists.)2.7 E(DontProbeInterf)102 360.6 Q(aces)-.1 E -1.713([no short name])174 372.6 R F2(Sendmail)4.213 E F1 1.712 -(normally \214nds the names of all interf)4.213 F 1.712(aces acti)-.1 F -2.012 -.15(ve o)-.25 H(n).15 E 1.103 -(your machine when it starts up and adds their name to the)174 384.6 R -F0($=w)3.603 E F1 1.103(class of kno)3.603 F(wn)-.25 E 1.836 -(host aliases.)174 396.6 R 1.836(If you ha)6.836 F 2.136 -.15(ve a l)-.2 -H(ar).15 E 1.836(ge number of virtual interf)-.18 F 1.835 -(aces or if your DNS)-.1 F(in)174 408.6 Q -.15(ve)-.4 G .958 -(rse lookups are slo).15 F 3.458(wt)-.25 G .958 -(his can be time consuming.)-3.458 F .959(This option turns of)5.959 F -3.459(ft)-.25 G(hat)-3.459 E 2.974(probing. Ho)174 420.6 R(we)-.25 E --.15(ve)-.25 G 1.274 -.4(r, y).15 H .474 -(ou will need to be certain to include all v).4 F .473 -(ariant names in the)-.25 F F0($=w)174 432.6 Q F1 1.868 -(class by some other mechanism.)4.368 F 1.868(If set to)6.868 F F0 -(loopback)4.368 E F1 4.369(,l)C 1.869(oopback interf)-4.369 F(aces)-.1 E -(\(e.g., lo0\) will not be probed.)174 444.6 Q -1.61 -(DontPruneRoutes [R])102 460.8 R(Normally)3.905 E(,)-.65 E F2(sendmail) -3.905 E F1 1.405(tries to eliminate an)3.905 F 3.905(yu)-.15 G 1.405 -(nnecessary e)-3.905 F 1.405(xplicit routes when)-.15 F .154 -(sending an error message \(as discussed in RFC 1123 \247 5.2.6\).)174 -472.8 R -.15(Fo)5.155 G 2.655(re).15 G .155(xample, when)-2.805 F -(sending an error message to)174 484.8 Q(<@kno)214 501 Q(wn1,@kno)-.25 E -(wn2,@kno)-.25 E(wn3:user@unkno)-.25 E(wn>)-.25 E F2(sendmail)174 517.2 -Q F1 1.155(will strip of)3.655 F 3.655(ft)-.25 G 1.155(he \231@kno) --3.655 F(wn1,@kno)-.25 E 1.155(wn2\232 in order to mak)-.25 F 3.655(et) --.1 G 1.155(he route as)-3.655 F .812(direct as possible.)174 529.2 R -(Ho)5.812 E(we)-.25 E -.15(ve)-.25 G 1.612 -.4(r, i).15 H 3.312(ft).4 G -(he)-3.312 E F0(R)3.313 E F1 .813 -(option is set, this will be disabled, and the)3.313 F .01 -(mail will be sent to the \214rst address in the route, e)174 541.2 R --.15(ve)-.25 G 2.509(ni).15 G 2.509(fl)-2.509 G .009 -(ater addresses are kno)-2.509 F(wn.)-.25 E -(This may be useful if you are caught behind a \214re)174 553.2 Q -.1 -(wa)-.25 G(ll.).1 E(DoubleBounceAddress=)102 569.4 Q F2(err)A(or)-.45 E -(-addr)-.2 E(ess)-.37 E F1 .504([no short name] If an error occurs when\ - sending an error message, send the error)174 581.4 R 1.999(report \(te\ -rmed a \231double bounce\232 because it is an error \231bounce\232 that\ - occurs)174 593.4 R .053(when trying to send another error \231bounce\ -\232\) to the indicated address.)174 605.4 R .054(The address)5.054 F -.475(is macro e)174 617.4 R .474(xpanded at the time of deli)-.15 F -.15 -(ve)-.25 G(ry).15 E 5.474(.I)-.65 G 2.974(fn)-5.474 G .474(ot set, def) --2.974 F .474(aults to \231postmaster\232.)-.1 F(If)5.474 E -(set to an empty string, double bounces are dropped.)174 629.4 Q -(EightBitMode=)102 645.6 Q F2(action)A F1 1.955 -([8] Set handling of eight-bit data.)174 657.6 R 1.955(There are tw) -6.955 F 4.456(ok)-.1 G 1.956(inds of eight-bit data: that)-4.456 F 3.335 -(declared as such using the)174 669.6 R F0(BOD)5.834 E(Y=8BITMIME)-.4 E -F1 3.334(ESMTP declaration or the)5.834 F F0(\255B8BITMIME)174 681.6 Q -F1 .948 -(command line \215ag, and undeclared 8-bit data, that is, input that) -3.448 F 1.18(just happens to be eight bits.)174 693.6 R 1.18 -(There are three basic operations that can happen:)6.18 F .995 -(undeclared 8-bit data can be automatically con)174 705.6 R -.15(ve)-.4 -G .996(rted to 8BITMIME, undeclared).15 F .887 -(8-bit data can be passed as-is without con)174 717.6 R -.15(ve)-.4 G -.887(rsion to MIME \(`).15 F .887(`just send 8')-.74 F .886('\), and) --.74 F 0 Cg EP +(Installation and Operation Guide)2.5 E(ClientP)174 96 Q(ortOptions.)-.2 +E/F1 10/Times-Roman@0 SF(Note,)8.975 E/F2 10/Times-Italic@0 SF(sendmail) +6.475 E F1 3.975(will listen on a ne)6.475 F 6.475(ws)-.25 G(ock)-6.475 +E 3.975(et for each)-.1 F .746(occurence of the)174 108 R F0(DaemonP) +3.246 E(ortOptions)-.2 E F1 .746(option in a con\214guration \214le.) +3.246 F .746(The modi-)5.746 F .4(\214er `)174 120 R(`O')-.74 E 2.9('c) +-.74 G .4(auses sendmail to ignore a sock)-2.9 F .399(et if it can')-.1 +F 2.899(tb)-.18 G 2.899(eo)-2.899 G 2.899(pened. This)-2.899 F .399 +(applies to)2.899 F -.1(fa)174 132 S(ilures from the sock).1 E +(et\(2\) and bind\(2\) calls.)-.1 E(Def)102 148.2 Q 2.95 +(aultAuthInfo [no)-.1 F .181(short name] Filename that contains def) +2.681 F .181(ault authentication information for out-)-.1 F 1.738(going\ + connections. This \214le must contain the user id, the authorization i\ +d, the)174 160.2 R(passw)174 172.2 Q 1.561(ord \(plain te)-.1 F 1.562 +(xt\), the realm and the list of mechanisms to use on separate)-.15 F +.288(lines and must be readable by root \(or the trusted user\) only)174 +184.2 R 5.287(.I)-.65 G 2.787(fn)-5.287 G 2.787(or)-2.787 G .287 +(ealm is speci-)-2.787 F(\214ed,)174 196.2 Q F0($j)3.704 E F1 1.204 +(is used.)3.704 F 1.205(If no mechanisms are speci\214ed, the list gi) +6.204 F -.15(ve)-.25 G 3.705(nb).15 G(y)-3.705 E F0 -.5(Au)3.705 G +(thMecha-).5 E(nisms)174 208.2 Q F1 1.372(is used.)3.872 F 1.372 +(Notice: this option is deprecated and will be remo)6.372 F -.15(ve)-.15 +G 3.871(di).15 G 3.871(nf)-3.871 G(uture)-3.871 E -.15(ve)174 220.2 S +3.41(rsions. Moreo).15 F -.15(ve)-.15 G 1.71 -.4(r, i).15 H 3.41(td).4 G +(oesn')-3.41 E 3.41(tw)-.18 G .911(ork for the MSP since it can')-3.51 F +3.411(tr)-.18 G .911(ead the \214le \(the)-3.411 F .014 +(\214le must not be group/w)174 232.2 R .014(orld-readable otherwise)-.1 +F F2(sendmail)2.514 E F1 .014(will complain\).)2.514 F .014(Use the) +5.014 F 1.2(authinfo ruleset instead which pro)174 244.2 R 1.2 +(vides more control o)-.15 F -.15(ve)-.15 G 3.7(rt).15 G 1.2 +(he usage of the data)-3.7 F(an)174 256.2 Q(yw)-.15 E(ay)-.1 E(.)-.65 E +(Def)102 272.4 Q(aultCharSet=)-.1 E F2 -.15(ch)C(ar).15 E(set)-.1 E F1 +.161([no short name] When a message that has 8-bit characters b)174 +284.4 R .16(ut is not in MIME for)-.2 F(-)-.2 E .494(mat is con)174 +296.4 R -.15(ve)-.4 G .495 +(rted to MIME \(see the EightBitMode option\) a character set must be) +.15 F .488(included in the Content-T)174 308.4 R .488(ype: header)-.8 F +5.488(.T)-.55 G .487(his character set is normally set from the)-5.488 F +.133(Charset= \214eld of the mailer descriptor)174 320.4 R 5.133(.I)-.55 +G 2.633(ft)-5.133 G .133(hat is not set, the v)-2.633 F .133 +(alue of this option is)-.25 F 2.5(used. If)174 332.4 R +(this option is not set, the v)2.5 E(alue \231unkno)-.25 E +(wn-8bit\232 is used.)-.25 E(DataFileBuf)102 348.6 Q(ferSize=)-.25 E F2 +(thr)A(eshold)-.37 E F1 .012([no short name] Set the)174 360.6 R F2(thr) +2.512 E(eshold)-.37 E F1 2.512(,i)C 2.512(nb)-2.512 G .011 +(ytes, before a memory-based queue data \214le)-2.512 F +(becomes disk-based.)174 372.6 Q(The def)5 E(ault is 4096 bytes.)-.1 E +(DeadLetterDrop=)102 388.8 Q F2(\214le)A F1 .535([no short name] De\214\ +nes the location of the system-wide dead.letter \214le, formerly)174 +400.8 R .744(hardcoded to /usr/tmp/dead.letter)174 412.8 R 5.744(.I)-.55 +G 3.244(ft)-5.744 G .744(his option is not set \(the def)-3.244 F .743 +(ault\), sendmail)-.1 F 1.464(will not attempt to sa)174 424.8 R 1.764 +-.15(ve t)-.2 H 3.964(oas).15 G 1.464 +(ystem-wide dead.letter \214le in the e)-3.964 F -.15(ve)-.25 G 1.465 +(nt it cannot).15 F .575(bounce the mail to the user or postmaster)174 +436.8 R 5.575(.I)-.55 G .575(nstead, it will rename the qf \214le as it) +-5.575 F +(has in the past when the dead.letter \214le could not be opened.)174 +448.8 Q(Def)102 465 Q(aultUser=)-.1 E F2(user:gr)A(oup)-.45 E F1 .013 +([u] Set the def)174 477 R .013(ault userid for mailers to)-.1 F F2 +(user:gr)2.513 E(oup)-.45 E F1 5.013(.I)C(f)-5.013 E F2(gr)2.513 E(oup) +-.45 E F1 .014(is omitted and)2.514 F F2(user)2.514 E F1(is)2.514 E +4.307(au)174 489 S 1.807 +(ser name \(as opposed to a numeric user id\) the def)-4.307 F 1.806 +(ault group listed in the)-.1 F 1.153 +(/etc/passwd \214le for that user is used as the def)174 501 R 1.153 +(ault group.)-.1 F(Both)6.153 E F2(user)3.653 E F1(and)3.653 E F2(gr) +3.653 E(oup)-.45 E F1 1.153(may be numeric.)174 513 R 1.152 +(Mailers without the)6.152 F F2(S)3.652 E F1 1.152 +(\215ag in the mailer de\214nition will run as)3.652 F .142(this user) +174 527 R 5.142(.D)-.55 G(ef)-5.142 E .142(aults to 1:1.)-.1 F .142 +(The v)5.142 F .142(alue can also be gi)-.25 F -.15(ve)-.25 G 2.642(na) +.15 G 2.642(sas)-2.642 G .142(ymbolic user name.)-2.642 F/F3 7 +/Times-Roman@0 SF(19)-4 I F1(DelayLA=)102 543.2 Q F2(LA)A F1 .996 +([no short name] When the system load a)17.48 F -.15(ve)-.2 G .996 +(rage e).15 F(xceeds)-.15 E F2(LA)3.496 E F1(,)A F2(sendmail)3.496 E F1 +.995(will sleep)3.495 F +(for one second on most SMTP commands and before accepting connections.) +174 555.2 Q(Deli)102 571.4 Q -.15(ve)-.25 G(rByMin=).15 E F2(time)A F1 +.202([0] Set minimum time for Deli)174 583.4 R -.15(ve)-.25 G 2.702(rB) +.15 G 2.702(yS)-2.702 G .202(MTP Service Extension \(RFC 2852\).)-2.702 +F .203(If 0,)5.203 F .487(no time is listed, if less than 0, the e)174 +595.4 R .487(xtension is not of)-.15 F .486 +(fered, if greater than 0, it is)-.25 F +(listed as minimum time for the EHLO k)174 607.4 Q -.15(ey)-.1 G -.1(wo) +.15 G(rd DELIVERBY).1 E(.)-1.29 E(Deli)102 623.6 Q -.15(ve)-.25 G +(ryMode=).15 E F2(x)A F1([d] Deli)4 E -.15(ve)-.25 G 2.5(ri).15 G 2.5 +(nm)-2.5 G(ode)-2.5 E F2(x)2.5 E F1 5(.L)C -2.25 -.15(eg a)-5 H 2.5(lm) +.15 G(odes are:)-2.5 E .32 LW 76 678.8 72 678.8 DL 80 678.8 76 678.8 DL +84 678.8 80 678.8 DL 88 678.8 84 678.8 DL 92 678.8 88 678.8 DL 96 678.8 +92 678.8 DL 100 678.8 96 678.8 DL 104 678.8 100 678.8 DL 108 678.8 104 +678.8 DL 112 678.8 108 678.8 DL 116 678.8 112 678.8 DL 120 678.8 116 +678.8 DL 124 678.8 120 678.8 DL 128 678.8 124 678.8 DL 132 678.8 128 +678.8 DL 136 678.8 132 678.8 DL 140 678.8 136 678.8 DL 144 678.8 140 +678.8 DL 148 678.8 144 678.8 DL 152 678.8 148 678.8 DL 156 678.8 152 +678.8 DL 160 678.8 156 678.8 DL 164 678.8 160 678.8 DL 168 678.8 164 +678.8 DL 172 678.8 168 678.8 DL 176 678.8 172 678.8 DL 180 678.8 176 +678.8 DL 184 678.8 180 678.8 DL 188 678.8 184 678.8 DL 192 678.8 188 +678.8 DL 196 678.8 192 678.8 DL 200 678.8 196 678.8 DL 204 678.8 200 +678.8 DL 208 678.8 204 678.8 DL 212 678.8 208 678.8 DL 216 678.8 212 +678.8 DL/F4 5/Times-Roman@0 SF(19)93.6 689.2 Q/F5 8/Times-Roman@0 SF +(The old)3.2 I/F6 8/Times-Bold@0 SF(g)2 E F5 +(option has been combined into the)2 E F6(DefaultUser)2 E F5(option.)2 E +0 Cg EP %%Page: 67 63 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-67)195.86 E/F1 10/Times-Roman@0 SF 1.794 -(declared 8-bit data can be con)174 96 R -.15(ve)-.4 G 1.794 -(rted to 7-bits for transmission to a non-8BIT).15 F(-)-.92 E -(MIME mailer)174 108 Q 5(.T)-.55 G(he possible)-5 E/F2 10/Times-Italic@0 -SF(action)2.5 E F1 2.5(sa)C(re:)-2.5 E 11.11(sR)219 124.2 S -(eject undeclared 8-bit data \(`)-11.11 E(`strict')-.74 E('\))-.74 E -7.22(mC)219 136.2 S(on)-7.22 E -.15(ve)-.4 G -(rt undeclared 8-bit data to MIME \(`).15 E(`mime')-.74 E('\))-.74 E 10 -(pP)219 148.2 S(ass undeclared 8-bit data \(`)-10.15 E(`pass')-.74 E -('\))-.74 E 2.228 -(In all cases properly declared 8BITMIME data will be con)174 164.4 R --.15(ve)-.4 G 2.227(rted to 7BIT as).15 F(needed.)174 176.4 Q -(ErrorHeader=)102 192.6 Q F2(\214le-or)A(-messa)-.2 E -.1(ge)-.1 G F1 -.486([E] Prepend error messages with the indicated message.)174 204.6 R -.486(If it be)5.486 F .487(gins with a slash,)-.15 F .246(it is assumed\ - to be the pathname of a \214le containing a message \(this is the reco\ -m-)174 216.6 R .86(mended setting\).)174 228.6 R .86 -(Otherwise, it is a literal message.)5.86 F .86 -(The error \214le might contain)5.86 F 1.116(the name, email address, a\ -nd/or phone number of a local postmaster who could)174 240.6 R(pro)174 -252.6 Q .826(vide assistance to end users.)-.15 F .827 -(If the option is missing or null, or if it names a)5.827 F -(\214le which does not e)174 264.6 Q -(xist or which is not readable, no message is printed.)-.15 E -(ErrorMode=)102 280.8 Q F2(x)A F1([e] Dispose of errors using mode)17.49 -E F2(x)2.5 E F1 5(.T)C(he v)-5 E(alues for)-.25 E F2(x)2.5 E F1(are:)2.5 -E 15(pP)214 297 S(rint error messages \(def)-15 E(ault\))-.1 E 15(qN)214 -309 S 2.5(om)-15 G(essages, just gi)-2.5 E .3 -.15(ve ex)-.25 H -(it status).15 E 12.22(mM)214 321 S(ail back errors)-12.22 E 12.78(wW) -214 333 S(rite back errors \(mail if user not logged in\))-12.78 E 15.56 -(eM)214 345 S(ail back errors \(when applicable\) and gi)-15.56 E .3 --.15(ve z)-.25 H(ero e).15 E(xit stat al)-.15 E -.1(wa)-.1 G(ys).1 E -1.314(Note that the last mode, \231e\232, is for Berknet error processi\ -ng and should not be)174 361.2 R 1.323(used in normal circumstances.)174 -373.2 R 1.323(Note, too, that mode \231q\232, only applies to errors) -6.323 F(recognized before sendmail forks for background deli)174 385.2 Q --.15(ve)-.25 G(ry).15 E(.)-.65 E -.15(Fa)102 401.4 S(llbackMXhost=).15 E -F2(fallbac)A(khost)-.2 E F1 .797([V] If speci\214ed, the)174 413.4 R F2 -(fallbac)3.297 E(khost)-.2 E F1 .797(acts lik)3.297 F 3.296(eav)-.1 G -.796(ery lo)-3.446 F 3.296(wp)-.25 G .796(riority MX on e)-3.296 F -.15 -(ve)-.25 G .796(ry host.).15 F 1.537(MX records will be look)174 425.4 R -1.537(ed up for this host, unless the name is surrounded by)-.1 F .017 -(square brack)174 437.4 R 2.517(ets. This)-.1 F .017 -(is intended to be used by sites with poor netw)2.517 F .016 -(ork connecti)-.1 F(v-)-.25 E(ity)174 449.4 Q 6.706(.M)-.65 G 1.706 -(essages which are undeli)-6.706 F -.15(ve)-.25 G 1.706 -(rable due to temporary address f).15 F 1.706(ailures \(e.g.,)-.1 F -(DNS f)174 461.4 Q(ailure\) also go to the F)-.1 E(allbackMXhost.)-.15 E --.15(Fa)102 477.6 S(llBackSmartHost=).15 E F2(hostname)A F1 1.656 -(If speci\214ed, the)174 489.6 R F2 -.75(Fa)4.156 G(llBac).75 E -(kSmartHost)-.2 E F1 1.656(will be used in a last-ditch ef)4.156 F 1.655 -(fort for each)-.25 F 3.212(host. This)174 501.6 R .712 -(is intended to be used by sites with "f)3.212 F(ak)-.1 E 3.212(ei)-.1 G -.712(nternal DNS", e.g., a com-)-3.212 F(pan)174 513.6 Q 3.19(yw)-.15 G -.69(hose DNS accurately re\215ects the w)-3.19 F .69 -(orld inside that compan)-.1 F(y')-.15 E 3.19(sd)-.55 G .69(omain b) --3.19 F(ut)-.2 E(not outside.)174 525.6 Q -.15(Fa)102 541.8 S 34.08 -(stSplit [no).15 F 1.572(short name] If set to a v)4.071 F 1.572 -(alue greater than zero \(the def)-.25 F 1.572(ault is one\), it sup-) --.1 F .977(presses the MX lookups on addresses when the)174 553.8 R -3.477(ya)-.15 G .977(re initially sorted, i.e., for the)-3.477 F 1.03 -(\214rst deli)174 565.8 R -.15(ve)-.25 G 1.031(ry attempt.).15 F 1.031 -(This usually results in f)6.031 F 1.031(aster en)-.1 F -.15(ve)-.4 G -1.031(lope splitting unless the).15 F .423(MX records are readily a)174 -577.8 R -.25(va)-.2 G .423(ilable in a local DNS cache.).25 F 2.023 -.8 -(To e)5.423 H .423(nforce initial sorting).8 F .337 -(based on MX records set)174 589.8 R F0 -.25(Fa)2.838 G(stSplit).25 E F1 -.338(to zero.)2.838 F .338(If the mail is submitted directly from)5.338 -F 1.079(the command line, then the v)174 601.8 R 1.078 -(alue also limits the number of processes to deli)-.25 F -.15(ve)-.25 G -(r).15 E .293(the en)174 613.8 R -.15(ve)-.4 G .293(lopes; if more en) -.15 F -.15(ve)-.4 G .293(lopes are created the).15 F 2.794(ya)-.15 G -.294(re only queued up and must be)-2.794 F(tak)174 625.8 Q .692 -(en care of by a queue run.)-.1 F .691(Since the def)5.691 F .691 -(ault submission method is via SMTP)-.1 F 1.284(\(either from a MU)174 -637.8 R 3.784(Ao)-.4 G 3.784(rv)-3.784 G 1.284(ia the MSP\), the v) --3.784 F 1.284(alue of)-.25 F F0 -.25(Fa)3.784 G(stSplit).25 E F1 1.284 -(is seldom used to)3.784 F(limit the number of processes to deli)174 -649.8 Q -.15(ve)-.25 G 2.5(rt).15 G(he en)-2.5 E -.15(ve)-.4 G(lopes.) -.15 E -.15(Fo)102 666 S 16.88(rkEachJob [Y]).15 F(If set, deli)2.5 E --.15(ve)-.25 G 2.5(re).15 G -(ach job that is run from the queue in a separate process.)-2.5 E -.15 -(Fo)102 682.2 S(rw).15 E(ardP)-.1 E(ath=)-.15 E F2(path)A F1 1.512 -([J] Set the path for searching for users' .forw)174 694.2 R 1.511 -(ard \214les.)-.1 F 1.511(The def)6.511 F 1.511(ault is \231$z/.for)-.1 -F(-)-.2 E -.1(wa)174 706.2 S 5.799(rd\232. Some).1 F 3.299 -(sites that use the automounter may prefer to change this to)5.799 F -(\231/v)174 718.2 Q(ar/forw)-.25 E 1.696(ard/$u\232 to search a \214le \ -with the same name as the user in a system)-.1 F 0 Cg EP +(SMM:08-67)195.86 E/F1 10/Times-Roman@0 SF 17.22(iD)214 96 S(eli)-17.22 +E -.15(ve)-.25 G 2.5(ri).15 G(nteracti)-2.5 E -.15(ve)-.25 G +(ly \(synchronously\)).15 E 15(bD)214 108 S(eli)-15 E -.15(ve)-.25 G 2.5 +(ri).15 G 2.5(nb)-2.5 G(ackground \(asynchronously\))-2.5 E 15(qJ)214 +120 S(ust queue the message \(deli)-15 E -.15(ve)-.25 G 2.5(rd).15 G +(uring queue run\))-2.5 E 15(dD)214 132 S(efer deli)-15 E -.15(ve)-.25 G +(ry and all map lookups \(deli).15 E -.15(ve)-.25 G 2.5(rd).15 G +(uring queue run\))-2.5 E(Def)174 148.2 Q .711(aults to `)-.1 F(`b')-.74 +E 3.211('i)-.74 G 3.211(fn)-3.211 G 3.211(oo)-3.211 G .711 +(ption is speci\214ed, `)-3.211 F(`i')-.74 E 3.211('i)-.74 G 3.211(fi) +-3.211 G 3.211(ti)-3.211 G 3.211(ss)-3.211 G .712(peci\214ed b)-3.211 F +.712(ut gi)-.2 F -.15(ve)-.25 G 3.212(nn).15 G 3.212(oa)-3.212 G -.18 +(rg)-3.212 G(u-).18 E .094(ment \(i.e., `)174 160.2 R(`Od')-.74 E 2.594 +('i)-.74 G 2.594(se)-2.594 G(qui)-2.594 E -.25(va)-.25 G .094(lent to `) +.25 F(`Odi')-.74 E 2.594('\). The)-.74 F F02.594 E F1 .094 +(command line \215ag sets this to)2.594 F F0(i)2.594 E F1(.)A 1.526 +(Note: for internal reasons, `)174 172.2 R(`i')-.74 E 4.026('d)-.74 G +1.526(oes not w)-4.026 F 1.527(ork if a milter is enabled which can)-.1 +F(reject or delete recipients.)174 184.2 Q +(In that case the mode will be changed to `)5 E(`b')-.74 E('.)-.74 E +(DialDelay=)102 200.4 Q/F2 10/Times-Italic@0 SF(sleeptime)A F1 .799 +([no short name] Dial-on-demand netw)174 212.4 R .798 +(ork connections can see timeouts if a con-)-.1 F .665 +(nection is opened before the call is set up.)174 224.4 R .665 +(If this is set to an interv)5.665 F .665(al and a con-)-.25 F .743 +(nection times out on the \214rst connection being attempted)174 236.4 R +F2(sendmail)3.242 E F1 .742(will sleep for)3.242 F .31 +(this amount of time and try ag)174 248.4 R 2.81(ain. This)-.05 F .31 +(should gi)2.81 F .61 -.15(ve y)-.25 H .31(our system time to establish) +.15 F 1.543(the connection to your service pro)174 260.4 R(vider)-.15 E +6.543(.U)-.55 G 1.543(nits def)-6.543 F 1.542 +(ault to seconds, so \231DialDe-)-.1 F 1.798(lay=5\232 uses a \214v)174 +272.4 R 4.298(es)-.15 G 1.798(econd delay)-4.298 F 6.798(.D)-.65 G(ef) +-6.798 E 1.799(aults to zero \(no retry\).)-.1 F 1.799(This delay only) +6.799 F(applies to mailers which ha)174 284.4 Q .3 -.15(ve t)-.2 H +(he Z \215ag set.).15 E(DirectSubmissionModi\214ers=)102 300.6 Q F2 +(modi\214er)A(s)-.1 E F1(De\214nes)174 312.6 Q F0(${daemon_\215ags}) +5.084 E F1 2.583(for direct \(command line\) submissions.)5.084 F 2.583 +(If not set,)7.583 F F0(${daemon_\215ags})174 324.6 Q F1 1.416 +(is either "CC f" if the option)3.916 F F03.916 E F1 1.417 +(is used or "c u" otherwise.)3.917 F +(Note that only the the "CC", "c", "f", and "u" \215ags are check)174 +336.6 Q(ed.)-.1 E(DontBlameSendmail=)102 352.8 Q F2(option,option,...)A +F1 .065([no short name] In order to a)174 364.8 R -.2(vo)-.2 G .064 +(id possible cracking attempts caused by w).2 F .064(orld- and)-.1 F +.254(group-writable \214les and directories,)174 376.8 R F2(sendmail) +2.754 E F1 .255(does paranoid checking when open-)2.754 F .298 +(ing most of its support \214les.)174 388.8 R .297 +(If for some reason you absolutely must run with, for)5.297 F -.15(ex) +174 400.8 S .176(ample, a group-writable).15 F F2(/etc)2.677 E F1 +(directory)2.677 E 2.677(,t)-.65 G .177(hen you will ha)-2.677 F .477 +-.15(ve t)-.2 H 2.677(ot).15 G .177(urn of)-2.677 F 2.677(ft)-.25 G .177 +(his check-)-2.677 F .794 +(ing \(at the cost of making your system more vulnerable to attack\).) +174 412.8 R .793(The possible)5.793 F(ar)174 424.8 Q 1.394(guments ha) +-.18 F 1.694 -.15(ve b)-.2 H 1.394(een described earlier).15 F 6.394(.T) +-.55 G 1.395(he details of these \215ags are described)-6.394 F(abo)174 +436.8 Q -.15(ve)-.15 G(.).15 E F0(Use of this option is not r)5 E +(ecommended.)-.18 E F1(DontExpandCnames)102 453 Q .559([no short name] \ +The standards say that all host addresses used in a mail message)174 465 +R 1.407(must be fully canonical.)174 477 R -.15(Fo)6.407 G 3.907(re).15 +G 1.407(xample, if your host is named \231Cruft.F)-4.057 F(oo.ORG\232) +-.15 E 1.462(and also has an alias of \231FTP)174 489 R(.F)-1.11 E 1.462 +(oo.ORG\232, the former name must be used at all)-.15 F 2.63 +(times. This)174 501 R .131 +(is enforced during host name canoni\214cation \($[ ... $] lookups\).) +2.63 F .131(If this)5.131 F .662(option is set, the protocols are ignor\ +ed and the \231wrong\232 thing is done.)174 513 R(Ho)5.661 E(we)-.25 E +-.15(ve)-.25 G -.4(r,).15 G .871(the IETF is mo)174 525 R .871(ving to) +-.15 F -.1(wa)-.25 G .872(rd changing this standard, so the beha).1 F +.872(vior may become)-.2 F 3.01(acceptable. Please)174 537 R .509 +(note that hosts do)3.01 F .509(wnstream may still re)-.25 F .509 +(write the address to be)-.25 F(the true canonical name ho)174 549 Q(we) +-.25 E -.15(ve)-.25 G -.55(r.).15 G 6.17(DontInitGroups [no)102 565.2 R +.25(short name] If set,)2.75 F F2(sendmail)2.75 E F1 .25(will a)2.75 F +-.2(vo)-.2 G .25(id using the initgroups\(3\) call.).2 F .25(If you are) +5.25 F .583(running NIS, this causes a sequential scan of the groups.by\ +name map, which can)174 577.2 R .435(cause your NIS serv)174 589.2 R +.435(er to be badly o)-.15 F -.15(ve)-.15 G .435(rloaded in a lar).15 F +.436(ge domain.)-.18 F .436(The cost of this)5.436 F .697(is that the o\ +nly group found for users will be their primary group \(the one in the) +174 601.2 R(passw)174 613.2 Q 1.189(ord \214le\), which will mak)-.1 F +3.689<658c>-.1 G 1.189(le access permissions some)-3.689 F 1.189 +(what more restric-)-.25 F(ti)174 625.2 Q -.15(ve)-.25 G 5(.H).15 G +(as no ef)-5 E(fect on systems that don')-.25 E 2.5(th)-.18 G -2.25 -.2 +(av e)-2.5 H(group lists.)2.7 E(DontProbeInterf)102 641.4 Q(aces)-.1 E +1.713([no short name])174 653.4 R F2(Sendmail)4.213 E F1 1.712 +(normally \214nds the names of all interf)4.213 F 1.712(aces acti)-.1 F +2.012 -.15(ve o)-.25 H(n).15 E 1.103 +(your machine when it starts up and adds their name to the)174 665.4 R +F0($=w)3.603 E F1 1.103(class of kno)3.603 F(wn)-.25 E 1.836 +(host aliases.)174 677.4 R 1.836(If you ha)6.836 F 2.136 -.15(ve a l)-.2 +H(ar).15 E 1.836(ge number of virtual interf)-.18 F 1.835 +(aces or if your DNS)-.1 F(in)174 689.4 Q -.15(ve)-.4 G .958 +(rse lookups are slo).15 F 3.458(wt)-.25 G .958 +(his can be time consuming.)-3.458 F .959(This option turns of)5.959 F +3.459(ft)-.25 G(hat)-3.459 E 2.974(probing. Ho)174 701.4 R(we)-.25 E +-.15(ve)-.25 G 1.274 -.4(r, y).15 H .474 +(ou will need to be certain to include all v).4 F .473 +(ariant names in the)-.25 F F0($=w)174 713.4 Q F1 1.868 +(class by some other mechanism.)4.368 F 1.868(If set to)6.868 F F0 +(loopback)4.368 E F1 4.369(,l)C 1.869(oopback interf)-4.369 F(aces)-.1 E +(\(e.g., lo0\) will not be probed.)174 725.4 Q 0 Cg EP %%Page: 68 64 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 193.36(SMM:08-68 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF -(directory)174 96 Q 5.487(.I)-.65 G 2.987(tc)-5.487 G .488 -(an also be set to a sequence of paths separated by colons;)-2.987 F/F2 -10/Times-Italic@0 SF(sendmail)2.988 E F1 .831 -(stops at the \214rst \214le it can successfully and safely open.)174 -108 R -.15(Fo)5.83 G 3.33(re).15 G .83(xample, \231/v)-3.48 F(ar/for) --.25 E(-)-.2 E -.1(wa)174 120 S(rd/$u:$z/.forw).1 E .276 -(ard\232 will search \214rst in /v)-.1 F(ar/forw)-.25 E(ard/)-.1 E F2 -(username)A F1 .277(and then in)2.777 F F2(~user)2.777 E(-)-.2 E(name) -174 132 Q F1(/.forw)A(ard \(b)-.1 E -(ut only if the \214rst \214le does not e)-.2 E(xist\).)-.15 E -(HeloName=)102 148.2 Q F2(name)A F1([no short name] Set the name to be \ -used for HELO/EHLO \(instead of $j\).)1.38 E(HoldExpensi)102 164.4 Q -8.54 -.15(ve [)-.25 H 1.394(c] If an outgoing mailer is mark).15 F 1.393 -(ed as being e)-.1 F(xpensi)-.15 E -.15(ve)-.25 G 3.893(,d).15 G(on') --3.893 E 3.893(tc)-.18 G 1.393(onnect immedi-)-3.893 F(ately)174 176.4 Q -(.)-.65 E(HostsFile=)102 192.6 Q F2(path)A F1 .026([no short name] The \ -path to the hosts database, normally \231/etc/hosts\232.)10.24 F .026 -(This option)5.026 F 1.417(is only consulted when sendmail is canonifyi\ -ng addresses, and then only when)174 204.6 R .783 -(\231\214les\232 is in the \231hosts\232 service switch entry)174 216.6 -R 5.784(.I)-.65 G 3.284(np)-5.784 G(articular)-3.284 E 3.284(,t)-.4 G -.784(his \214le is)-3.284 F F2(ne)3.284 E(ver)-.15 E F1(used)3.284 E -.202(when looking up host addresses; that is under the control of the s\ -ystem)174 228.6 R F2 -.1(ge)2.702 G(thostby-).1 E(name)174 240.6 Q F1 -(\(3\) routine.)A(HostStatusDirectory=)102 256.8 Q F2(path)A F1 .43 -([no short name] The location of the long term host status information.) -174 268.8 R .43(When set,)5.43 F 1.39 -(information about the status of hosts \(e.g., host do)174 280.8 R 1.39 -(wn or not accepting connec-)-.25 F .162 -(tions\) will be shared between all)174 292.8 R F2(sendmail)2.663 E F1 -.163(processes; normally)2.663 F 2.663(,t)-.65 G .163 -(his information is)-2.663 F .123(only held within a single queue run.) -174 304.8 R .123(This option requires a connection cache of at)5.123 F -.688(least 1 to function.)174 316.8 R .688(If the option be)5.688 F .688 -(gins with a leading `/', it is an absolute path-)-.15 F .617 -(name; otherwise, it is relati)174 328.8 R .917 -.15(ve t)-.25 H 3.117 -(ot).15 G .617(he mail queue directory)-3.117 F 5.617(.A)-.65 G .617 -(suggested v)-2.5 F .616(alue for)-.25 F .558(sites desiring persistent\ - host status is \231.hoststat\232 \(i.e., a subdirectory of the queue) -174 340.8 R(directory\).)174 352.8 Q 24.51(IgnoreDots [i])102 369 R -1.172(Ignore dots in incoming messages.)3.672 F 1.172(This is al)6.172 F --.1(wa)-.1 G 1.171(ys disabled \(that is, dots are).1 F(al)174 381 Q -.1 -(wa)-.1 G(ys accepted\) when reading SMTP mail.).1 E(InputMailFilters=) -102 397.2 Q F2(name)A(,name)-.1 E(,...)-.1 E F1 3.621(Ac)174 409.2 S -1.122(omma separated list of \214lters which determines which \214lters\ - \(see the "X \212)-3.621 F 1.768 -(Mail Filter \(Milter\) De\214nitions" section\) and the in)174 421.2 R --.2(vo)-.4 G 1.768(cation sequence are con-).2 F .367 -(tacted for incoming SMTP messages.)174 433.2 R .367 -(If none are set, no \214lters will be contacted.)5.367 F(LD)102 449.4 Q -(APDef)-.4 E(aultSpec=)-.1 E F2(spec)A F1 2.058 -([no short name] Sets a def)174 461.4 R 2.057 -(ault map speci\214cation for LD)-.1 F 2.057(AP maps.)-.4 F 2.057(The v) -7.057 F(alue)-.25 E .673(should only contain LD)174 473.4 R .674 -(AP speci\214c settings such as \231-h host -p port -d bindDN\232.)-.4 F -.501(The settings will be used for all LD)174 485.4 R .501 -(AP maps unless the indi)-.4 F .5(vidual map speci\214ca-)-.25 F 1.5 -(tion o)174 497.4 R -.15(ve)-.15 G 1.5(rrides a setting.).15 F 1.5 -(This option should be set before an)6.5 F 4(yL)-.15 G -.4(DA)-4 G 4(Pm) -.4 G 1.5(aps are)-4 F(de\214ned.)174 509.4 Q(LogLe)102 525.6 Q -.15(ve) --.25 G(l=).15 E F2(n)A F1([L] Set the log le)22.88 E -.15(ve)-.25 G 2.5 -(lt).15 G(o)-2.5 E F2(n)2.5 E F1 5(.D)C(ef)-5 E(aults to 9.)-.1 E(M)102 -541.8 Q F2 1.666(xv)C(alue)-1.666 E F1 .255([no long v)35.344 F .255 -(ersion] Set the macro)-.15 F F2(x)2.755 E F1(to)2.755 E F2(value)2.755 -E F1 5.255(.T)C .255(his is intended only for use from the)-5.255 F -(command line.)174 553.8 Q(The)5 E F02.5 E F1 -(\215ag is preferred.)2.5 E -1.04(MailboxDatabase [no)102 570 R 2.967 -(short name] T)5.467 F 2.967 -(ype of lookup to \214nd information about local mailbox)-.8 F(es,)-.15 -E(def)174 582 Q .145(aults to `)-.1 F(`pw')-.74 E 2.645('w)-.74 G .145 -(hich uses)-2.645 F F2 -.1(ge)2.645 G(tpwnam).1 E F1 5.145(.O)C .145 -(ther types can be introduced by adding)-5.145 F -(them to the source code, see libsm/mbdb)174 594 Q(.c for details.)-.4 E -33.94(UseMSP [no)102 610.2 R .163 -(short name] Use as mail submission program, i.e., allo)2.663 F 2.664 -(wg)-.25 G .164(roup writable queue)-2.664 F .954(\214les if the group \ -is the same as that of a set-group-ID sendmail binary)174 622.2 R 5.954 -(.S)-.65 G .954(ee the)-5.954 F(\214le)174 634.2 Q F0(sendmail/SECURITY) -2.5 E F1(in the distrib)2.5 E(ution tarball.)-.2 E 11.17(MatchGECOS [G]) -102 650.4 R(Allo)3.333 E 3.333(wf)-.25 G .833 -(uzzy matching on the GECOS \214eld.)-3.333 F .834 -(If this \215ag is set, and the usual)5.833 F .868(user name lookups f) -174 662.4 R .867(ail \(that is, there is no alias with this name and a) --.1 F F2 -.1(ge)3.367 G(tpwnam).1 E F1 -.1(fa)174 674.4 S 1.155 -(ils\), sequentially search the passw).1 F 1.155 -(ord \214le for a matching entry in the GECOS)-.1 F 3.696(\214eld. This) -174 686.4 R 1.196(also requires that MA)3.696 F 1.196 -(TCHGECOS be turned on during compilation.)-1.11 F -(This option is not recommended.)174 698.4 Q 0 Cg EP +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF -1.61 +(DontPruneRoutes [R])102 96 R(Normally)3.905 E(,)-.65 E/F2 10 +/Times-Italic@0 SF(sendmail)3.905 E F1 1.405(tries to eliminate an)3.905 +F 3.905(yu)-.15 G 1.405(nnecessary e)-3.905 F 1.405(xplicit routes when) +-.15 F .154 +(sending an error message \(as discussed in RFC 1123 \247 5.2.6\).)174 +108 R -.15(Fo)5.155 G 2.655(re).15 G .155(xample, when)-2.805 F +(sending an error message to)174 120 Q(<@kno)214 136.2 Q(wn1,@kno)-.25 E +(wn2,@kno)-.25 E(wn3:user@unkno)-.25 E(wn>)-.25 E F2(sendmail)174 152.4 +Q F1 1.155(will strip of)3.655 F 3.655(ft)-.25 G 1.155(he \231@kno) +-3.655 F(wn1,@kno)-.25 E 1.155(wn2\232 in order to mak)-.25 F 3.655(et) +-.1 G 1.155(he route as)-3.655 F .812(direct as possible.)174 164.4 R +(Ho)5.812 E(we)-.25 E -.15(ve)-.25 G 1.612 -.4(r, i).15 H 3.312(ft).4 G +(he)-3.312 E F0(R)3.313 E F1 .813 +(option is set, this will be disabled, and the)3.313 F .01 +(mail will be sent to the \214rst address in the route, e)174 176.4 R +-.15(ve)-.25 G 2.509(ni).15 G 2.509(fl)-2.509 G .009 +(ater addresses are kno)-2.509 F(wn.)-.25 E +(This may be useful if you are caught behind a \214re)174 188.4 Q -.1 +(wa)-.25 G(ll.).1 E(DoubleBounceAddress=)102 204.6 Q F2(err)A(or)-.45 E +(-addr)-.2 E(ess)-.37 E F1 .504([no short name] If an error occurs when\ + sending an error message, send the error)174 216.6 R 1.999(report \(te\ +rmed a \231double bounce\232 because it is an error \231bounce\232 that\ + occurs)174 228.6 R .053(when trying to send another error \231bounce\ +\232\) to the indicated address.)174 240.6 R .054(The address)5.054 F +.475(is macro e)174 252.6 R .474(xpanded at the time of deli)-.15 F -.15 +(ve)-.25 G(ry).15 E 5.474(.I)-.65 G 2.974(fn)-5.474 G .474(ot set, def) +-2.974 F .474(aults to \231postmaster\232.)-.1 F(If)5.474 E +(set to an empty string, double bounces are dropped.)174 264.6 Q +(EightBitMode=)102 280.8 Q F2(action)A F1 1.955 +([8] Set handling of eight-bit data.)174 292.8 R 1.955(There are tw) +6.955 F 4.456(ok)-.1 G 1.956(inds of eight-bit data: that)-4.456 F 3.335 +(declared as such using the)174 304.8 R F0(BOD)5.834 E(Y=8BITMIME)-.4 E +F1 3.334(ESMTP declaration or the)5.834 F F0(\255B8BITMIME)174 316.8 Q +F1 .948 +(command line \215ag, and undeclared 8-bit data, that is, input that) +3.448 F 1.18(just happens to be eight bits.)174 328.8 R 1.18 +(There are three basic operations that can happen:)6.18 F .995 +(undeclared 8-bit data can be automatically con)174 340.8 R -.15(ve)-.4 +G .996(rted to 8BITMIME, undeclared).15 F .887 +(8-bit data can be passed as-is without con)174 352.8 R -.15(ve)-.4 G +.887(rsion to MIME \(`).15 F .887(`just send 8')-.74 F .886('\), and) +-.74 F 1.794(declared 8-bit data can be con)174 364.8 R -.15(ve)-.4 G +1.794(rted to 7-bits for transmission to a non-8BIT).15 F(-)-.92 E +(MIME mailer)174 376.8 Q 5(.T)-.55 G(he possible)-5 E F2(action)2.5 E F1 +2.5(sa)C(re:)-2.5 E 11.11(sR)219 393 S(eject undeclared 8-bit data \(`) +-11.11 E(`strict')-.74 E('\))-.74 E 7.22(mC)219 405 S(on)-7.22 E -.15 +(ve)-.4 G(rt undeclared 8-bit data to MIME \(`).15 E(`mime')-.74 E('\)) +-.74 E 10(pP)219 417 S(ass undeclared 8-bit data \(`)-10.15 E(`pass') +-.74 E('\))-.74 E 2.228 +(In all cases properly declared 8BITMIME data will be con)174 433.2 R +-.15(ve)-.4 G 2.227(rted to 7BIT as).15 F(needed.)174 445.2 Q +(ErrorHeader=)102 461.4 Q F2(\214le-or)A(-messa)-.2 E -.1(ge)-.1 G F1 +.486([E] Prepend error messages with the indicated message.)174 473.4 R +.486(If it be)5.486 F .487(gins with a slash,)-.15 F .246(it is assumed\ + to be the pathname of a \214le containing a message \(this is the reco\ +m-)174 485.4 R .86(mended setting\).)174 497.4 R .86 +(Otherwise, it is a literal message.)5.86 F .86 +(The error \214le might contain)5.86 F 1.116(the name, email address, a\ +nd/or phone number of a local postmaster who could)174 509.4 R(pro)174 +521.4 Q .826(vide assistance to end users.)-.15 F .827 +(If the option is missing or null, or if it names a)5.827 F +(\214le which does not e)174 533.4 Q +(xist or which is not readable, no message is printed.)-.15 E +(ErrorMode=)102 549.6 Q F2(x)A F1([e] Dispose of errors using mode)17.49 +E F2(x)2.5 E F1 5(.T)C(he v)-5 E(alues for)-.25 E F2(x)2.5 E F1(are:)2.5 +E 15(pP)214 565.8 S(rint error messages \(def)-15 E(ault\))-.1 E 15(qN) +214 577.8 S 2.5(om)-15 G(essages, just gi)-2.5 E .3 -.15(ve ex)-.25 H +(it status).15 E 12.22(mM)214 589.8 S(ail back errors)-12.22 E 12.78(wW) +214 601.8 S(rite back errors \(mail if user not logged in\))-12.78 E +15.56(eM)214 613.8 S(ail back errors \(when applicable\) and gi)-15.56 E +.3 -.15(ve z)-.25 H(ero e).15 E(xit stat al)-.15 E -.1(wa)-.1 G(ys).1 E +1.314(Note that the last mode, \231e\232, is for Berknet error processi\ +ng and should not be)174 630 R 1.323(used in normal circumstances.)174 +642 R 1.323(Note, too, that mode \231q\232, only applies to errors)6.323 +F(recognized before sendmail forks for background deli)174 654 Q -.15 +(ve)-.25 G(ry).15 E(.)-.65 E -.15(Fa)102 670.2 S(llbackMXhost=).15 E F2 +(fallbac)A(khost)-.2 E F1 .797([V] If speci\214ed, the)174 682.2 R F2 +(fallbac)3.297 E(khost)-.2 E F1 .797(acts lik)3.297 F 3.296(eav)-.1 G +.796(ery lo)-3.446 F 3.296(wp)-.25 G .796(riority MX on e)-3.296 F -.15 +(ve)-.25 G .796(ry host.).15 F 1.537(MX records will be look)174 694.2 R +1.537(ed up for this host, unless the name is surrounded by)-.1 F .017 +(square brack)174 706.2 R 2.517(ets. This)-.1 F .017 +(is intended to be used by sites with poor netw)2.517 F .016 +(ork connecti)-.1 F(v-)-.25 E(ity)174 718.2 Q 6.706(.M)-.65 G 1.706 +(essages which are undeli)-6.706 F -.15(ve)-.25 G 1.706 +(rable due to temporary address f).15 F 1.706(ailures \(e.g.,)-.1 F 0 Cg +EP %%Page: 69 65 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-69)195.86 E/F1 10/Times-Roman@0 SF(MaxAliasRecursion=)102 96 Q -/F2 10/Times-Italic@0 SF(N)A F1 -([no short name] The maximum depth of alias recursion \(def)174 108 Q -(ault: 10\).)-.1 E(MaxDaemonChildren=)102 124.2 Q F2(N)A F1 .539 -([no short name] If set,)174 136.2 R F2(sendmail)3.039 E F1 .539 -(will refuse connections when it has more than)3.039 F F2(N)3.04 E F1 -.886(children processing incoming mail or automatic queue runs.)174 -148.2 R .885(This does not limit)5.885 F .812 -(the number of outgoing connections.)174 160.2 R .812(If the def)5.812 F -(ault)-.1 E F0(Deli)3.313 E -.1(ve)-.1 G(ryMode).1 E F1(\(background\)) -3.313 E 3.135(is used, then)174 172.2 R F2(sendmail)5.635 E F1 3.134 -(may create an almost unlimited number of children)5.635 F .294 -(\(depending on the number of transactions and the relati)174 184.2 R -.594 -.15(ve exe)-.25 H .295(cution times of mail).15 F 1.236 -(receiption and mail deli)174 196.2 R -.15(ve)-.25 G 3.736(ry\). If).15 -F 1.236(the limit should be enforced, then a)3.736 F F0(Deli)3.735 E -.1 -(ve)-.1 G(ry-).1 E(Mode)174 208.2 Q F1 1.483 -(other than background must be used.)3.983 F 1.484 -(If not set, there is no limit to the)6.483 F -(number of children -- that is, the system load a)174 220.2 Q -.15(ve) --.2 G(rage controls this.).15 E(MaxHeadersLength=)102 236.4 Q F2(N)A F1 -.17([no short name] The maximum length of the sum of all headers.)174 -248.4 R .17(This can be used)5.17 F(to pre)174 260.4 Q -.15(ve)-.25 G -(nt a denial of service attack.).15 E(The def)5 E(ault is no limit.)-.1 -E(MaxHopCount=)102 276.6 Q F2(N)A F1 1.237([h] The maximum hop count.) -174 288.6 R 1.237(Messages that ha)6.237 F 1.538 -.15(ve b)-.2 H 1.238 -(een processed more than).15 F F2(N)3.738 E F1 -(times are assumed to be in a loop and are rejected.)174 300.6 Q(Def)5 E -(aults to 25.)-.1 E(MaxMessageSize=)102 316.8 Q F2(N)A F1 2.563 -([no short name] Specify the maximum message size to be adv)174 328.8 R -2.562(ertised in the)-.15 F 1.022(ESMTP EHLO response.)174 340.8 R 1.022 -(Messages lar)6.022 F 1.022(ger than this will be rejected.)-.18 F 1.023 -(If set to a)6.023 F -.25(va)174 352.8 S .834 -(lue greater than zero, that v).25 F .834 -(alue will be listed in the SIZE response, otherwise)-.25 F(SIZE is adv) -174 364.8 Q(ertised in the ESMTP EHLO response without a parameter)-.15 -E(.)-.55 E(MaxMimeHeaderLength=)102 381 Q F2(N[/M])A F1 .343([no short \ -name] Sets the maximum length of certain MIME header \214eld v)174 393 R -.344(alues to)-.25 F F2(N)174 405 Q F1 3.619(characters. These)3.619 F -1.118(MIME header \214elds are determined by being a member of)3.619 F -.895(class {checkMIMET)174 417 R -.15(ex)-.7 G .895 -(tHeaders}, which currently contains only the header Con-).15 F 2.559 -(tent-Description. F)174 429 R .059(or some of these headers which tak) --.15 F 2.559(ep)-.1 G .059(arameters, the maximum)-2.559 F .101 -(length of each parameter is set to)174 441 R F2(M)2.602 E F1 .102 -(if speci\214ed.)2.602 F(If)5.102 E F2(/M)2.602 E F1 .102 -(is not speci\214ed, one half of)2.602 F F2(N)174 453 Q F1 1.776 -(will be used.)4.276 F 1.776(By def)6.776 F 1.775(ault, these v)-.1 F -1.775(alues are 2048 and 1024, respecti)-.25 F -.15(ve)-.25 G(ly).15 E -6.775(.T)-.65 G(o)-7.575 E(allo)174 465 Q 2.5(wa)-.25 G .3 -.15(ny l) --2.5 H(ength, a v).15 E(alue of 0 can be speci\214ed.)-.25 E -(MaxNOOPCommands=)102 481.2 Q F2(N)A F1(Ov)174 493.2 Q 2.103 -(erride the def)-.15 F 2.103(ault of)-.1 F F0(MAXNOOPCOMMANDS)4.603 E F1 -2.104(for the number of)4.603 F F2(useless)4.604 E F1 -(commands, see Section "Measures ag)174 505.2 Q -(ainst Denial of Service Attacks".)-.05 E(MaxQueueChildren=)102 521.4 Q -F2(N)A F1 .304([no short name] When set, this limits the number of conc\ -urrent queue runner pro-)174 533.4 R .201(cesses to)174 545.4 R F2(N.) -2.701 E F1 .202 -(This helps to control the amount of system resources used when pro-) -5.201 F 1.255(cessing the queue.)174 557.4 R 1.255 -(When there are multiple queue groups de\214ned and the total)6.255 F -1.2(number of queue runners for these queue groups w)174 569.4 R 1.2 -(ould e)-.1 F(xceed)-.15 E F2(MaxQueueChil-)3.7 E(dr)174 581.4 Q(en)-.37 -E F1 .472(then the queue groups will not all run concurrently)2.973 F -2.972(.T)-.65 G .472(hat is, some portion of)-2.972 F .871 -(the queue groups will run concurrently such that)174 593.4 R F2 -(MaxQueueChildr)3.371 E(en)-.37 E F1 .871(will not be)3.371 F -.15(ex) -174 605.4 S 1.893(ceeded, while the remaining queue groups will be run \ -later \(in round robin).15 F 1.3(order\). See also)174 617.4 R F2 -(MaxRunner)3.8 E(sP)-.1 E(erQueue)-.8 E F1 1.3(and the section)3.8 F F0 -1.3(Queue Gr)3.8 F 1.3(oup Declara-)-.18 F(tion)174 629.4 Q F1 5.757(.N) -C(otice:)-5.757 E F2(sendmail)3.257 E F1 .757(does not count indi)3.257 -F .757(vidual queue runners, b)-.25 F .756(ut only sets of)-.2 F 1.451 -(processes that act on a w)174 641.4 R 3.951(orkgroup. Hence)-.1 F 1.451 -(the actual number of queue runners)3.951 F 1.414(may be lo)174 653.4 R -1.414(wer than the limit imposed by)-.25 F F2(MaxQueueChildr)3.914 E(en) --.37 E F1 6.414(.T)C 1.414(his discrepanc)-6.414 F(y)-.15 E 1.423 -(can be lar)174 665.4 R 1.424(ge if some queue runners ha)-.18 F 1.724 --.15(ve t)-.2 H 3.924(ow).15 G 1.424(ait for a slo)-4.024 F 3.924(ws) --.25 G(erv)-3.924 E 1.424(er and if short)-.15 F(interv)174 677.4 Q -(als are used.)-.25 E(MaxQueueRunSize=)102 693.6 Q F2(N)A F1 .677([no s\ -hort name] The maximum number of jobs that will be processed in a singl\ -e)174 705.6 R .501(queue run.)174 717.6 R .501 -(If not set, there is no limit on the size.)5.501 F .501(If you ha)5.501 -F .802 -.15(ve ve)-.2 H .502(ry lar).15 F .502(ge queues)-.18 F 0 Cg EP +(SMM:08-69)195.86 E/F1 10/Times-Roman@0 SF(DNS f)174 96 Q +(ailure\) also go to the F)-.1 E(allbackMXhost.)-.15 E -.15(Fa)102 112.2 +S(llBackSmartHost=).15 E/F2 10/Times-Italic@0 SF(hostname)A F1 1.656 +(If speci\214ed, the)174 124.2 R F2 -.75(Fa)4.156 G(llBac).75 E +(kSmartHost)-.2 E F1 1.656(will be used in a last-ditch ef)4.156 F 1.655 +(fort for each)-.25 F 3.212(host. This)174 136.2 R .712 +(is intended to be used by sites with "f)3.212 F(ak)-.1 E 3.212(ei)-.1 G +.712(nternal DNS", e.g., a com-)-3.212 F(pan)174 148.2 Q 3.19(yw)-.15 G +.69(hose DNS accurately re\215ects the w)-3.19 F .69 +(orld inside that compan)-.1 F(y')-.15 E 3.19(sd)-.55 G .69(omain b) +-3.19 F(ut)-.2 E(not outside.)174 160.2 Q -.15(Fa)102 176.4 S 34.08 +(stSplit [no).15 F 1.572(short name] If set to a v)4.071 F 1.572 +(alue greater than zero \(the def)-.25 F 1.572(ault is one\), it sup-) +-.1 F .977(presses the MX lookups on addresses when the)174 188.4 R +3.477(ya)-.15 G .977(re initially sorted, i.e., for the)-3.477 F 1.03 +(\214rst deli)174 200.4 R -.15(ve)-.25 G 1.031(ry attempt.).15 F 1.031 +(This usually results in f)6.031 F 1.031(aster en)-.1 F -.15(ve)-.4 G +1.031(lope splitting unless the).15 F .423(MX records are readily a)174 +212.4 R -.25(va)-.2 G .423(ilable in a local DNS cache.).25 F 2.023 -.8 +(To e)5.423 H .423(nforce initial sorting).8 F .337 +(based on MX records set)174 224.4 R F0 -.25(Fa)2.838 G(stSplit).25 E F1 +.338(to zero.)2.838 F .338(If the mail is submitted directly from)5.338 +F 1.079(the command line, then the v)174 236.4 R 1.078 +(alue also limits the number of processes to deli)-.25 F -.15(ve)-.25 G +(r).15 E .293(the en)174 248.4 R -.15(ve)-.4 G .293(lopes; if more en) +.15 F -.15(ve)-.4 G .293(lopes are created the).15 F 2.794(ya)-.15 G +.294(re only queued up and must be)-2.794 F(tak)174 260.4 Q .692 +(en care of by a queue run.)-.1 F .691(Since the def)5.691 F .691 +(ault submission method is via SMTP)-.1 F 1.284(\(either from a MU)174 +272.4 R 3.784(Ao)-.4 G 3.784(rv)-3.784 G 1.284(ia the MSP\), the v) +-3.784 F 1.284(alue of)-.25 F F0 -.25(Fa)3.784 G(stSplit).25 E F1 1.284 +(is seldom used to)3.784 F(limit the number of processes to deli)174 +284.4 Q -.15(ve)-.25 G 2.5(rt).15 G(he en)-2.5 E -.15(ve)-.4 G(lopes.) +.15 E -.15(Fo)102 300.6 S 16.88(rkEachJob [Y]).15 F(If set, deli)2.5 E +-.15(ve)-.25 G 2.5(re).15 G +(ach job that is run from the queue in a separate process.)-2.5 E -.15 +(Fo)102 316.8 S(rw).15 E(ardP)-.1 E(ath=)-.15 E F2(path)A F1 1.512 +([J] Set the path for searching for users' .forw)174 328.8 R 1.511 +(ard \214les.)-.1 F 1.511(The def)6.511 F 1.511(ault is \231$z/.for)-.1 +F(-)-.2 E -.1(wa)174 340.8 S 5.799(rd\232. Some).1 F 3.299 +(sites that use the automounter may prefer to change this to)5.799 F +(\231/v)174 352.8 Q(ar/forw)-.25 E 1.696(ard/$u\232 to search a \214le \ +with the same name as the user in a system)-.1 F(directory)174 364.8 Q +5.487(.I)-.65 G 2.987(tc)-5.487 G .488 +(an also be set to a sequence of paths separated by colons;)-2.987 F F2 +(sendmail)2.988 E F1 .831 +(stops at the \214rst \214le it can successfully and safely open.)174 +376.8 R -.15(Fo)5.83 G 3.33(re).15 G .83(xample, \231/v)-3.48 F(ar/for) +-.25 E(-)-.2 E -.1(wa)174 388.8 S(rd/$u:$z/.forw).1 E .276 +(ard\232 will search \214rst in /v)-.1 F(ar/forw)-.25 E(ard/)-.1 E F2 +(username)A F1 .277(and then in)2.777 F F2(~user)2.777 E(-)-.2 E(name) +174 400.8 Q F1(/.forw)A(ard \(b)-.1 E +(ut only if the \214rst \214le does not e)-.2 E(xist\).)-.15 E +(HeloName=)102 417 Q F2(name)A F1([no short name] Set the name to be us\ +ed for HELO/EHLO \(instead of $j\).)1.38 E(HoldExpensi)102 433.2 Q 8.54 +-.15(ve [)-.25 H 1.394(c] If an outgoing mailer is mark).15 F 1.393 +(ed as being e)-.1 F(xpensi)-.15 E -.15(ve)-.25 G 3.893(,d).15 G(on') +-3.893 E 3.893(tc)-.18 G 1.393(onnect immedi-)-3.893 F(ately)174 445.2 Q +(.)-.65 E(HostsFile=)102 461.4 Q F2(path)A F1 .026([no short name] The \ +path to the hosts database, normally \231/etc/hosts\232.)10.24 F .026 +(This option)5.026 F 1.417(is only consulted when sendmail is canonifyi\ +ng addresses, and then only when)174 473.4 R .783 +(\231\214les\232 is in the \231hosts\232 service switch entry)174 485.4 +R 5.784(.I)-.65 G 3.284(np)-5.784 G(articular)-3.284 E 3.284(,t)-.4 G +.784(his \214le is)-3.284 F F2(ne)3.284 E(ver)-.15 E F1(used)3.284 E +.202(when looking up host addresses; that is under the control of the s\ +ystem)174 497.4 R F2 -.1(ge)2.702 G(thostby-).1 E(name)174 509.4 Q F1 +(\(3\) routine.)A(HostStatusDirectory=)102 525.6 Q F2(path)A F1 .43 +([no short name] The location of the long term host status information.) +174 537.6 R .43(When set,)5.43 F 1.39 +(information about the status of hosts \(e.g., host do)174 549.6 R 1.39 +(wn or not accepting connec-)-.25 F .162 +(tions\) will be shared between all)174 561.6 R F2(sendmail)2.663 E F1 +.163(processes; normally)2.663 F 2.663(,t)-.65 G .163 +(his information is)-2.663 F .123(only held within a single queue run.) +174 573.6 R .123(This option requires a connection cache of at)5.123 F +.688(least 1 to function.)174 585.6 R .688(If the option be)5.688 F .688 +(gins with a leading `/', it is an absolute path-)-.15 F .617 +(name; otherwise, it is relati)174 597.6 R .917 -.15(ve t)-.25 H 3.117 +(ot).15 G .617(he mail queue directory)-3.117 F 5.617(.A)-.65 G .617 +(suggested v)-2.5 F .616(alue for)-.25 F .558(sites desiring persistent\ + host status is \231.hoststat\232 \(i.e., a subdirectory of the queue) +174 609.6 R(directory\).)174 621.6 Q 24.51(IgnoreDots [i])102 637.8 R +1.172(Ignore dots in incoming messages.)3.672 F 1.172(This is al)6.172 F +-.1(wa)-.1 G 1.171(ys disabled \(that is, dots are).1 F(al)174 649.8 Q +-.1(wa)-.1 G(ys accepted\) when reading SMTP mail.).1 E +(InputMailFilters=)102 666 Q F2(name)A(,name)-.1 E(,...)-.1 E F1 3.621 +(Ac)174 678 S 1.122(omma separated list of \214lters which determines w\ +hich \214lters \(see the "X \212)-3.621 F 1.768 +(Mail Filter \(Milter\) De\214nitions" section\) and the in)174 690 R +-.2(vo)-.4 G 1.768(cation sequence are con-).2 F .367 +(tacted for incoming SMTP messages.)174 702 R .367 +(If none are set, no \214lters will be contacted.)5.367 F 0 Cg EP %%Page: 70 66 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 193.36(SMM:08-70 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF .445 -(or a v)174 96 R .445(ery short queue run interv)-.15 F .445 -(al this could be unstable.)-.25 F(Ho)5.445 E(we)-.25 E -.15(ve)-.25 G -1.245 -.4(r, s).15 H .445(ince the \214rst).4 F/F2 10/Times-Italic@0 SF -(N)174 108 Q F1 1.115 -(jobs in queue directory order are run \(rather than the)3.615 F F2(N) -3.615 E F1 1.115(highest priority jobs\))3.615 F .136 -(this should be set as high as possible to a)174 120 R -.2(vo)-.2 G .136 -(id \231losing\232 jobs that happen to f).2 F .136(all late)-.1 F 2.325 -(in the queue directory)174 132 R 7.326(.N)-.65 G 2.326 -(ote: this option also restricts the number of entries)-7.326 F 1.443 -(printed by)174 144 R F2(mailq)3.943 E F1 6.443(.T)C 1.443(hat is, if) --6.443 F F2(MaxQueueRunSize)3.943 E F1 1.443(is set to a v)3.943 F(alue) --.25 E F0(N)3.943 E F1(lar)3.942 E 1.442(ger than)-.18 F -(zero, then only)174 156 Q F0(N)2.5 E F1 -(entries are printed per queue group.)2.5 E(MaxRecipientsPerMessage=)102 -172.2 Q F2(N)A F1 1.672([no short name] The maximum number of recipient\ -s that will be accepted per)174 184.2 R 1.459 -(message in an SMTP transaction.)174 196.2 R 1.458 -(Note: setting this too lo)6.458 F 3.958(wc)-.25 G 1.458 -(an interfere with)-3.958 F .048(sending mail from MU)174 208.2 R .048 -(As that use SMTP for initial submission.)-.4 F .049 -(If not set, there is)5.049 F -(no limit on the number of recipients per en)174 220.2 Q -.15(ve)-.4 G -(lope.).15 E(MaxRunnersPerQueue=)102 236.4 Q F2(N)A F1 2.004 -([no short name] This sets the def)174 248.4 R 2.003 -(ault maximum number of queue runners for)-.1 F 1.161(queue groups.)174 -260.4 R 1.161(Up to)6.161 F F2(N)3.661 E F1 1.161(queue runners will w) -3.661 F 1.162(ork in parallel on a queue group')-.1 F(s)-.55 E 3.466 -(messages. This)174 272.4 R .965 -(is useful where the processing of a message in the queue might)3.466 F -.945(delay the processing of subsequent messages. Such a delay may be t\ -he result of)174 284.4 R .116(non-erroneous situations such as a lo)174 -296.4 R 2.616(wb)-.25 G .116(andwidth connection.)-2.616 F .116 -(May be o)5.116 F -.15(ve)-.15 G(rridden).15 E .644 -(on a per queue group basis by setting the)174 308.4 R F2(Runner)3.144 E -(s)-.1 E F1 .645(option; see the section)3.144 F F0(Queue)3.145 E(Gr)174 -320.4 Q(oup Declaration)-.18 E F1 5(.T)C(he def)-5 E -(ault is 1 when not set.)-.1 E(MeT)102 336.6 Q 40.86(oo [m])-.8 F .367 -(Send to me too, e)2.867 F -.15(ve)-.25 G 2.867(ni).15 G 2.867(fIa) --2.867 G 2.867(mi)-2.867 G 2.867(na)-2.867 G 2.867(na)-2.867 G .367 -(lias e)-2.867 F 2.867(xpansion. This)-.15 F .366(option is deprecated) -2.867 F(and will be remo)174 348.6 Q -.15(ve)-.15 G 2.5(df).15 G -(rom a future v)-2.5 E(ersion.)-.15 E 44.5(Milter [no)102 364.8 R .777 -(short name] This option has se)3.277 F -.15(ve)-.25 G .778 -(ral sub\(sub\)options.).15 F .778(The names of the sub-)5.778 F 1.135 -(options are separated by dots.)174 376.8 R 1.135(At the \214rst le) -6.135 F -.15(ve)-.25 G 3.634(lt).15 G 1.134(he follo)-3.634 F 1.134 -(wing options are a)-.25 F -.25(va)-.2 G(il-).25 E(able:)174 388.8 Q -(LogLe)214 405 Q -.15(ve)-.25 G 15(lL).15 G(og le)-15 E -.15(ve)-.25 G -2.5(lf).15 G(or input mail \214lter actions, def)-2.5 E(aults to LogLe) --.1 E -.15(ve)-.25 G(l.).15 E 22.1(macros Speci\214es)214 417 R -(list of macro to transmit to \214lters.)2.5 E(See list belo)267.48 429 -Q -.65(w.)-.25 G 2.458(The `)174 445.2 R(`macros')-.74 E 4.958('o)-.74 G -2.458(ption has the follo)-4.958 F 2.458 -(wing suboptions which specify the list of)-.25 F -(macro to transmit to milters after a certain e)174 457.2 Q -.15(ve)-.25 -G(nt occurred.).15 E 14.88(connect After)214 473.4 R -(session connection start)2.5 E 28.76(helo After)214 485.4 R -(EHLO/HELO command)2.5 E(en)214 497.4 Q 12.5(vfrom After)-.4 F -(MAIL From command)2.5 E(en)214 509.4 Q 16.39(vrcpt After)-.4 F(RCPT T) -2.5 E 2.5(oc)-.8 G(ommand)-2.5 E 29.32(data After)214 521.4 R -.4(DA)2.5 -G 1.86 -.93(TA c)-.71 H(ommand.).93 E 31.54(eoh After)214 533.4 R -.4 -(DA)2.5 G 1.86 -.93(TA c)-.71 H(ommand and header).93 E 28.76(eom After) -214 545.4 R -.4(DA)2.5 G 1.86 -.93(TA c)-.71 H(ommand and terminating `) -.93 E(`.)-.74 E -.74('')-.7 G(By def)174 561.6 Q -(ault the lists of macros are empty)-.1 E 5(.E)-.65 G(xample:)-5 E 2.5 -(OM)214 577.8 S(ilter)-2.5 E(.LogLe)-.55 E -.15(ve)-.25 G(l=12).15 E 2.5 -(OM)214 589.8 S(ilter)-2.5 E(.macros.connect=j, _, {daemon_name})-.55 E -(MinFreeBlocks=)102 610.2 Q F2(N)A F1 1.539([b] Insist on at least)174 -622.2 R F2(N)4.039 E F1 1.538 -(blocks free on the \214lesystem that holds the queue \214les)4.039 F -.845(before accepting email via SMTP)174 634.2 R 5.846(.I)-1.11 G 3.346 -(ft)-5.846 G .846(here is insuf)-3.346 F .846(\214cient space)-.25 F F2 -(sendmail)3.346 E F1(gi)3.346 E -.15(ve)-.25 G 3.346(sa).15 G -(452 response to the MAIL command.)174 646.2 Q(This in)5 E -(vites the sender to try ag)-.4 E(ain later)-.05 E(.)-.55 E -(MinQueueAge=)102 662.4 Q F2 -.1(age)C F1 .887([no short name] Don')174 -674.4 R 3.387(tp)-.18 G .887(rocess an)-3.387 F 3.387(yq)-.15 G .886 -(ueued jobs that ha)-3.387 F 1.186 -.15(ve b)-.2 H .886 -(een in the queue less).15 F 1.899(than the indicated time interv)174 -686.4 R 4.399(al. This)-.25 F 1.899(is intended to allo)4.399 F 4.399 -(wy)-.25 G 1.9(ou to get respon-)-4.399 F(si)174 698.4 Q -.15(ve)-.25 G -.665(ness by processing the queue f).15 F .665 -(airly frequently without thrashing your system)-.1 F -(by trying jobs too often.)174 710.4 Q(The def)5 E -(ault units are minutes.)-.1 E 0 Cg EP +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF(LD)102 96 +Q(APDef)-.4 E(aultSpec=)-.1 E/F2 10/Times-Italic@0 SF(spec)A F1 2.058 +([no short name] Sets a def)174 108 R 2.057 +(ault map speci\214cation for LD)-.1 F 2.057(AP maps.)-.4 F 2.057(The v) +7.057 F(alue)-.25 E .673(should only contain LD)174 120 R .674 +(AP speci\214c settings such as \231-h host -p port -d bindDN\232.)-.4 F +.501(The settings will be used for all LD)174 132 R .501 +(AP maps unless the indi)-.4 F .5(vidual map speci\214ca-)-.25 F 1.5 +(tion o)174 144 R -.15(ve)-.15 G 1.5(rrides a setting.).15 F 1.5 +(This option should be set before an)6.5 F 4(yL)-.15 G -.4(DA)-4 G 4(Pm) +.4 G 1.5(aps are)-4 F(de\214ned.)174 156 Q(LogLe)102 172.2 Q -.15(ve) +-.25 G(l=).15 E F2(n)A F1([L] Set the log le)22.88 E -.15(ve)-.25 G 2.5 +(lt).15 G(o)-2.5 E F2(n)2.5 E F1 5(.D)C(ef)-5 E(aults to 9.)-.1 E(M)102 +188.4 Q F2 1.666(xv)C(alue)-1.666 E F1 .255([no long v)35.344 F .255 +(ersion] Set the macro)-.15 F F2(x)2.755 E F1(to)2.755 E F2(value)2.755 +E F1 5.255(.T)C .255(his is intended only for use from the)-5.255 F +(command line.)174 200.4 Q(The)5 E F02.5 E F1 +(\215ag is preferred.)2.5 E -1.04(MailboxDatabase [no)102 216.6 R 2.967 +(short name] T)5.467 F 2.967 +(ype of lookup to \214nd information about local mailbox)-.8 F(es,)-.15 +E(def)174 228.6 Q .145(aults to `)-.1 F(`pw')-.74 E 2.645('w)-.74 G .145 +(hich uses)-2.645 F F2 -.1(ge)2.645 G(tpwnam).1 E F1 5.145(.O)C .145 +(ther types can be introduced by adding)-5.145 F +(them to the source code, see libsm/mbdb)174 240.6 Q(.c for details.)-.4 +E 33.94(UseMSP [no)102 256.8 R .163 +(short name] Use as mail submission program, i.e., allo)2.663 F 2.664 +(wg)-.25 G .164(roup writable queue)-2.664 F .954(\214les if the group \ +is the same as that of a set-group-ID sendmail binary)174 268.8 R 5.954 +(.S)-.65 G .954(ee the)-5.954 F(\214le)174 280.8 Q F0(sendmail/SECURITY) +2.5 E F1(in the distrib)2.5 E(ution tarball.)-.2 E 11.17(MatchGECOS [G]) +102 297 R(Allo)3.333 E 3.333(wf)-.25 G .833 +(uzzy matching on the GECOS \214eld.)-3.333 F .834 +(If this \215ag is set, and the usual)5.833 F .868(user name lookups f) +174 309 R .867(ail \(that is, there is no alias with this name and a)-.1 +F F2 -.1(ge)3.367 G(tpwnam).1 E F1 -.1(fa)174 321 S 1.155 +(ils\), sequentially search the passw).1 F 1.155 +(ord \214le for a matching entry in the GECOS)-.1 F 3.696(\214eld. This) +174 333 R 1.196(also requires that MA)3.696 F 1.196 +(TCHGECOS be turned on during compilation.)-1.11 F +(This option is not recommended.)174 345 Q(MaxAliasRecursion=)102 361.2 +Q F2(N)A F1([no short name] The maximum depth of alias recursion \(def) +174 373.2 Q(ault: 10\).)-.1 E(MaxDaemonChildren=)102 389.4 Q F2(N)A F1 +.539([no short name] If set,)174 401.4 R F2(sendmail)3.039 E F1 .539 +(will refuse connections when it has more than)3.039 F F2(N)3.04 E F1 +.886(children processing incoming mail or automatic queue runs.)174 +413.4 R .885(This does not limit)5.885 F .812 +(the number of outgoing connections.)174 425.4 R .812(If the def)5.812 F +(ault)-.1 E F0(Deli)3.313 E -.1(ve)-.1 G(ryMode).1 E F1(\(background\)) +3.313 E 3.135(is used, then)174 437.4 R F2(sendmail)5.635 E F1 3.134 +(may create an almost unlimited number of children)5.635 F .294 +(\(depending on the number of transactions and the relati)174 449.4 R +.594 -.15(ve exe)-.25 H .295(cution times of mail).15 F 1.236 +(receiption and mail deli)174 461.4 R -.15(ve)-.25 G 3.736(ry\). If).15 +F 1.236(the limit should be enforced, then a)3.736 F F0(Deli)3.735 E -.1 +(ve)-.1 G(ry-).1 E(Mode)174 473.4 Q F1 1.483 +(other than background must be used.)3.983 F 1.484 +(If not set, there is no limit to the)6.483 F +(number of children -- that is, the system load a)174 485.4 Q -.15(ve) +-.2 G(rage controls this.).15 E(MaxHeadersLength=)102 501.6 Q F2(N)A F1 +.17([no short name] The maximum length of the sum of all headers.)174 +513.6 R .17(This can be used)5.17 F(to pre)174 525.6 Q -.15(ve)-.25 G +(nt a denial of service attack.).15 E(The def)5 E(ault is no limit.)-.1 +E(MaxHopCount=)102 541.8 Q F2(N)A F1 1.237([h] The maximum hop count.) +174 553.8 R 1.237(Messages that ha)6.237 F 1.538 -.15(ve b)-.2 H 1.238 +(een processed more than).15 F F2(N)3.738 E F1 +(times are assumed to be in a loop and are rejected.)174 565.8 Q(Def)5 E +(aults to 25.)-.1 E(MaxMessageSize=)102 582 Q F2(N)A F1 2.563 +([no short name] Specify the maximum message size to be adv)174 594 R +2.562(ertised in the)-.15 F 1.022(ESMTP EHLO response.)174 606 R 1.022 +(Messages lar)6.022 F 1.022(ger than this will be rejected.)-.18 F 1.023 +(If set to a)6.023 F -.25(va)174 618 S .834 +(lue greater than zero, that v).25 F .834 +(alue will be listed in the SIZE response, otherwise)-.25 F(SIZE is adv) +174 630 Q(ertised in the ESMTP EHLO response without a parameter)-.15 E +(.)-.55 E(MaxMimeHeaderLength=)102 646.2 Q F2(N[/M])A F1 .343([no short\ + name] Sets the maximum length of certain MIME header \214eld v)174 +658.2 R .344(alues to)-.25 F F2(N)174 670.2 Q F1 3.619 +(characters. These)3.619 F 1.118 +(MIME header \214elds are determined by being a member of)3.619 F .895 +(class {checkMIMET)174 682.2 R -.15(ex)-.7 G .895 +(tHeaders}, which currently contains only the header Con-).15 F 2.559 +(tent-Description. F)174 694.2 R .059 +(or some of these headers which tak)-.15 F 2.559(ep)-.1 G .059 +(arameters, the maximum)-2.559 F .101 +(length of each parameter is set to)174 706.2 R F2(M)2.602 E F1 .102 +(if speci\214ed.)2.602 F(If)5.102 E F2(/M)2.602 E F1 .102 +(is not speci\214ed, one half of)2.602 F F2(N)174 718.2 Q F1 1.776 +(will be used.)4.276 F 1.776(By def)6.776 F 1.775(ault, these v)-.1 F +1.775(alues are 2048 and 1024, respecti)-.25 F -.15(ve)-.25 G(ly).15 E +6.775(.T)-.65 G(o)-7.575 E 0 Cg EP %%Page: 71 67 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-71)195.86 E/F1 10/Times-Roman@0 SF(MustQuoteChars=)102 96 Q/F2 -10/Times-Italic@0 SF(s)A F1 1.252([no short name] Sets the list of char\ -acters that must be quoted if used in a full)174 108 R 1.217 -(name that is in the phrase part of a `)174 120 R 1.217 -(`phrase
')-.74 F 3.717('s)-.74 G 3.717(yntax. The)-3.717 F -(def)3.717 E 1.217(ault is)-.1 F -.74(``)174 132 S.74 E -.74('') --.7 G 5(.T).74 G(he characters `)-5 E(`@,;:\\\(\)[]')-.74 E 2.5('a)-.74 -G(re al)-2.5 E -.1(wa)-.1 G(ys added to this list.).1 E 7.85 -(NiceQueueRun [no)102 148.2 R 2.156 -(short name] The priority of queue runners \(nice\(3\)\).)4.655 F 2.156 -(This v)7.156 F 2.156(alue must be)-.25 F(greater or equal zero.)174 -160.2 Q(NoRecipientAction)102 176.4 Q .555 -([no short name] The action to tak)174 188.4 R 3.055(ew)-.1 G .555 -(hen you recei)-3.055 F .855 -.15(ve a m)-.25 H .554 -(essage that has no v).15 F(alid)-.25 E .625(recipient headers \(T)174 -200.4 R .625(o:, Cc:, Bcc:, or Apparently-T)-.8 F .625 -(o: \212 the last included for back)-.8 F .109(compatibility with old) -174 212.4 R F2(sendmail)2.609 E F1 2.609(s\). It)B .109(can be)2.609 F -F0(None)2.608 E F1 .108(to pass the message on unmod-)2.608 F .296 -(i\214ed, which violates the protocol,)174 224.4 R F0(Add-T)2.796 E(o) --.92 E F1 .296(to add a T)2.796 F .296(o: header with an)-.8 F 2.797(yr) --.15 G(ecipients)-2.797 E 1.638(it can \214nd in the en)174 236.4 R -.15 -(ve)-.4 G 1.638(lope \(which might e).15 F 1.638 -(xpose Bcc: recipients\),)-.15 F F0(Add-A)4.138 E(ppar)-.25 E(-)-.37 E -(ently-T)174 248.4 Q(o)-.92 E F1 .337(to add an Apparently-T)2.837 F -.337(o: header \(this is only for back-compatibility and)-.8 F .842 -(is of)174 260.4 R .841(\214cially deprecated\),)-.25 F F0(Add-T)3.341 E -(o-Undisclosed)-.92 E F1 .841(to add a header \231T)3.341 F .841 -(o: undisclosed-)-.8 F .397(recipients:;\232 to mak)174 272.4 R 2.897 -(et)-.1 G .397(he header le)-2.897 F -.05(ga)-.15 G 2.897(lw).05 G .397 -(ithout disclosing an)-2.897 F .398(ything, or)-.15 F F0(Add-Bcc)2.898 E -F1(to)2.898 E(add an empty Bcc: header)174 284.4 Q(.)-.55 E 1.18 -(OldStyleHeaders [o])102 300.6 R 1.713(Assume that the headers may be i\ -n old format, i.e., spaces delimit names.)4.214 F 1.068 -(This actually turns on an adapti)174 312.6 R 1.368 -.15(ve a)-.25 H -1.068(lgorithm: if an).15 F 3.569(yr)-.15 G 1.069 -(ecipient address contains a)-3.569 F 1.681 -(comma, parenthesis, or angle brack)174 324.6 R 1.681 -(et, it will be assumed that commas already)-.1 F -.15(ex)174 336.6 S -2.825(ist. If).15 F .325 -(this \215ag is not on, only commas delimit names.)2.825 F .325 -(Headers are al)5.325 F -.1(wa)-.1 G .325(ys out-).1 F -(put with commas between the names.)174 348.6 Q(Def)5 E(aults to of)-.1 -E(f.)-.25 E(OperatorChars=)102 364.8 Q F2 -.15(ch)C(arlist).15 E F1 -1.438([$o macro] The list of characters that are considered to be \231o\ -perators\232, that is,)174 376.8 R .82(characters that delimit tok)174 -388.8 R 3.32(ens. All)-.1 F .82(operator characters are tok)3.32 F .82 -(ens by themselv)-.1 F(es;)-.15 E .078 -(sequences of non-operator characters are also tok)174 400.8 R 2.578 -(ens. White)-.1 F .078(space characters sep-)2.578 F .269(arate tok)174 -412.8 R .269(ens b)-.1 F .269(ut are not tok)-.2 F .269(ens themselv)-.1 -F .269(es \212 for e)-.15 F .269(xample, \231)-.15 F .27 -(AAA.BBB\232 has three)-.8 F(tok)174 424.8 Q .433(ens, b)-.1 F .433 -(ut \231)-.2 F .433(AAA BBB\232 has tw)-.8 F 2.933(o. If)-.1 F .433 -(not set, OperatorChars def)2.933 F .433(aults to \231.)-.1 F 1.666 -(:@[])1.666 G<9a3b>-1.666 E(additionally)174 436.8 Q 3.565(,t)-.65 G -1.065(he characters \231\()-3.565 F 1.666(\)<>,;)1.666 G 3.565<9a61> --1.666 G 1.066(re al)-3.565 F -.1(wa)-.1 G 1.066(ys operators.).1 F -1.066(Note that Operator)6.066 F(-)-.2 E -(Chars must be set in the con\214guration \214le before an)174 448.8 Q -2.5(yr)-.15 G(ulesets.)-2.5 E(PidFile=)102 465 Q F2(\214lename)A F1 1.3 -([no short name] Filename of the pid \214le.)3.58 F(\(def)6.3 E 1.3 -(ault is _P)-.1 F -1.11(AT)-.92 G(H_SENDMAILPID\).)1.11 E(The)174 477 Q -F2(\214lename)2.831 E F1 .332(is macro-e)2.831 F .332 -(xpanded before it is opened, and unlink)-.15 F .332(ed when)-.1 F F2 -(sendmail)2.832 E F1 -.15(ex)174 489 S(its.).15 E(PostmasterCop)102 -505.2 Q(y=)-.1 E F2(postmaster)A F1 .003 -([P] If set, copies of error messages will be sent to the named)174 -517.2 R F2(postmaster)2.503 E F1 5.003(.O)C .003(nly the)-5.003 F .687 -(header of the f)174 529.2 R .687(ailed message is sent.)-.1 F .687 -(Errors resulting from messages with a ne)5.687 F(g-)-.15 E(ati)174 -541.2 Q 1.831 -.15(ve p)-.25 H 1.531(recedence will not be sent.).15 F -1.531(Since most errors are user problems, this is)6.531 F .453 -(probably not a good idea on lar)174 553.2 R .453(ge sites, and ar)-.18 -F .453(guably contains all sorts of pri)-.18 F -.25(va)-.25 G -.15(cy) -.25 G .101(violations, b)174 565.2 R .101 -(ut it seems to be popular with certain operating systems v)-.2 F 2.6 -(endors. The)-.15 F 1.918(address is macro e)174 577.2 R 1.918 -(xpanded at the time of deli)-.15 F -.15(ve)-.25 G(ry).15 E 6.919(.D) --.65 G(ef)-6.919 E 1.919(aults to no postmaster)-.1 F(copies.)174 589.2 -Q(Pri)102 605.4 Q -.25(va)-.25 G -.15(cy).25 G(Options=).15 E F2 -(opt,opt,...)1.666 E F1 1.192([p] Set the pri)174 617.4 R -.25(va)-.25 G --.15(cy).25 G F2(opt)3.842 E F1 3.692(ions. `)B(`Pri)-.74 E -.25(va)-.25 -G -.15(cy).25 G 2.672 -.74('' i).15 H 3.692(sr).74 G 1.191 -(eally a misnomer; man)-3.692 F 3.691(yo)-.15 G 3.691(ft)-3.691 G 1.191 -(hese are)-3.691 F .928(just a w)174 629.4 R .928 -(ay of insisting on stricter adherence to the SMTP protocol.)-.1 F(The) -5.929 E F2(opt)3.429 E F1(ions)A(can be selected from:)174 641.4 Q 0 Cg -EP +(SMM:08-71)195.86 E/F1 10/Times-Roman@0 SF(allo)174 96 Q 2.5(wa)-.25 G +.3 -.15(ny l)-2.5 H(ength, a v).15 E(alue of 0 can be speci\214ed.)-.25 +E(MaxNOOPCommands=)102 112.2 Q/F2 10/Times-Italic@0 SF(N)A F1(Ov)174 +124.2 Q 2.103(erride the def)-.15 F 2.103(ault of)-.1 F F0 +(MAXNOOPCOMMANDS)4.603 E F1 2.104(for the number of)4.603 F F2(useless) +4.604 E F1(commands, see Section "Measures ag)174 136.2 Q +(ainst Denial of Service Attacks".)-.05 E(MaxQueueChildren=)102 152.4 Q +F2(N)A F1 .304([no short name] When set, this limits the number of conc\ +urrent queue runner pro-)174 164.4 R .201(cesses to)174 176.4 R F2(N.) +2.701 E F1 .202 +(This helps to control the amount of system resources used when pro-) +5.201 F 1.255(cessing the queue.)174 188.4 R 1.255 +(When there are multiple queue groups de\214ned and the total)6.255 F +1.2(number of queue runners for these queue groups w)174 200.4 R 1.2 +(ould e)-.1 F(xceed)-.15 E F2(MaxQueueChil-)3.7 E(dr)174 212.4 Q(en)-.37 +E F1 .472(then the queue groups will not all run concurrently)2.973 F +2.972(.T)-.65 G .472(hat is, some portion of)-2.972 F .871 +(the queue groups will run concurrently such that)174 224.4 R F2 +(MaxQueueChildr)3.371 E(en)-.37 E F1 .871(will not be)3.371 F -.15(ex) +174 236.4 S 1.893(ceeded, while the remaining queue groups will be run \ +later \(in round robin).15 F 1.3(order\). See also)174 248.4 R F2 +(MaxRunner)3.8 E(sP)-.1 E(erQueue)-.8 E F1 1.3(and the section)3.8 F F0 +1.3(Queue Gr)3.8 F 1.3(oup Declara-)-.18 F(tion)174 260.4 Q F1 5.757(.N) +C(otice:)-5.757 E F2(sendmail)3.257 E F1 .757(does not count indi)3.257 +F .757(vidual queue runners, b)-.25 F .756(ut only sets of)-.2 F 1.451 +(processes that act on a w)174 272.4 R 3.951(orkgroup. Hence)-.1 F 1.451 +(the actual number of queue runners)3.951 F 1.414(may be lo)174 284.4 R +1.414(wer than the limit imposed by)-.25 F F2(MaxQueueChildr)3.914 E(en) +-.37 E F1 6.414(.T)C 1.414(his discrepanc)-6.414 F(y)-.15 E 1.423 +(can be lar)174 296.4 R 1.424(ge if some queue runners ha)-.18 F 1.724 +-.15(ve t)-.2 H 3.924(ow).15 G 1.424(ait for a slo)-4.024 F 3.924(ws) +-.25 G(erv)-3.924 E 1.424(er and if short)-.15 F(interv)174 308.4 Q +(als are used.)-.25 E(MaxQueueRunSize=)102 324.6 Q F2(N)A F1 .677([no s\ +hort name] The maximum number of jobs that will be processed in a singl\ +e)174 336.6 R .501(queue run.)174 348.6 R .501 +(If not set, there is no limit on the size.)5.501 F .501(If you ha)5.501 +F .802 -.15(ve ve)-.2 H .502(ry lar).15 F .502(ge queues)-.18 F .445 +(or a v)174 360.6 R .445(ery short queue run interv)-.15 F .445 +(al this could be unstable.)-.25 F(Ho)5.445 E(we)-.25 E -.15(ve)-.25 G +1.245 -.4(r, s).15 H .445(ince the \214rst).4 F F2(N)174 372.6 Q F1 +1.115(jobs in queue directory order are run \(rather than the)3.615 F F2 +(N)3.615 E F1 1.115(highest priority jobs\))3.615 F .136 +(this should be set as high as possible to a)174 384.6 R -.2(vo)-.2 G +.136(id \231losing\232 jobs that happen to f).2 F .136(all late)-.1 F +2.325(in the queue directory)174 396.6 R 7.326(.N)-.65 G 2.326 +(ote: this option also restricts the number of entries)-7.326 F 1.443 +(printed by)174 408.6 R F2(mailq)3.943 E F1 6.443(.T)C 1.443(hat is, if) +-6.443 F F2(MaxQueueRunSize)3.943 E F1 1.443(is set to a v)3.943 F(alue) +-.25 E F0(N)3.943 E F1(lar)3.942 E 1.442(ger than)-.18 F +(zero, then only)174 420.6 Q F0(N)2.5 E F1 +(entries are printed per queue group.)2.5 E(MaxRecipientsPerMessage=)102 +436.8 Q F2(N)A F1 1.672([no short name] The maximum number of recipient\ +s that will be accepted per)174 448.8 R 1.459 +(message in an SMTP transaction.)174 460.8 R 1.458 +(Note: setting this too lo)6.458 F 3.958(wc)-.25 G 1.458 +(an interfere with)-3.958 F .048(sending mail from MU)174 472.8 R .048 +(As that use SMTP for initial submission.)-.4 F .049 +(If not set, there is)5.049 F +(no limit on the number of recipients per en)174 484.8 Q -.15(ve)-.4 G +(lope.).15 E(MaxRunnersPerQueue=)102 501 Q F2(N)A F1 2.004 +([no short name] This sets the def)174 513 R 2.003 +(ault maximum number of queue runners for)-.1 F 1.161(queue groups.)174 +525 R 1.161(Up to)6.161 F F2(N)3.661 E F1 1.161(queue runners will w) +3.661 F 1.162(ork in parallel on a queue group')-.1 F(s)-.55 E 3.466 +(messages. This)174 537 R .965 +(is useful where the processing of a message in the queue might)3.466 F +.945(delay the processing of subsequent messages. Such a delay may be t\ +he result of)174 549 R .116(non-erroneous situations such as a lo)174 +561 R 2.616(wb)-.25 G .116(andwidth connection.)-2.616 F .116(May be o) +5.116 F -.15(ve)-.15 G(rridden).15 E .644 +(on a per queue group basis by setting the)174 573 R F2(Runner)3.144 E +(s)-.1 E F1 .645(option; see the section)3.144 F F0(Queue)3.145 E(Gr)174 +585 Q(oup Declaration)-.18 E F1 5(.T)C(he def)-5 E +(ault is 1 when not set.)-.1 E(MeT)102 601.2 Q 40.86(oo [m])-.8 F .367 +(Send to me too, e)2.867 F -.15(ve)-.25 G 2.867(ni).15 G 2.867(fIa) +-2.867 G 2.867(mi)-2.867 G 2.867(na)-2.867 G 2.867(na)-2.867 G .367 +(lias e)-2.867 F 2.867(xpansion. This)-.15 F .366(option is deprecated) +2.867 F(and will be remo)174 613.2 Q -.15(ve)-.15 G 2.5(df).15 G +(rom a future v)-2.5 E(ersion.)-.15 E 44.5(Milter [no)102 629.4 R .777 +(short name] This option has se)3.277 F -.15(ve)-.25 G .778 +(ral sub\(sub\)options.).15 F .778(The names of the sub-)5.778 F 1.135 +(options are separated by dots.)174 641.4 R 1.135(At the \214rst le) +6.135 F -.15(ve)-.25 G 3.634(lt).15 G 1.134(he follo)-3.634 F 1.134 +(wing options are a)-.25 F -.25(va)-.2 G(il-).25 E(able:)174 653.4 Q +(LogLe)214 669.6 Q -.15(ve)-.25 G 15(lL).15 G(og le)-15 E -.15(ve)-.25 G +2.5(lf).15 G(or input mail \214lter actions, def)-2.5 E(aults to LogLe) +-.1 E -.15(ve)-.25 G(l.).15 E 22.1(macros Speci\214es)214 681.6 R +(list of macro to transmit to \214lters.)2.5 E(See list belo)267.48 +693.6 Q -.65(w.)-.25 G 2.458(The `)174 709.8 R(`macros')-.74 E 4.958('o) +-.74 G 2.458(ption has the follo)-4.958 F 2.458 +(wing suboptions which specify the list of)-.25 F +(macro to transmit to milters after a certain e)174 721.8 Q -.15(ve)-.25 +G(nt occurred.).15 E 0 Cg EP %%Page: 72 68 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 193.36(SMM:08-72 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 56.37 -(public Allo)214 96 R 2.5(wo)-.25 G(pen access)-2.5 E 27.49 -(needmailhelo Insist)214 108 R(on HELO or EHLO command before MAIL)2.5 E -(neede)214 120 Q 25.98(xpnhelo Insist)-.15 F -(on HELO or EHLO command before EXPN)2.5 E(noe)214 132 Q 52.08 +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 14.88 +(connect After)214 96 R(session connection start)2.5 E 28.76(helo After) +214 108 R(EHLO/HELO command)2.5 E(en)214 120 Q 12.5(vfrom After)-.4 F +(MAIL From command)2.5 E(en)214 132 Q 16.39(vrcpt After)-.4 F(RCPT T)2.5 +E 2.5(oc)-.8 G(ommand)-2.5 E 29.32(data After)214 144 R -.4(DA)2.5 G +1.86 -.93(TA c)-.71 H(ommand.).93 E 31.54(eoh After)214 156 R -.4(DA)2.5 +G 1.86 -.93(TA c)-.71 H(ommand and header).93 E 28.76(eom After)214 168 +R -.4(DA)2.5 G 1.86 -.93(TA c)-.71 H(ommand and terminating `).93 E(`.) +-.74 E -.74('')-.7 G(By def)174 184.2 Q +(ault the lists of macros are empty)-.1 E 5(.E)-.65 G(xample:)-5 E 2.5 +(OM)214 200.4 S(ilter)-2.5 E(.LogLe)-.55 E -.15(ve)-.25 G(l=12).15 E 2.5 +(OM)214 212.4 S(ilter)-2.5 E(.macros.connect=j, _, {daemon_name})-.55 E +(MinFreeBlocks=)102 232.8 Q/F2 10/Times-Italic@0 SF(N)A F1 1.539 +([b] Insist on at least)174 244.8 R F2(N)4.039 E F1 1.538 +(blocks free on the \214lesystem that holds the queue \214les)4.039 F +.845(before accepting email via SMTP)174 256.8 R 5.846(.I)-1.11 G 3.346 +(ft)-5.846 G .846(here is insuf)-3.346 F .846(\214cient space)-.25 F F2 +(sendmail)3.346 E F1(gi)3.346 E -.15(ve)-.25 G 3.346(sa).15 G +(452 response to the MAIL command.)174 268.8 Q(This in)5 E +(vites the sender to try ag)-.4 E(ain later)-.05 E(.)-.55 E +(MinQueueAge=)102 285 Q F2 -.1(age)C F1 .887([no short name] Don')174 +297 R 3.387(tp)-.18 G .887(rocess an)-3.387 F 3.387(yq)-.15 G .886 +(ueued jobs that ha)-3.387 F 1.186 -.15(ve b)-.2 H .886 +(een in the queue less).15 F 1.899(than the indicated time interv)174 +309 R 4.399(al. This)-.25 F 1.899(is intended to allo)4.399 F 4.399(wy) +-.25 G 1.9(ou to get respon-)-4.399 F(si)174 321 Q -.15(ve)-.25 G .665 +(ness by processing the queue f).15 F .665 +(airly frequently without thrashing your system)-.1 F +(by trying jobs too often.)174 333 Q(The def)5 E +(ault units are minutes.)-.1 E(MustQuoteChars=)102 349.2 Q F2(s)A F1 +1.252([no short name] Sets the list of characters that must be quoted i\ +f used in a full)174 361.2 R 1.217 +(name that is in the phrase part of a `)174 373.2 R 1.217 +(`phrase
')-.74 F 3.717('s)-.74 G 3.717(yntax. The)-3.717 F +(def)3.717 E 1.217(ault is)-.1 F -.74(``)174 385.2 S.74 E -.74('') +-.7 G 5(.T).74 G(he characters `)-5 E(`@,;:\\\(\)[]')-.74 E 2.5('a)-.74 +G(re al)-2.5 E -.1(wa)-.1 G(ys added to this list.).1 E 7.85 +(NiceQueueRun [no)102 401.4 R 2.156 +(short name] The priority of queue runners \(nice\(3\)\).)4.655 F 2.156 +(This v)7.156 F 2.156(alue must be)-.25 F(greater or equal zero.)174 +413.4 Q(NoRecipientAction)102 429.6 Q .555 +([no short name] The action to tak)174 441.6 R 3.055(ew)-.1 G .555 +(hen you recei)-3.055 F .855 -.15(ve a m)-.25 H .554 +(essage that has no v).15 F(alid)-.25 E .625(recipient headers \(T)174 +453.6 R .625(o:, Cc:, Bcc:, or Apparently-T)-.8 F .625 +(o: \212 the last included for back)-.8 F .109(compatibility with old) +174 465.6 R F2(sendmail)2.609 E F1 2.609(s\). It)B .109(can be)2.609 F +F0(None)2.608 E F1 .108(to pass the message on unmod-)2.608 F .296 +(i\214ed, which violates the protocol,)174 477.6 R F0(Add-T)2.796 E(o) +-.92 E F1 .296(to add a T)2.796 F .296(o: header with an)-.8 F 2.797(yr) +-.15 G(ecipients)-2.797 E 1.638(it can \214nd in the en)174 489.6 R -.15 +(ve)-.4 G 1.638(lope \(which might e).15 F 1.638 +(xpose Bcc: recipients\),)-.15 F F0(Add-A)4.138 E(ppar)-.25 E(-)-.37 E +(ently-T)174 501.6 Q(o)-.92 E F1 .337(to add an Apparently-T)2.837 F +.337(o: header \(this is only for back-compatibility and)-.8 F .842 +(is of)174 513.6 R .841(\214cially deprecated\),)-.25 F F0(Add-T)3.341 E +(o-Undisclosed)-.92 E F1 .841(to add a header \231T)3.341 F .841 +(o: undisclosed-)-.8 F .397(recipients:;\232 to mak)174 525.6 R 2.897 +(et)-.1 G .397(he header le)-2.897 F -.05(ga)-.15 G 2.897(lw).05 G .397 +(ithout disclosing an)-2.897 F .398(ything, or)-.15 F F0(Add-Bcc)2.898 E +F1(to)2.898 E(add an empty Bcc: header)174 537.6 Q(.)-.55 E 1.18 +(OldStyleHeaders [o])102 553.8 R 1.713(Assume that the headers may be i\ +n old format, i.e., spaces delimit names.)4.214 F 1.068 +(This actually turns on an adapti)174 565.8 R 1.368 -.15(ve a)-.25 H +1.068(lgorithm: if an).15 F 3.569(yr)-.15 G 1.069 +(ecipient address contains a)-3.569 F 1.681 +(comma, parenthesis, or angle brack)174 577.8 R 1.681 +(et, it will be assumed that commas already)-.1 F -.15(ex)174 589.8 S +2.825(ist. If).15 F .325 +(this \215ag is not on, only commas delimit names.)2.825 F .325 +(Headers are al)5.325 F -.1(wa)-.1 G .325(ys out-).1 F +(put with commas between the names.)174 601.8 Q(Def)5 E(aults to of)-.1 +E(f.)-.25 E(OperatorChars=)102 618 Q F2 -.15(ch)C(arlist).15 E F1 1.438 +([$o macro] The list of characters that are considered to be \231operat\ +ors\232, that is,)174 630 R .82(characters that delimit tok)174 642 R +3.32(ens. All)-.1 F .82(operator characters are tok)3.32 F .82 +(ens by themselv)-.1 F(es;)-.15 E .078 +(sequences of non-operator characters are also tok)174 654 R 2.578 +(ens. White)-.1 F .078(space characters sep-)2.578 F .269(arate tok)174 +666 R .269(ens b)-.1 F .269(ut are not tok)-.2 F .269(ens themselv)-.1 F +.269(es \212 for e)-.15 F .269(xample, \231)-.15 F .27 +(AAA.BBB\232 has three)-.8 F(tok)174 678 Q .433(ens, b)-.1 F .433 +(ut \231)-.2 F .433(AAA BBB\232 has tw)-.8 F 2.933(o. If)-.1 F .433 +(not set, OperatorChars def)2.933 F .433(aults to \231.)-.1 F 1.666 +(:@[])1.666 G<9a3b>-1.666 E(additionally)174 690 Q 3.565(,t)-.65 G 1.065 +(he characters \231\()-3.565 F 1.666(\)<>,;)1.666 G 3.565<9a61>-1.666 G +1.066(re al)-3.565 F -.1(wa)-.1 G 1.066(ys operators.).1 F 1.066 +(Note that Operator)6.066 F(-)-.2 E +(Chars must be set in the con\214guration \214le before an)174 702 Q 2.5 +(yr)-.15 G(ulesets.)-2.5 E 0 Cg EP +%%Page: 73 69 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-73)195.86 E/F1 10/Times-Roman@0 SF(PidFile=)102 96 Q/F2 10 +/Times-Italic@0 SF(\214lename)A F1 1.3 +([no short name] Filename of the pid \214le.)3.58 F(\(def)6.3 E 1.3 +(ault is _P)-.1 F -1.11(AT)-.92 G(H_SENDMAILPID\).)1.11 E(The)174 108 Q +F2(\214lename)2.831 E F1 .332(is macro-e)2.831 F .332 +(xpanded before it is opened, and unlink)-.15 F .332(ed when)-.1 F F2 +(sendmail)2.832 E F1 -.15(ex)174 120 S(its.).15 E(PostmasterCop)102 +136.2 Q(y=)-.1 E F2(postmaster)A F1 .003 +([P] If set, copies of error messages will be sent to the named)174 +148.2 R F2(postmaster)2.503 E F1 5.003(.O)C .003(nly the)-5.003 F .687 +(header of the f)174 160.2 R .687(ailed message is sent.)-.1 F .687 +(Errors resulting from messages with a ne)5.687 F(g-)-.15 E(ati)174 +172.2 Q 1.831 -.15(ve p)-.25 H 1.531(recedence will not be sent.).15 F +1.531(Since most errors are user problems, this is)6.531 F .453 +(probably not a good idea on lar)174 184.2 R .453(ge sites, and ar)-.18 +F .453(guably contains all sorts of pri)-.18 F -.25(va)-.25 G -.15(cy) +.25 G .101(violations, b)174 196.2 R .101 +(ut it seems to be popular with certain operating systems v)-.2 F 2.6 +(endors. The)-.15 F 1.918(address is macro e)174 208.2 R 1.918 +(xpanded at the time of deli)-.15 F -.15(ve)-.25 G(ry).15 E 6.919(.D) +-.65 G(ef)-6.919 E 1.919(aults to no postmaster)-.1 F(copies.)174 220.2 +Q(Pri)102 236.4 Q -.25(va)-.25 G -.15(cy).25 G(Options=).15 E F2 +(opt,opt,...)1.666 E F1 1.192([p] Set the pri)174 248.4 R -.25(va)-.25 G +-.15(cy).25 G F2(opt)3.842 E F1 3.692(ions. `)B(`Pri)-.74 E -.25(va)-.25 +G -.15(cy).25 G 2.672 -.74('' i).15 H 3.692(sr).74 G 1.191 +(eally a misnomer; man)-3.692 F 3.691(yo)-.15 G 3.691(ft)-3.691 G 1.191 +(hese are)-3.691 F .928(just a w)174 260.4 R .928 +(ay of insisting on stricter adherence to the SMTP protocol.)-.1 F(The) +5.929 E F2(opt)3.429 E F1(ions)A(can be selected from:)174 272.4 Q 56.37 +(public Allo)214 288.6 R 2.5(wo)-.25 G(pen access)-2.5 E 27.49 +(needmailhelo Insist)214 300.6 R(on HELO or EHLO command before MAIL)2.5 +E(neede)214 312.6 Q 25.98(xpnhelo Insist)-.15 F +(on HELO or EHLO command before EXPN)2.5 E(noe)214 324.6 Q 52.08 (xpn Disallo)-.15 F 2.5(wE)-.25 G(XPN entirely)-2.5 E 2.5(,i)-.65 G (mplies no)-2.5 E -.15(ve)-.15 G(rb).15 E(.)-.4 E 28.61 -(needvrfyhelo Insist)214 144 R(on HELO or EHLO command before VRFY)2.5 E -(no)214 156 Q 54.86(vrfy Disallo)-.15 F 2.5(wV)-.25 G(RFY entirely)-2.5 -E 55.82(noetrn Disallo)214 168 R 2.5(wE)-.25 G(TRN entirely)-2.5 E(no) -214 180 Q -.15(ve)-.15 G 53.9(rb Disallo).15 F 2.5(wV)-.25 G -(ERB entirely)-2.5 E 30.82(restrictmailq Restrict)214 192 R -(mailq command)2.5 E 35.27(restrictqrun Restrict)214 204 R -(\255q command line \215ag)2.5 E(restricte)214 216 Q 24.87 +(needvrfyhelo Insist)214 336.6 R(on HELO or EHLO command before VRFY)2.5 +E(no)214 348.6 Q 54.86(vrfy Disallo)-.15 F 2.5(wV)-.25 G(RFY entirely) +-2.5 E 55.82(noetrn Disallo)214 360.6 R 2.5(wE)-.25 G(TRN entirely)-2.5 +E(no)214 372.6 Q -.15(ve)-.15 G 53.9(rb Disallo).15 F 2.5(wV)-.25 G +(ERB entirely)-2.5 E 30.82(restrictmailq Restrict)214 384.6 R +(mailq command)2.5 E 35.27(restrictqrun Restrict)214 396.6 R +(\255q command line \215ag)2.5 E(restricte)214 408.6 Q 24.87 (xpand Restrict)-.15 F2.5 E 2.5(va)-.15 G -(nd \255v command line \215ags)-2.5 E 40.27(noreceipts Don')214 230 R -2.5(tr)-.18 G(eturn success DSNs)-2.5 E/F2 7/Times-Roman@0 SF(20)-4 I F1 -27.49(nobodyreturn Don')214 242 R 2.5(tr)-.18 G -(eturn the body of a message with DSNs)-2.5 E(goa)214 254 Q -.1(wa)-.15 -G 53.02(yD).1 G(isallo)-53.02 E 2.5(we)-.25 G -(ssentially all SMTP status queries)-2.5 E(authw)214 266 Q 27.59 +(nd \255v command line \215ags)-2.5 E 40.27(noreceipts Don')214 422.6 R +2.5(tr)-.18 G(eturn success DSNs)-2.5 E/F3 7/Times-Roman@0 SF(20)-4 I F1 +27.49(nobodyreturn Don')214 434.6 R 2.5(tr)-.18 G +(eturn the body of a message with DSNs)-2.5 E(goa)214 446.6 Q -.1(wa) +-.15 G 53.02(yD).1 G(isallo)-53.02 E 2.5(we)-.25 G +(ssentially all SMTP status queries)-2.5 E(authw)214 458.6 Q 27.59 (arnings Put)-.1 F(X-Authentication-W)2.5 E(arning: headers in messages) --.8 E(and log w)297.87 278 Q(arnings)-.1 E 12.5(noactualrecipient Don') -214 290 R 2.5(tp)-.18 G(ut X-Actual-Recipient lines in DSNs)-2.5 E -(which re)297.87 302 Q -.15(ve)-.25 G -(al the actual account that addresses map to.).15 E 2.977(The \231goa) -174 318.2 R -.1(wa)-.15 G 2.976(y\232 pseudo-\215ag sets all \215ags e) -.1 F 2.976(xcept \231noreceipts\232, \231restrictmailq\232,)-.15 F 4.557 -(\231restrictqrun\232, \231restricte)174 330.2 R 4.557 +-.8 E(and log w)297.87 470.6 Q(arnings)-.1 E 12.5 +(noactualrecipient Don')214 482.6 R 2.5(tp)-.18 G +(ut X-Actual-Recipient lines in DSNs)-2.5 E(which re)297.87 494.6 Q -.15 +(ve)-.25 G(al the actual account that addresses map to.).15 E 2.977 +(The \231goa)174 510.8 R -.1(wa)-.15 G 2.976 +(y\232 pseudo-\215ag sets all \215ags e).1 F 2.976 +(xcept \231noreceipts\232, \231restrictmailq\232,)-.15 F 4.557 +(\231restrictqrun\232, \231restricte)174 522.8 R 4.557 (xpand\232, \231noetrn\232, and \231nobodyreturn\232.)-.15 F 4.557 (If mailq is)9.557 F 1.842(restricted, only people in the same group as\ - the queue directory can print the)174 342.2 R 2.544(queue. If)174 354.2 + the queue directory can print the)174 534.8 R 2.544(queue. If)174 546.8 R .044(queue runs are restricted, only root and the o)2.544 F .045 -(wner of the queue directory)-.25 F 1.299(can run the queue.)174 366.2 R +(wner of the queue directory)-.25 F 1.299(can run the queue.)174 558.8 R 1.299(The \231restricte)6.299 F 1.299(xpand\232 pseudo-\215ag instructs) --.15 F/F3 10/Times-Italic@0 SF(sendmail)3.799 E F1 1.299(to drop)3.799 F -(pri)174 378.2 Q(vile)-.25 E 1.607(ges when the)-.15 F F04.108 E -(v)-.15 E F1 1.608(option is gi)4.108 F -.15(ve)-.25 G 4.108(nb).15 G -4.108(yu)-4.108 G 1.608(sers who are neither root nor the)-4.108 F -.35 -(Tr)174 390.2 S 1.33(ustedUser so users cannot read pri).35 F -.25(va) --.25 G 1.33(te aliases, forw).25 F 1.33(ards, or :include: \214les.)-.1 -F(It)6.33 E .634(will add the \231NonRootSafeAddr\232 to the \231DontBl\ -ameSendmail\232 option to pre)174 402.2 R -.15(ve)-.25 G(nt).15 E .436 -(misleading unsafe address w)174 414.2 R 2.936(arnings. It)-.1 F .436 +-.15 F F2(sendmail)3.799 E F1 1.299(to drop)3.799 F(pri)174 570.8 Q +(vile)-.25 E 1.607(ges when the)-.15 F F04.108 E(v)-.15 E F1 1.608 +(option is gi)4.108 F -.15(ve)-.25 G 4.108(nb).15 G 4.108(yu)-4.108 G +1.608(sers who are neither root nor the)-4.108 F -.35(Tr)174 582.8 S +1.33(ustedUser so users cannot read pri).35 F -.25(va)-.25 G 1.33 +(te aliases, forw).25 F 1.33(ards, or :include: \214les.)-.1 F(It)6.33 E +.634(will add the \231NonRootSafeAddr\232 to the \231DontBlameSendmail\ +\232 option to pre)174 594.8 R -.15(ve)-.25 G(nt).15 E .436 +(misleading unsafe address w)174 606.8 R 2.936(arnings. It)-.1 F .436 (also o)2.936 F -.15(ve)-.15 G .436(rrides the).15 F F02.936 E F1 (\(v)2.936 E .436(erbose\) command)-.15 F 1.292(line option to pre)174 -426.2 R -.15(ve)-.25 G 1.292(nt information leakage.).15 F 1.292 +618.8 R -.15(ve)-.25 G 1.292(nt information leakage.).15 F 1.292 (Authentication W)6.292 F 1.293(arnings add w)-.8 F(arn-)-.1 E .184 -(ings about v)174 438.2 R .183 +(ings about v)174 630.8 R .183 (arious conditions that may indicate attempts to spoof the mail system,) --.25 F(such as using a non-standard queue directory)174 450.2 Q(.)-.65 E -(ProcessT)102 466.4 Q(itlePre\214x=)-.35 E F3(string)A F1 1.195 -([no short name] Pre\214x the process title sho)174 478.4 R 1.196 -(wn on 'ps' listings with)-.25 F F3(string)3.696 E F1 6.196(.T)C(he) --6.196 E F3(string)174 490.4 Q F1(will be macro processed.)2.5 E -(QueueDirectory=)102 506.6 Q F3(dir)A F1 .584 -([Q] The QueueDirectory option serv)174 518.6 R .584(es tw)-.15 F 3.084 +-.25 F(such as using a non-standard queue directory)174 642.8 Q(.)-.65 E +(ProcessT)102 659 Q(itlePre\214x=)-.35 E F2(string)A F1 1.195 +([no short name] Pre\214x the process title sho)174 671 R 1.196 +(wn on 'ps' listings with)-.25 F F2(string)3.696 E F1 6.196(.T)C(he) +-6.196 E .32 LW 76 680.6 72 680.6 DL 80 680.6 76 680.6 DL 84 680.6 80 +680.6 DL 88 680.6 84 680.6 DL 92 680.6 88 680.6 DL 96 680.6 92 680.6 DL +100 680.6 96 680.6 DL 104 680.6 100 680.6 DL 108 680.6 104 680.6 DL 112 +680.6 108 680.6 DL 116 680.6 112 680.6 DL 120 680.6 116 680.6 DL 124 +680.6 120 680.6 DL 128 680.6 124 680.6 DL 132 680.6 128 680.6 DL 136 +680.6 132 680.6 DL 140 680.6 136 680.6 DL 144 680.6 140 680.6 DL 148 +680.6 144 680.6 DL 152 680.6 148 680.6 DL 156 680.6 152 680.6 DL 160 +680.6 156 680.6 DL 164 680.6 160 680.6 DL 168 680.6 164 680.6 DL 172 +680.6 168 680.6 DL 176 680.6 172 680.6 DL 180 680.6 176 680.6 DL 184 +680.6 180 680.6 DL 188 680.6 184 680.6 DL 192 680.6 188 680.6 DL 196 +680.6 192 680.6 DL 200 680.6 196 680.6 DL 204 680.6 200 680.6 DL 208 +680.6 204 680.6 DL 212 680.6 208 680.6 DL 216 680.6 212 680.6 DL/F4 5 +/Times-Roman@0 SF(20)93.6 691 Q/F5 8/Times-Roman@0 SF(N.B.: the)3.2 I/F6 +8/Times-Bold@0 SF(nor)2 E(eceipts)-.144 E F5(\215ag turns of)2 E 2(fs) +-.2 G(upport for RFC 1891 \(Deli)-2 E -.12(ve)-.2 G +(ry Status Noti\214cation\).).12 E 0 Cg EP +%%Page: 74 70 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-74 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Italic@0 SF(string) +174 96 Q/F2 10/Times-Roman@0 SF(will be macro processed.)2.5 E +(QueueDirectory=)102 112.2 Q F1(dir)A F2 .584 +([Q] The QueueDirectory option serv)174 124.2 R .584(es tw)-.15 F 3.084 (op)-.1 G 3.084(urposes. First,)-3.084 F .583(it speci\214es the direc-) -3.083 F .482(tory or set of directories that comprise the def)174 530.6 +3.083 F .482(tory or set of directories that comprise the def)174 136.2 R .482(ault queue group.)-.1 F .483(Second, it speci-)5.483 F .104(\214\ es the directory D which is the ancestor of all queue directories, and \ -which send-)174 542.6 R .721(mail uses as its current w)174 554.6 R .721 +which send-)174 148.2 R .721(mail uses as its current w)174 160.2 R .721 (orking directory)-.1 F 5.721(.W)-.65 G .721 (hen sendmail dumps core, it lea)-5.721 F -.15(ve)-.2 G(s).15 E 2.873 -(its core \214les in D.)174 566.6 R 2.873(There are tw)7.873 F 5.373(oc) --.1 G 5.373(ases. If)-5.373 F F3(dir)5.373 E F1 2.872 -(ends with an asterisk \(e)5.372 F(g,)-.15 E F3(/var/spool/mqueue/qd*) -174 578.6 Q F1 .253 +(its core \214les in D.)174 172.2 R 2.873(There are tw)7.873 F 5.373(oc) +-.1 G 5.373(ases. If)-5.373 F F1(dir)5.373 E F2 2.872 +(ends with an asterisk \(e)5.372 F(g,)-.15 E F1(/var/spool/mqueue/qd*) +174 184.2 Q F2 .253 (\), then all of the directories or symbolic links to directories)B(be) -174 590.6 Q .433(ginning with `qd' in)-.15 F F3(/var/spool/mqueue)2.933 -E F1 .432(will be used as queue directories of the)2.933 F(def)174 602.6 -Q .275(ault queue group, and)-.1 F F3(/var/spool/mqueue)2.775 E F1 .276 +174 196.2 Q .433(ginning with `qd' in)-.15 F F1(/var/spool/mqueue)2.933 +E F2 .432(will be used as queue directories of the)2.933 F(def)174 208.2 +Q .275(ault queue group, and)-.1 F F1(/var/spool/mqueue)2.775 E F2 .276 (will be used as the w)2.775 F .276(orking directory)-.1 F 2.82 -(D. Otherwise,)174 614.6 R F3(dir)2.82 E F1 .32 -(must name a directory \(usually)2.82 F F3(/var/spool/mqueue)2.82 E F1 +(D. Otherwise,)174 220.2 R F1(dir)2.82 E F2 .32 +(must name a directory \(usually)2.82 F F1(/var/spool/mqueue)2.82 E F2 .32(\): the def)B(ault)-.1 E .545 -(queue group consists of the single queue directory)174 626.6 R F3(dir) -3.045 E F1 3.045(,a)C .545(nd the w)-3.045 F .545(orking directory)-.1 F -2.501(Di)174 638.6 S 2.501(ss)-2.501 G .001(et to)-2.501 F F3(dir)2.501 -E F1 5.001(.T)C 2.501(od)-5.801 G .001 +(queue group consists of the single queue directory)174 232.2 R F1(dir) +3.045 E F2 3.045(,a)C .545(nd the w)-3.045 F .545(orking directory)-.1 F +2.501(Di)174 244.2 S 2.501(ss)-2.501 G .001(et to)-2.501 F F1(dir)2.501 +E F2 5.001(.T)C 2.501(od)-5.801 G .001 (e\214ne additional groups of queue directories, use the con\214gura-) --2.501 F .745(tion \214le `Q' command.)174 650.6 R .746 +-2.501 F .745(tion \214le `Q' command.)174 256.2 R .746 (Do not change the queue directory structure while send-)5.746 F -(mail is running.)174 662.6 Q .32 LW 76 678.8 72 678.8 DL 80 678.8 76 -678.8 DL 84 678.8 80 678.8 DL 88 678.8 84 678.8 DL 92 678.8 88 678.8 DL -96 678.8 92 678.8 DL 100 678.8 96 678.8 DL 104 678.8 100 678.8 DL 108 -678.8 104 678.8 DL 112 678.8 108 678.8 DL 116 678.8 112 678.8 DL 120 -678.8 116 678.8 DL 124 678.8 120 678.8 DL 128 678.8 124 678.8 DL 132 +(mail is running.)174 268.2 Q(QueueF)102 284.4 Q(actor=)-.15 E F1 +(factor)A F2 .614([q] Use)174 296.4 R F1(factor)3.114 E F2 .613 +(as the multiplier in the map function to decide when to just queue) +3.114 F .415(up jobs rather than run them.)174 308.4 R .415(This v)5.415 +F .415(alue is di)-.25 F .415(vided by the dif)-.25 F .415 +(ference between the)-.25 F 1.004(current load a)174 320.4 R -.15(ve)-.2 +G 1.004(rage and the load a).15 F -.15(ve)-.2 G 1.004(rage limit \().15 +F F0(QueueLA)A F2 1.003(option\) to determine)3.503 F +(the maximum message priority that will be sent.)174 332.4 Q(Def)5 E +(aults to 600000.)-.1 E(QueueLA=)102 348.6 Q F1(LA)A F2 1.086 +([x] When the system load a)15.26 F -.15(ve)-.2 G 1.087(rage e).15 F +(xceeds)-.15 E F1(LA)3.587 E F2 1.087(and the)3.587 F F0(QueueF)3.587 E +(actor)-.25 E F2(\()3.587 E F0(q)A F2 3.587(\)o)C(ption)-3.587 E(di)174 +360.6 Q 1.465(vided by the dif)-.25 F 1.465 +(ference in the current load a)-.25 F -.15(ve)-.2 G 1.465(rage and the) +.15 F F0(QueueLA)3.965 E F2(option)3.965 E .769(plus one is less than t\ +he priority of the message, just queue messages \(i.e., don')174 372.6 R +(t)-.18 E .248(try to send them\).)174 384.6 R(Def)5.247 E .247 +(aults to 8 multiplied by the number of processors online on)-.1 F +(the system \(if that can be determined\).)174 396.6 Q(QueueFileMode=) +102 412.8 Q F1(mode)A F2 .961([no short name] Def)174 424.8 R .962 +(ault permissions for queue \214les \(octal\).)-.1 F .962 +(If not set, sendmail)5.962 F .213(uses 0600 unless its real and ef)174 +436.8 R(fecti)-.25 E .513 -.15(ve u)-.25 H .213(id are dif).15 F .212 +(ferent in which case it uses 0644.)-.25 F(QueueSortOrder=)102 453 Q F1 +(algorithm)A F2 .096([no short name] Sets the)174 465 R F1(algorithm) +2.596 E F2 .096(used for sorting the queue.)2.596 F .097 +(Only the \214rst char)5.097 F(-)-.2 E 1.022(acter of the v)174 477 R +1.022(alue is used.)-.25 F(Le)6.021 E -.05(ga)-.15 G 3.521(lv).05 G +1.021(alues are \231host\232 \(to order by the name of the)-3.771 F 1.73 +(\214rst host name of the \214rst recipient\), \231\214lename\232 \(to \ +order by the name of the)174 489 R .283(queue \214le name\), \231time\ +\232 \(to order by the submission/creation time\), \231random\232 \(to) +174 501 R .906(order randomly\), \231modi\214cation\232 \(to order by t\ +he modi\214cation time of the qf \214le)174 513 R 1.349(\(older entries\ + \214rst\)\), \231none\232 \(to not order\), and \231priority\232 \(to \ +order by message)174 525 R 2.527(priority\). Host)174 537 R .027 +(ordering mak)2.527 F .028(es better use of the connection cache, b)-.1 +F .028(ut may tend to)-.2 F .323(process lo)174 549 R 2.823(wp)-.25 G +.322(riority messages that go to a single host o)-2.823 F -.15(ve)-.15 G +2.822(rh).15 G .322(igh priority messages)-2.822 F 1.824(that go to se) +174 561 R -.15(ve)-.25 G 1.824(ral hosts; it probably shouldn').15 F +4.325(tb)-.18 G 4.325(eu)-4.325 G 1.825(sed on slo)-4.325 F 4.325(wn) +-.25 G(etw)-4.325 E 1.825(ork links.)-.1 F .614 +(Filename and modi\214cation time ordering sa)174 573 R -.15(ve)-.2 G +3.114(st).15 G .614(he o)-3.114 F -.15(ve)-.15 G .614 +(rhead of reading all of the).15 F .671 +(queued items before starting the queue run.)174 585 R .671 +(Creation \(submission\) time ordering)5.671 F 1.854(is almost al)174 +597 R -.1(wa)-.1 G 1.854(ys a bad idea, since it allo).1 F 1.854(ws lar) +-.25 F 1.854(ge, b)-.18 F 1.854(ulk mail to go out before)-.2 F(smaller) +174 609 Q 3.713(,p)-.4 G 1.213(ersonal mail, b)-3.713 F 1.213(ut may ha) +-.2 F 1.513 -.15(ve a)-.2 H 1.214(pplicability on some hosts with v).15 +F 1.214(ery f)-.15 F(ast)-.1 E 2.632(connections. Random)174 621 R .132 +(is useful if se)2.632 F -.15(ve)-.25 G .131 +(ral queue runners are started by hand which).15 F .389 +(try to drain the same queue since odds are the)174 633 R 2.889(yw)-.15 +G .39(ill be w)-2.889 F .39(orking on dif)-.1 F .39(ferent parts)-.25 F +(of the queue at the same time.)174 645 Q(Priority ordering is the def)5 +E(ault.)-.1 E(QueueT)102 661.2 Q(imeout=)-.35 E F1(timeout)A F2 .356 +([T] A synon)174 673.2 R .356(ym for \231T)-.15 F 2.856 +(imeout.queuereturn\232. Use)-.35 F .355 +(that form instead of the \231Queue-)2.855 F -.35(Ti)174 685.2 S +(meout\232 form.).35 E 32.83(RandFile [no)102 701.4 R 1.036(short name]\ + Name of \214le containing random data or the name of the UNIX)3.536 F +(sock)174 713.4 Q 1.631(et if EGD is used.)-.1 F 4.131(A\()6.631 G 1.631 +(required\) pre\214x "e)-4.131 F 1.63 +(gd:" or "\214le:" speci\214es the type.)-.15 F(ST)174 725.4 Q(AR)-.93 E +1.561 +(TTLS requires this \214lename if the compile \215ag HASURANDOMDEV is) +-.6 F 0 Cg EP +%%Page: 75 71 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-75)195.86 E/F1 10/Times-Roman@0 SF +(not set \(see sendmail/README\).)174 96 Q(Resolv)102 112.2 Q +(erOptions=)-.15 E/F2 10/Times-Italic@0 SF(options)A F1 .128 +([I] Set resolv)174 124.2 R .127(er options.)-.15 F -1.11(Va)5.127 G +.127(lues can be set using)1.11 F F0(+)2.627 E F2<8d61>A(g)-.1 E F1 .127 +(and cleared using)2.627 F F02.627 E F2<8d61>A(g)-.1 E F1 2.627(;t)C +(he)-2.627 E F2<8d61>174 136.2 Q(g)-.1 E F1 5.013(sc)C 2.513 +(an be \231deb)-5.013 F 2.513(ug\232, \231aaonly\232, \231use)-.2 F +2.514(vc\232, \231primary\232, \231igntc\232, \231recurse\232, \231def-) +-.25 F 2.689 +(names\232, \231stayopen\232, \231use_inet6\232, or \231dnsrch\232.)174 +148.2 R 2.688(The string \231HasW)7.688 F(ildcardMX\232)-.4 E .282 +(\(without a)174 160.2 R F0(+)2.782 E F1(or)2.782 E F02.782 E F1 +2.782(\)c)C .283(an be speci\214ed to turn of)-2.782 F 2.783(fm)-.25 G +.283(atching ag)-2.783 F .283(ainst MX records when)-.05 F .89 +(doing name canoni\214cations.)174 172.2 R .89(The string \231W)5.89 F +(orkAroundBrok)-.8 E .89(enAAAA\232 \(without a)-.1 F F0(+)174 184.2 Q +F1(or)3.472 E F03.472 E F1 3.472(\)c)C .972(an be speci\214ed to w) +-3.472 F .972(ork around some brok)-.1 F .973(en nameserv)-.1 F .973 +(ers which return)-.15 F(SER)174 196.2 Q(VF)-.8 E 1.001 +(AIL \(a temporary f)-.74 F 1.001(ailure\) on T_AAAA \(IPv6\) lookups.) +-.1 F 1.001(Notice: it might)6.001 F +(be necessary to apply the same \(or similar\) options to)174 208.2 Q F2 +(submit.cf)2.5 E F1(too.)2.5 E -1.04(RequiresDirfsync [no)102 224.4 R +2.782(short name] This option can be used to o)5.282 F -.15(ve)-.15 G +2.783(rride the compile time \215ag).15 F F0(REQ)174 236.4 Q +(UIRES_DIR_FSYNC)-.1 E F1 .872(at runtime by setting it to)3.372 F/F3 9 +/Times-Roman@0 SF -.09(fa)3.372 G(lse).09 E F1 5.871(.I)C 3.371(ft) +-5.871 G .871(he compile time)-3.371 F .017 +(\215ag is not set, the option is ignored.)174 248.4 R .018 +(The \215ag turns on support for \214le systems that)5.017 F .21 +(require to call)174 260.4 R F2(fsync\(\))2.71 E F1 .209 +(for a directory if the meta-data in it has been changed.)2.71 F(This) +5.209 E .074(should be turned on at least for older v)174 272.4 R .075 +(ersions of ReiserFS; it is enabled by def)-.15 F(ault)-.1 E 1.451 +(for Linux.)174 284.4 R 1.451 +(According to some information this \215ag is not needed an)6.451 F 1.45 +(ymore for)-.15 F -.1(ke)174 296.4 S(rnel 2.4.16 and ne).1 E(wer)-.25 E +(.)-.55 E 10.61(RrtImpliesDsn [R])102 312.6 R 1.52 +(If this option is set, a \231Return-Receipt-T)4.02 F 1.52 +(o:\232 header causes the request of a)-.8 F 1.02 +(DSN, which is sent to the en)174 324.6 R -.15(ve)-.4 G 1.02 +(lope sender as required by RFC 1891, not to the).15 F(address gi)174 +336.6 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(nt)-2.5 G(he header)-2.5 E(.) +-.55 E(RunAsUser=)102 352.8 Q F2(user)A F1 3.752([no short name] The) +2.48 F F2(user)6.252 E F1 3.752(parameter may be a user name \(look) +6.252 F 3.753(ed up in)-.1 F F2(/etc/passwd)174 364.8 Q F1 3.046(\)o)C +3.046(ran)-3.046 G .546(umeric user id; either form can ha)-3.046 F .846 +-.15(ve \231)-.2 H .545(:group\232 attached \(where).15 F .965 +(group can be numeric or symbolic\).)174 376.8 R .966 +(If set to a non-zero \(non-root\) v)5.965 F(alue,)-.25 E F2(send-)3.466 +E(mail)174 390.8 Q F1 .484 +(will change to this user id shortly after startup)2.984 F/F4 7 +/Times-Roman@0 SF(21)-4 I F1 5.483(.T)4 K .483(his a)-5.483 F -.2(vo)-.2 +G .483(ids a certain class).2 F 1.844(of security problems.)174 402.8 R +(Ho)6.844 E(we)-.25 E -.15(ve)-.25 G 2.644 -.4(r, t).15 H 1.844 +(his means that all \231.forw).4 F 1.844(ard\232 and \231:include:\232) +-.1 F 1.428(\214les must be readable by the indicated)174 414.8 R F2 +(user)3.928 E F1 1.428(and all \214les to be written must be)3.928 F +.042(writable by)174 426.8 R F2(user)2.542 E F1 .042 +(Also, all \214le and program deli)2.542 F -.15(ve)-.25 G .043 +(ries will be mark).15 F .043(ed unsafe unless)-.1 F 2.102(the option) +174 438.8 R F0(DontBlameSendmail=NonRootSafeAddr)4.602 E F1 2.101 +(is set, in which case the)4.601 F(deli)174 450.8 Q -.15(ve)-.25 G .777 +(ry will be done as).15 F F2(user)3.277 E F1 5.777(.I)C 3.278(ti)-5.777 +G 3.278(sa)-3.278 G .778(lso incompatible with the)-3.278 F F0 +(SafeFileEn)3.278 E(vir)-.4 E(on-)-.18 E(ment)174 462.8 Q F1 2.621 +(option. In)2.621 F .121(other w)2.621 F .121 +(ords, it may not actually add much to security on an a)-.1 F -.15(ve) +-.2 G -.2(r-).15 G .592(age system, and may in f)174 474.8 R .593 +(act detract from security \(because other \214le permissions)-.1 F 1.58 +(must be loosened\).)174 486.8 R(Ho)6.579 E(we)-.25 E -.15(ve)-.25 G +2.379 -.4(r, i).15 H 4.079(ts).4 G 1.579(hould be useful on \214re) +-4.079 F -.1(wa)-.25 G 1.579(lls and other places).1 F(where users don') +174 498.8 Q 2.5(th)-.18 G -2.25 -.2(av e)-2.5 H +(accounts and the aliases \214le is well constrained.)2.7 E(RecipientF) +102 515 Q(actor=)-.15 E F2(fact)A F1 .637([y] The indicated)174 527 R F2 +(fact)3.137 E F1 .637(or is added to the priority \(thus)B F2(lowering) +3.137 E F1 .638(the priority of the)3.137 F .231 +(job\) for each recipient, i.e., this v)174 539 R .231 +(alue penalizes jobs with lar)-.25 F .23(ge numbers of recipi-)-.18 F +2.5(ents. Def)174 551 R(aults to 30000.)-.1 E(RefuseLA=)102 567.2 Q F2 +(LA)A F1 1.012([X] When the system load a)13.59 F -.15(ve)-.2 G 1.012 +(rage e).15 F(xceeds)-.15 E F2(LA)3.512 E F1 3.512(,r)C 1.012 +(efuse incoming SMTP connec-)-3.512 F 2.659(tions. Def)174 579.2 R .158 +(aults to 12 multiplied by the number of processors online on the syste\ +m)-.1 F(\(if that can be determined\).)174 591.2 Q(RejectLogInterv)102 +607.4 Q(al=)-.25 E F2(timeout)A F1 1.627([no short name] Log interv)174 +619.4 R 1.627(al when refusing connections for this long \(def)-.25 F +(ault:)-.1 E(3h\).)174 631.4 Q(RetryF)102 647.6 Q(actor=)-.15 E F2(fact) +A F1 .772([Z] The)3.74 F F2(fact)3.272 E F1 .772 +(or is added to the priority e)B -.15(ve)-.25 G .771 +(ry time a job is processed.).15 F .771(Thus, each)5.771 F .994(time a \ +job is processed, its priority will be decreased by the indicated v)174 +659.6 R 3.494(alue. In)-.25 F 1.108(most en)174 671.6 R 1.108 +(vironments this should be positi)-.4 F -.15(ve)-.25 G 3.608(,s).15 G +1.108(ince hosts that are do)-3.608 F 1.107(wn are all too)-.25 F .32 LW +76 681.2 72 681.2 DL 80 681.2 76 681.2 DL 84 681.2 80 681.2 DL 88 681.2 +84 681.2 DL 92 681.2 88 681.2 DL 96 681.2 92 681.2 DL 100 681.2 96 681.2 +DL 104 681.2 100 681.2 DL 108 681.2 104 681.2 DL 112 681.2 108 681.2 DL +116 681.2 112 681.2 DL 120 681.2 116 681.2 DL 124 681.2 120 681.2 DL 128 +681.2 124 681.2 DL 132 681.2 128 681.2 DL 136 681.2 132 681.2 DL 140 +681.2 136 681.2 DL 144 681.2 140 681.2 DL 148 681.2 144 681.2 DL 152 +681.2 148 681.2 DL 156 681.2 152 681.2 DL 160 681.2 156 681.2 DL 164 +681.2 160 681.2 DL 168 681.2 164 681.2 DL 172 681.2 168 681.2 DL 176 +681.2 172 681.2 DL 180 681.2 176 681.2 DL 184 681.2 180 681.2 DL 188 +681.2 184 681.2 DL 192 681.2 188 681.2 DL 196 681.2 192 681.2 DL 200 +681.2 196 681.2 DL 204 681.2 200 681.2 DL 208 681.2 204 681.2 DL 212 +681.2 208 681.2 DL 216 681.2 212 681.2 DL/F5 5/Times-Roman@0 SF(21)93.6 +691.6 Q/F6 8/Times-Roman@0 SF(When running as a daemon, it changes to t\ +his user after accepting a connection b)3.2 I(ut before reading an)-.16 +E(y)-.12 E F4(SMTP)2 E F6(commands.)2 E 0 Cg EP +%%Page: 76 72 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-76 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF(often do) +174 96 Q(wn for a long time.)-.25 E(Def)5 E(aults to 90000.)-.1 E +(SafeFileEn)102 112.2 Q(vironment=)-.4 E/F2 10/Times-Italic@0 SF(dir)A +F1 .021([no short name] If this option is set,)174 124.2 R F2(sendmail) +2.521 E F1 .021(will do a)2.521 F F2 -.15(ch)2.521 G -.45(ro).15 G(ot) +.45 E F1 .022(\(2\) call into the indi-)B(cated)174 136.2 Q F2(dir)2.833 +E F1 .333(ectory before doing an)B 2.833<798c>-.15 G .333(le writes.) +-2.833 F .333(If the \214le name speci\214ed by the user)5.333 F(be)174 +148.2 Q .587(gins with)-.15 F F2(dir)3.087 E F1 3.087(,t)C .587 +(hat partial path name will be stripped of)-3.087 F 3.087(fb)-.25 G .588 +(efore writing, so \(for)-3.087 F -.15(ex)174 160.2 S 2.225 +(ample\) if the SafeFileEn).15 F 2.225(vironment v)-.4 F 2.224 +(ariable is set to \231/safe\232 then aliases of)-.25 F 1.557(\231/safe\ +/logs/\214le\232 and \231/logs/\214le\232 actually indicate the same \ +\214le.)174 172.2 R(Additionally)6.557 E 4.057(,i)-.65 G(f)-4.057 E +(this option is set,)174 184.2 Q F2(sendmail)2.5 E F1(refuses to deli) +2.5 E -.15(ve)-.25 G 2.5(rt).15 G 2.5(os)-2.5 G(ymbolic links.)-2.5 E +(Sa)102 200.4 Q -.15(ve)-.2 G 10.41(FromLine [f]).15 F(Sa)4.493 E 2.293 +-.15(ve U)-.2 H 1.993 +(NIX-style \231From\232 lines at the front of headers.).15 F 1.992 +(Normally the)6.992 F 4.492(ya)-.15 G(re)-4.492 E +(assumed redundant and discarded.)174 212.4 Q .62(SendMimeErrors [j])102 +228.6 R .373(If set, send error messages in MIME format \(see RFC 2045 \ +and RFC 1344 for)2.873 F 2.915(details\). If)174 240.6 R(disabled,)2.915 +E F2(sendmail)2.915 E F1 .415(will not return the DSN k)2.915 F -.15(ey) +-.1 G -.1(wo).15 G .414(rd in response to an).1 F 1.731 +(EHLO and will not do Deli)174 252.6 R -.15(ve)-.25 G 1.731 +(ry Status Noti\214cation processing as described in).15 F(RFC 1891.)174 +264.6 Q(Serv)102 280.8 Q 10.77(erCertFile [no)-.15 F .581 +(short name] File containing the certi\214cate of the serv)3.081 F(er) +-.15 E 3.081(,i)-.4 G .58(.e., this certi\214cate is)-3.081 F +(used when sendmail acts as serv)174 292.8 Q(er \(used for ST)-.15 E(AR) +-.93 E(TTLS\).)-.6 E(Serv)102 309 Q(erK)-.15 E -.15(ey)-.25 G 11.73 +(File [no).15 F .542(short name] File containing the pri)3.042 F -.25 +(va)-.25 G .543(te k).25 F .843 -.15(ey b)-.1 H .543 +(elonging to the serv).15 F .543(er certi\214cate)-.15 F(\(used for ST) +174 321 Q(AR)-.93 E(TTLS\).)-.6 E(ServiceSwitchFile=)102 337.2 Q F2 +(\214lename)A F1 1.533([no short name] If your host operating system ha\ +s a service switch abstraction)174 349.2 R .003(\(e.g., /etc/nsswitch.c\ +onf on Solaris or /etc/svc.conf on Ultrix and DEC OSF/1\) that)174 361.2 +R .814(service will be consulted and this option is ignored.)174 373.2 R +.814(Otherwise, this is the name)5.814 F 1.082(of a \214le that pro)174 +385.2 R 1.082 +(vides the list of methods used to implement particular services.)-.15 F +1.069(The syntax is a series of lines, each of which is a sequence of w) +174 397.2 R 3.569(ords. The)-.1 F(\214rst)3.569 E -.1(wo)174 409.2 S +1.363(rd is the service name, and follo).1 F 1.363(wing w)-.25 F 1.364 +(ords are service types.)-.1 F 1.364(The services)6.364 F(that)174 421.2 +Q F2(sendmail)4.11 E F1 1.61 +(consults directly are \231aliases\232 and \231hosts.)4.11 F 6.61<9a53> +-.7 G 1.61(ervice types can be)-6.61 F 1.754(\231dns\232, \231nis\232, \ +\231nisplus\232, or \231\214les\232 \(with the ca)174 433.2 R -.15(ve) +-.2 G 1.755(at that the appropriate support).15 F .791 +(must be compiled in before the service can be referenced\).)174 445.2 R +.79(If ServiceSwitchFile)5.791 F .925(is not speci\214ed, it def)174 +457.2 R .925(aults to /etc/mail/service.switch.)-.1 F .925 +(If that \214le does not e)5.925 F(xist,)-.15 E(the def)174 469.2 Q +(ault switch is:)-.1 E 54.71(aliases \214les)214 485.4 R 60.81 +(hosts dns)214 497.4 R(nis \214les)2.5 E(The def)174 513.6 Q +(ault \214le is \231/etc/mail/service.switch\232.)-.1 E(Se)102 529.8 Q +-.15(ve)-.25 G 12.12(nBitInput [7]).15 F .322(Strip input to se)2.822 F +-.15(ve)-.25 G 2.822(nb).15 G .321 +(its for compatibility with old systems.)-2.822 F .321(This shouldn') +5.321 F 2.821(tb)-.18 G(e)-2.821 E(necessary)174 541.8 Q(.)-.65 E +(SharedMemoryK)102 558 Q -.15(ey)-.25 G .744([no short name] K)174 570 R +1.044 -.15(ey t)-.25 H 3.244(ou).15 G .745(se for shared memory se) +-3.244 F .745(gment; if not set \(or 0\), shared)-.15 F 1.16 +(memory will not be used.)174 582 R 1.159(If set to -1)6.16 F F2 +(sendmail)3.659 E F1 1.159(can select a k)3.659 F 1.459 -.15(ey i)-.1 H +1.159(tself pro).15 F(vided)-.15 E .658(that also)174 594 R F0(Shar) +3.158 E(edMemoryK)-.18 E(eyFile)-.25 E F1 .658(is set.)3.158 F .658 +(Requires support for shared memory to)5.658 F 1.413(be compiled into) +174 606 R F2(sendmail)3.913 E F1 6.413(.I)C 3.912(ft)-6.413 G 1.412 +(his option is set,)-3.912 F F2(sendmail)3.912 E F1 1.412 +(can share some data)3.912 F .307(between dif)174 618 R .307 +(ferent instances.)-.25 F -.15(Fo)5.307 G 2.807(re).15 G .308 +(xample, the number of entries in a queue direc-)-2.957 F .033 +(tory or the a)174 630 R -.25(va)-.2 G .032 +(ilable space in a \214le system.).25 F .032(This allo)5.032 F .032 +(ws for more ef)-.25 F .032(\214cient program)-.25 F -.15(exe)174 642 S +.09(cution, since only one process needs to update the data instead of \ +each indi).15 F(vid-)-.25 E(ual process g)174 654 Q +(athering the data each time it is required.)-.05 E(SharedMemoryK)102 +670.2 Q -.15(ey)-.25 G(File).15 E .087([no short name] If)174 682.2 R F0 +(Shar)2.587 E(edMemoryK)-.18 E(ey)-.25 E F1 .086 +(is set to -1 then the automatically selected)2.587 F(shared memory k) +174 694.2 Q .3 -.15(ey w)-.1 H(ill be stored in the speci\214ed \214le.) +.15 E(SingleLineFromHeader)102 710.4 Q .958 +([no short name] If set, From: lines that ha)174 722.4 R 1.259 -.15 +(ve e)-.2 H .959(mbedded ne).15 F .959(wlines are unwrapped)-.25 F 0 Cg +EP +%%Page: 77 73 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-77)195.86 E/F1 10/Times-Roman@0 SF .243(onto one line.)174 96 R +.243 +(This is to get around a botch in Lotus Notes that apparently cannot) +5.243 F(understand le)174 108 Q -.05(ga)-.15 G +(lly wrapped RFC 822 headers.).05 E(SingleThreadDeli)102 124.2 Q -.15 +(ve)-.25 G(ry).15 E .333 +([no short name] If set, a client machine will ne)174 136.2 R -.15(ve) +-.25 G 2.833(rt).15 G .334(ry to open tw)-2.833 F 2.834(oS)-.1 G .334 +(MTP connec-)-2.834 F 1.712(tions to a single serv)174 148.2 R 1.712 +(er machine at the same time, e)-.15 F -.15(ve)-.25 G 4.211(ni).15 G +4.211(nd)-4.211 G(if)-4.211 E 1.711(ferent processes.)-.25 F .952 +(That is, if another)174 160.2 R/F2 10/Times-Italic@0 SF(sendmail)3.452 +E F1 .952(is already talking to some host a ne)3.452 F(w)-.25 E F2 +(sendmail)3.453 E F1(will)3.453 E 2.388(not open another connection.)174 +172.2 R 2.387(This property is of mix)7.387 F 2.387(ed v)-.15 F 2.387 +(alue; although this)-.25 F .386(reduces the load on the other machine,\ + it can cause mail to be delayed \(for e)174 184.2 R(xam-)-.15 E .719 +(ple, if one)174 196.2 R F2(sendmail)3.219 E F1 .719(is deli)3.219 F +-.15(ve)-.25 G .718(ring a huge message, other).15 F F2(sendmail)3.218 E +F1 3.218(sw)C(on')-3.318 E 3.218(tb)-.18 G 3.218(ea)-3.218 G(ble)-3.218 +E 1.542(to send e)174 208.2 R -.15(ve)-.25 G 4.042(ns).15 G 1.542 +(mall messages\).)-4.042 F 1.543 +(Also, it requires another \214le descriptor \(for the)6.542 F .997 +(lock \214le\) per connection, so you may ha)174 220.2 R 1.296 -.15 +(ve t)-.2 H 3.496(or).15 G .996(educe the)-3.496 F F0 +(ConnectionCacheSize)3.496 E F1 .234(option to a)174 232.2 R -.2(vo)-.2 +G .234(id running out of per).2 F .235(-process \214le descriptors.)-.2 +F .235(Requires the)5.235 F F0(HostSta-)2.735 E(tusDir)174 244.2 Q +(ectory)-.18 E F1(option.)2.5 E(SmtpGreetingMessage=)102 260.4 Q F2 +(messa)A -.1(ge)-.1 G F1 .345 +([$e macro] The message printed when the SMTP serv)174 272.4 R .344 +(er starts up.)-.15 F(Def)5.344 E .344(aults to \231$j)-.1 F +(Sendmail $v ready at $b\232.)174 284.4 Q 22.28(SoftBounce If)102 300.6 +R .092(set, issue temporary errors \(4xy\) instead of permanent errors \ +\(5xy\).)2.592 F .093(This can be)5.093 F .127 +(useful during testing of a ne)174 312.6 R 2.627(wc)-.25 G .127 +(on\214guration to a)-2.627 F -.2(vo)-.2 G .126 +(id erroneous bouncing of mails.).2 F(StatusFile=)102 328.8 Q F2(\214le) +A F1 .523([S] Log summary statistics in the named)14.13 F F2(\214le) +3.024 E F1 5.524(.I)C 3.024(fn)-5.524 G 3.024<6f8c>-3.024 G .524 +(le name is speci\214ed, "statis-)-3.024 F .548(tics" is used.)174 340.8 +R .547(If not set, no summary statistics are sa)5.548 F -.15(ve)-.2 G +3.047(d. This).15 F .547(\214le does not gro)3.047 F(w)-.25 E(in size.) +174 352.8 Q(It can be printed using the)5 E F2(mailstats)2.5 E F1 +(\(8\) program.)A 28.4(SuperSafe [s])102 369 R .364 +(This option can be set to T)2.864 F .364(rue, F)-.35 F .364 +(alse, Interacti)-.15 F -.15(ve)-.25 G 2.864(,o).15 G 2.864(rP)-2.864 G +(ostMilter)-2.864 E 5.364(.I)-.55 G 2.864(fs)-5.364 G .364(et to T) +-2.864 F(rue,)-.35 E F2(sendmail)174 381 Q F1 .117(will be super)2.617 F +.116(-safe when running things, i.e., al)-.2 F -.1(wa)-.1 G .116 +(ys instantiate the queue).1 F .117(\214le, e)174 393 R -.15(ve)-.25 G +2.617(ni).15 G 2.617(fy)-2.617 G .117 +(ou are going to attempt immediate deli)-2.617 F -.15(ve)-.25 G(ry).15 E +(.)-.65 E F2(Sendmail)5.118 E F1(al)2.618 E -.1(wa)-.1 G .118 +(ys instan-).1 F .088(tiates the queue \214le before returning control \ +to the client under an)174 405 R 2.587(yc)-.15 G(ircumstances.)-2.587 E +1.299(This should really)174 417 R F2(always)3.799 E F1 1.299 +(be set to T)3.799 F 3.799(rue. The)-.35 F(Interacti)3.799 E 1.599 -.15 +(ve v)-.25 H 1.3(alue has been intro-)-.1 F .222 +(duced in 8.12 and can be used together with)174 429 R F0(Deli)2.721 E +-.1(ve)-.1 G(ryMode=i).1 E F1 5.221(.I)C 2.721(ts)-5.221 G .221 +(kips some syn-)-2.721 F 1.532(chronization calls which are ef)174 441 R +(fecti)-.25 E -.15(ve)-.25 G 1.533(ly doubled in the code e).15 F -.15 +(xe)-.15 G 1.533(cution path for).15 F .336(this mode.)174 453 R .336 +(If set to PostMilter)5.336 F(,)-.4 E F2(sendmail)2.836 E F1 .336 +(defers synchronizing the queue \214le until)2.836 F(an)174 465 Q 3.787 +(ym)-.15 G 1.287(ilters ha)-3.787 F 1.587 -.15(ve s)-.2 H 1.287 +(ignaled acceptance of the message.).15 F 1.288 +(PostMilter is useful only)6.287 F(when)174 477 Q F2(sendmail)3.822 E F1 +1.322(is running as an SMTP serv)3.822 F 1.321 +(er; in all other situations it acts the)-.15 F(same as T)174 489 Q +(rue.)-.35 E 6.16(TLSSrvOptions [no)102 505.2 R .238 +(short name] List of options for SMTP ST)2.737 F(AR)-.93 E .238 +(TTLS for the serv)-.6 F .238(er consisting of)-.15 F .18 +(single characters with interv)174 517.2 R .18 +(ening white space or commas.)-.15 F .18(The \215ag `)5.18 F(`V')-.74 E +2.68('d)-.74 G(isables)-2.68 E .51(client v)174 529.2 R .511(eri\214cat\ +ion, and hence it is not possible to use a client certi\214cate for rel\ +ay-)-.15 F 2.5(ing. Currently)174 541.2 R(there are no other \215ags a) +2.5 E -.25(va)-.2 G(ilable.).25 E -.7(Te)102 557.4 S(mpFileMode=).7 E F2 +(mode)A F1 .062 +([F] The \214le mode for transcript \214les, \214les to which)174 569.4 +R F2(sendmail)2.561 E F1(deli)2.561 E -.15(ve)-.25 G .061(rs directly) +.15 F 2.561<2c8c>-.65 G(les)-2.561 E .61(in the)174 581.4 R F0 +(HostStatusDir)3.11 E(ectory)-.18 E F1 3.11(,a)C(nd)-3.11 E F0 +(StatusFile)3.11 E F1 5.61(.I)C 3.11(ti)-5.61 G 3.11(si)-3.11 G .61 +(nterpreted in octal by def)-3.11 F(ault.)-.1 E(Def)174 593.4 Q +(aults to 0600.)-.1 E -.35(Ti)102 609.6 S(meout.).35 E F2(type)A F1(=)A +F2(timeout)1.666 E F1 .417 +([r; subsumes old T option as well] Set timeout v)174 621.6 R 2.917 +(alues. F)-.25 F .417(or more information, see)-.15 F(section 4.1.)174 +633.6 Q -.35(Ti)102 649.8 S(meZoneSpec=).35 E F2(tzinfo)A F1 .218 +([t] Set the local time zone info to)174 661.8 R F2(tzinfo)2.718 E F1 +2.718<8a66>2.718 G .218(or e)-2.718 F .218(xample, \231PST8PDT\232.)-.15 +F(Actually)5.218 E 2.718(,i)-.65 G(f)-2.718 E 1.346 +(this is not set, the TZ en)174 673.8 R 1.346(vironment v)-.4 F 1.346 +(ariable is cleared \(so the system def)-.25 F 1.345(ault is)-.1 F .208 +(used\); if set b)174 685.8 R .208(ut null, the user')-.2 F 2.708(sT) +-.55 G 2.708(Zv)-2.708 G .208 +(ariable is used, and if set and non-null the TZ)-2.958 F -.25(va)174 +697.8 S(riable is set to this v).25 E(alue.)-.25 E 0 Cg EP +%%Page: 78 74 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-78 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF -.35(Tr) +102 96 S(ustedUser=).35 E/F2 10/Times-Italic@0 SF(user)A F1 3.753 +([no short name] The).06 F F2(user)6.253 E F1 3.752 +(parameter may be a user name \(look)6.252 F 3.752(ed up in)-.1 F F2 +(/etc/passwd)174 108 Q F1 2.742(\)o)C 2.742(ran)-2.742 G .242 +(umeric user id.)-2.742 F -.35(Tr)5.242 G .242(usted user for \214le o) +.35 F .243(wnership and starting the)-.25 F 3.78(daemon. If)174 120 R +1.279(set, generated alias databases and the control sock)3.779 F 1.279 +(et \(if con\214gured\))-.1 F(will automatically be o)174 132 Q +(wned by this user)-.25 E(.)-.55 E -.35(Tr)102 148.2 S 5.96 +(yNullMXList [w]).35 F .114 +(If this system is the \231best\232 \(that is, lo)2.613 F .114 +(west preference\) MX for a gi)-.25 F -.15(ve)-.25 G 2.614(nh).15 G .114 +(ost, its)-2.614 F 1.168(con\214guration rules should normally detect t\ +his situation and treat that condition)174 160.2 R .257 +(specially by forw)174 172.2 R .258 +(arding the mail to a UUCP feed, treating it as local, or whate)-.1 F +-.15(ve)-.25 G -.55(r.).15 G(Ho)174 184.2 Q(we)-.25 E -.15(ve)-.25 G +1.686 -.4(r, i).15 H 3.386(ns).4 G .886 +(ome cases \(such as Internet \214re)-3.386 F -.1(wa)-.25 G .886 +(lls\) you may w).1 F .885(ant to try to con-)-.1 F .07 +(nect directly to that host as though it had no MX records at all.)174 +196.2 R .07(Setting this option)5.07 F(causes)174 208.2 Q F2(sendmail) +3.014 E F1 .514(to try this.)3.014 F .514(The do)5.514 F .514 +(wnside is that errors in your con\214guration are)-.25 F(lik)174 220.2 +Q 2.116(ely to be diagnosed as \231host unkno)-.1 F 2.116 +(wn\232 or \231message timed out\232 instead of)-.25 F +(something more meaningful.)174 232.2 Q(This option is disrecommended.)5 +E(UnixFromLine=)102 248.4 Q F2(fr)A(omline)-.45 E F1 .236 +([$l macro] De\214nes the format used when)174 260.4 R F2(sendmail)2.736 +E F1 .236(must add a UNIX-style From_)2.736 F 1.324 +(line \(that is, a line be)174 272.4 R 1.325 +(ginning \231Fromuser\232\).)-.15 F(Def)6.325 E 1.325 +(aults to \231From $g)-.1 F($d\232.)6.325 E(Don')174 284.4 Q 2.646(tc) +-.18 G .146(hange this unless your system uses a dif)-2.646 F .146 +(ferent UNIX mailbox format \(v)-.25 F(ery)-.15 E(unlik)174 296.4 Q +(ely\).)-.1 E(UnsafeGroupWrites)102 312.6 Q .085 +([no short name] If set \(def)174 324.6 R .085 +(ault\), :include: and .forw)-.1 F .086 +(ard \214les that are group writable)-.1 F .655 +(are considered \231unsafe\232, that is, the)174 336.6 R 3.155(yc)-.15 G +.654(annot reference programs or write directly)-3.155 F .536 +(to \214les.)174 348.6 R -.8(Wo)5.536 G .536 +(rld writable :include: and .forw).8 F .537(ard \214les are al)-.1 F -.1 +(wa)-.1 G .537(ys unsafe.).1 F .537(Note: use)5.537 F F0 +(DontBlameSendmail)174 360.6 Q F1(instead; this option is deprecated.) +2.5 E(UseErrorsT)102 376.8 Q 21.15(o[)-.8 G .826 +(l] If there is an \231Errors-T)-21.15 F .826(o:\232 header)-.8 F 3.326 +(,s)-.4 G .826(end error messages to the addresses listed)-3.326 F 3.134 +(there. The)174 388.8 R 3.134(yn)-.15 G .634(ormally go to the en)-3.134 +F -.15(ve)-.4 G .635(lope sender).15 F 5.635(.U)-.55 G .635 +(se of this option causes)-5.635 F F2(send-)3.135 E(mail)174 400.8 Q F1 +(to violate RFC 1123.)2.5 E +(This option is disrecommended and deprecated.)5 E(UserDatabaseSpec=)102 +417 Q F2(udbspec)A F1([U] The user database speci\214cation.)174 429 Q +-1.11(Ve)102 445.2 S 37.29(rbose [v])1.11 F .561(Run in v)3.061 F .561 +(erbose mode.)-.15 F .561(If this is set,)5.561 F F2(sendmail)3.061 E F1 +.56(adjusts options)3.061 F F0(HoldExpensi)3.06 E -.1(ve)-.1 G F1(\(old) +174 457.2 Q F0(c)2.635 E F1 2.635(\)a)C(nd)-2.635 E F0(Deli)2.635 E -.1 +(ve)-.1 G(ryMode).1 E F1(\(old)2.635 E F0(d)2.635 E F1 2.635(\)s)C 2.635 +(ot)-2.635 G .135(hat all mail is deli)-2.635 F -.15(ve)-.25 G .136 +(red completely in a sin-).15 F 1.244 +(gle job so that you can see the entire deli)174 469.2 R -.15(ve)-.25 G +1.244(ry process.).15 F(Option)6.244 E F0 -1(Ve)3.743 G(rbose)1 E F1 +(should)3.743 E F2(ne)174 481.2 Q(ver)-.15 E F1 1.269(be set in the con\ +\214guration \214le; it is intended for command line use only)3.769 F(.) +-.65 E .435(Note that the use of option)174 493.2 R F0 -1(Ve)2.935 G +(rbose)1 E F1 .435(can cause authentication information to leak,)2.935 F +.015(if you use a sendmail client to authenticate to a serv)174 505.2 R +(er)-.15 E 5.015(.I)-.55 G 2.515(ft)-5.015 G .015 +(he authentication mech-)-2.515 F .936(anism uses plain te)174 517.2 R +.936(xt passw)-.15 F .936 +(ords \(as with LOGIN or PLAIN\), then the passw)-.1 F(ord)-.1 E 1.417 +(could be compromised.)174 529.2 R 3.017 -.8(To a)6.417 H -.2(vo).6 G +1.417(id this, do not install sendmail set-user).2 F 1.418(-ID root,)-.2 +F(and disable the)174 541.2 Q F0(VERB)2.5 E F1 +(SMTP command with a suitable)2.5 E F0(Pri)2.5 E -.1(va)-.1 G(cyOptions) +.1 E F1(setting.)2.5 E(XscriptFileBuf)102 557.4 Q(ferSize=)-.25 E F2 +(thr)A(eshold)-.37 E F1 1.101([no short name] Set the)174 569.4 R F2 +(thr)3.601 E(eshold)-.37 E F1 3.601(,i)C 3.601(nb)-3.601 G 1.101 +(ytes, before a memory-based queue tran-)-3.601 F +(script \214le becomes disk-based.)174 581.4 Q(The def)5 E +(ault is 4096 bytes.)-.1 E .108(All options can be speci\214ed on the c\ +ommand line using the \255O or \255o \215ag, b)102 597.6 R .109 +(ut most will cause)-.2 F F2(send-)2.609 E(mail)102 609.6 Q F1 .664 +(to relinquish its set-user)3.164 F .664(-ID permissions.)-.2 F .663 +(The options that will not cause this are Se)5.664 F -.15(ve)-.25 G +(nBitIn-).15 E 1.319 +(put [7], EightBitMode [8], MinFreeBlocks [b], CheckpointInterv)102 +621.6 R 1.319(al [C], Deli)-.25 F -.15(ve)-.25 G 1.319 +(ryMode [d], Error).15 F(-)-.2 E .043 +(Mode [e], IgnoreDots [i], SendMimeErrors [j], LogLe)102 633.6 R -.15 +(ve)-.25 G 2.542(l[).15 G .042(L], MeT)-2.542 F .042 +(oo [m], OldStyleHeaders [o], Pri-)-.8 F -.25(va)102 645.6 S -.15(cy).25 +G .302(Options [p], SuperSafe [s], V).15 F .302 +(erbose [v], QueueSortOrder)-1.11 F 2.802(,M)-.4 G .303(inQueueAge, Def) +-2.802 F .303(aultCharSet, Dial)-.1 F(Delay)102 657.6 Q 7.312(,N)-.65 G +4.812(oRecipientAction, ColonOkInAddr)-7.312 F 7.312(,M)-.4 G 4.812 +(axQueueRunSize, SingleLineFromHeader)-7.312 F 7.312(,a)-.4 G(nd)-7.312 +E(Allo)102 669.6 Q 3.92(wBogusHELO. Actually)-.25 F 3.92(,P)-.65 G(ri) +-3.92 E -.25(va)-.25 G -.15(cy).25 G 1.421(Options [p] gi).15 F -.15(ve) +-.25 G 3.921(no).15 G 3.921(nt)-3.921 G 1.421 +(he command line are added to those)-3.921 F 1.698 +(already speci\214ed in the)102 681.6 R F2(sendmail.cf)4.198 E F1 1.697 +(\214le, i.e., the)4.198 F 4.197(yc)-.15 G(an')-4.197 E 4.197(tb)-.18 G +4.197(er)-4.197 G 4.197(eset. Also,)-4.197 F 4.197(M\()4.197 G 1.697 +(de\214ne macro\) when)-4.197 F +(de\214ning the r or s macros is also considered \231safe\232.)102 693.6 +Q 0 Cg EP +%%Page: 79 75 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-79)195.86 E 2.5(5.7. P)87 96 R 2.5<8a50>2.5 G -.18(re)-2.5 G +(cedence De\214nitions).18 E/F1 10/Times-Roman@0 SF -1.11(Va)127 112.2 S +.164 +(lues for the \231Precedence:\232 \214eld may be de\214ned using the) +1.11 F F0(P)2.664 E F1 .164(control line.)2.664 F .164 +(The syntax of this)5.164 F(\214eld is:)102 124.2 Q F0(P)142 140.4 Q/F2 +10/Times-Italic@0 SF(name)A F0(=)A F2(num)A F1 .384(When the)102 156.6 R +F2(name)2.884 E F1 .384 +(is found in a \231Precedence:\232 \214eld, the message class is set to) +2.884 F F2(num)2.883 E F1 5.383(.H)C .383(igher numbers)-5.383 F .85 +(mean higher precedence.)102 168.6 R .85(Numbers less than zero ha)5.85 +F 1.15 -.15(ve t)-.2 H .85(he special property that if an error occurs) +.15 F 1.551(during processing the body of the message will not be retur\ +ned; this is e)102 180.6 R 1.551(xpected to be used for)-.15 F<9962>102 +192.6 Q .461(ulk\232 mail such as through mailing lists.)-.2 F .461 +(The def)5.461 F .461(ault precedence is zero.)-.1 F -.15(Fo)5.461 G +2.962(re).15 G .462(xample, our list of)-3.112 F(precedences is:)102 +204.6 Q(P\214rst-class=0)142 220.8 Q(Pspecial-deli)142 232.8 Q -.15(ve) +-.25 G(ry=100).15 E(Plist=\25530)142 244.8 Q(Pb)142 256.8 Q(ulk=\25560) +-.2 E(Pjunk=\255100)142 268.8 Q 1.059(People writing mailing list e)102 +285 R 1.058(xploders are encouraged to use \231Precedence: list\232.) +-.15 F 1.058(Older v)6.058 F 1.058(ersions of)-.15 F F2(sendmail)102 297 +Q F1 1.19(\(which discarded all error returns for ne)3.69 F -.05(ga)-.15 +G(ti).05 E 1.49 -.15(ve p)-.25 H 1.19(recedences\) didn').15 F 3.69(tr) +-.18 G 1.19(ecognize this name,)-3.69 F(gi)102 309 Q .599(ving it a def) +-.25 F .598(ault precedence of zero.)-.1 F .598(This allo)5.598 F .598 +(ws list maintainers to see error returns on both old)-.25 F(and ne)102 +321 Q 2.5(wv)-.25 G(ersions of)-2.65 E F2(sendmail)2.5 E F1(.)A F0 2.5 +(5.8. V)87 345 R 2.5<8a43>2.5 G(on\214guration V)-2.5 E(ersion Le)-1 E +-.1(ve)-.15 G(l).1 E F1 3.181 -.8(To p)127 361.2 T(ro).8 E 1.581 +(vide compatibility with old con\214guration \214les, the)-.15 F F0(V) +4.081 E F1 1.582(line has been added to de\214ne)4.082 F 1.11(some v)102 +373.2 R 1.11(ery basic semantics of the con\214guration \214le.)-.15 F +1.11(These are not intended to be long term sup-)6.11 F .033 +(ports; rather)102 385.2 R 2.533(,t)-.4 G(he)-2.533 E 2.533(yd)-.15 G +.033(escribe compatibility features which will probably be remo)-2.533 F +-.15(ve)-.15 G 2.533(di).15 G 2.533(nf)-2.533 G .034(uture releases.) +-2.533 F F0(N.B.:)127 401.4 Q F1 .197(these v)2.697 F(ersion)-.15 E F2 +(le)2.697 E(vels)-.15 E F1(ha)2.697 E .496 -.15(ve n)-.2 H .196 +(othing to do with the v).15 F(ersion)-.15 E F2(number)2.696 E F1 .196 +(on the \214les.)2.696 F -.15(Fo)5.196 G 2.696(re).15 G(xam-)-2.846 E +(ple, as of this writing v)102 413.4 Q +(ersion 10 con\214g \214les \(speci\214cally)-.15 E 2.5(,8)-.65 G +(.10\) used v)-2.5 E(ersion le)-.15 E -.15(ve)-.25 G 2.5(l9c).15 G +(on\214gurations.)-2.5 E 1.102 +(\231Old\232 con\214guration \214les are de\214ned as v)127 429.6 R +1.102(ersion le)-.15 F -.15(ve)-.25 G 3.602(lo).15 G 3.602(ne. V)-3.602 +F 1.102(ersion le)-1.11 F -.15(ve)-.25 G 3.602(lt).15 G 1.302 -.1 +(wo \214)-3.602 H 1.103(les mak).1 F 3.603(et)-.1 G(he)-3.603 E(follo) +102 441.6 Q(wing changes:)-.25 E 12.5(\(1\) Host)107 457.8 R .727(name \ +canoni\214cation \($[ ... $]\) appends a dot if the name is recognized;\ + this gi)3.227 F -.15(ve)-.25 G 3.226(st).15 G(he)-3.226 E 1.974 +(con\214g \214le a w)133.66 469.8 R 1.974(ay of \214nding out if an)-.1 +F 1.974(ything matched.)-.15 F(\(Actually)6.974 E 4.475(,t)-.65 G 1.975 +(his just initializes the)-4.475 F .739 +(\231host\232 map with the \231\255a.)133.66 481.8 R 5.739<9a8d>-.7 G +.739(ag \212 you can reset it to an)-5.739 F .738 +(ything you prefer by declaring the)-.15 F(map e)133.66 493.8 Q +(xplicitly)-.15 E(.\))-.65 E 12.5(\(2\) Def)107 510 R .384 +(ault host name e)-.1 F .385 +(xtension is consistent throughout processing; v)-.15 F .385(ersion le) +-.15 F -.15(ve)-.25 G 2.885(lo).15 G .385(ne con\214gu-)-2.885 F .83 +(rations turned of)133.66 522 R 3.33(fd)-.25 G .83(omain e)-3.33 F .83 +(xtension \(that is, adding the local domain name\) during certain)-.15 +F .4(points in processing.)133.66 534 R -1.11(Ve)5.4 G .4(rsion le)1.11 +F -.15(ve)-.25 G 2.9(lt).15 G .6 -.1(wo c)-2.9 H .4 +(on\214gurations are e).1 F .4(xpected to include a trailing dot)-.15 F +(to indicate that the name is already canonical.)133.66 546 Q 12.5 +(\(3\) Local)107 562.2 R .072 +(names that are not aliases are passed through a ne)2.572 F 2.572(wd) +-.25 G .072(istinguished ruleset \214v)-2.572 F .072(e; this can)-.15 F +.139(be used to append a local relay)133.66 574.2 R 5.139(.T)-.65 G .139 +(his beha)-5.139 F .139(vior can be pre)-.2 F -.15(ve)-.25 G .14 +(nted by resolving the local name).15 F .993(with an initial `@'.)133.66 +586.2 R .993(That is, something that resolv)5.993 F .993 +(es to a local mailer and a user name of)-.15 F .601 +(\231vikki\232 will be passed through ruleset \214v)133.66 598.2 R .601 +(e, b)-.15 F .601(ut a user name of \231@vikki\232 will ha)-.2 F .902 +-.15(ve t)-.2 H .602(he `@').15 F .92 +(stripped, will not be passed through ruleset \214v)133.66 610.2 R .919 +(e, b)-.15 F .919(ut will otherwise be treated the same as)-.2 F .629 +(the prior e)133.66 622.2 R 3.129(xample. The)-.15 F -.15(ex)3.129 G +.629(pectation is that this might be used to implement a polic).15 F +3.13(yw)-.15 G(here)-3.13 E .734(mail sent to \231vikki\232 w)133.66 +634.2 R .734(as handled by a central hub, b)-.1 F .734 +(ut mail sent to \231vikki@localhost\232 w)-.2 F(as)-.1 E(deli)133.66 +646.2 Q -.15(ve)-.25 G(red directly).15 E(.)-.65 E -1.11(Ve)127 662.4 S +1.382(rsion le)1.11 F -.15(ve)-.25 G 3.882(lt).15 G 1.382 +(hree \214les allo)-3.882 F 3.882(w#i)-.25 G 1.382 +(nitiated comments on all lines.)-3.882 F 1.383 +(Exceptions are backslash)6.383 F(escaped # marks and the $# syntax.)102 +674.4 Q -1.11(Ve)127 690.6 S 1.208(rsion le)1.11 F -.15(ve)-.25 G 3.708 +(lf).15 G 1.208(our con\214gurations are completely equi)-3.708 F -.25 +(va)-.25 G 1.207(lent to le).25 F -.15(ve)-.25 G 3.707(lt).15 G 1.207 +(hree for historical rea-)-3.707 F(sons.)102 702.6 Q 0 Cg EP +%%Page: 80 76 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-80 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF -1.11(Ve) +127 96 S 1.234(rsion le)1.11 F -.15(ve)-.25 G 3.734<6c8c>.15 G 1.534 +-.15(ve c)-3.734 H 1.234(on\214guration \214les change the def).15 F +1.234(ault de\214nition of)-.1 F F0($w)3.734 E F1 1.234 +(to be just the \214rst)3.734 F(component of the hostname.)102 108 Q +-1.11(Ve)127 124.2 S 1.589(rsion le)1.11 F -.15(ve)-.25 G 4.089(ls).15 G +1.589(ix con\214guration \214les change man)-4.089 F 4.088(yo)-.15 G +4.088(ft)-4.088 G 1.588(he local processing options \(such as)-4.088 F +.48(aliasing and matching the be)102 136.2 R .481(ginning of the addres\ +s for `|' characters\) to be mailer \215ags; this allo)-.15 F(ws)-.25 E +1.345(\214ne-grained control o)102 148.2 R -.15(ve)-.15 G 3.845(rt).15 G +1.345(he special local processing.)-3.845 F(Le)6.345 E -.15(ve)-.25 G +3.845(ls).15 G 1.344(ix con\214guration \214les may also use)-3.845 F +1.221(long option names.)102 160.2 R(The)6.221 E F0(ColonOkInAddr)3.721 +E F1 1.221(option \(to allo)3.721 F 3.722(wc)-.25 G 1.222 +(olons in the local-part of addresses\))-3.722 F(def)102 172.2 Q(aults) +-.1 E F0(on)3.44 E F1 .94(for lo)3.44 F .94(wer numbered con\214guratio\ +n \214les; the con\214guration \214le requires some additional)-.25 F +(intelligence to properly handle the RFC 822 group construct.)102 184.2 +Q -1.11(Ve)127 200.4 S 1.97(rsion le)1.11 F -.15(ve)-.25 G 4.47(ls).15 G +-2.15 -.25(ev e)-4.47 H 4.47(nc).25 G 1.97 +(on\214guration \214les used ne)-4.47 F 4.47(wo)-.25 G 1.97 +(ption names to replace old macros \()-4.47 F F0($e)A F1(became)102 +212.4 Q F0(SmtpGr)5.548 E(eetingMessage)-.18 E F1(,)A F0($l)5.548 E F1 +(became)5.548 E F0(UnixFr)5.548 E(omLine)-.18 E F1 5.547(,a)C(nd)-5.547 +E F0($o)5.547 E F1(became)5.547 E F0(OperatorChars)5.547 E F1(.)A .086 +(Also, prior to v)102 224.4 R .086(ersion se)-.15 F -.15(ve)-.25 G .086 +(n, the).15 F F0(F=q)2.586 E F1 .087 +(\215ag \(use 250 instead of 252 return v)2.586 F .087(alue for)-.25 F +/F2 9/Times-Roman@0 SF .087(SMTP VRFY)2.587 F F1(com-)2.587 E(mands\) w) +102 236.4 Q(as assumed.)-.1 E -1.11(Ve)127 252.6 S(rsion le)1.11 E -.15 +(ve)-.25 G 2.5(le).15 G(ight con\214guration \214les allo)-2.5 E(w)-.25 +E F0($#)2.5 E F1(on the left hand side of ruleset lines.)2.5 E -1.11(Ve) +127 268.8 S .423(rsion le)1.11 F -.15(ve)-.25 G 2.923(ln).15 G .423 +(ine con\214guration \214les allo)-2.923 F 2.923(wp)-.25 G .423 +(arentheses in rulesets, i.e. the)-2.923 F 2.923(ya)-.15 G .422 +(re not treated as)-2.923 F(comments and hence remo)102 280.8 Q -.15(ve) +-.15 G(d.).15 E -1.11(Ve)127 297 S(rsion le)1.11 E -.15(ve)-.25 G 2.5 +(lt).15 G(en con\214guration \214les allo)-2.5 E 2.5(wq)-.25 G +(ueue group de\214nitions.)-2.5 E(The)127 313.2 Q F0(V)2.677 E F1 .177 +(line may ha)2.677 F .477 -.15(ve a)-.2 H 2.677(no).15 G(ptional)-2.677 +E F0(/)2.677 E/F3 10/Times-Italic@0 SF(vendor)A F1 .178 +(to indicate that this con\214guration \214le uses modi\214ca-)2.677 F +.865(tions speci\214c to a particular v)102 327.2 R(endor)-.15 E/F4 7 +/Times-Roman@0 SF(22)-4 I F1 5.866(.Y)4 K .866(ou may use \231/Berk) +-6.966 F(ele)-.1 E .866(y\232 to emphasize that this con\214gura-)-.15 F +(tion \214le uses the Berk)102 339.2 Q(ele)-.1 E 2.5(yd)-.15 G +(ialect of)-2.5 E F3(sendmail)2.5 E F1(.)A F0 2.5(5.9. K)87 363.2 R 2.5 +<8a4b>2.5 G(ey File Declaration)-2.75 E F1 +(Special maps can be de\214ned using the line:)127 379.4 Q +(Kmapname mapclass ar)142 395.6 Q(guments)-.18 E(The)102 411.8 Q F3 +(mapname)2.751 E F1 .251 +(is the handle by which this map is referenced in the re)2.751 F .25 +(writing rules.)-.25 F(The)5.25 E F3(mapclass)2.75 E F1(is)2.75 E 1.889 +(the name of a type of map; these are compiled in to)102 423.8 R F3 +(sendmail)4.389 E F1 6.889(.T)C(he)-6.889 E F3(ar)4.389 E(guments)-.37 E +F1 1.889(are interpreted)4.389 F .791(depending on the class; typically) +102 435.8 R 3.291(,t)-.65 G .791(here w)-3.291 F .791 +(ould be a single ar)-.1 F .79(gument naming the \214le containing the) +-.18 F(map.)102 447.8 Q(Maps are referenced using the syntax:)127 464 Q +($\()142 480.2 Q F3(map k)2.5 E -.3(ey)-.1 G F1($@)2.8 E F3(ar)2.5 E +(guments)-.37 E F1($:)2.5 E F3(default)2.5 E F1($\))2.5 E .64 +(where either or both of the)102 496.4 R F3(ar)3.14 E(guments)-.37 E F1 +(or)3.141 E F3(default)3.141 E F1 .641(portion may be omitted.)3.141 F +(The)5.641 E F3 .641($@ ar)3.141 F(guments)-.37 E F1(may)3.141 E 1.277 +(appear more than once.)102 508.4 R 1.277(The indicated)6.277 F F3 -.1 +(ke)3.777 G(y)-.2 E F1(and)3.776 E F3(ar)3.776 E(guments)-.37 E F1 1.276 +(are passed to the appropriate mapping)3.776 F 3.253(function. If)102 +520.4 R .753(it returns a v)3.253 F .753(alue, it replaces the input.) +-.25 F .753(If it does not return a v)5.753 F .753(alue and the)-.25 F +F3(default)3.253 E F1(is)3.253 E(speci\214ed, the)102 532.4 Q F3 +(default)2.5 E F1(replaces the input.)2.5 E +(Otherwise, the input is unchanged.)5 E(The)127 548.6 Q F3(ar)4.064 E +(guments)-.37 E F1 1.564(are passed to the map for arbitrary use.)4.064 +F 1.563(Most map classes can interpolate)6.563 F .882(these ar)102 560.6 +R .882(guments into their v)-.18 F .882(alues using the syntax \231%) +-.25 F F3(n)A F1 3.382<9a28>C(where)-3.382 E F3(n)3.382 E F1 .883 +(is a digit\) to indicate the corre-)3.382 F(sponding)102 572.6 Q F3(ar) +2.5 E(gument)-.37 E F1 5(.A)C -.18(rg)-5 G +(ument \231%0\232 indicates the database k).18 E -.15(ey)-.1 G 5(.F)-.5 +G(or e)-5.15 E(xample, the rule)-.15 E(R$\255 ! $+)142 588.8 Q +($: $\(uucp $1 $@ $2 $: $2 @ $1 . UUCP $\))71.72 E 1.269(Looks up the U\ +UCP name in a \(user de\214ned\) UUCP map; if not found it turns it int\ +o \231.UUCP\232)102 605 R 2.5(form. The)102 617 R +(database might contain records lik)2.5 E(e:)-.1 E(decv)142 633.2 Q +77.43(ax %1@%0.DEC.COM)-.25 F 72.19(research %1@%0.A)142 645.2 R(TT) +-1.11 E(.COM)-.74 E(Note that)102 661.4 Q F3(default)2.5 E F1 +(clauses ne)2.5 E -.15(ve)-.25 G 2.5(rd).15 G 2.5(ot)-2.5 G +(his mapping.)-2.5 E .32 LW 76 671 72 671 DL 80 671 76 671 DL 84 671 80 +671 DL 88 671 84 671 DL 92 671 88 671 DL 96 671 92 671 DL 100 671 96 671 +DL 104 671 100 671 DL 108 671 104 671 DL 112 671 108 671 DL 116 671 112 +671 DL 120 671 116 671 DL 124 671 120 671 DL 128 671 124 671 DL 132 671 +128 671 DL 136 671 132 671 DL 140 671 136 671 DL 144 671 140 671 DL 148 +671 144 671 DL 152 671 148 671 DL 156 671 152 671 DL 160 671 156 671 DL +164 671 160 671 DL 168 671 164 671 DL 172 671 168 671 DL 176 671 172 671 +DL 180 671 176 671 DL 184 671 180 671 DL 188 671 184 671 DL 192 671 188 +671 DL 196 671 192 671 DL 200 671 196 671 DL 204 671 200 671 DL 208 671 +204 671 DL 212 671 208 671 DL 216 671 212 671 DL/F5 5/Times-Roman@0 SF +(22)93.6 681.4 Q/F6 8/Times-Roman@0 SF .214(And of course, v)3.2 J .214 +(endors are encouraged to add themselv)-.12 F .214 +(es to the list of recognized v)-.12 F .214 +(endors by editing the routine)-.12 F/F7 8/Times-Italic@0 SF(setvendor) +2.214 E F6(in)2.214 E F7(conf)72 694.2 Q(.c)-.12 E F6 4(.P)C +(lease send e-mail to sendmail@Sendmail.ORG to re)-4 E(gister your v) +-.12 E(endor dialect.)-.12 E 0 Cg EP +%%Page: 81 77 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-81)195.86 E/F1 10/Times-Roman@0 SF .735(The b)127 96 R .735(uil\ +t-in map with both name and class \231host\232 is the host name canonic\ +alization lookup.)-.2 F(Thus, the syntax:)102 108 Q($\(host)142 124.2 Q +/F2 10/Times-Italic@0 SF(hostname)2.5 E F1($\))A(is equi)102 140.4 Q +-.25(va)-.25 G(lent to:).25 E($[)142 156.6 Q F2(hostname)A F1($])A +(There are man)127 177 Q 2.5(yd)-.15 G(e\214ned classes.)-2.5 E 51.72 +(dbm Database)102 193.2 R 1.623(lookups using the ndbm\(3\) library) +4.123 F(.)-.65 E F2(Sendmail)6.623 E F1 1.623(must be compiled with) +4.123 F F0(NDBM)174 205.2 Q F1(de\214ned.)2.5 E 49.51(btree Database)102 +221.4 R .677(lookups using the btree interf)3.177 F .677 +(ace to the Berk)-.1 F(ele)-.1 E 3.178(yD)-.15 G 3.178(Bl)-3.178 G +(ibrary)-3.178 E(.)-.65 E F2(Sendmail)5.678 E F1(must be compiled with) +174 233.4 Q F0(NEWDB)2.5 E F1(de\214ned.)2.5 E 51.17(hash Database)102 +249.6 R .828(lookups using the hash interf)3.329 F .828(ace to the Berk) +-.1 F(ele)-.1 E 3.328(yD)-.15 G 3.328(Bl)-3.328 G(ibrary)-3.328 E(.)-.65 +E F2(Sendmail)5.828 E F1(must be compiled with)174 261.6 Q F0(NEWDB)2.5 +E F1(de\214ned.)2.5 E 57.83(nis NIS)102 277.8 R(lookups.)2.5 E F2 +(Sendmail)5 E F1(must be compiled with)2.5 E F0(NIS)2.5 E F1(de\214ned.) +2.5 E 41.16(nisplus NIS+)102 294 R(lookups.)3.733 E F2(Sendmail)6.233 E +F1 1.233(must be compiled with)3.733 F F0(NISPLUS)3.733 E F1 3.733 +(de\214ned. The)3.733 F(ar)3.733 E(gu-)-.18 E .495 +(ment is the name of the table to use for lookups, and the)174 306 R F0 +2.995 E F1(and)2.995 E F02.995 E F1 .495(\215ags may be) +2.995 F(used to set the k)174 318 Q .3 -.15(ey a)-.1 H(nd v).15 E +(alue columns respecti)-.25 E -.15(ve)-.25 G(ly).15 E(.)-.65 E 43.39 +(hesiod Hesiod)102 334.2 R(lookups.)2.5 E F2(Sendmail)5 E F1 +(must be compiled with)2.5 E F0(HESIOD)2.5 E F1(de\214ned.)2.5 E 52.28 +(ldap LD)102 350.4 R 1.783(AP X500 directory lookups.)-.4 F F2(Sendmail) +6.783 E F1 1.784(must be compiled with)4.283 F F0(LD)4.284 E(APMAP)-.35 +E F1 2.966(de\214ned. The)174 362.4 R .466 +(map supports most of the standard ar)2.966 F .465 +(guments and most of the com-)-.18 F .3(mand line ar)174 374.4 R .3 +(guments of the)-.18 F F2(ldapsear)2.8 E -.15(ch)-.37 G F1 2.8 +(program. Note)2.95 F .3(that, by def)2.8 F .3(ault, if a single)-.1 F +.629(query matches multiple v)174 386.4 R .629 +(alues, only the \214rst v)-.25 F .628(alue will be returned unless the) +-.25 F F03.128 E F1(\(v)174 398.4 Q .248 +(alue separator\) map \215ag is set.)-.25 F .249(Also, the)5.249 F F0 +2.749 E F1 .249(map \215ag will treat a multiple v)2.749 F(alue) +-.25 E(return as if there were no matches.)174 410.4 Q 41.17 +(netinfo NeXT)102 426.6 R(NetInfo lookups.)2.5 E F2(Sendmail)5 E F1 +(must be compiled with)2.5 E F0(NETINFO)2.5 E F1(de\214ned.)2.5 E(te)102 +442.8 Q 54.65(xt T)-.15 F -.15(ex)-.7 G 2.918<748c>.15 G .418 +(le lookups.)-2.918 F .418(The format of the te)5.418 F .417 +(xt \214le is de\214ned by the)-.15 F F02.917 E F1(\(k)2.917 E +.717 -.15(ey \214)-.1 H .417(eld num-).15 F(ber\),)174 454.8 Q F0 +2.5 E F1(\(v)2.5 E(alue \214eld number\), and)-.25 E F02.5 E F1 +(\(\214eld delimiter\) \215ags.)2.5 E 59.5(ph PH)102 471 R 1.394 +(query map.)3.894 F(Contrib)6.394 E 1.394 +(uted and supported by Mark Roth, roth@uiuc.edu.)-.2 F -.15(Fo)6.394 G +(r).15 E .017(more information, consult the web site \231http://www-de) +174 483 R -.65(v.)-.25 G(cites.uiuc.edu/sendmail/\232.).65 E 55.61 +(nsd nsd)102 499.2 R 1.599(map for IRIX 6.5 and later)4.099 F 6.599(.C) +-.55 G(ontrib)-6.599 E 1.599(uted and supported by Bob Mende of)-.2 F +(SGI, mende@sgi.com.)174 511.2 Q 53.39(stab Internal)102 527.4 R +(symbol table lookups.)2.5 E(Used internally for aliasing.)5 E 38.38 +(implicit Really)102 543.6 R .546 +(should be called \231alias\232 \212 this is used to get the def)3.046 F +.546(ault lookups for alias)-.1 F(\214les, and is the def)174 555.6 Q +(ault if no class is speci\214ed for alias \214les.)-.1 E 52.84 +(user Looks)102 571.8 R .476(up users using)2.976 F F2 -.1(ge)2.976 G +(tpwnam).1 E F1 2.976(\(3\). The)B F02.976 E F1 .477 +(\215ag can be used to specify the name)2.976 F .142(of the \214eld to \ +return \(although this is normally used only to check the e)174 583.8 R +.142(xistence of)-.15 F 2.5(au)174 595.8 S(ser\).)-2.5 E 52.83 +(host Canoni\214es)102 612 R .2(host domain names.)2.7 F(Gi)5.2 E -.15 +(ve)-.25 G 2.7(nah).15 G .2(ost name it calls the name serv)-2.7 F .2 +(er to \214nd)-.15 F(the canonical name for that host.)174 624 Q 40.61 +(bestmx Returns)102 640.2 R 2.479(the best MX record for a host name gi) +4.979 F -.15(ve)-.25 G 4.978(na).15 G 4.978(st)-4.978 G 2.478(he k) +-4.978 F -.15(ey)-.1 G 7.478(.T)-.5 G 2.478(he current)-7.478 F .721 +(machine is al)174 652.2 R -.1(wa)-.1 G .721 +(ys preferred \212 that is, if the current machine is one of the hosts) +.1 F .219(listed as a lo)174 664.2 R .218 +(west-preference MX record, then it will be guaranteed to be returned.) +-.25 F .961(This can be used to \214nd out if this machine is the tar) +174 676.2 R .962(get for an MX record, and)-.18 F .313 +(mail can be accepted on that basis.)174 688.2 R .313(If the)5.313 F F0 +2.813 E F1 .313(\215ag is gi)2.813 F -.15(ve)-.25 G .313 +(n, then all MX names are).15 F(returned, separated by the gi)174 700.2 +Q -.15(ve)-.25 G 2.5(nd).15 G(elimiter)-2.5 E(.)-.55 E 0 Cg EP +%%Page: 82 78 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-82 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 55.61 +(dns This)102 96 R 2.248 +(map requires the option -R to specify the DNS resource record type to) +4.747 F 1.229(lookup. The follo)174 108 R 1.229 +(wing types are supported: A, AAAA, AFSDB, CN)-.25 F 1.229(AME, MX,)-.35 +F .661(NS, PTR, SR)174 120 R 3.241 -1.29(V, a)-.8 H .661(nd TXT)1.29 F +5.661(.A)-.74 G .662(map lookup will return only one record.)-2.5 F .662 +(Hence for)5.662 F .558(some types, e.g., MX records, the return v)174 +132 R .558(alue might be a random element of the)-.25 F +(list due to randomizing in the DNS resolv)174 144 Q(er)-.15 E(.)-.55 E +32.85(sequence The)102 160.2 R(ar)3.349 E .849(guments on the `K' line \ +are a list of maps; the resulting map searches the)-.18 F(ar)174 172.2 Q +.439(gument maps in order until it \214nds a match for the indicated k) +-.18 F -.15(ey)-.1 G 5.438(.F)-.5 G .438(or e)-5.588 F(xample,)-.15 E +(if the k)174 184.2 Q .3 -.15(ey d)-.1 H(e\214nition is:).15 E +(Kmap1 ...)214 200.4 Q(Kmap2 ...)214 212.4 Q(Kseqmap sequence map1 map2) +214 224.4 Q .968(then a lookup ag)174 240.6 R .968 +(ainst \231seqmap\232 \214rst does a lookup in map1.)-.05 F .968 +(If that is found, it)5.968 F(returns immediately)174 252.6 Q 5(.O)-.65 +G(therwise, the same k)-5 E .3 -.15(ey i)-.1 H 2.5(su).15 G +(sed for map2.)-2.5 E 43.94(syslog the)102 268.8 R -.1(ke)2.5 G 2.5(yi) +-.05 G 2.5(sl)-2.5 G(ogged via)-2.5 E/F2 10/Times-Italic@0 SF(syslo)2.5 +E(gd)-.1 E F1 2.5(\(8\). The)1.666 F(lookup returns the empty string.) +2.5 E 43.39(switch Much)102 285 R(lik)2.801 E 2.801(et)-.1 G .301 +(he \231sequence\232 map e)-2.801 F .301 +(xcept that the order of maps is determined by the)-.15 F .391 +(service switch.)174 297 R .391(The ar)5.391 F .391 +(gument is the name of the service to be look)-.18 F .392(ed up; the v) +-.1 F(al-)-.25 E 1.492 +(ues from the service switch are appended to the map name to create ne) +174 309 R 3.992(wm)-.25 G(ap)-3.992 E 2.5(names. F)174 321 R(or e)-.15 E +(xample, consider the k)-.15 E .3 -.15(ey d)-.1 H(e\214nition:).15 E +(Kali switch aliases)214 337.2 Q +(together with the service switch entry:)174 353.4 Q 78.84(aliases nis) +214 369.6 R(\214les)2.5 E 1.633(This causes a query ag)174 385.8 R 1.633 +(ainst the map \231ali\232 to search maps named \231ali.nis\232 and)-.05 +F(\231ali.\214les\232 in that order)174 397.8 Q(.)-.55 E 37.84 +(dequote Strip)102 414 R .961(double quotes \("\) from a name.)3.461 F +.96(It does not strip backslashes, and will not)5.961 F .172 +(strip quotes if the resulting string w)174 426 R .173 +(ould contain unscannable syntax \(that is, basic)-.1 F .386(errors lik) +174 438 R 2.886(eu)-.1 G .386(nbalanced angle brack)-2.886 F .386 +(ets; more sophisticated errors such as unkno)-.1 F(wn)-.25 E .251 +(hosts are not check)174 450 R 2.751(ed\). The)-.1 F .251 +(intent is for use when trying to accept mail from sys-)2.751 F +(tems such as DECnet that routinely quote odd syntax such as)174 462 Q +("49ers::ubell")214 478.2 Q 2.5(At)174 494.4 S +(ypical usage is probably something lik)-2.5 E(e:)-.1 E +(Kdequote dequote)214 510.6 Q(...)214 534.6 Q 88.19(R$\255 $:)214 558.6 +R($\(dequote $1 $\))2.5 E(R$\255 $+)214 570.6 Q($: $>3 $1 $2)77.55 E +(Care must be tak)174 586.8 Q(en to pre)-.1 E -.15(ve)-.25 G(nt une).15 +E(xpected results; for e)-.15 E(xample,)-.15 E +("|someprogram < input > output")214 603 Q 1.31(will ha)174 619.2 R 1.61 +-.15(ve q)-.2 H 1.31(uotes stripped, b).15 F 1.31 +(ut the result is probably not what you had in mind.)-.2 F -.15(Fo)174 +631.2 S(rtunately these cases are rare.).15 E(re)102 647.4 Q(ge)-.15 E +50.09(xT)-.15 G .488(he map de\214nition on the)-50.09 F F0(K)2.988 E F1 +.489(line contains a re)2.988 F .489(gular e)-.15 F 2.989(xpression. An) +-.15 F 2.989(yk)-.15 G .789 -.15(ey i)-3.089 H .489(nput is).15 F 1.454 +(compared to that e)174 659.4 R 1.454(xpression using the POSIX re)-.15 +F 1.454(gular e)-.15 F 1.454(xpressions routines re)-.15 F(g-)-.15 E .29 +(comp\(\), re)174 671.4 R .291(gerr\(\), and re)-.15 F(ge)-.15 E -.15 +(xe)-.15 G 2.791(c\(\). Refer).15 F .291 +(to the documentation for those routines for)2.791 F .356 +(more information about the re)174 683.4 R .356(gular e)-.15 F .355 +(xpression matching.)-.15 F .355(No re)5.355 F .355(writing of the k) +-.25 F -.15(ey)-.1 G .074(is done if the)174 695.4 R F02.574 E F1 +.074(\215ag is used.)2.574 F -.4(Wi)5.074 G .074(thout it, the k).4 F +.375 -.15(ey i)-.1 H 2.575(sd).15 G .075(iscarded or if)-2.575 F F0 +2.575 E F1 .075(if used, it is)2.575 F .905 +(substituted by the substring matches, delimited by)174 707.4 R F0($|) +3.405 E F1 .905(or the string speci\214ed with)3.405 F(the the)174 719.4 +Q F02.5 E F1 2.5(\215ag. The)2.5 F(\215ags a)2.5 E -.25(va)-.2 G +(ilable for the map are).25 E 0 Cg EP +%%Page: 83 79 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-83)195.86 E/F1 10/Times-Roman@0 SF 9.17(-n not)214 96 R 10.84 +(-f case)214 108 R(sensiti)2.5 E -.15(ve)-.25 G 9.17(-b basic)214 120 R +(re)2.5 E(gular e)-.15 E(xpressions \(def)-.15 E(ault is e)-.1 E +(xtended\))-.15 E 10.28(-s substring)214 132 R(match)2.5 E 9.17(-d set) +214 144 R(the delimiter used for -s)2.5 E 9.73(-a append)214 156 R +(string to k)2.5 E -.15(ey)-.1 G 6.39(-m match)214 168 R(only)2.5 E 2.5 +(,d)-.65 G 2.5(on)-2.5 G(ot replace/discard v)-2.5 E(alue)-.25 E 6.95 +(-D perform)214 180 R(no lookup in deferred deli)2.5 E -.15(ve)-.25 G +(ry mode.).15 E(The)174 196.2 Q F02.55 E F1 .051(\215ag can inclu\ +de an optional parameter which can be used to select the sub-)2.55 F +(strings in the result of the lookup.)174 208.2 Q -.15(Fo)5 G 2.5(re).15 +G(xample,)-2.65 E(-s1,3,4)214 224.4 Q .697(Notes: to match a)174 240.6 R +F0($)3.197 E F1 .697(in a string, \\$$ must be used.)3.197 F .697 +(If the pattern contains spaces,)5.697 F(the)174 252.6 Q 4.424(ym)-.15 G +1.924(ust be replaced with the blank substitution character)-4.424 F +4.424(,u)-.4 G 1.925(nless it is space)-4.424 F(itself.)174 264.6 Q +35.62(program The)102 280.8 R(ar)2.545 E .045(guments on the)-.18 F F0 +(K)2.545 E F1 .045(line are the pathname to a program and an)2.545 F +2.544(yi)-.15 G .044(nitial param-)-2.544 F .175(eters to be passed.)174 +292.8 R .176(When the map is called, the k)5.175 F .476 -.15(ey i)-.1 H +2.676(sa).15 G .176(dded to the initial parame-)-2.676 F .112 +(ters and the program is in)174 304.8 R -.2(vo)-.4 G -.1(ke).2 G 2.612 +(da).1 G 2.612(st)-2.612 G .112(he def)-2.612 F .112 +(ault user/group id.)-.1 F .112(The \214rst line of stan-)5.112 F .508 +(dard output is returned as the v)174 316.8 R .508(alue of the lookup.) +-.25 F .508(This has man)5.508 F 3.008(yp)-.15 G .508(otential secu-) +-3.008 F 1.278(rity problems, and has terrible performance; it should b\ +e used only when abso-)174 328.8 R(lutely necessary)174 340.8 Q(.)-.65 E +44.51(macro Set)102 357 R .32(or clear a macro v)2.82 F 2.82(alue. T) +-.25 F 2.82(os)-.8 G .32(et a macro, pass the v)-2.82 F .32 +(alue as the \214rst ar)-.25 F .32(gument in)-.18 F .939 +(the map lookup.)174 369 R 2.539 -.8(To c)5.939 H .939 +(lear a macro, do not pass an ar).8 F .938(gument in the map lookup.) +-.18 F(The map al)174 381 Q -.1(wa)-.1 G(ys returns the empty string.).1 +E(Example of typical usage include:)5 E(Kstorage macro)214 397.2 Q(...) +214 421.2 Q 2.5(#s)214 445.2 S(et macro ${MyMacro} to the ruleset match) +-2.5 E .19(R$+ $:)214 457.2 R($\(storage {MyMacro} $@ $1 $\) $1)2.5 E +2.5(#s)214 469.2 S(et macro ${MyMacro} to an empty string)-2.5 E .83 +(R$* $:)214 481.2 R($\(storage {MyMacro} $@ $\) $1)2.5 E 2.5(#c)214 +493.2 S(lear macro ${MyMacro})-2.5 E .19(R$\255 $:)214 505.2 R +($\(storage {MyMacro} $\) $1)2.5 E 51.17(arith Perform)102 525.6 R .493 +(simple arithmetic operations.)2.993 F .494(The operation is gi)5.493 F +-.15(ve)-.25 G 2.994(na).15 G 2.994(sk)-2.994 G -.15(ey)-3.094 G 2.994 +(,c)-.5 G .494(urrently +,)-2.994 F .245(-, *, /, %, |, & \(bitwise OR,\ + AND\), l \(for less than\), =, and r \(for random\) are sup-)174 537.6 +R 3.21(ported. The)174 549.6 R(tw)3.21 E 3.21(oo)-.1 G .71 +(perands are gi)-3.21 F -.15(ve)-.25 G 3.21(na).15 G 3.21(sa)-3.21 G +-.18(rg)-3.21 G 3.21(uments. The).18 F .71(lookup returns the result) +3.21 F 1.374(of the computation, i.e.,)174 561.6 R/F2 9/Times-Roman@0 SF +(TR)3.874 E(UE)-.36 E F1(or)3.874 E F2 -.666(FA)3.874 G(LSE).666 E F1 +1.374(for comparisons, inte)3.874 F 1.374(ger v)-.15 F 1.373 +(alues other)-.25 F(-)-.2 E 3.211(wise. The)174 573.6 R 3.212(ro)3.211 G +.712(perator returns a pseudo-random number whose v)-3.212 F .712 +(alue lies between)-.25 F .538(the \214rst and second operand \(which r\ +equires that the \214rst operand is smaller than)174 585.6 R 2.133 +(the second\).)174 597.6 R 2.133 +(All options which are possible for maps are ignored.)7.133 F 4.634(As) +7.134 G(imple)-4.634 E -.15(ex)174 609.6 S(ample is:).15 E(Kcomp arith) +214 625.8 Q(...)214 649.8 Q(Scheck_etrn)214 673.8 Q .83(R$* $:)214 685.8 +R($\(comp l $@ $&{load_a)2.5 E(vg} $@ 7 $\) $1)-.2 E(RF)214 697.8 Q +(ALSE$# error ...)-.74 E 0 Cg EP +%%Page: 84 80 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-84 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF(sock)102 +96 Q 44.05(et The)-.1 F(sock)3.232 E .732 +(et map uses a simple request/reply protocol o)-.1 F -.15(ve)-.15 G +3.231(rT).15 G .731(CP or UNIX domain)-3.231 F(sock)174 108 Q .753 +(ets to query an e)-.1 F .753(xternal serv)-.15 F(er)-.15 E 5.753(.B) +-.55 G .753(oth requests and replies are te)-5.753 F .753(xt based and) +-.15 F(encoded as netstrings, i.e., a string "hello there" becomes:)174 +120 Q(11:hello there,)214 136.2 Q +(Note: neither requests nor replies end with CRLF)174 152.4 Q(.)-.8 E +.301(The request consists of the database map name and the lookup k)174 +176.4 R .6 -.15(ey s)-.1 H .3(eparated by a).15 F(space character:)174 +188.4 Q( ' ' ).15 E(The serv)174 +244.8 Q(er responds with a status indicator and the result \(if an)-.15 +E(y\):)-.15 E( ' ' )214 273 Q .161(The status indicator\ + speci\214es the result of the lookup operation itself and is one of)174 +301.2 R(the follo)174 313.2 Q(wing upper case w)-.25 E(ords:)-.1 E 28.06 +(OK the)214 329.4 R -.1(ke)2.5 G 2.5(yw)-.05 G +(as found, result contains the look)-2.6 E(ed up v)-.1 E(alue)-.25 E(NO) +214 341.4 Q(TFOUNDthe k)-.4 E .3 -.15(ey w)-.1 H +(as not found, the result is empty).05 E 15.83(TEMP a)214 353.4 R +(temporary f)2.5 E(ailure occured)-.1 E -2.49(TIMEOUT a)214 365.4 R +(timeout occured on the serv)2.5 E(er side)-.15 E 15.27(PERM a)214 377.4 +R(permanent f)2.5 E(ailure occured)-.1 E .26 +(In case of errors \(status TEMP)174 405.6 R 2.76(,T)-1.11 G .26 +(IMEOUT or PERM\) the result \214eld may contain)-2.76 F .818(an e)174 +417.6 R .818(xplanatory message.)-.15 F(Ho)5.818 E(we)-.25 E -.15(ve) +-.25 G 1.618 -.4(r, t).15 H .818(he e).4 F .818 +(xplanatory message is not used an)-.15 F 3.319(yf)-.15 G(ur)-3.319 E(-) +-.2 E(ther by)174 429.6 Q/F2 10/Times-Italic@0 SF(sendmail)2.5 E F1(.)A +(Example replies:)174 453.6 Q(31:OK resolv)214 469.8 Q(ed.address@e)-.15 +E(xample.com,)-.15 E +(56:OK error:550 5.7.1 User does not accept mail from sender)214 502.2 Q +(,)-.4 E(in case of successful lookups, or:)174 530.4 Q(8:NO)214 546.6 Q +(TFOUND,)-.4 E(in case the k)174 574.8 Q .3 -.15(ey w)-.1 H +(as not found, or:).05 E(55:TEMP this te)214 591 Q(xt e)-.15 E +(xplains that we had a temporary f)-.15 E(ailure,)-.1 E +(in case of a temporary map lookup f)174 619.2 Q(ailure.)-.1 E 1.187 +(The sock)174 643.2 R 1.186(et map uses the same syntax as milters \(se\ +e Section "X \212 Mail Filter)-.1 F +(\(Milter\) De\214nitions"\) to specify the remote endpoint, e.g.,)174 +655.2 Q(Ksock)214 671.4 Q(et mySock)-.1 E(etMap inet:12345@127.0.0.1)-.1 +E .492(If multiple sock)174 699.6 R .492 +(et maps de\214ne the same remote endpoint, the)-.1 F 2.993(yw)-.15 G +.493(ill share a single)-2.993 F(connection to this endpoint.)174 711.6 +Q 0 Cg EP +%%Page: 85 81 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-85)195.86 E/F1 10/Times-Roman@0 SF .488 +(Most of these accept as ar)127 96 R .488 +(guments the same optional \215ags and a \214lename \(or a mapname for) +-.18 F .31(NIS; the \214lename is the root of the database path, so tha\ +t \231.db\232 or some other e)102 108 R .31(xtension appropriate)-.15 F +(for the database type will be added to get the actual database name\).) +102 120 Q(Kno)5 E(wn \215ags are:)-.25 E 58.86(\255o Indicates)102 136.2 +R 1.147(that this map is optional \212 that is, if it cannot be opened,\ + no error is)3.648 F(produced, and)174 148.2 Q/F2 10/Times-Italic@0 SF +(sendmail)2.5 E F1(will beha)2.5 E .3 -.15(ve a)-.2 H 2.5(si).15 G 2.5 +(ft)-2.5 G(he map e)-2.5 E(xisted b)-.15 E(ut w)-.2 E(as empty)-.1 E(.) +-.65 E(\255N, \255O)102 164.4 Q .696(If neither)41.28 F F03.197 E +F1(or)3.197 E F03.197 E F1 .697(are speci\214ed,)3.197 F F2 +(sendmail)3.197 E F1 .697(uses an adapti)3.197 F .997 -.15(ve a)-.25 H +.697(lgorithm to decide).15 F .108 +(whether or not to look for null bytes on the end of k)174 176.4 R -.15 +(ey)-.1 G 2.608(s. It).15 F .107(starts by trying both; if)2.608 F .819 +(it \214nds an)174 188.4 R 3.319(yk)-.15 G 1.119 -.15(ey w)-3.419 H .819 +(ith a null byte it ne).15 F -.15(ve)-.25 G 3.319(rt).15 G .82(ries ag) +-3.319 F .82(ain without a null byte and vice)-.05 F -.15(ve)174 200.4 S +2.828(rsa. If).15 F F02.828 E F1 .328(is speci\214ed it ne)2.828 F +-.15(ve)-.25 G 2.828(rt).15 G .328(ries without a null byte and if) +-2.828 F F02.827 E F1 .327(is speci\214ed it)2.827 F(ne)174 212.4 +Q -.15(ve)-.25 G 2.886(rt).15 G .386(ries with a null byte.)-2.886 F +.386(Setting one of these can speed matches b)5.386 F .386(ut are ne)-.2 +F -.15(ve)-.25 G(r).15 E(necessary)174 224.4 Q 5.546(.I)-.65 G 3.046(fb) +-5.546 G(oth)-3.046 E F03.046 E F1(and)3.046 E F03.046 E F1 +.545(are speci\214ed,)3.045 F F2(sendmail)3.045 E F1 .545(will ne)3.045 +F -.15(ve)-.25 G 3.045(rt).15 G .545(ry an)-3.045 F 3.045(ym)-.15 G +(atches)-3.045 E(at all \212 that is, e)174 236.4 Q -.15(ve)-.25 G +(rything will appear to f).15 E(ail.)-.1 E102 252.6 Q F2(x)A F1 +1.356(Append the string)57.48 F F2(x)3.856 E F1 1.357 +(on successful matches.)3.856 F -.15(Fo)6.357 G 3.857(re).15 G 1.357 +(xample, the def)-4.007 F(ault)-.1 E F2(host)3.857 E F1(map)3.857 E +(appends a dot on successful matches.)174 264.6 Q102 280.8 Q F2(x) +A F1 .021(Append the string)55.81 F F2(x)2.521 E F1 .021(on temporary f) +2.521 F 2.521(ailures. F)-.1 F .021(or e)-.15 F(xample,)-.15 E F2(x) +2.521 E F1 -.1(wo)2.521 G .02(uld be appended if a).1 F .72 +(DNS lookup returned \231serv)174 292.8 R .72(er f)-.15 F .72 +(ailed\232 or an NIS lookup could not locate a serv)-.1 F(er)-.15 E(.) +-.55 E(See also the)174 304.8 Q F02.5 E F1(\215ag.)2.5 E 60.53 +(\255f Do)102 321 R(not fold upper to lo)2.5 E +(wer case before looking up the k)-.25 E -.15(ey)-.1 G(.)-.5 E 56.08 +(\255m Match)102 337.2 R .4(only \(without replacing the v)2.9 F 2.899 +(alue\). If)-.25 F .399(you only care about the e)2.899 F .399 +(xistence of)-.15 F 7.306(ak)174 349.2 S 5.107 -.15(ey a)-7.406 H 4.807 +(nd not the v).15 F 4.807 +(alue \(as you might when searching the NIS map)-.25 F 1.947 +(\231hosts.byname\232 for e)174 361.2 R 1.947(xample\), this \215ag pre) +-.15 F -.15(ve)-.25 G 1.947(nts the map from substituting the).15 F -.25 +(va)174 373.2 S 2.849(lue. Ho).25 F(we)-.25 E -.15(ve)-.25 G 1.149 -.4 +(r, T).15 H .349(he \255a ar).4 F .349 +(gument is still appended on a match, and the def)-.18 F .35(ault is)-.1 +F(still tak)174 385.2 Q(en if the match f)-.1 E(ails.)-.1 E102 +401.4 Q F2 -.1(ke)C(ycol)-.2 E F1 .52(The k)36.22 F .82 -.15(ey c)-.1 H +.519(olumn name \(for NIS+\) or number \(for te).15 F .519 +(xt lookups\).)-.15 F -.15(Fo)5.519 G 3.019(rL).15 G -.4(DA)-3.019 G +3.019(Pm).4 G(aps)-3.019 E .972(this is an LD)174 413.4 R .973(AP \214l\ +ter string in which %s is replaced with the literal contents of)-.4 F +.249(the lookup k)174 425.4 R .549 -.15(ey a)-.1 H .249 +(nd %0 is replaced with the LD).15 F .248 +(AP escaped contents of the lookup)-.4 F -.1(ke)174 437.4 S 4.176(ya) +-.05 G 1.676(ccording to RFC 2254.)-4.176 F 1.676(If the \215ag)6.676 F +F04.176 E F1 1.676(is used, then %1 through %9 are)4.176 F .887 +(replaced with the LD)174 449.4 R .887(AP escaped contents of the ar)-.4 +F .886(guments speci\214ed in the map)-.18 F(lookup.)174 461.4 Q +102 477.6 Q F2(valcol)A F1 1.928(The v)36.92 F 1.928 +(alue column name \(for NIS+\) or number \(for te)-.25 F 1.929 +(xt lookups\).)-.15 F -.15(Fo)6.929 G 4.429(rL).15 G -.4(DA)-4.429 G(P) +.4 E .467(maps this is the name of one or more attrib)174 489.6 R .467 +(utes to be returned; multiple attrib)-.2 F(utes)-.2 E 1.216 +(can be separated by commas.)174 501.6 R 1.216 +(If not speci\214ed, all attrib)6.216 F 1.216(utes found in the match) +-.2 F 1.328(will be returned.)174 513.6 R 1.328(The attrib)6.328 F 1.328 +(utes listed can also include a type and one or more)-.2 F +(objectClass v)174 525.6 Q(alues for matching as described in the LD) +-.25 E(AP section.)-.4 E102 541.8 Q F2(delim)A F1 .218 +(The column delimiter \(for te)39.7 F .218(xt lookups\).)-.15 F .219 +(It can be a single character or one of the)5.219 F 1.826 +(special strings \231)174 553.8 R 1.826(\\n\232 or \231)1.666 F 1.826 +(\\t\232 to indicate ne)1.666 F 1.825(wline or tab respecti)-.25 F -.15 +(ve)-.25 G(ly).15 E 6.825(.I)-.65 G 4.325(fo)-6.825 G(mitted)-4.325 E +(entirely)174 565.8 Q 3.566(,t)-.65 G 1.066(he column separator is an) +-3.566 F 3.567(ys)-.15 G 1.067(equence of white space.)-3.567 F -.15(Fo) +6.067 G 3.567(rL).15 G -.4(DA)-3.567 G 3.567(Pm).4 G(aps)-3.567 E 2.062 +(this is the separator character to combine multiple v)174 577.8 R 2.061 +(alues into a single return)-.25 F 3.71(string. If)174 589.8 R 1.21 +(not set, the LD)3.71 F 1.211 +(AP lookup will only return the \214rst match found.)-.4 F -.15(Fo)6.211 +G(r).15 E .101(DNS maps this is the separator character at which the re\ +sult of a query is cut of)174 601.8 R 2.6(fi)-.25 G(f)-2.6 E +(is too long.)174 613.8 Q 61.08(\255t Normally)102 630 R 2.726(,w)-.65 G +.226(hen a map attempts to do a lookup and the serv)-2.726 F .227(er f) +-.15 F .227(ails \(e.g.,)-.1 F F2(sendmail)2.727 E F1(couldn')174 642 Q +2.776(tc)-.18 G .276(ontact an)-2.776 F 2.776(yn)-.15 G .276(ame serv) +-2.776 F .276(er; this is)-.15 F F2(not)2.776 E F1 .276 +(the same as an entry not being found)2.776 F .251(in the map\), the me\ +ssage being processed is queued for future processing.)174 654 R(The) +5.251 E F02.751 E F1 2.04(\215ag turns of)174 666 R 4.539(ft)-.25 +G 2.039(his beha)-4.539 F(vior)-.2 E 4.539(,l)-.4 G 2.039 +(etting the temporary f)-4.539 F 2.039(ailure \(serv)-.1 F 2.039(er do) +-.15 F 2.039(wn\) act as)-.25 F .675(though it were a permanent f)174 +678 R .675(ailure \(entry not found\).)-.1 F .676 +(It is particularly useful for)5.676 F .772 +(DNS lookups, where someone else')174 690 R 3.272(sm)-.55 G .772 +(iscon\214gured name serv)-3.272 F .772(er can cause prob-)-.15 F 1.645 +(lems on your machine.)174 702 R(Ho)6.645 E(we)-.25 E -.15(ve)-.25 G +2.445 -.4(r, c).15 H 1.645(are must be tak).4 F 1.646 +(en to ensure that you don')-.1 F(t)-.18 E 2.205(bounce mail that w)174 +714 R 2.205(ould be resolv)-.1 F 2.205(ed correctly if you tried ag)-.15 +F 4.705(ain. A)-.05 F(common)4.705 E 0 Cg EP +%%Page: 86 82 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-86 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF(strate) +174 96 Q .279(gy is to forw)-.15 F .279(ard such mail to another)-.1 F +2.779(,p)-.4 G .279(ossibly better connected, mail serv)-2.779 F(er)-.15 +E(.)-.55 E 56.64(\255D Perform)102 112.2 R .833 +(no lookup in deferred deli)3.333 F -.15(ve)-.25 G .833(ry mode.).15 F +.833(This \215ag is set by def)5.833 F .832(ault for the)-.1 F/F2 10 +/Times-Italic@0 SF(host)174 124.2 Q F1(map.)2.5 E102 140.4 Q F2 +(spacesub)A F1 1.537(The character to use to replace space characters a\ +fter a successful map lookup)24.14 F(\(esp. useful for re)174 152.4 Q +(ge)-.15 E 2.5(xa)-.15 G(nd syslog maps\).)-2.5 E102 168.6 Q F2 +(spacesub)A F1 -.15(Fo)25.81 G 3.101(rt).15 G .601(he dequote map only) +-3.101 F 3.101(,t)-.65 G .601 +(he character to use to replace space characters after a)-3.101 F +(successful dequote.)174 180.6 Q 58.86(\255q Don')102 196.8 R 2.5(td) +-.18 G(equote the k)-2.5 E .3 -.15(ey b)-.1 H(efore lookup.).15 E +102 213 Q F2(le)A(vel)-.15 E F1 -.15(Fo)41.52 G 2.5(rt).15 G +(he syslog map only)-2.5 E 2.5(,i)-.65 G 2.5(ts)-2.5 G +(peci\214es the le)-2.5 E -.15(ve)-.25 G 2.5(lt).15 G 2.5(ou)-2.5 G +(se for the syslog call.)-2.5 E 56.64(\255A When)102 229.2 R(reb)3 E .5 +(uilding an alias \214le, the)-.2 F F03 E F1 .5 +(\215ag causes duplicate entries in the te)3 F .5(xt v)-.15 F(er)-.15 E +(-)-.2 E(sion to be mer)174 241.2 Q 2.5(ged. F)-.18 F(or e)-.15 E +(xample, tw)-.15 E 2.5(oe)-.1 G(ntries:)-2.5 E 27.49(list: user1,)214 +257.4 R(user2)2.5 E 27.49(list: user3)214 269.4 R -.1(wo)174 285.6 S +(uld be treated as though it were the single entry).1 E 27.49 +(list: user1,)214 301.8 R(user2, user3)2.5 E(in the presence of the)174 +318 Q F02.5 E F1(\215ag.)2.5 E(Some additional \215ags are a)127 +334.2 Q -.25(va)-.2 G(ilable for the host and dns maps:).25 E 58.86 +(\255d delay:)102 350.4 R(specify the resolv)2.5 E(er')-.15 E 2.5(sr) +-.55 G(etransmission time interv)-2.5 E(al \(in seconds\).)-.25 E 60.53 +(\255r retry:)102 366.6 R +(specify the number of times to retransmit a resolv)2.5 E(er query)-.15 +E(.)-.65 E(The dns map has another \215ag:)127 382.8 Q 57.19 +(\255B basedomain:)102 399 R(specify a domain that is al)2.5 E -.1(wa) +-.1 G(ys appended to queries.).1 E(The follo)127 415.2 Q +(wing additional \215ags are present in the ldap map only:)-.25 E 57.19 +(\255R Do)102 431.4 R .025(not auto chase referrals.)2.525 F .025 +(sendmail must be compiled with)5.025 F F0(\255DLD)2.525 E(AP_REFER-) +-.35 E(RALS)174 443.4 Q F1(to use this \215ag.)2.5 E 58.86(\255n Retrie) +102 459.6 R .3 -.15(ve a)-.25 H(ttrib).15 E(ute names only)-.2 E(.)-.65 +E102 475.8 Q F2(sep)A F1(Retrie)45.81 E .3 -.15(ve b)-.25 H +(oth attrib).15 E(utes name and v)-.2 E(alue\(s\), separated by)-.25 E +F2(sep)2.5 E F1(.)A102 492 Q F2(der)A(ef)-.37 E F1 +(Set the alias dereference option to one of ne)42.85 E -.15(ve)-.25 G .8 +-.4(r, a).15 H -.1(lwa).4 G(ys, search, or \214nd.).1 E102 508.2 Q +F2(scope)A F1(Set search scope to one of base, one \(one le)39.7 E -.15 +(ve)-.25 G(l\), or sub \(subtree\).).15 E102 524.4 Q F2(host)A F1 +(LD)44.69 E 2.095(AP serv)-.4 F 2.095(er hostname.)-.15 F 2.095(Some LD) +7.095 F 2.095(AP libraries allo)-.4 F 4.595(wy)-.25 G 2.095 +(ou to specify multiple,)-4.595 F .467 +(space-separated hosts for redundanc)174 536.4 R 4.267 -.65(y. I)-.15 H +2.967(na).65 G .466(ddition, each of the hosts listed can be)-2.967 F +(follo)174 548.4 Q(wed by a colon and a port number to o)-.25 E -.15(ve) +-.15 G(rride the def).15 E(ault LD)-.1 E(AP port.)-.4 E102 564.6 Q +F2(port)A F1(LD)44.69 E(AP service port.)-.4 E102 580.8 Q F2(LD) +2.5 E(APURI)-.35 E F1 1.102(Use the speci\214ed LD)15.33 F 1.103 +(AP URI instead of specifying the hostname and port sepa-)-.4 F +(rately with the the)174 592.8 Q F02.5 E F1(and)2.5 E F02.5 +E F1(options sho)2.5 E(wn abo)-.25 E -.15(ve)-.15 G 5(.F).15 G(or e) +-5.15 E(xample,)-.15 E(-h serv)214 609 Q(er)-.15 E(.e)-.55 E +(xample.com -p 389 -b dc=e)-.15 E(xample,dc=com)-.15 E(is equi)174 625.2 +Q -.25(va)-.25 G(lent to).25 E(-H ldap://serv)214 641.4 Q(er)-.15 E(.e) +-.55 E(xample.com:389 -b dc=e)-.15 E(xample,dc=com)-.15 E .757 +(If the LD)174 657.6 R .757(AP library supports it, the LD)-.4 F .757 +(AP URI format ho)-.4 F(we)-.25 E -.15(ve)-.25 G 3.257(rc).15 G .757 +(an also request)-3.257 F(LD)174 669.6 Q(AP o)-.4 E -.15(ve)-.15 G 2.5 +(rS).15 G(SL by using)-2.5 E F0(ldaps://)2.5 E F1(instead of)2.5 E F0 +(ldap://)2.5 E F1 5(.F)C(or e)-5.15 E(xample:)-.15 E 2.5(OL)214 685.8 S +-.4(DA)-2.5 G(PDef).4 E(aultSpec=-H ldaps://ldap.e)-.1 E +(xample.com -b dc=e)-.15 E(xample,dc=com)-.15 E(Similarly)174 702 Q 3.22 +(,i)-.65 G 3.22(ft)-3.22 G .72(he LD)-3.22 F .721 +(AP library supports it, It can also be used to specify a UNIX)-.4 F +(domain sock)174 714 Q(et using)-.1 E F0(ldapi://)2.5 E F1(:)A 0 Cg EP +%%Page: 87 83 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-87)195.86 E/F1 10/Times-Roman@0 SF 2.5(OL)214 96 S -.4(DA)-2.5 G +(PDef).4 E(aultSpec=-H ldapi://sock)-.1 E(et\214le -b dc=e)-.1 E +(xample,dc=com)-.15 E102 116.4 Q/F2 10/Times-Italic@0 SF(base)A F1 +(LD)43.03 E(AP search base.)-.4 E102 132.6 Q F2(timelimit)A F1 +-.35(Ti)28.02 G(me limit for LD).35 E(AP queries.)-.4 E102 148.8 Q +F2(sizelimit)A F1(Size \(number of matches\) limit for LD)26.91 E +(AP or DNS queries.)-.4 E102 165 Q F2(distinguished_name)A F1 +(The distinguished name to use to login to the LD)174 177 Q(AP serv)-.4 +E(er)-.15 E(.)-.55 E102 193.2 Q F2(method)A F1 5.988 +(The method to authenticate to the LD)28.03 F 5.987(AP serv)-.4 F(er) +-.15 E 10.987(.S)-.55 G 5.987(hould be one of)-10.987 F F0(LD)174 205.2 +Q(AP_A)-.35 E(UTH_NONE)-.5 E F1(,)A F0(LD)2.5 E(AP_A)-.35 E(UTH_SIMPLE) +-.5 E F1 2.5(,o)C(r)-2.5 E F0(LD)2.5 E(AP_A)-.35 E(UTH_KRBV4)-.5 E F1(.) +A102 221.4 Q F2(passwor)A(d\214le)-.37 E F1 .342 +(The \214le containing the secret k)10.61 F .642 -.15(ey f)-.1 H .342 +(or the).15 F F0(LD)2.843 E(AP_A)-.35 E(UTH_SIMPLE)-.5 E F1 +(authentication)2.843 E(method or the name of the K)174 233.4 Q +(erberos tick)-.25 E(et \214le for)-.1 E F0(LD)2.5 E(AP_A)-.35 E +(UTH_KRBV4)-.5 E F1(.)A 58.86(\2551 F)102 249.6 R .458(orce LD)-.15 F +.458(AP searches to only succeed if a single match is found.)-.4 F .457 +(If multiple v)5.458 F(al-)-.25 E +(ues are found, the search is treated as if no match w)174 261.6 Q +(as found.)-.1 E102 277.8 Q F2(ver)A(sion)-.1 E F1 1.479 +(Set the LD)29.8 F 1.479(AP API/protocol v)-.4 F 1.479(ersion to use.) +-.15 F 1.479(The def)6.479 F 1.479(ault depends on the LD)-.1 F(AP)-.4 E +1.37(client libraries in use.)174 289.8 R -.15(Fo)6.37 G 3.87(re).15 G +(xample,)-4.02 E F0 1.37(\255w 3)3.87 F F1 1.37(will cause)3.87 F F2 +(sendmail)3.87 E F1 1.37(to use LD)3.87 F(APv3)-.4 E +(when communicating with the LD)174 301.8 Q(AP serv)-.4 E(er)-.15 E(.) +-.55 E 56.64(\255K T)102 318 R .587(reat the LD)-.35 F .587(AP search k) +-.4 F .888 -.15(ey a)-.1 H 3.088(sm).15 G(ulti-ar)-3.088 E .588 +(gument and replace %1 through %9 in the)-.18 F -.1(ke)174 330 S 2.504 +(yw)-.05 G .003(ith the LD)-2.504 F .003 +(AP escaped contents of the lookup ar)-.4 F .003 +(guments speci\214ed in the map)-.18 F(lookup.)174 342 Q(The)127 358.2 Q +F2(dbm)2.989 E F1 .489 +(map appends the strings \231.pag\232 and \231.dir\232 to the gi)2.989 F +-.15(ve)-.25 G 2.99<6e8c>.15 G .49(lename; the)-2.99 F F2(hash)2.99 E F1 +(and)2.99 E F2(btr)2.99 E(ee)-.37 E F1(maps append \231.db\232.)102 +370.2 Q -.15(Fo)5 G 2.5(re).15 G(xample, the map speci\214cation)-2.65 E +-.15(Ku)142 386.4 S(ucp dbm \255o \255N /etc/mail/uucpmap).15 E .21(spe\ +ci\214es an optional map named \231uucp\232 of class \231dbm\232; it al) +102 402.6 R -.1(wa)-.1 G .21(ys has null bytes at the end of e).1 F -.15 +(ve)-.25 G(ry).15 E +(string, and the data is located in /etc/mail/uucpmap.{dir)102 414.6 Q +(,pag}.)-.4 E 1.094(The program)127 430.8 R F2(mak)3.594 E(emap)-.1 E F1 +1.094(\(8\) can be used to b)B 1.094(uild an)-.2 F 3.594(yo)-.15 G 3.594 +(ft)-3.594 G 1.095(he three database-oriented maps.)-3.594 F(It)6.095 E +(tak)102 442.8 Q(es the follo)-.1 E(wing \215ags:)-.25 E 60.53(\255f Do) +102 459 R(not fold upper to lo)2.5 E(wer case in the map.)-.25 E 56.64 +(\255N Include)102 475.2 R(null bytes in k)2.5 E -.15(ey)-.1 G(s.).15 E +58.86(\255o Append)102 491.4 R(to an e)2.5 E(xisting \(old\) \214le.) +-.15 E 60.53(\255r Allo)102 507.6 R 3.669(wr)-.25 G 1.169 +(eplacement of e)-3.669 F 1.168(xisting k)-.15 F -.15(ey)-.1 G 1.168 +(s; normally).15 F 3.668(,r)-.65 G 1.168(e-inserting an e)-3.668 F 1.168 +(xisting k)-.15 F 1.468 -.15(ey i)-.1 H 3.668(sa).15 G(n)-3.668 E(error) +174 519.6 Q(.)-.55 E 58.86(\255v Print)102 535.8 R(what is happening.) +2.5 E(The)102 552 Q F2(sendmail)3.605 E F1 1.105(daemon does not ha) +3.605 F 1.405 -.15(ve t)-.2 H 3.605(ob).15 G 3.605(er)-3.605 G 1.106 +(estarted to read the ne)-3.605 F 3.606(wm)-.25 G 1.106 +(aps as long as you change)-3.606 F +(them in place; \214le locking is used so that the maps w)102 564 Q(on') +-.1 E 2.5(tb)-.18 G 2.5(er)-2.5 G(ead while the)-2.5 E 2.5(ya)-.15 G +(re being updated.)-2.5 E(Ne)127 580.2 Q 2.5(wc)-.25 G +(lasses can be added in the routine)-2.5 E F0(setupmaps)2.5 E F1 +(in \214le)2.5 E F0(conf)2.5 E(.c)-.15 E F1(.)A F0 2.5(5.10. Q)87 604.2 +R 2.5<8a51>2.5 G(ueue Gr)-2.5 E(oup Declaration)-.18 E F1 .71 +(In addition to the option)127 620.4 R F2(QueueDir)3.21 E(ectory)-.37 E +(,)-.55 E F1 .71(queue groups can be declared that de\214ne a \(group) +3.21 F(of\) queue directories under a common name.)102 632.4 Q +(The syntax is as follo)5 E(ws:)-.25 E F0(Q)142 648.6 Q F2(name)A F1({,) +2.5 E F2(\214eld)2.5 E F1(=)A F2(value)A F1(}+)1.666 E(where)102 664.8 Q +F2(name)3.275 E F1 .775(is the symbolic name of the queue group under w\ +hich it can be referenced in v)3.275 F(arious)-.25 E .218 +(places and the \231\214eld=v)102 676.8 R .218 +(alue\232 pairs de\214ne attrib)-.25 F .217(utes of the queue group.)-.2 +F .217(The name must only consist)5.217 F(of alphanumeric characters.) +102 688.8 Q(Fields are:)5 E 47.83(Flags Flags)102 705 R +(for this queue group.)2.5 E 0 Cg EP +%%Page: 88 84 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-88 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 50.62 +(Nice The)102 96 R .901(nice\(2\) increment for the queue group.)3.401 F +.902(This v)5.902 F .902(alue must be greater or equal)-.25 F(zero.)174 +108 Q(Interv)102 124.2 Q 38.65(al The)-.25 F(time between tw)2.5 E 2.5 +(oq)-.1 G(ueue runs.)-2.5 E -.15(Pa)102 140.4 S 51.87(th The).15 F +(queue directory of the group \(required\).)2.5 E 36.17(Runners The)102 +156.6 R .074(number of parallel runners processing the queue.)2.574 F +.073(Note that)5.074 F F0(F=f)2.573 E F1 .073(must be set if)2.573 F +(this v)174 168.6 Q(alue is greater than one.)-.25 E 51.72(Jobs The)102 +184.8 R(maximum number of jobs \(messages deli)2.5 E -.15(ve)-.25 G +(red\) per queue run.).15 E 30.62(recipients The)102 201 R .382 +(maximum number of recipients per en)2.881 F -.15(ve)-.4 G 2.882 +(lope. En).15 F -.15(ve)-.4 G .382(lopes with more than this).15 F .109 +(number of recipients will be split into multiple en)174 213 R -.15(ve) +-.4 G .109(lopes in the same queue direc-).15 F(tory)174 225 Q 5(.T)-.65 +G(he def)-5 E(ault v)-.1 E(alue 0 means no limit.)-.25 E +(Only the \214rst character of the \214eld name is check)102 241.2 Q +(ed.)-.1 E .075(By def)127 257.4 R .075(ault, a queue group named)-.1 F +/F2 10/Times-Italic@0 SF(mqueue)2.575 E F1 .075 +(is de\214ned that uses the v)2.575 F .076(alue of the)-.25 F F2 +(QueueDir)2.576 E(ectory)-.37 E F1 .269(option as path.)102 269.4 R .268 +(Notice: all paths that are used for queue groups must be subdirectorie\ +s of)5.268 F F2(QueueDi-)2.768 E -.37(re)102 281.4 S(ctory).37 E F1 +6.486(.S)C 1.486(ince the)-6.486 F 3.986(yc)-.15 G 1.487 +(an be symbolic links, this isn')-3.986 F 3.987(tar)-.18 G 1.487 +(eal restriction, If)-3.987 F F2(QueueDir)3.987 E(ectory)-.37 E F1 1.487 +(uses a)3.987 F .747(wildcard, then the directory one le)102 293.4 R +-.15(ve)-.25 G 3.247(lu).15 G 3.247(pi)-3.247 G 3.247(sc)-3.247 G .747 +(onsidered the `)-3.247 F(`base')-.74 E 3.246('d)-.74 G .746 +(irectory which all other queue)-3.246 F .085(directories must share.) +102 305.4 R .085(Please mak)5.085 F 2.585(es)-.1 G .086 +(ure that the queue directories do not o)-2.585 F -.15(ve)-.15 G .086 +(rlap, e.g., do not spec-).15 F(ify)102 317.4 Q 2.5(OQ)142 333.6 S +(ueueDirectory=/v)-2.5 E(ar/spool/mqueue/*)-.25 E(Qone, P=/v)142 345.6 Q +(ar/spool/mqueue/dir1)-.25 E(Qtw)142 357.6 Q(o, P=/v)-.1 E +(ar/spool/mqueue/dir2)-.25 E +(because this also includes \231dir1\232 and \231dir2\232 in the def)102 +373.8 Q(ault queue group.)-.1 E(Ho)5 E(we)-.25 E -.15(ve)-.25 G -.4(r,) +.15 G 2.5(OQ)142 390 S(ueueDirectory=/v)-2.5 E(ar/spool/mqueue/main*) +-.25 E(Qone, P=/v)142 402 Q(ar/spool/mqueue/dir)-.25 E(Qtw)142 414 Q +(o, P=/v)-.1 E(ar/spool/mqueue/other*)-.25 E(is a v)102 430.2 Q +(alid queue group speci\214cation.)-.25 E .236(Options listed in the `) +127 446.4 R(`Flags')-.74 E 2.736<278c>-.74 G .236 +(eld can be used to modify the beha)-2.736 F .236 +(vior of a queue group.)-.2 F(The)5.235 E -.74(``)102 458.4 S .55(f').74 +G 2.604<278d>-1.29 G .105 +(ag must be set if multiple queue runners are supposed to w)-2.604 F +.105(ork on the entries in a queue group.)-.1 F(Otherwise)102 470.4 Q F2 +(sendmail)2.5 E F1(will w)2.5 E +(ork on the entries strictly sequentially)-.1 E(.)-.65 E .512(The `)127 +486.6 R(`Interv)-.74 E(al')-.25 E 3.012<278c>-.74 G .512 +(eld sets the time between queue runs.)-3.012 F .511 +(If no queue group speci\214c interv)5.511 F .511(al is)-.25 F +(set, then the parameter of the)102 498.6 Q F0(-q)2.5 E F1 +(option from the command line is used.)2.5 E 7.656 -.8(To c)127 514.8 T +6.056(ontrol the o).8 F -.15(ve)-.15 G 6.056 +(rall number of concurrently acti).15 F 6.357 -.15(ve q)-.25 H 6.057 +(ueue runners the option).15 F F0(MaxQueueChildr)102 526.8 Q(en)-.18 E +F1 .056(can be set.)2.556 F .055 +(This limits the number of processes used for running the queues to) +5.056 F F0(MaxQueueChildr)102 538.8 Q(en)-.18 E F1 3.629(,t)C 1.129 +(hough at an)-3.629 F 3.629(yo)-.15 G 1.129(ne time fe)-3.629 F 1.129 +(wer processes may be acti)-.25 F 1.43 -.15(ve a)-.25 H 3.63(sar).15 G +1.13(esult of queue)-3.63 F +(options, completed queue runs, system load, etc.)102 550.8 Q .602 +(The maximum number of queue runners for an indi)127 567 R .602 +(vidual queue group can be controlled via)-.25 F(the)102 579 Q F0 +(Runners)2.584 E F1 2.584(option. If)2.584 F .084(set to 0, entries in \ +the queue will not be processed, which is useful to `)2.584 F(`quar)-.74 +E(-)-.2 E(antine')102 591 Q 4.516('q)-.74 G 2.016(ueue \214les.)-4.516 F +2.016 +(The number of runners per queue group may also be set with the option) +7.016 F F0(MaxRunnersP)102 603 Q(erQueue)-.2 E F1 3.208(,w)C .708 +(hich applies to queue groups that ha)-3.208 F 1.009 -.15(ve n)-.2 H +3.209(oi).15 G(ndi)-3.209 E .709(vidual limit.)-.25 F .709(That is, the) +5.709 F(def)102 615 Q(ault v)-.1 E(alue for)-.25 E F0(Runners)2.5 E F1 +(is)2.5 E F0(MaxRunnersP)2.5 E(erQueue)-.2 E F1(if set, otherwise 1.)2.5 +E 1.087 +(The \214eld Jobs describes the maximum number of jobs \(messages deli) +127 631.2 R -.15(ve)-.25 G 1.087(red\) per queue run,).15 F +(which is the queue group speci\214c v)102 643.2 Q(alue of)-.25 E F0 +(MaxQueueRunSize)2.5 E F1(.)A .175(Notice: queue groups should be decla\ +red after all queue related options ha)127 659.4 R .475 -.15(ve b)-.2 H +.175(een set because).15 F .315(queue groups tak)102 671.4 R 2.814(et) +-.1 G .314(heir def)-2.814 F .314(aults from those options.)-.1 F .314 +(If an option is set after a queue group declara-)5.314 F .187 +(tion, the v)102 683.4 R .187 +(alues of options in the queue group are set to the def)-.25 F .187 +(aults of)-.1 F F2(sendmail)2.688 E F1 .188(unless e)2.688 F .188 +(xplicitly set)-.15 F(in the declaration.)102 695.4 Q 1.973(Each en)127 +711.6 R -.15(ve)-.4 G 1.972(lope is assigned to a queue group based on \ +the algorithm described in section).15 F -.74(``)102 723.6 S +(Queue Groups and Queue Directories').74 E('.)-.74 E 0 Cg EP +%%Page: 89 85 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-89)195.86 E 2.5(5.11. X)87 96 R 2.5<8a4d>2.5 G +(ail Filter \(Milter\) De\214nitions)-2.5 E/F1 10/Times-Roman@0 SF(The) +127 112.2 Q/F2 10/Times-Italic@0 SF(sendmail)3.936 E F1 1.437 +(Mail Filter API \(Milter\) is designed to allo)3.937 F 3.937(wt)-.25 G +1.437(hird-party programs access to)-3.937 F .178(mail messages as the) +102 124.2 R 2.678(ya)-.15 G .177 +(re being processed in order to \214lter meta-information and content.) +-2.678 F(The)5.177 E 2.677(ya)-.15 G(re)-2.677 E +(declared in the con\214guration \214le as:)102 136.2 Q F0(X)142 152.4 Q +F2(name)A F1({,)2.5 E F2(\214eld)2.5 E F1(=)A F2(value)A F1(}*)1.666 E +(where)102 168.6 Q F2(name)4.688 E F1 2.188(is the name of the \214lter\ + \(used internally only\) and the \231\214eld=name\232 pairs de\214ne) +4.688 F(attrib)102 180.6 Q .492(utes of the \214lter)-.2 F 5.492(.A)-.55 +G .491(lso see the documentation for the)-5.492 F F0(InputMailFilters) +2.991 E F1 .491(option for more infor)2.991 F(-)-.2 E(mation.)102 192.6 +Q(Fields are:)127 208.8 Q(Sock)142 225 Q 42.38(et The)-.1 F(sock)2.5 E +(et speci\214cation)-.1 E 47.83(Flags Special)142 237 R +(\215ags for this \214lter)2.5 E -.35(Ti)142 249 S 32.07(meouts T).35 F +(imeouts for this \214lter)-.35 E +(Only the \214rst character of the \214eld name is check)102 265.2 Q +(ed \(it')-.1 E 2.5(sc)-.55 G(ase-sensiti)-2.5 E -.15(ve)-.25 G(\).).15 +E(The sock)127 281.4 Q(et speci\214cation is one of the follo)-.1 E +(wing forms:)-.25 E F0(S=inet:)142 297.6 Q F2(port)2.5 E F0(@)2.5 E F2 +(host)2.5 E F0(S=inet6:)142 318 Q F2(port)2.5 E F0(@)2.5 E F2(host)2.5 E +F0(S=local:)142 338.4 Q F2(path)2.5 E F1 1.791(The \214rst tw)102 354.6 +R 4.291(od)-.1 G 1.791(escribe an IPv4 or IPv6 sock)-4.291 F 1.791 +(et listening on a certain)-.1 F F2(port)4.291 E F1 1.791(at a gi)4.291 +F -.15(ve)-.25 G(n).15 E F2(host)4.291 E F1 1.792(or IP)4.291 F 2.5 +(address. The)102 366.6 R(\214nal form describes a named sock)2.5 E +(et on the \214lesystem at the gi)-.1 E -.15(ve)-.25 G(n).15 E F2(path) +2.5 E F1(.)A(The follo)127 382.8 Q +(wing \215ags may be set in the \214lter description.)-.25 E 13.33(RR) +102 399 S(eject connection if \214lter una)-13.33 E -.25(va)-.2 G +(ilable.).25 E 13.89(TT)102 415.2 S(emporary f)-14.59 E +(ail connection if \214lter una)-.1 E -.25(va)-.2 G(ilable.).25 E .655 +(If neither F=R nor F=T is speci\214ed, the message is passed through) +127 431.4 R F2(sendmail)3.155 E F1 .655(in case of \214lter)3.155 F +(errors as if the f)102 443.4 Q(ailing \214lters were not present.)-.1 E +(The timeouts can be set using the four \214elds inside of the)127 459.6 +Q F0(T=)2.5 E F1(equate:)2.5 E 13.33(CT)102 475.8 S +(imeout for connecting to a \214lter)-13.68 E 5(.I)-.55 G 2.5(fs)-5 G +(et to 0, the system')-2.5 E(s)-.55 E F2(connect\(\))2.5 E F1 +(timeout will be used.)2.5 E 14.44(ST)102 492 S +(imeout for sending information from the MT)-14.79 E 2.5(At)-.93 G 2.5 +(oa\214)-2.5 G(lter)-2.5 E(.)-.55 E 13.33(RT)102 508.2 S +(imeout for reading reply from the \214lter)-13.68 E(.)-.55 E 13.89(EO) +102 524.4 S -.15(ve)-13.89 G 1.186 +(rall timeout between sending end-of-message to \214lter and w).15 F +1.186(aiting for the \214nal ackno)-.1 F(wl-)-.25 E(edgment.)122 536.4 Q +1.403(Note the separator between each timeout \214eld is a)127 552.6 R +F0(';')3.902 E F1 6.402(.T)C 1.402(he def)-6.402 F 1.402(ault v)-.1 F +1.402(alues \(if not set\) are:)-.25 F F0(T=C:5m;S:10s;R:10s;E:5m)102 +564.6 Q F1(where)2.5 E F0(s)2.5 E F1(is seconds and)2.5 E F0(m)2.5 E F1 +(is minutes.)2.5 E(Examples:)127 580.8 Q(X\214lter1, S=local:/v)142 597 +Q(ar/run/f1.sock, F=R)-.25 E(X\214lter2, S=inet6:999@localhost, F=T)142 +609 Q 2.5(,T)-.74 G(=S:1s;R:1s;E:5m)-2.5 E +(X\214lter3, S=inet:3333@localhost, T=C:2m)142 621 Q F0 2.5(5.12. The)87 +649.2 R(User Database)2.5 E F1 .478 +(The user database is deprecated in f)127 665.4 R -.2(avo)-.1 G 2.978 +(ro).2 G 2.978(f`)-2.978 G(`virtusertable')-3.718 E 2.979('a)-.74 G .479 +(nd `)-2.979 F(`genericstable')-.74 E 2.979('a)-.74 G 2.979(se)-2.979 G +(xplained)-3.129 E 1.03(in the \214le)102 677.4 R F0(cf/README)3.53 E F1 +6.03(.I)C 3.53(fy)-6.03 G 1.03(ou ha)-3.53 F 1.329 -.15(ve a ve)-.2 H +1.029(rsion of).15 F F2(sendmail)3.529 E F1 1.029 +(with the user database package com-)3.529 F(piled in, the handling of \ +sender and recipient addresses is modi\214ed.)102 689.4 Q +(The location of this database is controlled with the)127 705.6 Q F0 +(UserDatabaseSpec)2.5 E F1(option.)2.5 E 0 Cg EP +%%Page: 90 86 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-90 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E 2.5(5.12.1. Structur)102 96 R +2.5(eo)-.18 G 2.5(ft)-2.5 G(he user database)-2.5 E/F1 10/Times-Roman@0 +SF(The database is a sorted \(BT)142 112.2 Q(ree-based\) structure.)-.35 +E(User records are stored with the k)5 E -.15(ey)-.1 G(:).15 E/F2 10 +/Times-Italic@0 SF(user)157 128.4 Q(-name)-.2 E F0(:)A F2(\214eld-name)A +F1 .128(The sorted database format ensures that user records are cluste\ +red together)117 144.6 R 5.129(.M)-.55 G .129(eta-information is)-5.129 +F(al)117 156.6 Q -.1(wa)-.1 G(ys stored with a leading colon.).1 E +(Field names de\214ne both the syntax and semantics of the v)142 172.8 Q +2.5(alue. De\214ned)-.25 F(\214elds include:)2.5 E 33.39(maildrop The) +117 189 R(deli)4.873 E -.15(ve)-.25 G 2.373(ry address for this user).15 +F 7.373(.T)-.55 G 2.372(here may be multiple v)-7.373 F 2.372 +(alues of this)-.25 F 2.675(record. In)189 201 R(particular)2.675 E +2.675(,m)-.4 G .175(ailing lists will ha)-2.675 F .475 -.15(ve o)-.2 H +(ne).15 E F2(maildr)2.675 E(op)-.45 E F1 .175(record for each user)2.675 +F(on the list.)189 213 Q 30.06(mailname The)117 229.2 R 1.027 +(outgoing mailname for this user)3.527 F 6.026(.F)-.55 G 1.026 +(or each outgoing name, there should)-6.176 F .08(be an appropriate)189 +241.2 R F2(maildr)2.58 E(op)-.45 E F1 .08(record for that name to allo) +2.58 F 2.58(wr)-.25 G .08(eturn mail.)-2.58 F .08(See also)5.08 F F2 +(:default:mailname)189 253.2 Q F1(.)A 25.62(mailsender Changes)117 269.4 +R(an)3.448 E 3.448(ym)-.15 G .948(ail sent to this address to ha)-3.448 +F 1.247 -.15(ve t)-.2 H .947(he indicated en).15 F -.15(ve)-.4 G .947 +(lope sender).15 F(.)-.55 E .498(This is intended for mailing lists, an\ +d will normally be the name of an appro-)189 281.4 R .755 +(priate -request address.)189 293.4 R .755(It is v)5.755 F .755 +(ery similar to the o)-.15 F(wner)-.25 E(-)-.2 E F2(list)A F1 .754 +(syntax in the alias)3.254 F(\214le.)189 305.4 Q 33.95(fullname The)117 +321.6 R(full name of the user)2.5 E(.)-.55 E(of)117 337.8 Q 13.66 +(\214ce-address The)-.25 F(of)2.5 E(\214ce address for this user)-.25 E +(.)-.55 E(of)117 354 Q 19.21(\214ce-phone The)-.25 F(of)2.5 E +(\214ce phone number for this user)-.25 E(.)-.55 E(of)117 370.2 Q +(\214ce-f)-.25 E 30.98(ax The)-.1 F(of)2.5 E(\214ce F)-.25 E +(AX number for this user)-.74 E(.)-.55 E 13.96(home-address The)117 +386.4 R(home address for this user)2.5 E(.)-.55 E 19.51(home-phone The) +117 402.6 R(home phone number for this user)2.5 E(.)-.55 E(home-f)117 +418.8 Q 31.28(ax The)-.1 F(home F)2.5 E(AX number for this user)-.74 E +(.)-.55 E 41.73(project A)117 435 R .855 +(\(short\) description of the project this person is af)3.355 F .856 +(\214liated with.)-.25 F .856(In the Uni-)5.856 F -.15(ve)189 447 S +(rsity this is often just the name of their graduate advisor).15 E(.) +-.55 E 52.28(plan A)117 463.2 R +(pointer to a \214le from which plan information can be g)2.5 E +(athered.)-.05 E .925(As of this writing, only a fe)142 479.4 R 3.424 +(wo)-.25 G 3.424(ft)-3.424 G .924 +(hese \214elds are actually being used by)-3.424 F F2(sendmail)3.424 E +F1(:)A F2(mail-)3.424 E(dr)117 491.4 Q(op)-.45 E F1(and)2.5 E F2 +(mailname)2.5 E F1 5(.A)C F2(\214ng)-2.5 E(er)-.1 E F1 +(program that uses the other \214elds is planned.)2.5 E F0 2.5 +(5.12.2. User)102 515.4 R(database semantics)2.5 E F1 .995(When the re) +142 531.6 R .995(writing rules submit an address to the local mailer) +-.25 F 3.496(,t)-.4 G .996(he user name is passed)-3.496 F .781 +(through the alias \214le.)117 543.6 R .78(If no alias is found \(or if\ + the alias points back to the same address\), the)5.781 F 1.777 +(name \(with \231:maildrop\232 appended\) is then used as a k)117 555.6 +R 2.078 -.15(ey i)-.1 H 4.278(nt).15 G 1.778(he user database.)-4.278 F +1.778(If no match)6.778 F +(occurs \(or if the maildrop points at the same address\), forw)117 +567.6 Q(arding is tried.)-.1 E .551(If the \214rst tok)142 583.8 R .55(\ +en of the user name returned by ruleset 0 is an \231@\232 sign, the use\ +r database)-.1 F .625(lookup is skipped.)117 595.8 R .625 +(The intent is that the user database will act as a set of def)5.625 F +.626(aults for a cluster)-.1 F 1.533 +(\(in our case, the Computer Science Di)117 607.8 R 1.533 +(vision\); mail sent to a speci\214c machine should ignore)-.25 F +(these def)117 619.8 Q(aults.)-.1 E .351 +(When mail is sent, the name of the sending user is look)142 636 R .351 +(ed up in the database.)-.1 F .352(If that user)5.351 F .041 +(has a \231mailname\232 record, the v)117 648 R .041 +(alue of that record is used as their outgoing name.)-.25 F -.15(Fo)5.04 +G 2.54(re).15 G .04(xample, I)-2.69 F(might ha)117 660 Q .3 -.15(ve a r) +-.2 H(ecord:).15 E 12.29(eric:mailname Eric.Allman@CS.Berk)157 676.2 R +(ele)-.1 E -.65(y.)-.15 G(EDU).65 E(This w)117 692.4 Q +(ould cause my outgoing mail to be sent as Eric.Allman.)-.1 E .519 +(If a \231maildrop\232 is found for the user)142 708.6 R 3.019(,b)-.4 G +.52(ut no corresponding \231mailname\232 record e)-3.219 F .52 +(xists, the)-.15 F 1.128(record \231:def)117 720.6 R 1.128 +(ault:mailname\232 is consulted.)-.1 F 1.127 +(If present, this is the name of a host to o)6.128 F -.15(ve)-.15 G +1.127(rride the).15 F 0 Cg EP +%%Page: 91 87 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-91)195.86 E/F1 10/Times-Roman@0 SF .625(local host.)117 96 R +-.15(Fo)5.625 G 3.125(re).15 G .625(xample, in our case we w)-3.275 F +.625(ould set it to \231CS.Berk)-.1 F(ele)-.1 E -.65(y.)-.15 G 3.125 +(EDU\232. The).65 F(ef)3.125 E .625(fect is that)-.25 F(an)117 108 Q +.882(yone kno)-.15 F .882(wn in the database gets their outgoing mail s\ +tamped as \231user@CS.Berk)-.25 F(ele)-.1 E -.65(y.)-.15 G(EDU\232,).65 +E -.2(bu)117 120 S 2.5(tp).2 G +(eople not listed in the database use the local hostname.)-2.5 E F0 2.5 +(5.12.3. Cr)102 146 R(eating the database)-.18 E/F2 7/Times-Bold@0 SF +(23)-4 I F1 .375(The user database is b)142 162.2 R .375(uilt from a te) +-.2 F .375(xt \214le using the)-.15 F/F3 10/Times-Italic@0 SF(mak)2.875 +E(emap)-.1 E F1 .375(utility \(in the distrib)2.875 F .375(ution in)-.2 +F 1.038(the mak)117 174.2 R 1.038(emap subdirectory\).)-.1 F 1.038 +(The te)6.038 F 1.039 +(xt \214le is a series of lines corresponding to userdb records;)-.15 F +1.589(each line has a k)117 186.2 R 1.889 -.15(ey a)-.1 H 1.589(nd a v) +.15 F 1.589(alue separated by white space.)-.25 F 1.589(The k)6.589 F +1.889 -.15(ey i)-.1 H 4.089(sa).15 G -.1(lwa)-4.089 G 1.588 +(ys in the format).1 F(described abo)117 198.2 Q .3 -.15(ve \212 f)-.15 +H(or e).15 E(xample:)-.15 E(eric:maildrop)157 214.4 Q 3.984 +(This \214le is normally installed in a system directory; for e)117 +230.6 R 3.985(xample, it might be called)-.15 F F3(/etc/mail/user)117 +242.6 Q(db)-.37 E F1 5(.T)C 2.5(om)-5.8 G(ak)-2.5 E 2.5(et)-.1 G +(he database v)-2.5 E(ersion of the map, run the program:)-.15 E(mak)157 +258.8 Q(emap btree /etc/mail/userdb < /etc/mail/userdb)-.1 E .077 +(Then create a con\214g \214le that uses this.)117 275 R -.15(Fo)5.077 G +2.577(re).15 G .077 +(xample, using the V8 M4 con\214guration, include the)-2.727 F(follo)117 +287 Q(wing line in your .mc \214le:)-.25 E +(de\214ne\(\222confUSERDB_SPEC\264, /etc/mail/userdb\))157 303.2 Q F0 +2.5(6. O)72 331.4 R(THER CONFIGURA)-.4 E(TION)-.95 E F1 .907 +(There are some con\214guration changes that can be made by recompiling) +112 347.6 R F3(sendmail)3.407 E F1 5.907(.T)C .907(his section)-5.907 F +1.139(describes what changes can be made and what has to be modi\214ed \ +to mak)87 359.6 R 3.639(et)-.1 G 3.639(hem. In)-3.639 F 1.138 +(most cases this)3.639 F(should be unnecessary unless you are porting)87 +371.6 Q F3(sendmail)2.5 E F1(to a ne)2.5 E 2.5(we)-.25 G -.4(nv)-2.5 G +(ironment.).4 E F0 2.5(6.1. P)87 395.6 R(arameters in de)-.1 E +(vtools/OS/$oscf)-.15 E F1 .92 +(These parameters are intended to describe the compilation en)127 411.8 +R .92(vironment, not site polic)-.4 F 2.22 -.65(y, a)-.15 H(nd).65 E +.739(should normally be de\214ned in the operating system con\214gurati\ +on \214le.)102 423.8 R F0 .739(This section needs a com-)5.739 F +(plete r)102 435.8 Q(ewrite.)-.18 E F1 39.5(NDBM If)102 452 R .664 +(set, the ne)3.164 F 3.164(wv)-.25 G .664 +(ersion of the DBM library that allo)-3.314 F .665 +(ws multiple databases will be)-.25 F 2.543(used. If)174 464 R .042 +(neither NDBM nor NEWDB are set, a much less ef)2.543 F .042 +(\214cient method of alias)-.25 F(lookup is used.)174 476 Q 32.84 +(NEWDB If)102 492.2 R .141(set, use the ne)2.641 F 2.642(wd)-.25 G .142 +(atabase package from Berk)-2.642 F(ele)-.1 E 2.642(y\()-.15 G .142 +(from 4.4BSD\).)-2.642 F .142(This package)5.142 F .267 +(is substantially f)174 504.2 R .267(aster than DBM or NDBM.)-.1 F .267 +(If NEWDB and NDBM are both set,)5.267 F F3(sendmail)174 516.2 Q F1 +(will read DBM \214les, b)2.5 E(ut will create and use NEWDB \214les.) +-.2 E 53.39(NIS Include)102 532.4 R .119(support for NIS.)2.619 F .119 +(If set together with)5.119 F F3(both)2.619 E F1 .119(NEWDB and NDBM,) +2.619 F F3(sendmail)2.62 E F1 .947(will create both DBM and NEWDB \214l\ +es if and only if an alias \214le includes the)174 544.4 R 3.409 +(substring \231/yp/\232 in the name.)174 556.4 R 3.409 +(This is intended for compatibility with Sun)8.409 F(Microsystems')174 +568.4 Q F3(mkalias)2.5 E F1(program used on YP masters.)2.5 E 28.94 +(NISPLUS Compile)102 584.6 R(in support for NIS+.)2.5 E 26.73 +(NETINFO Compile)102 600.8 R(in support for NetInfo \(NeXT stations\).) +2.5 E(LD)102 617 Q 22.12(APMAP Compile)-.4 F 1.226(in support for LD) +3.726 F 1.226(AP X500 queries.)-.4 F 1.225 +(Requires libldap and liblber from)6.225 F 2.798(the Umich LD)174 629 R +2.798(AP 3.2 or 3.3 release or equi)-.4 F -.25(va)-.25 G 2.799 +(lent libraries for other LD).25 F(AP)-.4 E(libraries such as OpenLD)174 +641 Q(AP)-.4 E(.)-1.11 E 32.84(HESIOD Compile)102 657.2 R +(in support for Hesiod.)2.5 E .32 LW 76 669.2 72 669.2 DL 80 669.2 76 +669.2 DL 84 669.2 80 669.2 DL 88 669.2 84 669.2 DL 92 669.2 88 669.2 DL +96 669.2 92 669.2 DL 100 669.2 96 669.2 DL 104 669.2 100 669.2 DL 108 +669.2 104 669.2 DL 112 669.2 108 669.2 DL 116 669.2 112 669.2 DL 120 +669.2 116 669.2 DL 124 669.2 120 669.2 DL 128 669.2 124 669.2 DL 132 +669.2 128 669.2 DL 136 669.2 132 669.2 DL 140 669.2 136 669.2 DL 144 +669.2 140 669.2 DL 148 669.2 144 669.2 DL 152 669.2 148 669.2 DL 156 +669.2 152 669.2 DL 160 669.2 156 669.2 DL 164 669.2 160 669.2 DL 168 +669.2 164 669.2 DL 172 669.2 168 669.2 DL 176 669.2 172 669.2 DL 180 +669.2 176 669.2 DL 184 669.2 180 669.2 DL 188 669.2 184 669.2 DL 192 +669.2 188 669.2 DL 196 669.2 192 669.2 DL 200 669.2 196 669.2 DL 204 +669.2 200 669.2 DL 208 669.2 204 669.2 DL 212 669.2 208 669.2 DL 216 +669.2 212 669.2 DL/F4 5/Times-Roman@0 SF(23)93.6 679.6 Q/F5 8 +/Times-Roman@0 SF .472(These instructions are kno)3.2 J .472 +(wn to be incomplete.)-.2 F .473(Other features are a)4.472 F -.2(va) +-.16 G .473(ilable which pro).2 F .473(vide similar functionality)-.12 F +2.473(,e)-.52 G .473(.g., virtual)-2.473 F +(hosting and mapping local addresses into a generic form as e)72 692.4 Q +(xplained in cf/README.)-.12 E 0 Cg EP +%%Page: 92 88 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-92 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 22.83 +(MAP_NSD Compile)102 96 R(in support for IRIX NSD lookups.)2.5 E 9.5 +(MAP_REGEX Compile)102 112.2 R(in support for re)2.5 E(gular e)-.15 E +(xpression matching.)-.15 E 27.83(DNSMAP Compile)102 128.4 R +(in support for DNS map lookups in the)2.5 E/F2 10/Times-Italic@0 SF +(sendmail.cf)2.5 E F1(\214le.)2.5 E 30.05(PH_MAP Compile)102 144.6 R +(in support for ph lookups.)2.5 E 45.05(SASL Compile)102 160.8 R 1.474 +(in support for SASL, a required component for SMTP Authentication)3.974 +F(support.)174 172.8 Q(ST)102 189 Q(AR)-.93 E 21.58(TTLS Compile)-.6 F +(in support for ST)2.5 E(AR)-.93 E(TTLS.)-.6 E 48.95(EGD Compile)102 +205.2 R .067(in support for the "Entrop)2.567 F 2.567(yG)-.1 G .067 +(athering Daemon" to pro)-2.567 F .068(vide better random)-.15 F +(data for TLS.)174 217.2 Q -1.63(TCPWRAPPERS Compile)102 233.4 R +(in support for TCP Wrappers.)2.5 E(_P)102 249.6 Q -1.11(AT)-.92 G +(H_SENDMAILCF)1.11 E(The pathname of the sendmail.cf \214le.)174 261.6 Q +(_P)102 277.8 Q -1.11(AT)-.92 G(H_SENDMAILPID)1.11 E +(The pathname of the sendmail.pid \214le.)174 289.8 Q(SM_CONF_SHM)102 +306 Q(Compile in support for shared memory)174 318 Q 2.5(,s)-.65 G +(ee section about "/v)-2.5 E(ar/spool/mqueue".)-.25 E(MIL)102 334.2 Q +33.2(TER Compile)-.92 F(in support for contacting e)2.5 E +(xternal mail \214lters b)-.15 E(uilt with the Milter API.)-.2 E 1.44 +(There are also se)127 350.4 R -.15(ve)-.25 G 1.439 +(ral compilation \215ags to indicate the en).15 F 1.439 +(vironment such as \231_AIX3\232 and)-.4 F 2.5(\231_SCO_unix_\232. See) +102 362.4 R +(the sendmail/README \214le for the latest scoop on these \215ags.)2.5 E +F0 2.5(6.2. P)87 386.4 R(arameters in sendmail/conf)-.1 E(.h)-.15 E F1 +-.15(Pa)127 402.6 S .895 +(rameters and compilation options are de\214ned in conf.h.).15 F .896 +(Most of these need not normally)5.895 F .193(be tweak)102 414.6 R .192 +(ed; common parameters are all in sendmail.cf.)-.1 F(Ho)5.192 E(we)-.25 +E -.15(ve)-.25 G .992 -.4(r, t).15 H .192(he sizes of certain primiti).4 +F .492 -.15(ve ve)-.25 H(c-).15 E +(tors, etc., are included in this \214le.)102 426.6 Q(The numbers follo) +5 E(wing the parameters are their def)-.25 E(ault v)-.1 E(alue.)-.25 E +1.247(This document is not the best source of information for compilati\ +on \215ags in conf.h \212 see)127 442.8 R +(sendmail/README or sendmail/conf.h itself.)102 454.8 Q(MAXLINE [2048]) +102 471 Q 2.069(The maximum line length of an)11.14 F 4.568(yi)-.15 G +2.068(nput line.)-4.568 F 2.068(If message lines e)7.068 F 2.068 +(xceed this)-.15 F .575(length the)188.4 483 R 3.075(yw)-.15 G .575 +(ill still be processed correctly; ho)-3.075 F(we)-.25 E -.15(ve)-.25 G +1.375 -.4(r, h).15 H .575(eader lines, con\214gura-).4 F +(tion \214le lines, alias lines, etc., must \214t within this limit.) +188.4 495 Q(MAXN)102 511.2 Q(AME [256])-.35 E(The maximum length of an) +9.82 E 2.5(yn)-.15 G(ame, such as a host or a user name.)-2.5 E +(MAXPV [256])102 527.4 Q .25(The maximum number of parameters to an) +26.13 F 2.75(ym)-.15 G(ailer)-2.75 E 5.25(.T)-.55 G .25 +(his limits the number of)-5.25 F .375 +(recipients that may be passed in one transaction.)188.4 539.4 R .376 +(It can be set to an)5.376 F 2.876(ya)-.15 G(rbitrary)-2.876 E .876 +(number abo)188.4 551.4 R 1.176 -.15(ve a)-.15 H .876(bout 10, since).15 +F F2(sendmail)3.376 E F1 .876(will break up a deli)3.376 F -.15(ve)-.25 +G .875(ry into smaller).15 F .886(batches as needed.)188.4 563.4 R 3.386 +(Ah)5.886 G .887(igher number may reduce load on your system, ho)-3.386 +F(w-)-.25 E -2.15 -.25(ev e)188.4 575.4 T -.55(r.).25 G(MAXQ)102 591.6 Q +(UEUEGR)-.1 E(OUPS [50])-.4 E(The maximum number of queue groups.)188.4 +603.6 Q(MAXA)102 619.8 Q -.18(TO)-1.11 G 2.5(M[).18 G 3.26(1000] The) +-2.5 F .064(maximum number of atoms \(tok)2.564 F .063 +(ens\) in a single address.)-.1 F -.15(Fo)5.063 G 2.563(re).15 G .063 +(xample, the)-2.713 F(address \231eric@CS.Berk)188.4 631.8 Q(ele)-.1 E +-.65(y.)-.15 G(EDU\232 is se).65 E -.15(ve)-.25 G 2.5(na).15 G(toms.) +-2.5 E(MAXMAILERS [25])102 648 Q .122(The maximum number of mailers tha\ +t may be de\214ned in the con\214guration \214le.).02 F(This v)188.4 660 +Q(alue is de\214ned in include/sendmail/sendmail.h.)-.25 E(MAXR)102 +676.2 Q(WSETS [200])-.55 E .432(The maximum number of re).01 F .432 +(writing sets that may be de\214ned.)-.25 F .431(The \214rst half of) +5.431 F .034(these are reserv)188.4 688.2 R .034 +(ed for numeric speci\214cation \(e.g., `)-.15 F(`S92')-.74 E .035 +('\), while the upper half)-.74 F .492(are reserv)188.4 700.2 R .492 +(ed for auto-numbering \(e.g., `)-.15 F(`Sfoo')-.74 E 2.992('\). Thus,) +-.74 F .492(with a v)2.992 F .491(alue of 200 an)-.25 F +(attempt to use `)188.4 712.2 Q(`S99')-.74 E 2.5('w)-.74 G +(ill succeed, b)-2.5 E(ut `)-.2 E(`S100')-.74 E 2.5('w)-.74 G(ill f)-2.5 +E(ail.)-.1 E 0 Cg EP +%%Page: 93 89 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-93)195.86 E/F1 10/Times-Roman@0 SF(MAXPRIORITIES [25])102 96 Q +2.481(The maximum number of v)188.4 108 R 2.482 +(alues for the \231Precedence:\232 \214eld that may be)-.25 F +(de\214ned \(using the)188.4 120 Q F0(P)2.5 E F1(line in sendmail.cf\).) +2.5 E(MAXUSERENVIR)102 136.2 Q(ON [100])-.4 E .399 +(The maximum number of items in the user en)188.4 148.2 R .399 +(vironment that will be passed to)-.4 F(subordinate mailers.)188.4 160.2 +Q(MAXMXHOSTS [100])102 176.4 Q +(The maximum number of MX records we will accept for an)188.4 188.4 Q +2.5(ys)-.15 G(ingle host.)-2.5 E(MAXMAPST)102 204.6 Q -.4(AC)-.93 G 2.5 +(K[).4 G(12])-2.5 E 1.65(The maximum number of maps that may be "stack) +188.4 216.6 R 1.65(ed" in a)-.1 F F0(sequence)4.15 E F1(class)4.15 E +(map.)188.4 228.6 Q(MAXMIMEARGS [20])102 244.8 Q .718 +(The maximum number of ar)188.4 256.8 R .718 +(guments in a MIME Content-T)-.18 F .718(ype: header; addi-)-.8 F +(tional ar)188.4 268.8 Q(guments will be ignored.)-.18 E +(MAXMIMENESTING [20])102 285 Q .4(The maximum depth to which MIME messa\ +ges may be nested \(that is, nested)188.4 297 R 1.344(Message or Multip\ +art documents; this does not limit the number of compo-)188.4 309 R +(nents in a single Multipart document\).)188.4 321 Q(MAXD)102 337.2 Q +(AEMONS [10])-.4 E 1.353(The maximum number of sock)188.4 349.2 R 1.353 +(ets sendmail will open for accepting connec-)-.1 F(tions on dif)188.4 +361.2 Q(ferent ports.)-.25 E(MAXMA)102 377.4 Q(CN)-.4 E(AMELEN [25])-.35 +E(The maximum length of a macro name.)188.4 389.4 Q 2.851(An)102 405.6 S +.351(umber of other compilation options e)-2.851 F 2.851(xist. These) +-.15 F .35(specify whether or not speci\214c code should be)2.851 F +(compiled in.)102 417.6 Q(Ones mark)5 E(ed with \207 are 0/1 v)-.1 E +(alued.)-.25 E 36.69(NETINET\207 If)102 433.8 R .829 +(set, support for Internet protocol netw)3.329 F .829 +(orking is compiled in.)-.1 F(Pre)5.829 E .83(vious v)-.25 F(er)-.15 E +(-)-.2 E .178(sions of)188.4 445.8 R/F2 10/Times-Italic@0 SF(sendmail) +2.678 E F1 .178(referred to this as)2.678 F/F3 9/Times-Roman@0 SF -.36 +(DA)2.678 G(EMON).36 E F1 2.677(;t)C .177(his old usage is no)-2.677 F +2.677(wi)-.25 G(ncorrect.)-2.677 E(Def)188.4 457.8 Q 1.87 +(aults on; turn it of)-.1 F 4.37(fi)-.25 G 4.37(nt)-4.37 G 1.87(he Mak) +-4.37 F 1.87(e\214le if your system doesn')-.1 F 4.37(ts)-.18 G 1.87 +(upport the)-4.37 F(Internet protocols.)188.4 469.8 Q 31.69 +(NETINET6\207 If)102 486 R 2.26(set, support for IPv6 netw)4.76 F 2.26 +(orking is compiled in.)-.1 F 2.26(It must be separately)7.26 F +(enabled by adding)188.4 498 Q F0(DaemonP)2.5 E(ortOptions)-.2 E F1 +(settings.)2.5 E 43.35(NETISO\207 If)102 514.2 R .142 +(set, support for ISO protocol netw)2.642 F .143 +(orking is compiled in \(it may be appropri-)-.1 F +(ate to #de\214ne this in the Mak)188.4 526.2 Q +(e\214le instead of conf.h\).)-.1 E 34.47(NETUNIX\207 If)102 542.4 R .39 +(set, support for UNIX domain sock)2.89 F .39(ets is compiled in.)-.1 F +.39(This is used for con-)5.39 F(trol sock)188.4 554.4 Q(et support.)-.1 +E 63.35(LOG If)102 570.6 R .5(set, the)3 F F2(syslo)3 E(g)-.1 E F1 .5 +(routine in use at some sites is used.)3 F .5(This mak)5.5 F .5 +(es an informa-)-.1 F .504 +(tional log record for each message processed, and mak)188.4 582.6 R +.504(es a higher priority log)-.1 F .052 +(record for internal system errors.)188.4 594.6 R F0(STR)5.052 E(ONGL) +-.3 E 2.552(YR)-.92 G(ECOMMENDED)-2.552 E F1 2.553<8a69>2.552 G 2.553 +(fy)-2.553 G(ou)-2.553 E -.1(wa)188.4 606.6 S(nt no logging, turn it of) +.1 E 2.5(fi)-.25 G 2.5(nt)-2.5 G(he con\214guration \214le.)-2.5 E(MA) +102 622.8 Q 11.12(TCHGECOS\207 Compile)-1.11 F 3.555 +(in the code to do `)6.055 F 3.555(`fuzzy matching')-.74 F 6.055('o)-.74 +G 6.055(nt)-6.055 G 3.555(he GECOS \214eld in)-6.055 F 2.5 +(/etc/passwd. This)188.4 634.8 R(also requires that the)2.5 E F0 +(MatchGECOS)2.5 E F1(option be turned on.)2.5 E -.35(NA)102 651 S 13.15 +(MED_BIND\207 Compile).35 F .412(in code to use the Berk)2.912 F(ele)-.1 +E 2.913(yI)-.15 G .413(nternet Name Domain \(BIND\) serv)-2.913 F .413 +(er to)-.15 F(resolv)188.4 663 Q 2.5(eT)-.15 G(CP/IP host names.)-2.5 E +(NO)102 679.2 Q 38.76(TUNIX If)-.4 F .248(you are using a non-UNIX mail\ + format, you can set this \215ag to turn of)2.748 F 2.747(fs)-.25 G(pe-) +-2.747 E(cial processing of UNIX-style \231From \232 lines.)188.4 691.2 +Q 39.45(USERDB\207 Include)102 707.4 R(the)3.448 E F0(experimental)3.448 +E F1(Berk)3.449 E(ele)-.1 E 3.449(yu)-.15 G .949 +(ser information database package.)-3.449 F(This)5.949 E .27(adds a ne) +188.4 719.4 R 2.77(wl)-.25 G -2.15 -.25(ev e)-2.77 H 2.77(lo).25 G 2.77 +(fl)-2.77 G .27(ocal name e)-2.77 F .27 +(xpansion between aliasing and forw)-.15 F 2.77(arding. It)-.1 F 0 Cg EP +%%Page: 94 90 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-94 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF +(also uses the NEWDB package.)188.4 96 Q +(This may change in future releases.)5 E(The follo)102 112.2 Q +(wing options are normally turned on in per)-.25 E +(-operating-system clauses in conf.h.)-.2 E(IDENTPR)102 128.4 Q -1.88 +-.4(OT O)-.4 H 19.61<8743>.4 G .375 +(ompile in the IDENT protocol as de\214ned in RFC 1413.)-19.61 F .376 +(This def)5.376 F .376(aults on for)-.1 F 1.053(all systems e)188.4 +140.4 R 1.053(xcept Ultrix, which apparently has the interesting \231fe\ +ature\232 that)-.15 F .83(when it recei)188.4 152.4 R -.15(ve)-.25 G +3.33(sa\231).15 G .83 +(host unreachable\232 message it closes all open connections)-3.33 F +1.922(to that host.)188.4 164.4 R 1.922(Since some \214re)6.922 F -.1 +(wa)-.25 G 1.922(ll g).1 F(ate)-.05 E -.1(wa)-.25 G 1.921 +(ys send this error code when you).1 F 2.055(access an unauthorized por\ +t \(such as 113, used by IDENT\), Ultrix cannot)188.4 176.4 R(recei) +188.4 188.4 Q .3 -.15(ve e)-.25 H(mail from such hosts.).15 E 39.45 +(SYSTEM5 Set)102 204.6 R +(all of the compilation parameters appropriate for System V)2.5 E(.) +-1.29 E 26.12(HASFLOCK\207 Use)102 220.8 R(Berk)2.845 E(ele)-.1 E +(y-style)-.15 E F0(\215ock)2.845 E F1 .345(instead of System V)2.845 F +F0(lockf)2.845 E F1 .344(to do \214le locking.)2.845 F .344(Due to)5.344 +F .184(the highly unusual semantics of locks across forks in)188.4 232.8 +R F0(lockf)2.684 E F1 2.684(,t)C .185(his should al)-2.684 F -.1(wa)-.1 +G(ys).1 E(be used if at all possible.)188.4 244.8 Q(HASINITGR)102 261 Q +4.86(OUPS Set)-.4 F 1.284(this if your system has the)3.784 F/F2 10 +/Times-Italic@0 SF(initgr)3.784 E(oups\(\))-.45 E F1 1.284 +(call \(if you ha)3.784 F 1.583 -.15(ve m)-.2 H 1.283(ultiple group).15 +F 4.416(support\). This)188.4 273 R 1.916(is the def)4.416 F 1.916 +(ault if SYSTEM5 is)-.1 F F2(not)4.416 E F1 1.917 +(de\214ned or if you are on)4.417 F(HPUX.)188.4 285 Q(HASUN)102 301.2 Q +27.59(AME Set)-.35 F 1.149(this if you ha)3.649 F 1.448 -.15(ve t)-.2 H +(he).15 E F2(uname)3.648 E F1 1.148 +(\(2\) system call \(or corresponding library rou-)B 2.5(tine\). Set) +188.4 313.2 R(by def)2.5 E(ault if SYSTEM5 is set.)-.1 E(HASGETDT)102 +329.4 Q(ABLESIZE)-.93 E(Set this if you ha)188.4 341.4 Q .3 -.15(ve t) +-.2 H(he).15 E F2 -.1(ge)2.5 G(tdtablesize).1 E F1(\(2\) system call.)A +(HASW)102 357.6 Q 22.89(AITPID Set)-1.2 F(this if you ha)2.5 E .3 -.15 +(ve t)-.2 H(he).15 E F2(haswaitpid)2.5 E F1(\(2\) system call.)A -.74 +(FA)102 373.8 S(ST_PID_RECYCLE).74 E .542(Set this if your system can p\ +ossibly reuse the same pid in the same second of)188.4 385.8 R(time.) +188.4 397.8 Q 37.22(SFS_TYPE The)102 414 R .517 +(mechanism that can be used to get \214le system capacity information.) +3.017 F(The)5.516 E -.25(va)188.4 426 S .214(lues can be one of SFS_UST) +.25 F 2.435 -1.11(AT \()-.93 H .215 +(use the ustat\(2\) syscall\), SFS_4ARGS \(use)1.11 F .415(the four ar) +188.4 438 R .415(gument statfs\(2\) syscall\), SFS_VFS \(use the tw)-.18 +F 2.915(oa)-.1 G -.18(rg)-2.915 G .415(ument statfs\(2\)).18 F .716 +(syscall including \), SFS_MOUNT \(use the tw)188.4 450 R +3.217(oa)-.1 G -.18(rg)-3.217 G .717(ument statfs\(2\)).18 F 4.32 +(syscall including \), SFS_ST)188.4 462 R -1.11(AT)-.93 G +4.32(FS \(use the tw)1.11 F 6.82(oa)-.1 G -.18(rg)-6.82 G(ument).18 E +1.108(statfs\(2\) syscall including \), SFS_ST)188.4 474 R +-1.11(AT)-.93 G 1.109(VFS \(use the tw)1.11 F 3.609(oa)-.1 G -.18(rg) +-3.609 G(u-).18 E 1.511(ment statfs\(2\) syscall including \), or SFS_NONE \(no w)188.4 486 R 1.511(ay to)-.1 F +(get this information\).)188.4 498 Q 40.57(LA_TYPE The)102 514.2 R +(load a)2.5 E -.15(ve)-.2 G(rage type.).15 E(Details are described belo) +5 E -.65(w.)-.25 G .342(The are se)102 530.4 R -.15(ve)-.25 G .342 +(ral b).15 F .342(uilt-in w)-.2 F .342(ays of computing the load a)-.1 F +-.15(ve)-.2 G(rage.).15 E F2(Sendmail)5.342 E F1 .343 +(tries to auto-con\214gure them)2.842 F .267 +(based on imperfect guesses; you can select one using the)102 542.4 R F2 +(cc)2.766 E F1(option)2.766 E F0(\255DLA_TYPE=)2.766 E F2(type)A F1 +2.766(,w)C(here)-2.766 E F2(type)2.766 E F1(is:)102 554.4 Q 48.91 +(LA_INT The)102 570.6 R -.1(ke)3.452 G .952(rnel stores the load a).1 F +-.15(ve)-.2 G .952(rage in the k).15 F .952 +(ernel as an array of long inte)-.1 F(gers.)-.15 E(The actual v)188.4 +582.6 Q(alues are scaled by a f)-.25 E(actor FSCALE \(def)-.1 E +(ault 256\).)-.1 E(LA_SHOR)102 598.8 Q 35.89(TT)-.6 G .794(he k)-35.89 F +.794(ernel stores the load a)-.1 F -.15(ve)-.2 G .794(rage in the k).15 +F .793(ernel as an array of short inte)-.1 F(gers.)-.15 E(The actual v) +188.4 610.8 Q(alues are scaled by a f)-.25 E(actor FSCALE \(def)-.1 E +(ault 256\).)-.1 E(LA_FLO)102 627 Q 37.03 -1.11(AT T)-.35 H .088(he k) +1.11 F .088(ernel stores the load a)-.1 F -.15(ve)-.2 G .089 +(rage in the k).15 F .089(ernel as an array of double precision)-.1 F +(\215oats.)188.4 639 Q(LA_MA)102 655.2 Q 35.97(CH Use)-.4 F(MA)2.5 E +(CH-style load a)-.4 E -.15(ve)-.2 G(rages.).15 E 39.45(LA_SUBR Call)102 +671.4 R(the)2.5 E F2 -.1(ge)2.5 G(tloadavg).1 E F1 +(routine to get the load a)2.5 E -.15(ve)-.2 G +(rage as an array of doubles.).15 E(LA_ZER)102 687.6 Q 42.36(OA)-.4 G +-.1(lwa)-42.36 G(ys return zero as the load a).1 E -.15(ve)-.2 G 2.5 +(rage. This).15 F(is the f)2.5 E(allback case.)-.1 E .494(If type)102 +703.8 R/F3 9/Times-Roman@0 SF(LA_INT)2.994 E F1(,)A F3(LA_SHOR)2.994 E +(T)-.54 E F1 2.994(,o)C(r)-2.994 E F3(LA_FLO)2.993 E -.999(AT)-.315 G F1 +.493(is speci\214ed, you may also need to specify)3.992 F F3(_P)2.993 E +-.999(AT)-.828 G(H_UNIX).999 E F1 .948 +(\(the path to your system binary\) and)102 715.8 R F3(LA_A)3.448 E +(VENR)-1.215 E(UN)-.36 E F1 .949(\(the name of the v)3.448 F .949 +(ariable containing the load)-.25 F 0 Cg EP +%%Page: 95 91 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-95)195.86 E/F1 10/Times-Roman@0 SF -2.25 -.2(av e)102 96 T +(rage in the k).2 E(ernel; usually \231_a)-.1 E -.15(ve)-.2 G +(nrun\232 or \231a).15 E -.15(ve)-.2 G(nrun\232\).).15 E F0 2.5 +(6.3. Con\214guration)87 120 R(in sendmail/conf)2.5 E(.c)-.15 E F1 +(The follo)127 136.2 Q(wing changes can be made in conf.c.)-.25 E F0 2.5 +(6.3.1. Built-in)102 160.2 R(Header Semantics)2.5 E F1 1.248 +(Not all header semantics are de\214ned in the con\214guration \214le.) +142 176.4 R 1.247(Header lines that should)6.247 F .305(only be include\ +d by certain mailers \(as well as other more obscure semantics\) must b\ +e speci\214ed)117 188.4 R .047(in the)117 200.4 R/F2 10/Times-Italic@0 +SF(HdrInfo)2.547 E F1 .047(table in)2.547 F F2(conf)2.547 E(.c)-.15 E F1 +5.047(.T)C .046 +(his table contains the header name \(which should be in all lo)-5.047 F +(wer)-.25 E(case\) and a set of header control \215ags \(described belo) +117 212.4 Q(w\), The \215ags are:)-.25 E(H_A)117 228.6 Q 30.97 +(CHECK Normally)-.4 F .007 +(when the check is made to see if a header line is compatible with)2.507 +F 2.941(am)203.4 240.6 S(ailer)-2.941 E(,)-.4 E F2(sendmail)2.941 E F1 +.441(will not delete an e)2.941 F .441(xisting line.)-.15 F .44 +(If this \215ag is set,)5.441 F F2(send-)2.94 E(mail)203.4 252.6 Q F1 +.152(will delete e)2.652 F -.15(ve)-.25 G 2.652(ne).15 G .152 +(xisting header lines.)-2.802 F .152 +(That is, if this bit is set and the)5.152 F 1.425(mailer does not ha) +203.4 264.6 R 1.725 -.15(ve \215)-.2 H 1.425 +(ag bits set that intersect with the required mailer).15 F 2.204 +(\215ags in the header de\214nition in sendmail.cf, the header line is) +203.4 276.6 R F2(always)4.704 E F1(deleted.)203.4 288.6 Q 51.13 +(H_EOH If)117 304.8 R .206(this header \214eld is set, treat it lik) +2.706 F 2.706(eab)-.1 G .206(lank line, i.e., it will signal the end) +-2.706 F(of the header and the be)203.4 316.8 Q +(ginning of the message te)-.15 E(xt.)-.15 E 39.45(H_FORCE Add)117 333 R +2.038(this header entry e)4.538 F -.15(ve)-.25 G 4.538(ni).15 G 4.538 +(fo)-4.538 G 2.038(ne e)-4.538 F 2.039(xisted in the message before.) +-.15 F 2.039(If a)7.039 F 2.189(header entry does not ha)203.4 345 R +2.488 -.15(ve t)-.2 H 2.188(his bit set,).15 F F2(sendmail)4.688 E F1 +2.188(will not add another)4.688 F .62 +(header line if a header line of this name already e)203.4 357 R 3.12 +(xisted. This)-.15 F -.1(wo)3.12 G .62(uld nor).1 F(-)-.2 E +(mally be used to stamp the message by e)203.4 369 Q -.15(ve)-.25 G +(ryone who handled it.).15 E(H_TRA)117 385.2 Q 39.3(CE If)-.4 F 1.044 +(set, this is a timestamp \(trace\) \214eld.)3.544 F 1.043 +(If the number of trace \214elds in a)6.043 F .705(message e)203.4 397.2 +R .705(xceeds a preset amount the message is returned on the assump-) +-.15 F(tion that it has an aliasing loop.)203.4 409.2 Q 46.67(H_RCPT If) +117 425.4 R .332(set, this \214eld contains recipient addresses.)2.833 F +.332(This is used by the)5.332 F F02.832 E F1 .332(\215ag to)2.832 +F 1.349(determine who to send to when it is collecting recipients from \ +the mes-)203.4 437.4 R(sage.)203.4 449.4 Q(H_FR)117 465.6 Q 43.74 +(OM This)-.4 F 1.673 +(\215ag indicates that this \214eld speci\214es a sender)4.174 F 6.673 +(.T)-.55 G 1.673(he order of these)-6.673 F .898(\214elds in the)203.4 +477.6 R F2(HdrInfo)3.398 E F1 .898(table speci\214es)3.398 F F2 +(sendmail)3.398 E F1 1.998 -.55('s p)D .898(reference for which \214eld) +.55 F(to return error messages to.)203.4 489.6 Q(H_ERR)117 505.8 Q(ORST) +-.4 E 22.53(OA)-.18 G(ddresses in this header should recei)-22.53 E .3 +-.15(ve e)-.25 H(rror messages.).15 E 52.79(H_CTE This)117 522 R +(header is a Content-T)2.5 E(ransfer)-.35 E(-Encoding header)-.2 E(.) +-.55 E 40.01(H_CTYPE This)117 538.2 R(header is a Content-T)2.5 E +(ype header)-.8 E(.)-.55 E(H_STRIPV)117 554.4 Q 25.25(AL Strip)-1.35 F +(the v)2.5 E(alue from the header \(for Bcc:\).)-.25 E(Let')117 570.6 Q +2.5(sl)-.55 G(ook at a sample)-2.5 E F2(HdrInfo)2.5 E F1 +(speci\214cation:)2.5 E 0 Cg EP +%%Page: 96 92 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-96 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF +(struct hdrinfo)157 96 Q(HdrInfo[] =)84.6 E({)157 108 Q +(/* originator \214elds, most to least signi\214cant)189.5 120 Q(*/)5 E +52.29("resent-sender", H_FR)177 132 R(OM,)-.4 E 58.95 +("resent-from", H_FR)177 144 R(OM,)-.4 E 79.5("sender", H_FR)177 156 R +(OM,)-.4 E 86.16("from", H_FR)177 168 R(OM,)-.4 E 66.72 +("full-name", H_A)177 180 R(CHECK,)-.4 E 71.17("errors-to", H_FR)177 192 +R -1.667(OM | H_ERR)-.4 F(ORST)-.4 E(O,)-.18 E +(/* destination \214elds */)189.5 204 Q 97.82("to", H_RCPT)177 216 R(,) +-.74 E 70.61("resent-to", H_RCPT)177 228 R(,)-.74 E 96.72("cc", H_RCPT) +177 240 R(,)-.74 E 91.72("bcc", H_RCPT)177 252 R .833(|H).833 G(_STRIPV) +-.833 E(AL,)-1.35 E(/* message identi\214cation and control */)189.5 264 +Q 71.72("message", H_EOH,)177 276 R("te)177 288 Q 90.75(xt", H_EOH,)-.15 +F(/* trace \214elds */)189.5 300 Q("recei)177 312 Q -.15(ve)-.25 G 72.13 +(d", H_TRA).15 F -1.667(CE | H_FORCE,)-.4 F +(/* miscellaneous \214elds */)189.5 324 Q("content-transfer)177 336 Q +2.5(-encoding", H_CTE,)-.2 F 55.61("content-type", H_CTYPE,)177 348 R +87.1(NULL, 0,)177 372 R(};)157 384 Q 2.435 +(This structure indicates that the \231T)117 400.2 R 2.435 +(o:\232, \231Resent-T)-.8 F 2.435 +(o:\232, and \231Cc:\232 \214elds all specify recipient)-.8 F 3.161 +(addresses. An)117 412.2 R 3.161<7999>-.15 G .662(Full-Name:\232 \214el\ +d will be deleted unless the required mailer \215ag \(indicated in) +-3.161 F .246(the con\214guration \214le\) is speci\214ed.)117 424.2 R +.245(The \231Message:\232 and \231T)5.246 F -.15(ex)-.7 G .245 +(t:\232 \214elds will terminate the header;).15 F 1.936 +(these are used by random dissenters around the netw)117 436.2 R 1.936 +(ork w)-.1 F 4.436(orld. The)-.1 F(\231Recei)4.436 E -.15(ve)-.25 G +1.937(d:\232 \214eld will).15 F(al)117 448.2 Q -.1(wa)-.1 G +(ys be added, and can be used to trace messages.).1 E .446 +(There are a number of important points here.)142 464.4 R .445 +(First, header \214elds are not added automati-)5.446 F .656 +(cally just because the)117 476.4 R 3.156(ya)-.15 G .656(re in the) +-3.156 F/F2 10/Times-Italic@0 SF(HdrInfo)3.157 E F1 .657(structure; the) +3.157 F 3.157(ym)-.15 G .657(ust be speci\214ed in the con\214guration) +-3.157 F .728(\214le in order to be added to the message.)117 488.4 R +(An)5.727 E 3.227(yh)-.15 G .727 +(eader \214elds mentioned in the con\214guration \214le)-3.227 F -.2(bu) +117 500.4 S 3.24(tn).2 G .74(ot mentioned in the)-3.24 F F2(HdrInfo)3.24 +E F1 .74(structure ha)3.24 F 1.04 -.15(ve d)-.2 H(ef).15 E .74 +(ault processing performed; that is, the)-.1 F 3.24(ya)-.15 G(re)-3.24 E +1.375(added unless the)117 512.4 R 3.875(yw)-.15 G 1.375 +(ere in the message already)-3.875 F 6.375(.S)-.65 G 1.374(econd, the) +-6.375 F F2(HdrInfo)3.874 E F1 1.374(structure only speci\214es)3.874 F +.324(cliched processing; certain headers are processed specially by ad \ +hoc code re)117 524.4 R -.05(ga)-.15 G .325(rdless of the sta-).05 F +.481(tus speci\214ed in)117 536.4 R F2(HdrInfo)2.981 E F1 5.481(.F)C +.481(or e)-5.631 F .481 +(xample, the \231Sender:\232 and \231From:\232 \214elds are al)-.15 F +-.1(wa)-.1 G .48(ys scanned on).1 F(ARP)117 550.4 Q .751 +(ANET mail to determine the sender)-.92 F/F3 7/Times-Roman@0 SF(24)-4 I +F1 3.251(;t)4 K .75 +(his is used to perform the \231return to sender\232 func-)-3.251 F +2.976(tion. The)117 562.4 R .476(\231From:\232 and \231Full-Name:\232 \ +\214elds are used to determine the full name of the sender if)2.976 F +(possible; this is stored in the macro)117 574.4 Q F0($x)2.5 E F1 +(and used in a number of w)2.5 E(ays.)-.1 E F0 2.5(6.3.2. Restricting) +102 598.4 R(Use of Email)2.5 E F1 .15 +(If it is necessary to restrict mail through a relay)142 614.6 R 2.649 +(,t)-.65 G(he)-2.649 E F2 -.15(ch)2.649 G(ec).15 E(kcompat)-.2 E F1 .149 +(routine can be modi\214ed.)2.649 F .163(This routine is called for e) +117 626.6 R -.15(ve)-.25 G .163(ry recipient address.).15 F .163 +(It returns an e)5.163 F .163(xit status indicating the status of)-.15 F +.895(the message.)117 638.6 R .895(The status)5.895 F/F4 9/Times-Roman@0 +SF(EX_OK)3.395 E F1 .895(accepts the address,)3.395 F F4(EX_TEMPF)3.395 +E(AIL)-.666 E F1 .895(queues the message for a)3.395 F .263(later try) +117 650.6 R 2.763(,a)-.65 G .263(nd other v)-2.763 F .264 +(alues \(commonly)-.25 F F4(EX_UN)2.764 E -1.215(AVA)-.315 G(ILABLE) +1.215 E F1 2.764(\)r)C .264(eject the message.)-2.764 F .264 +(It is up to)5.264 F F2 -.15(ch)2.764 G(ec).15 E(k-)-.2 E(compat)117 +662.6 Q F1 2.477(to print an error message \(using)4.978 F F2(usr)4.977 +E(err)-.37 E F1 4.977(\)i)C 4.977(ft)-4.977 G 2.477 +(he message is rejected.)-4.977 F -.15(Fo)7.477 G 4.977(re).15 G +(xample,)-5.127 E .32 LW 76 672.2 72 672.2 DL 80 672.2 76 672.2 DL 84 +672.2 80 672.2 DL 88 672.2 84 672.2 DL 92 672.2 88 672.2 DL 96 672.2 92 +672.2 DL 100 672.2 96 672.2 DL 104 672.2 100 672.2 DL 108 672.2 104 +672.2 DL 112 672.2 108 672.2 DL 116 672.2 112 672.2 DL 120 672.2 116 +672.2 DL 124 672.2 120 672.2 DL 128 672.2 124 672.2 DL 132 672.2 128 +672.2 DL 136 672.2 132 672.2 DL 140 672.2 136 672.2 DL 144 672.2 140 +672.2 DL 148 672.2 144 672.2 DL 152 672.2 148 672.2 DL 156 672.2 152 +672.2 DL 160 672.2 156 672.2 DL 164 672.2 160 672.2 DL 168 672.2 164 +672.2 DL 172 672.2 168 672.2 DL 176 672.2 172 672.2 DL 180 672.2 176 +672.2 DL 184 672.2 180 672.2 DL 188 672.2 184 672.2 DL 192 672.2 188 +672.2 DL 196 672.2 192 672.2 DL 200 672.2 196 672.2 DL 204 672.2 200 +672.2 DL 208 672.2 204 672.2 DL 212 672.2 208 672.2 DL 216 672.2 212 +672.2 DL/F5 5/Times-Roman@0 SF(24)93.6 682.6 Q/F6 8/Times-Roman@0 SF +(Actually)3.2 I 2.631(,t)-.52 G .631 +(his is no longer true in SMTP; this information is contained in the en) +-2.631 F -.12(ve)-.32 G 2.632(lope. The).12 F .632(older ARP)2.632 F +.632(ANET protocols did)-.736 F(not completely distinguish en)72 695.4 Q +-.12(ve)-.32 G(lope from header).12 E(.)-.44 E 0 Cg EP +%%Page: 97 93 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-97)195.86 E/F1 10/Times-Italic@0 SF -.15(ch)117 96 S(ec).15 E +(kcompat)-.2 E/F2 10/Times-Roman@0 SF(could read:)2.5 E/F3 9 +/Times-Roman@0 SF(int)157 111 Q(checkcompat\(to, e\))157 121.8 Q(re)175 +132.6 Q(gister ADDRESS *to;)-.135 E(re)175 143.4 Q(gister ENVELOPE *e;) +-.135 E({)157 154.2 Q(re)175 165 Q(gister ST)-.135 E(AB *s;)-.837 E 2.25 +(s=s)175 186.6 S(tab\("pri)-2.25 E -.225(va)-.225 G +(te", ST_MAILER, ST_FIND\);).225 E +(if \(s != NULL && e\255>e_from.q_mailer != LocalMailer &&)175 197.4 Q +(to->q_mailer == s->s_mailer\))184 208.2 Q({)175 219 Q(usrerr\("No pri) +193 229.8 Q -.225(va)-.225 G(te net mail allo).225 E +(wed through this machine"\);)-.225 E(return \(EX_UN)193 240.6 Q -1.215 +(AVA)-.315 G(ILABLE\);)1.215 E(})175 251.4 Q +(if \(MsgSize > 50000 && bitnset\(M_LOCALMAILER, to\255>q_mailer\)\))175 +262.2 Q({)175 273 Q(usrerr\("Message too lar)193 283.8 Q +(ge for non-local deli)-.162 E -.135(ve)-.225 G(ry"\);).135 E +(e\255>e_\215ags |= EF_NORETURN;)193 294.6 Q(return \(EX_UN)193 305.4 Q +-1.215(AVA)-.315 G(ILABLE\);)1.215 E(})175 316.2 Q(return \(EX_OK\);)175 +327 Q(})157 337.8 Q F2 .969(This w)117 354 R .969 +(ould reject messages greater than 50000 bytes unless the)-.1 F 3.469 +(yw)-.15 G .97(ere local.)-3.469 F(The)5.97 E F1(EF_NORE-)3.47 E(TURN) +117 366 Q F2 .652(\215ag can be set in)3.152 F F1(e)3.152 E/F4 10/Symbol +SFA F1(e_\215a)A(gs)-.1 E F2 .651 +(to suppress the return of the actual body of the message in)3.152 F +.655(the error return.)117 378 R .655(The actual use of this routine is\ + highly dependent on the implementation, and)5.655 F +(use should be limited.)117 390 Q F0 2.5(6.3.3. New)102 414 R +(Database Map Classes)2.5 E F2(Ne)142 430.2 Q 2.876(wk)-.25 G .676 -.15 +(ey m)-2.976 H .375(aps can be added by creating a class initialization\ + function and a lookup func-).15 F 2.5(tion. These)117 442.2 R +(are then added to the routine)2.5 E F1(setupmaps.)2.5 E F2 +(The initialization function is called as)142 458.4 Q F1(xxx)157 474.6 Q +F2(_map_init\(MAP *map, char *ar)A(gs\))-.18 E(The)117 490.8 Q F1(map) +3.279 E F2 .779(is an internal data structure.)3.279 F(The)5.779 E F1 +(ar)3.279 E(gs)-.37 E F2 .78 +(is a pointer to the portion of the con\214guration)3.279 F .397 +(\214le line follo)117 502.8 R .396 +(wing the map class name; \215ags and \214lenames can be e)-.25 F .396 +(xtracted from this line.)-.15 F(The)5.396 E +(initialization function must return)117 514.8 Q F3(true)2.5 E F2 +(if it successfully opened the map,)2.5 E F3 -.09(fa)2.5 G(lse).09 E F2 +(otherwise.)2.5 E(The lookup function is called as)142 531 Q F1(xxx)157 +547.2 Q F2(_map_lookup\(MAP *map, char b)A(uf[], char **a)-.2 E 1.3 -.65 +(v, i)-.2 H(nt *statp\)).65 E(The)117 563.4 Q F1(map)2.772 E F2 .272 +(de\214nes the map internally)2.772 F 5.273(.T)-.65 G(he)-5.273 E F1 -.2 +(bu)2.773 G(f).2 E F2 .273(has the input k)2.773 F -.15(ey)-.1 G 5.273 +(.T)-.5 G .273(his may be \(and often is\) used)-5.273 F(destructi)117 +575.4 Q -.15(ve)-.25 G(ly).15 E 5.152(.T)-.65 G(he)-5.152 E F1(av)2.652 +E F2 .151(is a list of ar)2.652 F .151(guments passed in from the re) +-.18 F .151(write line.)-.25 F .151(The lookup function)5.151 F .322 +(should return a pointer to the ne)117 587.4 R 2.822(wv)-.25 G 2.822 +(alue. If)-3.072 F .322(the map lookup f)2.822 F(ails,)-.1 E F1(*statp) +2.822 E F2 .322(should be set to an e)2.822 F(xit)-.15 E .302 +(status code; in particular)117 599.4 R 2.802(,i)-.4 G 2.802(ts)-2.802 G +.302(hould be set to)-2.802 F F3(EX_TEMPF)2.802 E(AIL)-.666 E F2 .302 +(if reco)2.802 F -.15(ve)-.15 G .301(ry is to be attempted by the).15 F +(higher le)117 611.4 Q -.15(ve)-.25 G 2.5(lc).15 G(ode.)-2.5 E F0 2.5 +(6.3.4. Queueing)102 635.4 R(Function)2.5 E F2 .782(The routine)142 +651.6 R F1(shouldqueue)3.282 E F2 .783 +(is called to decide if a message should be queued or processed)3.283 F +(immediately)117 663.6 Q 6.619(.T)-.65 G 1.618 +(ypically this compares the message priority to the current load a) +-7.419 F -.15(ve)-.2 G 4.118(rage. The).15 F(def)117 675.6 Q +(ault de\214nition is:)-.1 E 0 Cg EP +%%Page: 98 94 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 193.36(SMM:08-98 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF(bool)157 +96 Q(shouldqueue\(pri, ctime\))157 108 Q(long pri;)175 120 Q +(time_t ctime;)175 132 Q({)157 144 Q(if \(CurrentLA < QueueLA\))175 156 +Q(return f)193 168 Q(alse;)-.1 E(return \(pri > \(QueueF)175 180 Q +(actor / \(CurrentLA \255 QueueLA + 1\)\)\);)-.15 E(})157 192 Q 2.062 +(If the current load a)117 208.2 R -.15(ve)-.2 G 2.062(rage \(global v) +.15 F(ariable)-.25 E/F2 10/Times-Italic@0 SF(Curr)4.562 E(entLA)-.37 E +F1 4.562(,w)C 2.062(hich is set before this function is)-4.562 F 1.058 +(called\) is less than the lo)117 220.2 R 3.558(wt)-.25 G 1.058 +(hreshold load a)-3.558 F -.15(ve)-.2 G 1.058(rage \(option).15 F F0(x) +3.557 E F1 3.557(,v)C(ariable)-3.807 E F2(QueueLA)3.557 E F1(\),)A F2 +(shouldqueue)3.557 E F1(returns)117 232.2 Q/F3 9/Times-Roman@0 SF -.09 +(fa)3.248 G(lse).09 E F1 .748(immediately \(that is, it should)3.248 F +F2(not)3.248 E F1 3.249(queue\). If)3.249 F .749(the current load a) +3.249 F -.15(ve)-.2 G .749(rage e).15 F .749(xceeds the)-.15 F 1.419 +(high threshold load a)117 244.2 R -.15(ve)-.2 G 1.419(rage \(option).15 +F F0(X)3.919 E F1 3.919(,v)C(ariable)-4.169 E F2(RefuseLA)3.919 E F1 +(\),)A F2(shouldqueue)3.918 E F1(returns)3.918 E F3(true)3.918 E F1 +(immedi-)3.918 E(ately)117 256.2 Q 7.125(.O)-.65 G 2.125 +(therwise, it computes the function based on the message priority)-7.125 +F 4.626(,t)-.65 G 2.126(he queue f)-4.626 F(actor)-.1 E(\(option)117 +268.2 Q F0(q)2.5 E F1 2.5(,g)C(lobal v)-2.5 E(ariable)-.25 E F2(QueueF) +2.5 E(actor)-.75 E F1(\), and the current and threshold load a)A -.15 +(ve)-.2 G(rages.).15 E 1.067(An implementation wishing to tak)142 284.4 +R 3.567(et)-.1 G 1.066 +(he actual age of the message into account can also)-3.567 F 1.41 +(use the)117 296.4 R F2(ctime)3.91 E F1(parameter)3.91 E 3.91(,w)-.4 G +1.41(hich is the time that the message w)-3.91 F 1.41 +(as \214rst submitted to)-.1 F F2(sendmail)3.91 E F1(.)A .929 +(Note that the)117 308.4 R F2(pri)3.428 E F1 .928(parameter is already \ +weighted by the number of times the message has been)3.428 F .395 +(tried \(although this tends to lo)117 320.4 R .395 +(wer the priority of the message with time\); the e)-.25 F .395 +(xpectation is that)-.15 F(the)117 332.4 Q F2(ctime)2.674 E F1 -.1(wo) +2.674 G .174 +(uld be used as an \231escape clause\232 to ensure that messages are e) +.1 F -.15(ve)-.25 G .174(ntually processed.).15 F F0 2.5 +(6.3.5. Refusing)102 356.4 R(Incoming SMTP Connections)2.5 E F1 2.062 +(The function)142 372.6 R F2 -.37(re)4.562 G(fuseconnections).37 E F1 +(returns)4.562 E F3(true)4.562 E F1 2.063 +(if incoming SMTP connections should be)4.562 F 3.564(refused. The)117 +384.6 R 1.063(current implementation is based e)3.563 F(xclusi)-.15 E +-.15(ve)-.25 G 1.063(ly on the current load a).15 F -.15(ve)-.2 G 1.063 +(rage and the).15 F(refuse load a)117 396.6 Q -.15(ve)-.2 G +(rage option \(option).15 E F0(X)2.5 E F1 2.5(,g)C(lobal v)-2.5 E +(ariable)-.25 E F2(RefuseLA)2.5 E F1(\):)A(bool)157 412.8 Q +(refuseconnections\(\))157 424.8 Q({)157 436.8 Q +(return \(RefuseLA > 0 && CurrentLA >= RefuseLA\);)175 448.8 Q(})157 +460.8 Q 2.5(Am)117 477 S(ore cle)-2.5 E -.15(ve)-.25 G 2.5(ri).15 G +(mplementation could look at more system resources.)-2.5 E F0 2.5 +(6.3.6. Load)102 501 R -.6 -1(Av e)2.5 H(rage Computation)1 E F1 .243 +(The routine)142 517.2 R F2 -.1(ge)2.743 G(tla).1 E F1 .243 +(returns the current load a)2.743 F -.15(ve)-.2 G .243 +(rage \(as a rounded inte).15 F 2.743(ger\). The)-.15 F(distrib)2.744 E +(ution)-.2 E 1.157(includes se)117 529.2 R -.15(ve)-.25 G 1.157 +(ral possible implementations.).15 F 1.157(If you are porting to a ne) +6.157 F 3.657(we)-.25 G -.4(nv)-3.657 G 1.157(ironment you may).4 F +(need to add some ne)117 543.2 Q 2.5(wt)-.25 G(weaks.)-2.5 E/F4 7 +/Times-Roman@0 SF(25)-4 I F0 2.5(6.4. Con\214guration)87 567.2 R +(in sendmail/daemon.c)2.5 E F1 .127(The \214le)127 583.4 R F2 +(sendmail/daemon.c)2.627 E F1 .128 +(contains a number of routines that are dependent on the local net-) +2.628 F -.1(wo)102 595.4 S(rking en).1 E 2.5(vironment. The)-.4 F -.15 +(ve)2.5 G(rsion supplied assumes you ha).15 E .3 -.15(ve B)-.2 H +(SD style sock).15 E(ets.)-.1 E 2.16(In pre)127 611.6 R 2.16 +(vious releases, we recommended that you modify the routine)-.25 F F2 +(maphostname)4.66 E F1 2.16(if you)4.66 F -.1(wa)102 623.6 S 1.918 +(nted to generalize).1 F F0($[)4.418 E F1(...)4.418 E F0($])4.418 E F1 +4.418(lookups. W)4.418 F 4.418(en)-.8 G 2.418 -.25(ow r)-4.418 H 1.918 +(ecommend that you create a ne).25 F 4.419(wk)-.25 G -.15(ey)-4.519 G +1.919(ed map).15 F(instead.)102 635.6 Q .32 LW 76 678.8 72 678.8 DL 80 +678.8 76 678.8 DL 84 678.8 80 678.8 DL 88 678.8 84 678.8 DL 92 678.8 88 +678.8 DL 96 678.8 92 678.8 DL 100 678.8 96 678.8 DL 104 678.8 100 678.8 +DL 108 678.8 104 678.8 DL 112 678.8 108 678.8 DL 116 678.8 112 678.8 DL +120 678.8 116 678.8 DL 124 678.8 120 678.8 DL 128 678.8 124 678.8 DL 132 678.8 128 678.8 DL 136 678.8 132 678.8 DL 140 678.8 136 678.8 DL 144 678.8 140 678.8 DL 148 678.8 144 678.8 DL 152 678.8 148 678.8 DL 156 678.8 152 678.8 DL 160 678.8 156 678.8 DL 164 678.8 160 678.8 DL 168 @@ -6526,2535 +8759,331 @@ E F1 5.001(.T)C 2.501(od)-5.801 G .001 678.8 176 678.8 DL 184 678.8 180 678.8 DL 188 678.8 184 678.8 DL 192 678.8 188 678.8 DL 196 678.8 192 678.8 DL 200 678.8 196 678.8 DL 204 678.8 200 678.8 DL 208 678.8 204 678.8 DL 212 678.8 208 678.8 DL 216 -678.8 212 678.8 DL/F4 5/Times-Roman@0 SF(20)93.6 689.2 Q/F5 8 -/Times-Roman@0 SF(N.B.: the)3.2 I/F6 8/Times-Bold@0 SF(nor)2 E(eceipts) --.144 E F5(\215ag turns of)2 E 2(fs)-.2 G(upport for RFC 1891 \(Deli)-2 -E -.12(ve)-.2 G(ry Status Noti\214cation\).).12 E 0 Cg EP -%%Page: 73 69 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-73)195.86 E/F1 10/Times-Roman@0 SF(QueueF)102 96 Q(actor=)-.15 E -/F2 10/Times-Italic@0 SF(factor)A F1 .614([q] Use)174 108 R F2(factor) -3.114 E F1 .613 -(as the multiplier in the map function to decide when to just queue) -3.114 F .415(up jobs rather than run them.)174 120 R .415(This v)5.415 F -.415(alue is di)-.25 F .415(vided by the dif)-.25 F .415 -(ference between the)-.25 F 1.004(current load a)174 132 R -.15(ve)-.2 G -1.004(rage and the load a).15 F -.15(ve)-.2 G 1.004(rage limit \().15 F -F0(QueueLA)A F1 1.003(option\) to determine)3.503 F -(the maximum message priority that will be sent.)174 144 Q(Def)5 E -(aults to 600000.)-.1 E(QueueLA=)102 160.2 Q F2(LA)A F1 1.086 -([x] When the system load a)15.26 F -.15(ve)-.2 G 1.087(rage e).15 F -(xceeds)-.15 E F2(LA)3.587 E F1 1.087(and the)3.587 F F0(QueueF)3.587 E -(actor)-.25 E F1(\()3.587 E F0(q)A F1 3.587(\)o)C(ption)-3.587 E(di)174 -172.2 Q 1.465(vided by the dif)-.25 F 1.465 -(ference in the current load a)-.25 F -.15(ve)-.2 G 1.465(rage and the) -.15 F F0(QueueLA)3.965 E F1(option)3.965 E .769(plus one is less than t\ -he priority of the message, just queue messages \(i.e., don')174 184.2 R -(t)-.18 E .248(try to send them\).)174 196.2 R(Def)5.247 E .247 -(aults to 8 multiplied by the number of processors online on)-.1 F -(the system \(if that can be determined\).)174 208.2 Q(QueueFileMode=) -102 224.4 Q F2(mode)A F1 .961([no short name] Def)174 236.4 R .962 -(ault permissions for queue \214les \(octal\).)-.1 F .962 -(If not set, sendmail)5.962 F .213(uses 0600 unless its real and ef)174 -248.4 R(fecti)-.25 E .513 -.15(ve u)-.25 H .213(id are dif).15 F .212 -(ferent in which case it uses 0644.)-.25 F(QueueSortOrder=)102 264.6 Q -F2(algorithm)A F1 .096([no short name] Sets the)174 276.6 R F2 -(algorithm)2.596 E F1 .096(used for sorting the queue.)2.596 F .097 -(Only the \214rst char)5.097 F(-)-.2 E 1.022(acter of the v)174 288.6 R -1.022(alue is used.)-.25 F(Le)6.021 E -.05(ga)-.15 G 3.521(lv).05 G -1.021(alues are \231host\232 \(to order by the name of the)-3.771 F 1.73 -(\214rst host name of the \214rst recipient\), \231\214lename\232 \(to \ -order by the name of the)174 300.6 R .283(queue \214le name\), \231time\ -\232 \(to order by the submission/creation time\), \231random\232 \(to) -174 312.6 R .906(order randomly\), \231modi\214cation\232 \(to order by\ - the modi\214cation time of the qf \214le)174 324.6 R 1.349(\(older ent\ -ries \214rst\)\), \231none\232 \(to not order\), and \231priority\232 \ -\(to order by message)174 336.6 R 2.527(priority\). Host)174 348.6 R -.027(ordering mak)2.527 F .028(es better use of the connection cache, b) --.1 F .028(ut may tend to)-.2 F .323(process lo)174 360.6 R 2.823(wp) --.25 G .322(riority messages that go to a single host o)-2.823 F -.15 -(ve)-.15 G 2.822(rh).15 G .322(igh priority messages)-2.822 F 1.824 -(that go to se)174 372.6 R -.15(ve)-.25 G 1.824 -(ral hosts; it probably shouldn').15 F 4.325(tb)-.18 G 4.325(eu)-4.325 G -1.825(sed on slo)-4.325 F 4.325(wn)-.25 G(etw)-4.325 E 1.825(ork links.) --.1 F .614(Filename and modi\214cation time ordering sa)174 384.6 R -.15 -(ve)-.2 G 3.114(st).15 G .614(he o)-3.114 F -.15(ve)-.15 G .614 -(rhead of reading all of the).15 F .671 -(queued items before starting the queue run.)174 396.6 R .671 -(Creation \(submission\) time ordering)5.671 F 1.854(is almost al)174 -408.6 R -.1(wa)-.1 G 1.854(ys a bad idea, since it allo).1 F 1.854 -(ws lar)-.25 F 1.854(ge, b)-.18 F 1.854(ulk mail to go out before)-.2 F -(smaller)174 420.6 Q 3.713(,p)-.4 G 1.213(ersonal mail, b)-3.713 F 1.213 -(ut may ha)-.2 F 1.513 -.15(ve a)-.2 H 1.214 -(pplicability on some hosts with v).15 F 1.214(ery f)-.15 F(ast)-.1 E -2.632(connections. Random)174 432.6 R .132(is useful if se)2.632 F -.15 -(ve)-.25 G .131(ral queue runners are started by hand which).15 F .389 -(try to drain the same queue since odds are the)174 444.6 R 2.889(yw) --.15 G .39(ill be w)-2.889 F .39(orking on dif)-.1 F .39(ferent parts) --.25 F(of the queue at the same time.)174 456.6 Q -(Priority ordering is the def)5 E(ault.)-.1 E(QueueT)102 472.8 Q -(imeout=)-.35 E F2(timeout)A F1 .356([T] A synon)174 484.8 R .356 -(ym for \231T)-.15 F 2.856(imeout.queuereturn\232. Use)-.35 F .355 -(that form instead of the \231Queue-)2.855 F -.35(Ti)174 496.8 S -(meout\232 form.).35 E 32.83(RandFile [no)102 513 R 1.036(short name] N\ -ame of \214le containing random data or the name of the UNIX)3.536 F -(sock)174 525 Q 1.631(et if EGD is used.)-.1 F 4.131(A\()6.631 G 1.631 -(required\) pre\214x "e)-4.131 F 1.63 -(gd:" or "\214le:" speci\214es the type.)-.15 F(ST)174 537 Q(AR)-.93 E -1.561 -(TTLS requires this \214lename if the compile \215ag HASURANDOMDEV is) --.6 F(not set \(see sendmail/README\).)174 549 Q(Resolv)102 565.2 Q -(erOptions=)-.15 E F2(options)A F1 .128([I] Set resolv)174 577.2 R .127 -(er options.)-.15 F -1.11(Va)5.127 G .127(lues can be set using)1.11 F -F0(+)2.627 E F2<8d61>A(g)-.1 E F1 .127(and cleared using)2.627 F F0 -2.627 E F2<8d61>A(g)-.1 E F1 2.627(;t)C(he)-2.627 E F2<8d61>174 589.2 Q -(g)-.1 E F1 5.013(sc)C 2.513(an be \231deb)-5.013 F 2.513 -(ug\232, \231aaonly\232, \231use)-.2 F 2.514 -(vc\232, \231primary\232, \231igntc\232, \231recurse\232, \231def-)-.25 -F 2.689 -(names\232, \231stayopen\232, \231use_inet6\232, or \231dnsrch\232.)174 -601.2 R 2.688(The string \231HasW)7.688 F(ildcardMX\232)-.4 E .282 -(\(without a)174 613.2 R F0(+)2.782 E F1(or)2.782 E F02.782 E F1 -2.782(\)c)C .283(an be speci\214ed to turn of)-2.782 F 2.783(fm)-.25 G -.283(atching ag)-2.783 F .283(ainst MX records when)-.05 F .89 -(doing name canoni\214cations.)174 625.2 R .89(The string \231W)5.89 F -(orkAroundBrok)-.8 E .89(enAAAA\232 \(without a)-.1 F F0(+)174 637.2 Q -F1(or)3.472 E F03.472 E F1 3.472(\)c)C .972(an be speci\214ed to w) --3.472 F .972(ork around some brok)-.1 F .973(en nameserv)-.1 F .973 -(ers which return)-.15 F(SER)174 649.2 Q(VF)-.8 E 1.001 -(AIL \(a temporary f)-.74 F 1.001(ailure\) on T_AAAA \(IPv6\) lookups.) --.1 F 1.001(Notice: it might)6.001 F -(be necessary to apply the same \(or similar\) options to)174 661.2 Q F2 -(submit.cf)2.5 E F1(too.)2.5 E -1.04(RequiresDirfsync [no)102 677.4 R -2.782(short name] This option can be used to o)5.282 F -.15(ve)-.15 G -2.783(rride the compile time \215ag).15 F F0(REQ)174 689.4 Q -(UIRES_DIR_FSYNC)-.1 E F1 .872(at runtime by setting it to)3.372 F/F3 9 -/Times-Roman@0 SF -.09(fa)3.372 G(lse).09 E F1 5.871(.I)C 3.371(ft) --5.871 G .871(he compile time)-3.371 F .017 -(\215ag is not set, the option is ignored.)174 701.4 R .018 -(The \215ag turns on support for \214le systems that)5.017 F .21 -(require to call)174 713.4 R F2(fsync\(\))2.71 E F1 .209 -(for a directory if the meta-data in it has been changed.)2.71 F(This) -5.209 E .074(should be turned on at least for older v)174 725.4 R .075 -(ersions of ReiserFS; it is enabled by def)-.15 F(ault)-.1 E 0 Cg EP -%%Page: 74 70 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-74 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 1.451 -(for Linux.)174 96 R 1.451 -(According to some information this \215ag is not needed an)6.451 F 1.45 -(ymore for)-.15 F -.1(ke)174 108 S(rnel 2.4.16 and ne).1 E(wer)-.25 E(.) --.55 E 10.61(RrtImpliesDsn [R])102 124.2 R 1.52 -(If this option is set, a \231Return-Receipt-T)4.02 F 1.52 -(o:\232 header causes the request of a)-.8 F 1.02 -(DSN, which is sent to the en)174 136.2 R -.15(ve)-.4 G 1.02 -(lope sender as required by RFC 1891, not to the).15 F(address gi)174 -148.2 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(nt)-2.5 G(he header)-2.5 E(.) --.55 E(RunAsUser=)102 164.4 Q/F2 10/Times-Italic@0 SF(user)A F1 3.752 -([no short name] The)2.48 F F2(user)6.252 E F1 3.752 -(parameter may be a user name \(look)6.252 F 3.753(ed up in)-.1 F F2 -(/etc/passwd)174 176.4 Q F1 3.046(\)o)C 3.046(ran)-3.046 G .546 -(umeric user id; either form can ha)-3.046 F .846 -.15(ve \231)-.2 H -.545(:group\232 attached \(where).15 F .965 -(group can be numeric or symbolic\).)174 188.4 R .966 -(If set to a non-zero \(non-root\) v)5.965 F(alue,)-.25 E F2(send-)3.466 -E(mail)174 202.4 Q F1 .484 -(will change to this user id shortly after startup)2.984 F/F3 7 -/Times-Roman@0 SF(21)-4 I F1 5.483(.T)4 K .483(his a)-5.483 F -.2(vo)-.2 -G .483(ids a certain class).2 F 1.844(of security problems.)174 214.4 R -(Ho)6.844 E(we)-.25 E -.15(ve)-.25 G 2.644 -.4(r, t).15 H 1.844 -(his means that all \231.forw).4 F 1.844(ard\232 and \231:include:\232) --.1 F 1.428(\214les must be readable by the indicated)174 226.4 R F2 -(user)3.928 E F1 1.428(and all \214les to be written must be)3.928 F -.042(writable by)174 238.4 R F2(user)2.542 E F1 .042 -(Also, all \214le and program deli)2.542 F -.15(ve)-.25 G .043 -(ries will be mark).15 F .043(ed unsafe unless)-.1 F 2.102(the option) -174 250.4 R F0(DontBlameSendmail=NonRootSafeAddr)4.602 E F1 2.101 -(is set, in which case the)4.601 F(deli)174 262.4 Q -.15(ve)-.25 G .777 -(ry will be done as).15 F F2(user)3.277 E F1 5.777(.I)C 3.278(ti)-5.777 -G 3.278(sa)-3.278 G .778(lso incompatible with the)-3.278 F F0 -(SafeFileEn)3.278 E(vir)-.4 E(on-)-.18 E(ment)174 274.4 Q F1 2.621 -(option. In)2.621 F .121(other w)2.621 F .121 -(ords, it may not actually add much to security on an a)-.1 F -.15(ve) --.2 G -.2(r-).15 G .592(age system, and may in f)174 286.4 R .593 -(act detract from security \(because other \214le permissions)-.1 F 1.58 -(must be loosened\).)174 298.4 R(Ho)6.579 E(we)-.25 E -.15(ve)-.25 G -2.379 -.4(r, i).15 H 4.079(ts).4 G 1.579(hould be useful on \214re) --4.079 F -.1(wa)-.25 G 1.579(lls and other places).1 F(where users don') -174 310.4 Q 2.5(th)-.18 G -2.25 -.2(av e)-2.5 H -(accounts and the aliases \214le is well constrained.)2.7 E(RecipientF) -102 326.6 Q(actor=)-.15 E F2(fact)A F1 .637([y] The indicated)174 338.6 -R F2(fact)3.137 E F1 .637(or is added to the priority \(thus)B F2 -(lowering)3.137 E F1 .638(the priority of the)3.137 F .231 -(job\) for each recipient, i.e., this v)174 350.6 R .231 -(alue penalizes jobs with lar)-.25 F .23(ge numbers of recipi-)-.18 F -2.5(ents. Def)174 362.6 R(aults to 30000.)-.1 E(RefuseLA=)102 378.8 Q F2 -(LA)A F1 1.012([X] When the system load a)13.59 F -.15(ve)-.2 G 1.012 -(rage e).15 F(xceeds)-.15 E F2(LA)3.512 E F1 3.512(,r)C 1.012 -(efuse incoming SMTP connec-)-3.512 F 2.659(tions. Def)174 390.8 R .158 -(aults to 12 multiplied by the number of processors online on the syste\ -m)-.1 F(\(if that can be determined\).)174 402.8 Q(RejectLogInterv)102 -419 Q(al=)-.25 E F2(timeout)A F1 1.627([no short name] Log interv)174 -431 R 1.627(al when refusing connections for this long \(def)-.25 F -(ault:)-.1 E(3h\).)174 443 Q(RetryF)102 459.2 Q(actor=)-.15 E F2(fact)A -F1 .772([Z] The)3.74 F F2(fact)3.272 E F1 .772 -(or is added to the priority e)B -.15(ve)-.25 G .771 -(ry time a job is processed.).15 F .771(Thus, each)5.771 F .994(time a \ -job is processed, its priority will be decreased by the indicated v)174 -471.2 R 3.494(alue. In)-.25 F 1.108(most en)174 483.2 R 1.108 -(vironments this should be positi)-.4 F -.15(ve)-.25 G 3.608(,s).15 G -1.108(ince hosts that are do)-3.608 F 1.107(wn are all too)-.25 F -(often do)174 495.2 Q(wn for a long time.)-.25 E(Def)5 E -(aults to 90000.)-.1 E(SafeFileEn)102 511.4 Q(vironment=)-.4 E F2(dir)A -F1 .021([no short name] If this option is set,)174 523.4 R F2(sendmail) -2.521 E F1 .021(will do a)2.521 F F2 -.15(ch)2.521 G -.45(ro).15 G(ot) -.45 E F1 .022(\(2\) call into the indi-)B(cated)174 535.4 Q F2(dir)2.833 -E F1 .333(ectory before doing an)B 2.833<798c>-.15 G .333(le writes.) --2.833 F .333(If the \214le name speci\214ed by the user)5.333 F(be)174 -547.4 Q .587(gins with)-.15 F F2(dir)3.087 E F1 3.087(,t)C .587 -(hat partial path name will be stripped of)-3.087 F 3.087(fb)-.25 G .588 -(efore writing, so \(for)-3.087 F -.15(ex)174 559.4 S 2.225 -(ample\) if the SafeFileEn).15 F 2.225(vironment v)-.4 F 2.224 -(ariable is set to \231/safe\232 then aliases of)-.25 F 1.557(\231/safe\ -/logs/\214le\232 and \231/logs/\214le\232 actually indicate the same \ -\214le.)174 571.4 R(Additionally)6.557 E 4.057(,i)-.65 G(f)-4.057 E -(this option is set,)174 583.4 Q F2(sendmail)2.5 E F1(refuses to deli) -2.5 E -.15(ve)-.25 G 2.5(rt).15 G 2.5(os)-2.5 G(ymbolic links.)-2.5 E -(Sa)102 599.6 Q -.15(ve)-.2 G 10.41(FromLine [f]).15 F(Sa)4.493 E 2.293 --.15(ve U)-.2 H 1.993 -(NIX-style \231From\232 lines at the front of headers.).15 F 1.992 -(Normally the)6.992 F 4.492(ya)-.15 G(re)-4.492 E -(assumed redundant and discarded.)174 611.6 Q .62(SendMimeErrors [j])102 -627.8 R .373(If set, send error messages in MIME format \(see RFC 2045 \ -and RFC 1344 for)2.873 F 2.915(details\). If)174 639.8 R(disabled,)2.915 -E F2(sendmail)2.915 E F1 .415(will not return the DSN k)2.915 F -.15(ey) --.1 G -.1(wo).15 G .414(rd in response to an).1 F 1.731 -(EHLO and will not do Deli)174 651.8 R -.15(ve)-.25 G 1.731 -(ry Status Noti\214cation processing as described in).15 F(RFC 1891.)174 -663.8 Q .32 LW 76 678.8 72 678.8 DL 80 678.8 76 678.8 DL 84 678.8 80 -678.8 DL 88 678.8 84 678.8 DL 92 678.8 88 678.8 DL 96 678.8 92 678.8 DL -100 678.8 96 678.8 DL 104 678.8 100 678.8 DL 108 678.8 104 678.8 DL 112 -678.8 108 678.8 DL 116 678.8 112 678.8 DL 120 678.8 116 678.8 DL 124 -678.8 120 678.8 DL 128 678.8 124 678.8 DL 132 678.8 128 678.8 DL 136 -678.8 132 678.8 DL 140 678.8 136 678.8 DL 144 678.8 140 678.8 DL 148 -678.8 144 678.8 DL 152 678.8 148 678.8 DL 156 678.8 152 678.8 DL 160 -678.8 156 678.8 DL 164 678.8 160 678.8 DL 168 678.8 164 678.8 DL 172 -678.8 168 678.8 DL 176 678.8 172 678.8 DL 180 678.8 176 678.8 DL 184 -678.8 180 678.8 DL 188 678.8 184 678.8 DL 192 678.8 188 678.8 DL 196 -678.8 192 678.8 DL 200 678.8 196 678.8 DL 204 678.8 200 678.8 DL 208 -678.8 204 678.8 DL 212 678.8 208 678.8 DL 216 678.8 212 678.8 DL/F4 5 -/Times-Roman@0 SF(21)93.6 689.2 Q/F5 8/Times-Roman@0 SF(When running as\ - a daemon, it changes to this user after accepting a connection b)3.2 I -(ut before reading an)-.16 E(y)-.12 E F3(SMTP)2 E F5(commands.)2 E 0 Cg -EP -%%Page: 75 71 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-75)195.86 E/F1 10/Times-Roman@0 SF(Serv)102 96 Q 10.77 -(erCertFile [no)-.15 F .581 -(short name] File containing the certi\214cate of the serv)3.081 F(er) --.15 E 3.081(,i)-.4 G .58(.e., this certi\214cate is)-3.081 F -(used when sendmail acts as serv)174 108 Q(er \(used for ST)-.15 E(AR) --.93 E(TTLS\).)-.6 E(Serv)102 124.2 Q(erK)-.15 E -.15(ey)-.25 G 11.73 -(File [no).15 F .542(short name] File containing the pri)3.042 F -.25 -(va)-.25 G .543(te k).25 F .843 -.15(ey b)-.1 H .543 -(elonging to the serv).15 F .543(er certi\214cate)-.15 F(\(used for ST) -174 136.2 Q(AR)-.93 E(TTLS\).)-.6 E(ServiceSwitchFile=)102 152.4 Q/F2 10 -/Times-Italic@0 SF(\214lename)A F1 1.533([no short name] If your host o\ -perating system has a service switch abstraction)174 164.4 R .003(\(e.g\ -., /etc/nsswitch.conf on Solaris or /etc/svc.conf on Ultrix and DEC OSF\ -/1\) that)174 176.4 R .814 -(service will be consulted and this option is ignored.)174 188.4 R .814 -(Otherwise, this is the name)5.814 F 1.082(of a \214le that pro)174 -200.4 R 1.082 -(vides the list of methods used to implement particular services.)-.15 F -1.069(The syntax is a series of lines, each of which is a sequence of w) -174 212.4 R 3.569(ords. The)-.1 F(\214rst)3.569 E -.1(wo)174 224.4 S -1.363(rd is the service name, and follo).1 F 1.363(wing w)-.25 F 1.364 -(ords are service types.)-.1 F 1.364(The services)6.364 F(that)174 236.4 -Q F2(sendmail)4.11 E F1 1.61 -(consults directly are \231aliases\232 and \231hosts.)4.11 F 6.61<9a53> --.7 G 1.61(ervice types can be)-6.61 F 1.754(\231dns\232, \231nis\232, \ -\231nisplus\232, or \231\214les\232 \(with the ca)174 248.4 R -.15(ve) --.2 G 1.755(at that the appropriate support).15 F .791 -(must be compiled in before the service can be referenced\).)174 260.4 R -.79(If ServiceSwitchFile)5.791 F .925(is not speci\214ed, it def)174 -272.4 R .925(aults to /etc/mail/service.switch.)-.1 F .925 -(If that \214le does not e)5.925 F(xist,)-.15 E(the def)174 284.4 Q -(ault switch is:)-.1 E 54.71(aliases \214les)214 300.6 R 60.81 -(hosts dns)214 312.6 R(nis \214les)2.5 E(The def)174 328.8 Q -(ault \214le is \231/etc/mail/service.switch\232.)-.1 E(Se)102 345 Q --.15(ve)-.25 G 12.12(nBitInput [7]).15 F .322(Strip input to se)2.822 F --.15(ve)-.25 G 2.822(nb).15 G .321 -(its for compatibility with old systems.)-2.822 F .321(This shouldn') -5.321 F 2.821(tb)-.18 G(e)-2.821 E(necessary)174 357 Q(.)-.65 E -(SharedMemoryK)102 373.2 Q -.15(ey)-.25 G .744([no short name] K)174 -385.2 R 1.044 -.15(ey t)-.25 H 3.244(ou).15 G .745 -(se for shared memory se)-3.244 F .745 -(gment; if not set \(or 0\), shared)-.15 F 1.16 -(memory will not be used.)174 397.2 R 1.159(If set to -1)6.16 F F2 -(sendmail)3.659 E F1 1.159(can select a k)3.659 F 1.459 -.15(ey i)-.1 H -1.159(tself pro).15 F(vided)-.15 E .658(that also)174 409.2 R F0(Shar) -3.158 E(edMemoryK)-.18 E(eyFile)-.25 E F1 .658(is set.)3.158 F .658 -(Requires support for shared memory to)5.658 F 1.413(be compiled into) -174 421.2 R F2(sendmail)3.913 E F1 6.413(.I)C 3.912(ft)-6.413 G 1.412 -(his option is set,)-3.912 F F2(sendmail)3.912 E F1 1.412 -(can share some data)3.912 F .307(between dif)174 433.2 R .307 -(ferent instances.)-.25 F -.15(Fo)5.307 G 2.807(re).15 G .308 -(xample, the number of entries in a queue direc-)-2.957 F .033 -(tory or the a)174 445.2 R -.25(va)-.2 G .032 -(ilable space in a \214le system.).25 F .032(This allo)5.032 F .032 -(ws for more ef)-.25 F .032(\214cient program)-.25 F -.15(exe)174 457.2 -S .09(cution, since only one process needs to update the data instead o\ -f each indi).15 F(vid-)-.25 E(ual process g)174 469.2 Q -(athering the data each time it is required.)-.05 E(SharedMemoryK)102 -485.4 Q -.15(ey)-.25 G(File).15 E .087([no short name] If)174 497.4 R F0 -(Shar)2.587 E(edMemoryK)-.18 E(ey)-.25 E F1 .086 -(is set to -1 then the automatically selected)2.587 F(shared memory k) -174 509.4 Q .3 -.15(ey w)-.1 H(ill be stored in the speci\214ed \214le.) -.15 E(SingleLineFromHeader)102 525.6 Q .958 -([no short name] If set, From: lines that ha)174 537.6 R 1.259 -.15 -(ve e)-.2 H .959(mbedded ne).15 F .959(wlines are unwrapped)-.25 F .243 -(onto one line.)174 549.6 R .243 -(This is to get around a botch in Lotus Notes that apparently cannot) -5.243 F(understand le)174 561.6 Q -.05(ga)-.15 G -(lly wrapped RFC 822 headers.).05 E(SingleThreadDeli)102 577.8 Q -.15 -(ve)-.25 G(ry).15 E .333 -([no short name] If set, a client machine will ne)174 589.8 R -.15(ve) --.25 G 2.833(rt).15 G .334(ry to open tw)-2.833 F 2.834(oS)-.1 G .334 -(MTP connec-)-2.834 F 1.712(tions to a single serv)174 601.8 R 1.712 -(er machine at the same time, e)-.15 F -.15(ve)-.25 G 4.211(ni).15 G -4.211(nd)-4.211 G(if)-4.211 E 1.711(ferent processes.)-.25 F .952 -(That is, if another)174 613.8 R F2(sendmail)3.452 E F1 .952 -(is already talking to some host a ne)3.452 F(w)-.25 E F2(sendmail)3.453 -E F1(will)3.453 E 2.388(not open another connection.)174 625.8 R 2.387 -(This property is of mix)7.387 F 2.387(ed v)-.15 F 2.387 -(alue; although this)-.25 F .386(reduces the load on the other machine,\ - it can cause mail to be delayed \(for e)174 637.8 R(xam-)-.15 E .719 -(ple, if one)174 649.8 R F2(sendmail)3.219 E F1 .719(is deli)3.219 F --.15(ve)-.25 G .718(ring a huge message, other).15 F F2(sendmail)3.218 E -F1 3.218(sw)C(on')-3.318 E 3.218(tb)-.18 G 3.218(ea)-3.218 G(ble)-3.218 -E 1.542(to send e)174 661.8 R -.15(ve)-.25 G 4.042(ns).15 G 1.542 -(mall messages\).)-4.042 F 1.543 -(Also, it requires another \214le descriptor \(for the)6.542 F .997 -(lock \214le\) per connection, so you may ha)174 673.8 R 1.296 -.15 -(ve t)-.2 H 3.496(or).15 G .996(educe the)-3.496 F F0 -(ConnectionCacheSize)3.496 E F1 .234(option to a)174 685.8 R -.2(vo)-.2 -G .234(id running out of per).2 F .235(-process \214le descriptors.)-.2 -F .235(Requires the)5.235 F F0(HostSta-)2.735 E(tusDir)174 697.8 Q -(ectory)-.18 E F1(option.)2.5 E 0 Cg EP -%%Page: 76 72 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-76 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF -(SmtpGreetingMessage=)102 96 Q/F2 10/Times-Italic@0 SF(messa)A -.1(ge) --.1 G F1 .345([$e macro] The message printed when the SMTP serv)174 108 -R .344(er starts up.)-.15 F(Def)5.344 E .344(aults to \231$j)-.1 F -(Sendmail $v ready at $b\232.)174 120 Q 22.28(SoftBounce If)102 136.2 R -.092(set, issue temporary errors \(4xy\) instead of permanent errors \(\ -5xy\).)2.592 F .093(This can be)5.093 F .127 -(useful during testing of a ne)174 148.2 R 2.627(wc)-.25 G .127 -(on\214guration to a)-2.627 F -.2(vo)-.2 G .126 -(id erroneous bouncing of mails.).2 F(StatusFile=)102 164.4 Q F2(\214le) -A F1 .523([S] Log summary statistics in the named)14.13 F F2(\214le) -3.024 E F1 5.524(.I)C 3.024(fn)-5.524 G 3.024<6f8c>-3.024 G .524 -(le name is speci\214ed, "statis-)-3.024 F .548(tics" is used.)174 176.4 -R .547(If not set, no summary statistics are sa)5.548 F -.15(ve)-.2 G -3.047(d. This).15 F .547(\214le does not gro)3.047 F(w)-.25 E(in size.) -174 188.4 Q(It can be printed using the)5 E F2(mailstats)2.5 E F1 -(\(8\) program.)A 28.4(SuperSafe [s])102 204.6 R .364 -(This option can be set to T)2.864 F .364(rue, F)-.35 F .364 -(alse, Interacti)-.15 F -.15(ve)-.25 G 2.864(,o).15 G 2.864(rP)-2.864 G -(ostMilter)-2.864 E 5.364(.I)-.55 G 2.864(fs)-5.364 G .364(et to T) --2.864 F(rue,)-.35 E F2(sendmail)174 216.6 Q F1 .117(will be super)2.617 -F .116(-safe when running things, i.e., al)-.2 F -.1(wa)-.1 G .116 -(ys instantiate the queue).1 F .117(\214le, e)174 228.6 R -.15(ve)-.25 G -2.617(ni).15 G 2.617(fy)-2.617 G .117 -(ou are going to attempt immediate deli)-2.617 F -.15(ve)-.25 G(ry).15 E -(.)-.65 E F2(Sendmail)5.118 E F1(al)2.618 E -.1(wa)-.1 G .118 -(ys instan-).1 F .088(tiates the queue \214le before returning control \ -to the client under an)174 240.6 R 2.587(yc)-.15 G(ircumstances.)-2.587 -E 1.299(This should really)174 252.6 R F2(always)3.799 E F1 1.299 -(be set to T)3.799 F 3.799(rue. The)-.35 F(Interacti)3.799 E 1.599 -.15 -(ve v)-.25 H 1.3(alue has been intro-)-.1 F .222 -(duced in 8.12 and can be used together with)174 264.6 R F0(Deli)2.721 E --.1(ve)-.1 G(ryMode=i).1 E F1 5.221(.I)C 2.721(ts)-5.221 G .221 -(kips some syn-)-2.721 F 1.532(chronization calls which are ef)174 276.6 -R(fecti)-.25 E -.15(ve)-.25 G 1.533(ly doubled in the code e).15 F -.15 -(xe)-.15 G 1.533(cution path for).15 F .336(this mode.)174 288.6 R .336 -(If set to PostMilter)5.336 F(,)-.4 E F2(sendmail)2.836 E F1 .336 -(defers synchronizing the queue \214le until)2.836 F(an)174 300.6 Q -3.787(ym)-.15 G 1.287(ilters ha)-3.787 F 1.587 -.15(ve s)-.2 H 1.287 -(ignaled acceptance of the message.).15 F 1.288 -(PostMilter is useful only)6.287 F(when)174 312.6 Q F2(sendmail)3.822 E -F1 1.322(is running as an SMTP serv)3.822 F 1.321 -(er; in all other situations it acts the)-.15 F(same as T)174 324.6 Q -(rue.)-.35 E 6.16(TLSSrvOptions [no)102 340.8 R .238 -(short name] List of options for SMTP ST)2.737 F(AR)-.93 E .238 -(TTLS for the serv)-.6 F .238(er consisting of)-.15 F .18 -(single characters with interv)174 352.8 R .18 -(ening white space or commas.)-.15 F .18(The \215ag `)5.18 F(`V')-.74 E -2.68('d)-.74 G(isables)-2.68 E .51(client v)174 364.8 R .511(eri\214cat\ -ion, and hence it is not possible to use a client certi\214cate for rel\ -ay-)-.15 F 2.5(ing. Currently)174 376.8 R(there are no other \215ags a) -2.5 E -.25(va)-.2 G(ilable.).25 E -.7(Te)102 393 S(mpFileMode=).7 E F2 -(mode)A F1 .062 -([F] The \214le mode for transcript \214les, \214les to which)174 405 R -F2(sendmail)2.561 E F1(deli)2.561 E -.15(ve)-.25 G .061(rs directly).15 -F 2.561<2c8c>-.65 G(les)-2.561 E .61(in the)174 417 R F0(HostStatusDir) -3.11 E(ectory)-.18 E F1 3.11(,a)C(nd)-3.11 E F0(StatusFile)3.11 E F1 -5.61(.I)C 3.11(ti)-5.61 G 3.11(si)-3.11 G .61 -(nterpreted in octal by def)-3.11 F(ault.)-.1 E(Def)174 429 Q -(aults to 0600.)-.1 E -.35(Ti)102 445.2 S(meout.).35 E F2(type)A F1(=)A -F2(timeout)1.666 E F1 .417 -([r; subsumes old T option as well] Set timeout v)174 457.2 R 2.917 -(alues. F)-.25 F .417(or more information, see)-.15 F(section 4.1.)174 -469.2 Q -.35(Ti)102 485.4 S(meZoneSpec=).35 E F2(tzinfo)A F1 .218 -([t] Set the local time zone info to)174 497.4 R F2(tzinfo)2.718 E F1 -2.718<8a66>2.718 G .218(or e)-2.718 F .218(xample, \231PST8PDT\232.)-.15 -F(Actually)5.218 E 2.718(,i)-.65 G(f)-2.718 E 1.346 -(this is not set, the TZ en)174 509.4 R 1.346(vironment v)-.4 F 1.346 -(ariable is cleared \(so the system def)-.25 F 1.345(ault is)-.1 F .208 -(used\); if set b)174 521.4 R .208(ut null, the user')-.2 F 2.708(sT) --.55 G 2.708(Zv)-2.708 G .208 -(ariable is used, and if set and non-null the TZ)-2.958 F -.25(va)174 -533.4 S(riable is set to this v).25 E(alue.)-.25 E -.35(Tr)102 549.6 S -(ustedUser=).35 E F2(user)A F1 3.753([no short name] The).06 F F2(user) -6.253 E F1 3.752(parameter may be a user name \(look)6.252 F 3.752 -(ed up in)-.1 F F2(/etc/passwd)174 561.6 Q F1 2.742(\)o)C 2.742(ran) --2.742 G .242(umeric user id.)-2.742 F -.35(Tr)5.242 G .242 -(usted user for \214le o).35 F .243(wnership and starting the)-.25 F -3.78(daemon. If)174 573.6 R 1.279 -(set, generated alias databases and the control sock)3.779 F 1.279 -(et \(if con\214gured\))-.1 F(will automatically be o)174 585.6 Q -(wned by this user)-.25 E(.)-.55 E -.35(Tr)102 601.8 S 5.96 -(yNullMXList [w]).35 F .114 -(If this system is the \231best\232 \(that is, lo)2.613 F .114 -(west preference\) MX for a gi)-.25 F -.15(ve)-.25 G 2.614(nh).15 G .114 -(ost, its)-2.614 F 1.168(con\214guration rules should normally detect t\ -his situation and treat that condition)174 613.8 R .257 -(specially by forw)174 625.8 R .258 -(arding the mail to a UUCP feed, treating it as local, or whate)-.1 F --.15(ve)-.25 G -.55(r.).15 G(Ho)174 637.8 Q(we)-.25 E -.15(ve)-.25 G -1.686 -.4(r, i).15 H 3.386(ns).4 G .886 -(ome cases \(such as Internet \214re)-3.386 F -.1(wa)-.25 G .886 -(lls\) you may w).1 F .885(ant to try to con-)-.1 F .07 -(nect directly to that host as though it had no MX records at all.)174 -649.8 R .07(Setting this option)5.07 F(causes)174 661.8 Q F2(sendmail) -3.014 E F1 .514(to try this.)3.014 F .514(The do)5.514 F .514 -(wnside is that errors in your con\214guration are)-.25 F(lik)174 673.8 -Q 2.116(ely to be diagnosed as \231host unkno)-.1 F 2.116 -(wn\232 or \231message timed out\232 instead of)-.25 F -(something more meaningful.)174 685.8 Q(This option is disrecommended.)5 -E(UnixFromLine=)102 702 Q F2(fr)A(omline)-.45 E F1 .236 -([$l macro] De\214nes the format used when)174 714 R F2(sendmail)2.736 E -F1 .236(must add a UNIX-style From_)2.736 F 0 Cg EP -%%Page: 77 73 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-77)195.86 E/F1 10/Times-Roman@0 SF 1.324 -(line \(that is, a line be)174 96 R 1.325 -(ginning \231Fromuser\232\).)-.15 F(Def)6.325 E 1.325 -(aults to \231From $g)-.1 F($d\232.)6.325 E(Don')174 108 Q 2.646(tc)-.18 -G .146(hange this unless your system uses a dif)-2.646 F .146 -(ferent UNIX mailbox format \(v)-.25 F(ery)-.15 E(unlik)174 120 Q -(ely\).)-.1 E(UnsafeGroupWrites)102 136.2 Q .085 -([no short name] If set \(def)174 148.2 R .085 -(ault\), :include: and .forw)-.1 F .086 -(ard \214les that are group writable)-.1 F .655 -(are considered \231unsafe\232, that is, the)174 160.2 R 3.155(yc)-.15 G -.654(annot reference programs or write directly)-3.155 F .536 -(to \214les.)174 172.2 R -.8(Wo)5.536 G .536 -(rld writable :include: and .forw).8 F .537(ard \214les are al)-.1 F -.1 -(wa)-.1 G .537(ys unsafe.).1 F .537(Note: use)5.537 F F0 -(DontBlameSendmail)174 184.2 Q F1(instead; this option is deprecated.) -2.5 E(UseErrorsT)102 200.4 Q 21.15(o[)-.8 G .826 -(l] If there is an \231Errors-T)-21.15 F .826(o:\232 header)-.8 F 3.326 -(,s)-.4 G .826(end error messages to the addresses listed)-3.326 F 3.134 -(there. The)174 212.4 R 3.134(yn)-.15 G .634(ormally go to the en)-3.134 -F -.15(ve)-.4 G .635(lope sender).15 F 5.635(.U)-.55 G .635 -(se of this option causes)-5.635 F/F2 10/Times-Italic@0 SF(send-)3.135 E -(mail)174 224.4 Q F1(to violate RFC 1123.)2.5 E -(This option is disrecommended and deprecated.)5 E(UserDatabaseSpec=)102 -240.6 Q F2(udbspec)A F1([U] The user database speci\214cation.)174 252.6 -Q -1.11(Ve)102 268.8 S 37.29(rbose [v])1.11 F .561(Run in v)3.061 F .561 -(erbose mode.)-.15 F .561(If this is set,)5.561 F F2(sendmail)3.061 E F1 -.56(adjusts options)3.061 F F0(HoldExpensi)3.06 E -.1(ve)-.1 G F1(\(old) -174 280.8 Q F0(c)2.635 E F1 2.635(\)a)C(nd)-2.635 E F0(Deli)2.635 E -.1 -(ve)-.1 G(ryMode).1 E F1(\(old)2.635 E F0(d)2.635 E F1 2.635(\)s)C 2.635 -(ot)-2.635 G .135(hat all mail is deli)-2.635 F -.15(ve)-.25 G .136 -(red completely in a sin-).15 F 1.244 -(gle job so that you can see the entire deli)174 292.8 R -.15(ve)-.25 G -1.244(ry process.).15 F(Option)6.244 E F0 -1(Ve)3.743 G(rbose)1 E F1 -(should)3.743 E F2(ne)174 304.8 Q(ver)-.15 E F1 1.269(be set in the con\ -\214guration \214le; it is intended for command line use only)3.769 F(.) --.65 E .435(Note that the use of option)174 316.8 R F0 -1(Ve)2.935 G -(rbose)1 E F1 .435(can cause authentication information to leak,)2.935 F -.015(if you use a sendmail client to authenticate to a serv)174 328.8 R -(er)-.15 E 5.015(.I)-.55 G 2.515(ft)-5.015 G .015 -(he authentication mech-)-2.515 F .936(anism uses plain te)174 340.8 R -.936(xt passw)-.15 F .936 -(ords \(as with LOGIN or PLAIN\), then the passw)-.1 F(ord)-.1 E 1.417 -(could be compromised.)174 352.8 R 3.017 -.8(To a)6.417 H -.2(vo).6 G -1.417(id this, do not install sendmail set-user).2 F 1.418(-ID root,)-.2 -F(and disable the)174 364.8 Q F0(VERB)2.5 E F1 -(SMTP command with a suitable)2.5 E F0(Pri)2.5 E -.1(va)-.1 G(cyOptions) -.1 E F1(setting.)2.5 E(XscriptFileBuf)102 381 Q(ferSize=)-.25 E F2(thr)A -(eshold)-.37 E F1 1.101([no short name] Set the)174 393 R F2(thr)3.601 E -(eshold)-.37 E F1 3.601(,i)C 3.601(nb)-3.601 G 1.101 -(ytes, before a memory-based queue tran-)-3.601 F -(script \214le becomes disk-based.)174 405 Q(The def)5 E -(ault is 4096 bytes.)-.1 E .108(All options can be speci\214ed on the c\ -ommand line using the \255O or \255o \215ag, b)102 421.2 R .109 -(ut most will cause)-.2 F F2(send-)2.609 E(mail)102 433.2 Q F1 .664 -(to relinquish its set-user)3.164 F .664(-ID permissions.)-.2 F .663 -(The options that will not cause this are Se)5.664 F -.15(ve)-.25 G -(nBitIn-).15 E 1.319 -(put [7], EightBitMode [8], MinFreeBlocks [b], CheckpointInterv)102 -445.2 R 1.319(al [C], Deli)-.25 F -.15(ve)-.25 G 1.319 -(ryMode [d], Error).15 F(-)-.2 E .043 -(Mode [e], IgnoreDots [i], SendMimeErrors [j], LogLe)102 457.2 R -.15 -(ve)-.25 G 2.542(l[).15 G .042(L], MeT)-2.542 F .042 -(oo [m], OldStyleHeaders [o], Pri-)-.8 F -.25(va)102 469.2 S -.15(cy).25 -G .302(Options [p], SuperSafe [s], V).15 F .302 -(erbose [v], QueueSortOrder)-1.11 F 2.802(,M)-.4 G .303(inQueueAge, Def) --2.802 F .303(aultCharSet, Dial)-.1 F(Delay)102 481.2 Q 7.312(,N)-.65 G -4.812(oRecipientAction, ColonOkInAddr)-7.312 F 7.312(,M)-.4 G 4.812 -(axQueueRunSize, SingleLineFromHeader)-7.312 F 7.312(,a)-.4 G(nd)-7.312 -E(Allo)102 493.2 Q 3.92(wBogusHELO. Actually)-.25 F 3.92(,P)-.65 G(ri) --3.92 E -.25(va)-.25 G -.15(cy).25 G 1.421(Options [p] gi).15 F -.15(ve) --.25 G 3.921(no).15 G 3.921(nt)-3.921 G 1.421 -(he command line are added to those)-3.921 F 1.698 -(already speci\214ed in the)102 505.2 R F2(sendmail.cf)4.198 E F1 1.697 -(\214le, i.e., the)4.198 F 4.197(yc)-.15 G(an')-4.197 E 4.197(tb)-.18 G -4.197(er)-4.197 G 4.197(eset. Also,)-4.197 F 4.197(M\()4.197 G 1.697 -(de\214ne macro\) when)-4.197 F -(de\214ning the r or s macros is also considered \231safe\232.)102 517.2 -Q F0 2.5(5.7. P)87 541.2 R 2.5<8a50>2.5 G -.18(re)-2.5 G -(cedence De\214nitions).18 E F1 -1.11(Va)127 557.4 S .164 -(lues for the \231Precedence:\232 \214eld may be de\214ned using the) -1.11 F F0(P)2.664 E F1 .164(control line.)2.664 F .164 -(The syntax of this)5.164 F(\214eld is:)102 569.4 Q F0(P)142 585.6 Q F2 -(name)A F0(=)A F2(num)A F1 .384(When the)102 601.8 R F2(name)2.884 E F1 -.384 -(is found in a \231Precedence:\232 \214eld, the message class is set to) -2.884 F F2(num)2.883 E F1 5.383(.H)C .383(igher numbers)-5.383 F .85 -(mean higher precedence.)102 613.8 R .85(Numbers less than zero ha)5.85 -F 1.15 -.15(ve t)-.2 H .85(he special property that if an error occurs) -.15 F 1.551(during processing the body of the message will not be retur\ -ned; this is e)102 625.8 R 1.551(xpected to be used for)-.15 F<9962>102 -637.8 Q .461(ulk\232 mail such as through mailing lists.)-.2 F .461 -(The def)5.461 F .461(ault precedence is zero.)-.1 F -.15(Fo)5.461 G -2.962(re).15 G .462(xample, our list of)-3.112 F(precedences is:)102 -649.8 Q(P\214rst-class=0)142 666 Q(Pspecial-deli)142 678 Q -.15(ve)-.25 -G(ry=100).15 E(Plist=\25530)142 690 Q(Pb)142 702 Q(ulk=\25560)-.2 E -(Pjunk=\255100)142 714 Q 0 Cg EP -%%Page: 78 74 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-78 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 1.059 -(People writing mailing list e)102 96 R 1.058 -(xploders are encouraged to use \231Precedence: list\232.)-.15 F 1.058 -(Older v)6.058 F 1.058(ersions of)-.15 F/F2 10/Times-Italic@0 SF -(sendmail)102 108 Q F1 1.19(\(which discarded all error returns for ne) -3.69 F -.05(ga)-.15 G(ti).05 E 1.49 -.15(ve p)-.25 H 1.19 -(recedences\) didn').15 F 3.69(tr)-.18 G 1.19(ecognize this name,)-3.69 -F(gi)102 120 Q .599(ving it a def)-.25 F .598(ault precedence of zero.) --.1 F .598(This allo)5.598 F .598 -(ws list maintainers to see error returns on both old)-.25 F(and ne)102 -132 Q 2.5(wv)-.25 G(ersions of)-2.65 E F2(sendmail)2.5 E F1(.)A F0 2.5 -(5.8. V)87 156 R 2.5<8a43>2.5 G(on\214guration V)-2.5 E(ersion Le)-1 E --.1(ve)-.15 G(l).1 E F1 3.181 -.8(To p)127 172.2 T(ro).8 E 1.581 -(vide compatibility with old con\214guration \214les, the)-.15 F F0(V) -4.081 E F1 1.582(line has been added to de\214ne)4.082 F 1.11(some v)102 -184.2 R 1.11(ery basic semantics of the con\214guration \214le.)-.15 F -1.11(These are not intended to be long term sup-)6.11 F .033 -(ports; rather)102 196.2 R 2.533(,t)-.4 G(he)-2.533 E 2.533(yd)-.15 G -.033(escribe compatibility features which will probably be remo)-2.533 F --.15(ve)-.15 G 2.533(di).15 G 2.533(nf)-2.533 G .034(uture releases.) --2.533 F F0(N.B.:)127 212.4 Q F1 .197(these v)2.697 F(ersion)-.15 E F2 -(le)2.697 E(vels)-.15 E F1(ha)2.697 E .496 -.15(ve n)-.2 H .196 -(othing to do with the v).15 F(ersion)-.15 E F2(number)2.696 E F1 .196 -(on the \214les.)2.696 F -.15(Fo)5.196 G 2.696(re).15 G(xam-)-2.846 E -(ple, as of this writing v)102 224.4 Q -(ersion 10 con\214g \214les \(speci\214cally)-.15 E 2.5(,8)-.65 G -(.10\) used v)-2.5 E(ersion le)-.15 E -.15(ve)-.25 G 2.5(l9c).15 G -(on\214gurations.)-2.5 E 1.102 -(\231Old\232 con\214guration \214les are de\214ned as v)127 240.6 R -1.102(ersion le)-.15 F -.15(ve)-.25 G 3.602(lo).15 G 3.602(ne. V)-3.602 -F 1.102(ersion le)-1.11 F -.15(ve)-.25 G 3.602(lt).15 G 1.302 -.1 -(wo \214)-3.602 H 1.103(les mak).1 F 3.603(et)-.1 G(he)-3.603 E(follo) -102 252.6 Q(wing changes:)-.25 E 12.5(\(1\) Host)107 268.8 R .727(name \ -canoni\214cation \($[ ... $]\) appends a dot if the name is recognized;\ - this gi)3.227 F -.15(ve)-.25 G 3.226(st).15 G(he)-3.226 E 1.974 -(con\214g \214le a w)133.66 280.8 R 1.974(ay of \214nding out if an)-.1 -F 1.974(ything matched.)-.15 F(\(Actually)6.974 E 4.475(,t)-.65 G 1.975 -(his just initializes the)-4.475 F .739 -(\231host\232 map with the \231\255a.)133.66 292.8 R 5.739<9a8d>-.7 G -.739(ag \212 you can reset it to an)-5.739 F .738 -(ything you prefer by declaring the)-.15 F(map e)133.66 304.8 Q -(xplicitly)-.15 E(.\))-.65 E 12.5(\(2\) Def)107 321 R .384 -(ault host name e)-.1 F .385 -(xtension is consistent throughout processing; v)-.15 F .385(ersion le) --.15 F -.15(ve)-.25 G 2.885(lo).15 G .385(ne con\214gu-)-2.885 F .83 -(rations turned of)133.66 333 R 3.33(fd)-.25 G .83(omain e)-3.33 F .83 -(xtension \(that is, adding the local domain name\) during certain)-.15 -F .4(points in processing.)133.66 345 R -1.11(Ve)5.4 G .4(rsion le)1.11 -F -.15(ve)-.25 G 2.9(lt).15 G .6 -.1(wo c)-2.9 H .4 -(on\214gurations are e).1 F .4(xpected to include a trailing dot)-.15 F -(to indicate that the name is already canonical.)133.66 357 Q 12.5 -(\(3\) Local)107 373.2 R .072 -(names that are not aliases are passed through a ne)2.572 F 2.572(wd) --.25 G .072(istinguished ruleset \214v)-2.572 F .072(e; this can)-.15 F -.139(be used to append a local relay)133.66 385.2 R 5.139(.T)-.65 G .139 -(his beha)-5.139 F .139(vior can be pre)-.2 F -.15(ve)-.25 G .14 -(nted by resolving the local name).15 F .993(with an initial `@'.)133.66 -397.2 R .993(That is, something that resolv)5.993 F .993 -(es to a local mailer and a user name of)-.15 F .601 -(\231vikki\232 will be passed through ruleset \214v)133.66 409.2 R .601 -(e, b)-.15 F .601(ut a user name of \231@vikki\232 will ha)-.2 F .902 --.15(ve t)-.2 H .602(he `@').15 F .92 -(stripped, will not be passed through ruleset \214v)133.66 421.2 R .919 -(e, b)-.15 F .919(ut will otherwise be treated the same as)-.2 F .629 -(the prior e)133.66 433.2 R 3.129(xample. The)-.15 F -.15(ex)3.129 G -.629(pectation is that this might be used to implement a polic).15 F -3.13(yw)-.15 G(here)-3.13 E .734(mail sent to \231vikki\232 w)133.66 -445.2 R .734(as handled by a central hub, b)-.1 F .734 -(ut mail sent to \231vikki@localhost\232 w)-.2 F(as)-.1 E(deli)133.66 -457.2 Q -.15(ve)-.25 G(red directly).15 E(.)-.65 E -1.11(Ve)127 473.4 S -1.382(rsion le)1.11 F -.15(ve)-.25 G 3.882(lt).15 G 1.382 -(hree \214les allo)-3.882 F 3.882(w#i)-.25 G 1.382 -(nitiated comments on all lines.)-3.882 F 1.383 -(Exceptions are backslash)6.383 F(escaped # marks and the $# syntax.)102 -485.4 Q -1.11(Ve)127 501.6 S 1.208(rsion le)1.11 F -.15(ve)-.25 G 3.708 -(lf).15 G 1.208(our con\214gurations are completely equi)-3.708 F -.25 -(va)-.25 G 1.207(lent to le).25 F -.15(ve)-.25 G 3.707(lt).15 G 1.207 -(hree for historical rea-)-3.707 F(sons.)102 513.6 Q -1.11(Ve)127 529.8 -S 1.234(rsion le)1.11 F -.15(ve)-.25 G 3.734<6c8c>.15 G 1.534 -.15(ve c) --3.734 H 1.234(on\214guration \214les change the def).15 F 1.234 -(ault de\214nition of)-.1 F F0($w)3.734 E F1 1.234 -(to be just the \214rst)3.734 F(component of the hostname.)102 541.8 Q --1.11(Ve)127 558 S 1.589(rsion le)1.11 F -.15(ve)-.25 G 4.089(ls).15 G -1.589(ix con\214guration \214les change man)-4.089 F 4.088(yo)-.15 G -4.088(ft)-4.088 G 1.588(he local processing options \(such as)-4.088 F -.48(aliasing and matching the be)102 570 R .481(ginning of the address \ -for `|' characters\) to be mailer \215ags; this allo)-.15 F(ws)-.25 E -1.345(\214ne-grained control o)102 582 R -.15(ve)-.15 G 3.845(rt).15 G -1.345(he special local processing.)-3.845 F(Le)6.345 E -.15(ve)-.25 G -3.845(ls).15 G 1.344(ix con\214guration \214les may also use)-3.845 F -1.221(long option names.)102 594 R(The)6.221 E F0(ColonOkInAddr)3.721 E -F1 1.221(option \(to allo)3.721 F 3.722(wc)-.25 G 1.222 -(olons in the local-part of addresses\))-3.722 F(def)102 606 Q(aults)-.1 -E F0(on)3.44 E F1 .94(for lo)3.44 F .94(wer numbered con\214guration \ -\214les; the con\214guration \214le requires some additional)-.25 F -(intelligence to properly handle the RFC 822 group construct.)102 618 Q --1.11(Ve)127 634.2 S 1.97(rsion le)1.11 F -.15(ve)-.25 G 4.47(ls).15 G --2.15 -.25(ev e)-4.47 H 4.47(nc).25 G 1.97 -(on\214guration \214les used ne)-4.47 F 4.47(wo)-.25 G 1.97 -(ption names to replace old macros \()-4.47 F F0($e)A F1(became)102 -646.2 Q F0(SmtpGr)5.548 E(eetingMessage)-.18 E F1(,)A F0($l)5.548 E F1 -(became)5.548 E F0(UnixFr)5.548 E(omLine)-.18 E F1 5.547(,a)C(nd)-5.547 -E F0($o)5.547 E F1(became)5.547 E F0(OperatorChars)5.547 E F1(.)A .086 -(Also, prior to v)102 658.2 R .086(ersion se)-.15 F -.15(ve)-.25 G .086 -(n, the).15 F F0(F=q)2.586 E F1 .087 -(\215ag \(use 250 instead of 252 return v)2.586 F .087(alue for)-.25 F -/F3 9/Times-Roman@0 SF .087(SMTP VRFY)2.587 F F1(com-)2.587 E(mands\) w) -102 670.2 Q(as assumed.)-.1 E -1.11(Ve)127 686.4 S(rsion le)1.11 E -.15 -(ve)-.25 G 2.5(le).15 G(ight con\214guration \214les allo)-2.5 E(w)-.25 -E F0($#)2.5 E F1(on the left hand side of ruleset lines.)2.5 E -1.11(Ve) -127 702.6 S .423(rsion le)1.11 F -.15(ve)-.25 G 2.923(ln).15 G .423 -(ine con\214guration \214les allo)-2.923 F 2.923(wp)-.25 G .423 -(arentheses in rulesets, i.e. the)-2.923 F 2.923(ya)-.15 G .422 -(re not treated as)-2.923 F(comments and hence remo)102 714.6 Q -.15(ve) --.15 G(d.).15 E 0 Cg EP -%%Page: 79 75 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-79)195.86 E/F1 10/Times-Roman@0 SF -1.11(Ve)127 96 S(rsion le) -1.11 E -.15(ve)-.25 G 2.5(lt).15 G(en con\214guration \214les allo)-2.5 -E 2.5(wq)-.25 G(ueue group de\214nitions.)-2.5 E(The)127 112.2 Q F0(V) -2.677 E F1 .177(line may ha)2.677 F .477 -.15(ve a)-.2 H 2.677(no).15 G -(ptional)-2.677 E F0(/)2.677 E/F2 10/Times-Italic@0 SF(vendor)A F1 .178 -(to indicate that this con\214guration \214le uses modi\214ca-)2.677 F -.865(tions speci\214c to a particular v)102 126.2 R(endor)-.15 E/F3 7 -/Times-Roman@0 SF(22)-4 I F1 5.866(.Y)4 K .866(ou may use \231/Berk) --6.966 F(ele)-.1 E .866(y\232 to emphasize that this con\214gura-)-.15 F -(tion \214le uses the Berk)102 138.2 Q(ele)-.1 E 2.5(yd)-.15 G -(ialect of)-2.5 E F2(sendmail)2.5 E F1(.)A F0 2.5(5.9. K)87 162.2 R 2.5 -<8a4b>2.5 G(ey File Declaration)-2.75 E F1 -(Special maps can be de\214ned using the line:)127 178.4 Q -(Kmapname mapclass ar)142 194.6 Q(guments)-.18 E(The)102 210.8 Q F2 -(mapname)2.751 E F1 .251 -(is the handle by which this map is referenced in the re)2.751 F .25 -(writing rules.)-.25 F(The)5.25 E F2(mapclass)2.75 E F1(is)2.75 E 1.889 -(the name of a type of map; these are compiled in to)102 222.8 R F2 -(sendmail)4.389 E F1 6.889(.T)C(he)-6.889 E F2(ar)4.389 E(guments)-.37 E -F1 1.889(are interpreted)4.389 F .791(depending on the class; typically) -102 234.8 R 3.291(,t)-.65 G .791(here w)-3.291 F .791 -(ould be a single ar)-.1 F .79(gument naming the \214le containing the) --.18 F(map.)102 246.8 Q(Maps are referenced using the syntax:)127 263 Q -($\()142 279.2 Q F2(map k)2.5 E -.3(ey)-.1 G F1($@)2.8 E F2(ar)2.5 E -(guments)-.37 E F1($:)2.5 E F2(default)2.5 E F1($\))2.5 E .64 -(where either or both of the)102 295.4 R F2(ar)3.14 E(guments)-.37 E F1 -(or)3.141 E F2(default)3.141 E F1 .641(portion may be omitted.)3.141 F -(The)5.641 E F2 .641($@ ar)3.141 F(guments)-.37 E F1(may)3.141 E 1.277 -(appear more than once.)102 307.4 R 1.277(The indicated)6.277 F F2 -.1 -(ke)3.777 G(y)-.2 E F1(and)3.776 E F2(ar)3.776 E(guments)-.37 E F1 1.276 -(are passed to the appropriate mapping)3.776 F 3.253(function. If)102 -319.4 R .753(it returns a v)3.253 F .753(alue, it replaces the input.) --.25 F .753(If it does not return a v)5.753 F .753(alue and the)-.25 F -F2(default)3.253 E F1(is)3.253 E(speci\214ed, the)102 331.4 Q F2 -(default)2.5 E F1(replaces the input.)2.5 E -(Otherwise, the input is unchanged.)5 E(The)127 347.6 Q F2(ar)4.064 E -(guments)-.37 E F1 1.564(are passed to the map for arbitrary use.)4.064 -F 1.563(Most map classes can interpolate)6.563 F .882(these ar)102 359.6 -R .882(guments into their v)-.18 F .882(alues using the syntax \231%) --.25 F F2(n)A F1 3.382<9a28>C(where)-3.382 E F2(n)3.382 E F1 .883 -(is a digit\) to indicate the corre-)3.382 F(sponding)102 371.6 Q F2(ar) -2.5 E(gument)-.37 E F1 5(.A)C -.18(rg)-5 G -(ument \231%0\232 indicates the database k).18 E -.15(ey)-.1 G 5(.F)-.5 -G(or e)-5.15 E(xample, the rule)-.15 E(R$\255 ! $+)142 387.8 Q -($: $\(uucp $1 $@ $2 $: $2 @ $1 . UUCP $\))71.72 E 1.269(Looks up the U\ -UCP name in a \(user de\214ned\) UUCP map; if not found it turns it int\ -o \231.UUCP\232)102 404 R 2.5(form. The)102 416 R -(database might contain records lik)2.5 E(e:)-.1 E(decv)142 432.2 Q -77.43(ax %1@%0.DEC.COM)-.25 F 72.19(research %1@%0.A)142 444.2 R(TT) --1.11 E(.COM)-.74 E(Note that)102 460.4 Q F2(default)2.5 E F1 -(clauses ne)2.5 E -.15(ve)-.25 G 2.5(rd).15 G 2.5(ot)-2.5 G -(his mapping.)-2.5 E .735(The b)127 476.6 R .735(uilt-in map with both \ -name and class \231host\232 is the host name canonicalization lookup.) --.2 F(Thus, the syntax:)102 488.6 Q($\(host)142 504.8 Q F2(hostname)2.5 -E F1($\))A(is equi)102 521 Q -.25(va)-.25 G(lent to:).25 E($[)142 537.2 -Q F2(hostname)A F1($])A(There are man)127 557.6 Q 2.5(yd)-.15 G -(e\214ned classes.)-2.5 E 51.72(dbm Database)102 573.8 R 1.623 -(lookups using the ndbm\(3\) library)4.123 F(.)-.65 E F2(Sendmail)6.623 -E F1 1.623(must be compiled with)4.123 F F0(NDBM)174 585.8 Q F1 -(de\214ned.)2.5 E 49.51(btree Database)102 602 R .677 -(lookups using the btree interf)3.177 F .677(ace to the Berk)-.1 F(ele) --.1 E 3.178(yD)-.15 G 3.178(Bl)-3.178 G(ibrary)-3.178 E(.)-.65 E F2 -(Sendmail)5.678 E F1(must be compiled with)174 614 Q F0(NEWDB)2.5 E F1 -(de\214ned.)2.5 E 51.17(hash Database)102 630.2 R .828 -(lookups using the hash interf)3.329 F .828(ace to the Berk)-.1 F(ele) --.1 E 3.328(yD)-.15 G 3.328(Bl)-3.328 G(ibrary)-3.328 E(.)-.65 E F2 -(Sendmail)5.828 E F1(must be compiled with)174 642.2 Q F0(NEWDB)2.5 E F1 -(de\214ned.)2.5 E 57.83(nis NIS)102 658.4 R(lookups.)2.5 E F2(Sendmail)5 -E F1(must be compiled with)2.5 E F0(NIS)2.5 E F1(de\214ned.)2.5 E .32 LW -76 669.2 72 669.2 DL 80 669.2 76 669.2 DL 84 669.2 80 669.2 DL 88 669.2 -84 669.2 DL 92 669.2 88 669.2 DL 96 669.2 92 669.2 DL 100 669.2 96 669.2 -DL 104 669.2 100 669.2 DL 108 669.2 104 669.2 DL 112 669.2 108 669.2 DL -116 669.2 112 669.2 DL 120 669.2 116 669.2 DL 124 669.2 120 669.2 DL 128 -669.2 124 669.2 DL 132 669.2 128 669.2 DL 136 669.2 132 669.2 DL 140 -669.2 136 669.2 DL 144 669.2 140 669.2 DL 148 669.2 144 669.2 DL 152 -669.2 148 669.2 DL 156 669.2 152 669.2 DL 160 669.2 156 669.2 DL 164 -669.2 160 669.2 DL 168 669.2 164 669.2 DL 172 669.2 168 669.2 DL 176 -669.2 172 669.2 DL 180 669.2 176 669.2 DL 184 669.2 180 669.2 DL 188 -669.2 184 669.2 DL 192 669.2 188 669.2 DL 196 669.2 192 669.2 DL 200 -669.2 196 669.2 DL 204 669.2 200 669.2 DL 208 669.2 204 669.2 DL 212 -669.2 208 669.2 DL 216 669.2 212 669.2 DL/F4 5/Times-Roman@0 SF(22)93.6 -679.6 Q/F5 8/Times-Roman@0 SF .214(And of course, v)3.2 J .214 -(endors are encouraged to add themselv)-.12 F .214 -(es to the list of recognized v)-.12 F .214 -(endors by editing the routine)-.12 F/F6 8/Times-Italic@0 SF(setvendor) -2.214 E F5(in)2.214 E F6(conf)72 692.4 Q(.c)-.12 E F5 4(.P)C -(lease send e-mail to sendmail@Sendmail.ORG to re)-4 E(gister your v) --.12 E(endor dialect.)-.12 E 0 Cg EP -%%Page: 80 76 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-80 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 41.16 -(nisplus NIS+)102 96 R(lookups.)3.733 E/F2 10/Times-Italic@0 SF -(Sendmail)6.233 E F1 1.233(must be compiled with)3.733 F F0(NISPLUS) -3.733 E F1 3.733(de\214ned. The)3.733 F(ar)3.733 E(gu-)-.18 E .495 -(ment is the name of the table to use for lookups, and the)174 108 R F0 -2.995 E F1(and)2.995 E F02.995 E F1 .495(\215ags may be) -2.995 F(used to set the k)174 120 Q .3 -.15(ey a)-.1 H(nd v).15 E -(alue columns respecti)-.25 E -.15(ve)-.25 G(ly).15 E(.)-.65 E 43.39 -(hesiod Hesiod)102 136.2 R(lookups.)2.5 E F2(Sendmail)5 E F1 -(must be compiled with)2.5 E F0(HESIOD)2.5 E F1(de\214ned.)2.5 E 52.28 -(ldap LD)102 152.4 R 1.783(AP X500 directory lookups.)-.4 F F2(Sendmail) -6.783 E F1 1.784(must be compiled with)4.283 F F0(LD)4.284 E(APMAP)-.35 -E F1 2.966(de\214ned. The)174 164.4 R .466 -(map supports most of the standard ar)2.966 F .465 -(guments and most of the com-)-.18 F .3(mand line ar)174 176.4 R .3 -(guments of the)-.18 F F2(ldapsear)2.8 E -.15(ch)-.37 G F1 2.8 -(program. Note)2.95 F .3(that, by def)2.8 F .3(ault, if a single)-.1 F -.629(query matches multiple v)174 188.4 R .629 -(alues, only the \214rst v)-.25 F .628(alue will be returned unless the) --.25 F F03.128 E F1(\(v)174 200.4 Q .248 -(alue separator\) map \215ag is set.)-.25 F .249(Also, the)5.249 F F0 -2.749 E F1 .249(map \215ag will treat a multiple v)2.749 F(alue) --.25 E(return as if there were no matches.)174 212.4 Q 41.17 -(netinfo NeXT)102 228.6 R(NetInfo lookups.)2.5 E F2(Sendmail)5 E F1 -(must be compiled with)2.5 E F0(NETINFO)2.5 E F1(de\214ned.)2.5 E(te)102 -244.8 Q 54.65(xt T)-.15 F -.15(ex)-.7 G 2.918<748c>.15 G .418 -(le lookups.)-2.918 F .418(The format of the te)5.418 F .417 -(xt \214le is de\214ned by the)-.15 F F02.917 E F1(\(k)2.917 E -.717 -.15(ey \214)-.1 H .417(eld num-).15 F(ber\),)174 256.8 Q F0 -2.5 E F1(\(v)2.5 E(alue \214eld number\), and)-.25 E F02.5 E F1 -(\(\214eld delimiter\) \215ags.)2.5 E 59.5(ph PH)102 273 R 1.394 -(query map.)3.894 F(Contrib)6.394 E 1.394 -(uted and supported by Mark Roth, roth@uiuc.edu.)-.2 F -.15(Fo)6.394 G -(r).15 E .017(more information, consult the web site \231http://www-de) -174 285 R -.65(v.)-.25 G(cites.uiuc.edu/sendmail/\232.).65 E 55.61 -(nsd nsd)102 301.2 R 1.599(map for IRIX 6.5 and later)4.099 F 6.599(.C) --.55 G(ontrib)-6.599 E 1.599(uted and supported by Bob Mende of)-.2 F -(SGI, mende@sgi.com.)174 313.2 Q 53.39(stab Internal)102 329.4 R -(symbol table lookups.)2.5 E(Used internally for aliasing.)5 E 38.38 -(implicit Really)102 345.6 R .546 -(should be called \231alias\232 \212 this is used to get the def)3.046 F -.546(ault lookups for alias)-.1 F(\214les, and is the def)174 357.6 Q -(ault if no class is speci\214ed for alias \214les.)-.1 E 52.84 -(user Looks)102 373.8 R .476(up users using)2.976 F F2 -.1(ge)2.976 G -(tpwnam).1 E F1 2.976(\(3\). The)B F02.976 E F1 .477 -(\215ag can be used to specify the name)2.976 F .142(of the \214eld to \ -return \(although this is normally used only to check the e)174 385.8 R -.142(xistence of)-.15 F 2.5(au)174 397.8 S(ser\).)-2.5 E 52.83 -(host Canoni\214es)102 414 R .2(host domain names.)2.7 F(Gi)5.2 E -.15 -(ve)-.25 G 2.7(nah).15 G .2(ost name it calls the name serv)-2.7 F .2 -(er to \214nd)-.15 F(the canonical name for that host.)174 426 Q 40.61 -(bestmx Returns)102 442.2 R 2.479(the best MX record for a host name gi) -4.979 F -.15(ve)-.25 G 4.978(na).15 G 4.978(st)-4.978 G 2.478(he k) --4.978 F -.15(ey)-.1 G 7.478(.T)-.5 G 2.478(he current)-7.478 F .721 -(machine is al)174 454.2 R -.1(wa)-.1 G .721 -(ys preferred \212 that is, if the current machine is one of the hosts) -.1 F .219(listed as a lo)174 466.2 R .218 -(west-preference MX record, then it will be guaranteed to be returned.) --.25 F .961(This can be used to \214nd out if this machine is the tar) -174 478.2 R .962(get for an MX record, and)-.18 F .313 -(mail can be accepted on that basis.)174 490.2 R .313(If the)5.313 F F0 -2.813 E F1 .313(\215ag is gi)2.813 F -.15(ve)-.25 G .313 -(n, then all MX names are).15 F(returned, separated by the gi)174 502.2 -Q -.15(ve)-.25 G 2.5(nd).15 G(elimiter)-2.5 E(.)-.55 E 55.61(dns This) -102 518.4 R 2.248 -(map requires the option -R to specify the DNS resource record type to) -4.747 F 1.229(lookup. The follo)174 530.4 R 1.229 -(wing types are supported: A, AAAA, AFSDB, CN)-.25 F 1.229(AME, MX,)-.35 -F .661(NS, PTR, SR)174 542.4 R 3.241 -1.29(V, a)-.8 H .661(nd TXT)1.29 F -5.661(.A)-.74 G .662(map lookup will return only one record.)-2.5 F .662 -(Hence for)5.662 F .558(some types, e.g., MX records, the return v)174 -554.4 R .558(alue might be a random element of the)-.25 F -(list due to randomizing in the DNS resolv)174 566.4 Q(er)-.15 E(.)-.55 -E 32.85(sequence The)102 582.6 R(ar)3.349 E .849(guments on the `K' lin\ -e are a list of maps; the resulting map searches the)-.18 F(ar)174 594.6 -Q .439 -(gument maps in order until it \214nds a match for the indicated k)-.18 -F -.15(ey)-.1 G 5.438(.F)-.5 G .438(or e)-5.588 F(xample,)-.15 E -(if the k)174 606.6 Q .3 -.15(ey d)-.1 H(e\214nition is:).15 E -(Kmap1 ...)214 622.8 Q(Kmap2 ...)214 634.8 Q(Kseqmap sequence map1 map2) -214 646.8 Q .968(then a lookup ag)174 663 R .968 -(ainst \231seqmap\232 \214rst does a lookup in map1.)-.05 F .968 -(If that is found, it)5.968 F(returns immediately)174 675 Q 5(.O)-.65 G -(therwise, the same k)-5 E .3 -.15(ey i)-.1 H 2.5(su).15 G -(sed for map2.)-2.5 E 43.94(syslog the)102 691.2 R -.1(ke)2.5 G 2.5(yi) --.05 G 2.5(sl)-2.5 G(ogged via)-2.5 E F2(syslo)2.5 E(gd)-.1 E F1 2.5 -(\(8\). The)1.666 F(lookup returns the empty string.)2.5 E 43.39 -(switch Much)102 707.4 R(lik)2.801 E 2.801(et)-.1 G .301 -(he \231sequence\232 map e)-2.801 F .301 -(xcept that the order of maps is determined by the)-.15 F 1.69 -(service switch.)174 719.4 R 1.69(The ar)6.69 F 1.691 -(gument is the name of the service to be look)-.18 F 1.691(ed up; the) --.1 F 0 Cg EP -%%Page: 81 77 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-81)195.86 E/F1 10/Times-Roman@0 SF -.25(va)174 96 S .637 -(lues from the service switch are appended to the map name to create ne) -.25 F 3.137(wm)-.25 G(ap)-3.137 E 2.5(names. F)174 108 R(or e)-.15 E -(xample, consider the k)-.15 E .3 -.15(ey d)-.1 H(e\214nition:).15 E -(Kali switch aliases)214 124.2 Q -(together with the service switch entry:)174 140.4 Q 78.84(aliases nis) -214 156.6 R(\214les)2.5 E 1.633(This causes a query ag)174 172.8 R 1.633 -(ainst the map \231ali\232 to search maps named \231ali.nis\232 and)-.05 -F(\231ali.\214les\232 in that order)174 184.8 Q(.)-.55 E 37.84 -(dequote Strip)102 201 R .961(double quotes \("\) from a name.)3.461 F -.96(It does not strip backslashes, and will not)5.961 F .172 -(strip quotes if the resulting string w)174 213 R .173 -(ould contain unscannable syntax \(that is, basic)-.1 F .386(errors lik) -174 225 R 2.886(eu)-.1 G .386(nbalanced angle brack)-2.886 F .386 -(ets; more sophisticated errors such as unkno)-.1 F(wn)-.25 E .251 -(hosts are not check)174 237 R 2.751(ed\). The)-.1 F .251 -(intent is for use when trying to accept mail from sys-)2.751 F -(tems such as DECnet that routinely quote odd syntax such as)174 249 Q -("49ers::ubell")214 265.2 Q 2.5(At)174 281.4 S -(ypical usage is probably something lik)-2.5 E(e:)-.1 E -(Kdequote dequote)214 297.6 Q(...)214 321.6 Q 88.19(R$\255 $:)214 345.6 -R($\(dequote $1 $\))2.5 E(R$\255 $+)214 357.6 Q($: $>3 $1 $2)77.55 E -(Care must be tak)174 373.8 Q(en to pre)-.1 E -.15(ve)-.25 G(nt une).15 -E(xpected results; for e)-.15 E(xample,)-.15 E -("|someprogram < input > output")214 390 Q 1.31(will ha)174 406.2 R 1.61 --.15(ve q)-.2 H 1.31(uotes stripped, b).15 F 1.31 -(ut the result is probably not what you had in mind.)-.2 F -.15(Fo)174 -418.2 S(rtunately these cases are rare.).15 E(re)102 434.4 Q(ge)-.15 E -50.09(xT)-.15 G .488(he map de\214nition on the)-50.09 F F0(K)2.988 E F1 -.489(line contains a re)2.988 F .489(gular e)-.15 F 2.989(xpression. An) --.15 F 2.989(yk)-.15 G .789 -.15(ey i)-3.089 H .489(nput is).15 F 1.454 -(compared to that e)174 446.4 R 1.454(xpression using the POSIX re)-.15 -F 1.454(gular e)-.15 F 1.454(xpressions routines re)-.15 F(g-)-.15 E .29 -(comp\(\), re)174 458.4 R .291(gerr\(\), and re)-.15 F(ge)-.15 E -.15 -(xe)-.15 G 2.791(c\(\). Refer).15 F .291 -(to the documentation for those routines for)2.791 F .356 -(more information about the re)174 470.4 R .356(gular e)-.15 F .355 -(xpression matching.)-.15 F .355(No re)5.355 F .355(writing of the k) --.25 F -.15(ey)-.1 G .074(is done if the)174 482.4 R F02.574 E F1 -.074(\215ag is used.)2.574 F -.4(Wi)5.074 G .074(thout it, the k).4 F -.375 -.15(ey i)-.1 H 2.575(sd).15 G .075(iscarded or if)-2.575 F F0 -2.575 E F1 .075(if used, it is)2.575 F .905 -(substituted by the substring matches, delimited by)174 494.4 R F0($|) -3.405 E F1 .905(or the string speci\214ed with)3.405 F(the the)174 506.4 -Q F02.5 E F1 2.5(\215ag. The)2.5 F(\215ags a)2.5 E -.25(va)-.2 G -(ilable for the map are).25 E 9.17(-n not)214 522.6 R 10.84(-f case)214 -534.6 R(sensiti)2.5 E -.15(ve)-.25 G 9.17(-b basic)214 546.6 R(re)2.5 E -(gular e)-.15 E(xpressions \(def)-.15 E(ault is e)-.1 E(xtended\))-.15 E -10.28(-s substring)214 558.6 R(match)2.5 E 9.17(-d set)214 570.6 R -(the delimiter used for -s)2.5 E 9.73(-a append)214 582.6 R(string to k) -2.5 E -.15(ey)-.1 G 6.39(-m match)214 594.6 R(only)2.5 E 2.5(,d)-.65 G -2.5(on)-2.5 G(ot replace/discard v)-2.5 E(alue)-.25 E 6.95(-D perform) -214 606.6 R(no lookup in deferred deli)2.5 E -.15(ve)-.25 G(ry mode.).15 -E(The)174 622.8 Q F02.55 E F1 .051(\215ag can include an optional\ - parameter which can be used to select the sub-)2.55 F -(strings in the result of the lookup.)174 634.8 Q -.15(Fo)5 G 2.5(re).15 -G(xample,)-2.65 E(-s1,3,4)214 651 Q .697(Notes: to match a)174 667.2 R -F0($)3.197 E F1 .697(in a string, \\$$ must be used.)3.197 F .697 -(If the pattern contains spaces,)5.697 F(the)174 679.2 Q 4.424(ym)-.15 G -1.924(ust be replaced with the blank substitution character)-4.424 F -4.424(,u)-.4 G 1.925(nless it is space)-4.424 F(itself.)174 691.2 Q -35.62(program The)102 707.4 R(ar)2.545 E .045(guments on the)-.18 F F0 -(K)2.545 E F1 .045(line are the pathname to a program and an)2.545 F -2.544(yi)-.15 G .044(nitial param-)-2.544 F 2.538(eters to be passed.) -174 719.4 R 2.538(When the map is called, the k)7.538 F 2.838 -.15(ey i) --.1 H 5.038(sa).15 G 2.538(dded to the initial)-5.038 F 0 Cg EP -%%Page: 82 78 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-82 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF .386 -(parameters and the program is in)174 96 R -.2(vo)-.4 G -.1(ke).2 G -2.886(da).1 G 2.886(st)-2.886 G .386(he def)-2.886 F .386 -(ault user/group id.)-.1 F .386(The \214rst line)5.386 F .269 -(of standard output is returned as the v)174 108 R .269 -(alue of the lookup.)-.25 F .27(This has man)5.27 F 2.77(yp)-.15 G -(otential)-2.77 E 1.975(security problems, and has terrible performance\ -; it should be used only when)174 120 R(absolutely necessary)174 132 Q -(.)-.65 E 44.51(macro Set)102 148.2 R .32(or clear a macro v)2.82 F 2.82 -(alue. T)-.25 F 2.82(os)-.8 G .32(et a macro, pass the v)-2.82 F .32 -(alue as the \214rst ar)-.25 F .32(gument in)-.18 F .939 -(the map lookup.)174 160.2 R 2.539 -.8(To c)5.939 H .939 -(lear a macro, do not pass an ar).8 F .938(gument in the map lookup.) --.18 F(The map al)174 172.2 Q -.1(wa)-.1 G(ys returns the empty string.) -.1 E(Example of typical usage include:)5 E(Kstorage macro)214 188.4 Q -(...)214 212.4 Q 2.5(#s)214 236.4 S -(et macro ${MyMacro} to the ruleset match)-2.5 E .19(R$+ $:)214 248.4 R -($\(storage {MyMacro} $@ $1 $\) $1)2.5 E 2.5(#s)214 260.4 S -(et macro ${MyMacro} to an empty string)-2.5 E .83(R$* $:)214 272.4 R -($\(storage {MyMacro} $@ $\) $1)2.5 E 2.5(#c)214 284.4 S -(lear macro ${MyMacro})-2.5 E .19(R$\255 $:)214 296.4 R -($\(storage {MyMacro} $\) $1)2.5 E 51.17(arith Perform)102 316.8 R .493 -(simple arithmetic operations.)2.993 F .494(The operation is gi)5.493 F --.15(ve)-.25 G 2.994(na).15 G 2.994(sk)-2.994 G -.15(ey)-3.094 G 2.994 -(,c)-.5 G .494(urrently +,)-2.994 F .245(-, *, /, %, |, & \(bitwise OR,\ - AND\), l \(for less than\), =, and r \(for random\) are sup-)174 328.8 -R 3.21(ported. The)174 340.8 R(tw)3.21 E 3.21(oo)-.1 G .71 -(perands are gi)-3.21 F -.15(ve)-.25 G 3.21(na).15 G 3.21(sa)-3.21 G --.18(rg)-3.21 G 3.21(uments. The).18 F .71(lookup returns the result) -3.21 F 1.374(of the computation, i.e.,)174 352.8 R/F2 9/Times-Roman@0 SF -(TR)3.874 E(UE)-.36 E F1(or)3.874 E F2 -.666(FA)3.874 G(LSE).666 E F1 -1.374(for comparisons, inte)3.874 F 1.374(ger v)-.15 F 1.373 -(alues other)-.25 F(-)-.2 E 3.211(wise. The)174 364.8 R 3.212(ro)3.211 G -.712(perator returns a pseudo-random number whose v)-3.212 F .712 -(alue lies between)-.25 F .538(the \214rst and second operand \(which r\ -equires that the \214rst operand is smaller than)174 376.8 R 2.133 -(the second\).)174 388.8 R 2.133 -(All options which are possible for maps are ignored.)7.133 F 4.634(As) -7.134 G(imple)-4.634 E -.15(ex)174 400.8 S(ample is:).15 E(Kcomp arith) -214 417 Q(...)214 441 Q(Scheck_etrn)214 465 Q .83(R$* $:)214 477 R -($\(comp l $@ $&{load_a)2.5 E(vg} $@ 7 $\) $1)-.2 E(RF)214 489 Q -(ALSE$# error ...)-.74 E(sock)102 509.4 Q 44.05(et The)-.1 F(sock)3.232 -E .732(et map uses a simple request/reply protocol o)-.1 F -.15(ve)-.15 -G 3.231(rT).15 G .731(CP or UNIX domain)-3.231 F(sock)174 521.4 Q .753 -(ets to query an e)-.1 F .753(xternal serv)-.15 F(er)-.15 E 5.753(.B) --.55 G .753(oth requests and replies are te)-5.753 F .753(xt based and) --.15 F(encoded as netstrings, i.e., a string "hello there" becomes:)174 -533.4 Q(11:hello there,)214 549.6 Q -(Note: neither requests nor replies end with CRLF)174 565.8 Q(.)-.8 E -.301(The request consists of the database map name and the lookup k)174 -589.8 R .6 -.15(ey s)-.1 H .3(eparated by a).15 F(space character:)174 -601.8 Q( ' ' ).15 E(The serv)174 -658.2 Q(er responds with a status indicator and the result \(if an)-.15 -E(y\):)-.15 E( ' ' )214 686.4 Q .161(The status indicat\ -or speci\214es the result of the lookup operation itself and is one of) -174 714.6 R 0 Cg EP -%%Page: 83 79 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-83)195.86 E/F1 10/Times-Roman@0 SF(the follo)174 96 Q -(wing upper case w)-.25 E(ords:)-.1 E 28.06(OK the)214 112.2 R -.1(ke) -2.5 G 2.5(yw)-.05 G(as found, result contains the look)-2.6 E(ed up v) --.1 E(alue)-.25 E(NO)214 124.2 Q(TFOUNDthe k)-.4 E .3 -.15(ey w)-.1 H -(as not found, the result is empty).05 E 15.83(TEMP a)214 136.2 R -(temporary f)2.5 E(ailure occured)-.1 E -2.49(TIMEOUT a)214 148.2 R -(timeout occured on the serv)2.5 E(er side)-.15 E 15.27(PERM a)214 160.2 -R(permanent f)2.5 E(ailure occured)-.1 E .26 -(In case of errors \(status TEMP)174 188.4 R 2.76(,T)-1.11 G .26 -(IMEOUT or PERM\) the result \214eld may contain)-2.76 F .818(an e)174 -200.4 R .818(xplanatory message.)-.15 F(Ho)5.818 E(we)-.25 E -.15(ve) --.25 G 1.618 -.4(r, t).15 H .818(he e).4 F .818 -(xplanatory message is not used an)-.15 F 3.319(yf)-.15 G(ur)-3.319 E(-) --.2 E(ther by)174 212.4 Q/F2 10/Times-Italic@0 SF(sendmail)2.5 E F1(.)A -(Example replies:)174 236.4 Q(31:OK resolv)214 252.6 Q(ed.address@e)-.15 -E(xample.com,)-.15 E -(56:OK error:550 5.7.1 User does not accept mail from sender)214 285 Q -(,)-.4 E(in case of successful lookups, or:)174 313.2 Q(8:NO)214 329.4 Q -(TFOUND,)-.4 E(in case the k)174 357.6 Q .3 -.15(ey w)-.1 H -(as not found, or:).05 E(55:TEMP this te)214 373.8 Q(xt e)-.15 E -(xplains that we had a temporary f)-.15 E(ailure,)-.1 E -(in case of a temporary map lookup f)174 402 Q(ailure.)-.1 E 1.187 -(The sock)174 426 R 1.186(et map uses the same syntax as milters \(see \ -Section "X \212 Mail Filter)-.1 F -(\(Milter\) De\214nitions"\) to specify the remote endpoint, e.g.,)174 -438 Q(Ksock)214 454.2 Q(et mySock)-.1 E(etMap inet:12345@127.0.0.1)-.1 E -.492(If multiple sock)174 482.4 R .492 -(et maps de\214ne the same remote endpoint, the)-.1 F 2.993(yw)-.15 G -.493(ill share a single)-2.993 F(connection to this endpoint.)174 494.4 -Q .488(Most of these accept as ar)127 510.6 R .488 -(guments the same optional \215ags and a \214lename \(or a mapname for) --.18 F .31(NIS; the \214lename is the root of the database path, so tha\ -t \231.db\232 or some other e)102 522.6 R .31(xtension appropriate)-.15 -F -(for the database type will be added to get the actual database name\).) -102 534.6 Q(Kno)5 E(wn \215ags are:)-.25 E 58.86(\255o Indicates)102 -550.8 R 1.147(that this map is optional \212 that is, if it cannot be o\ -pened, no error is)3.648 F(produced, and)174 562.8 Q F2(sendmail)2.5 E -F1(will beha)2.5 E .3 -.15(ve a)-.2 H 2.5(si).15 G 2.5(ft)-2.5 G -(he map e)-2.5 E(xisted b)-.15 E(ut w)-.2 E(as empty)-.1 E(.)-.65 E -(\255N, \255O)102 579 Q .696(If neither)41.28 F F03.197 E F1(or) -3.197 E F03.197 E F1 .697(are speci\214ed,)3.197 F F2(sendmail) -3.197 E F1 .697(uses an adapti)3.197 F .997 -.15(ve a)-.25 H .697 -(lgorithm to decide).15 F .108 -(whether or not to look for null bytes on the end of k)174 591 R -.15 -(ey)-.1 G 2.608(s. It).15 F .107(starts by trying both; if)2.608 F .819 -(it \214nds an)174 603 R 3.319(yk)-.15 G 1.119 -.15(ey w)-3.419 H .819 -(ith a null byte it ne).15 F -.15(ve)-.25 G 3.319(rt).15 G .82(ries ag) --3.319 F .82(ain without a null byte and vice)-.05 F -.15(ve)174 615 S -2.828(rsa. If).15 F F02.828 E F1 .328(is speci\214ed it ne)2.828 F --.15(ve)-.25 G 2.828(rt).15 G .328(ries without a null byte and if) --2.828 F F02.827 E F1 .327(is speci\214ed it)2.827 F(ne)174 627 Q --.15(ve)-.25 G 2.886(rt).15 G .386(ries with a null byte.)-2.886 F .386 -(Setting one of these can speed matches b)5.386 F .386(ut are ne)-.2 F --.15(ve)-.25 G(r).15 E(necessary)174 639 Q 5.546(.I)-.65 G 3.046(fb) --5.546 G(oth)-3.046 E F03.046 E F1(and)3.046 E F03.046 E F1 -.545(are speci\214ed,)3.045 F F2(sendmail)3.045 E F1 .545(will ne)3.045 -F -.15(ve)-.25 G 3.045(rt).15 G .545(ry an)-3.045 F 3.045(ym)-.15 G -(atches)-3.045 E(at all \212 that is, e)174 651 Q -.15(ve)-.25 G -(rything will appear to f).15 E(ail.)-.1 E102 667.2 Q F2(x)A F1 -1.356(Append the string)57.48 F F2(x)3.856 E F1 1.357 -(on successful matches.)3.856 F -.15(Fo)6.357 G 3.857(re).15 G 1.357 -(xample, the def)-4.007 F(ault)-.1 E F2(host)3.857 E F1(map)3.857 E -(appends a dot on successful matches.)174 679.2 Q102 695.4 Q F2(x) -A F1 .021(Append the string)55.81 F F2(x)2.521 E F1 .021(on temporary f) -2.521 F 2.521(ailures. F)-.1 F .021(or e)-.15 F(xample,)-.15 E F2(x) -2.521 E F1 -.1(wo)2.521 G .02(uld be appended if a).1 F .72 -(DNS lookup returned \231serv)174 707.4 R .72(er f)-.15 F .72 -(ailed\232 or an NIS lookup could not locate a serv)-.1 F(er)-.15 E(.) --.55 E(See also the)174 719.4 Q F02.5 E F1(\215ag.)2.5 E 0 Cg EP -%%Page: 84 80 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-84 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 60.53 -(\255f Do)102 96 R(not fold upper to lo)2.5 E -(wer case before looking up the k)-.25 E -.15(ey)-.1 G(.)-.5 E 56.08 -(\255m Match)102 112.2 R .4(only \(without replacing the v)2.9 F 2.899 -(alue\). If)-.25 F .399(you only care about the e)2.899 F .399 -(xistence of)-.15 F 7.306(ak)174 124.2 S 5.107 -.15(ey a)-7.406 H 4.807 -(nd not the v).15 F 4.807 -(alue \(as you might when searching the NIS map)-.25 F 1.947 -(\231hosts.byname\232 for e)174 136.2 R 1.947(xample\), this \215ag pre) --.15 F -.15(ve)-.25 G 1.947(nts the map from substituting the).15 F -.25 -(va)174 148.2 S 2.849(lue. Ho).25 F(we)-.25 E -.15(ve)-.25 G 1.149 -.4 -(r, T).15 H .349(he \255a ar).4 F .349 -(gument is still appended on a match, and the def)-.18 F .35(ault is)-.1 -F(still tak)174 160.2 Q(en if the match f)-.1 E(ails.)-.1 E102 -176.4 Q/F2 10/Times-Italic@0 SF -.1(ke)C(ycol)-.2 E F1 .52(The k)36.22 F -.82 -.15(ey c)-.1 H .519(olumn name \(for NIS+\) or number \(for te).15 -F .519(xt lookups\).)-.15 F -.15(Fo)5.519 G 3.019(rL).15 G -.4(DA)-3.019 -G 3.019(Pm).4 G(aps)-3.019 E .972(this is an LD)174 188.4 R .973(AP \ -\214lter string in which %s is replaced with the literal contents of)-.4 -F .249(the lookup k)174 200.4 R .549 -.15(ey a)-.1 H .249 -(nd %0 is replaced with the LD).15 F .248 -(AP escaped contents of the lookup)-.4 F -.1(ke)174 212.4 S 4.176(ya) --.05 G 1.676(ccording to RFC 2254.)-4.176 F 1.676(If the \215ag)6.676 F -F04.176 E F1 1.676(is used, then %1 through %9 are)4.176 F .887 -(replaced with the LD)174 224.4 R .887(AP escaped contents of the ar)-.4 -F .886(guments speci\214ed in the map)-.18 F(lookup.)174 236.4 Q -102 252.6 Q F2(valcol)A F1 1.928(The v)36.92 F 1.928 -(alue column name \(for NIS+\) or number \(for te)-.25 F 1.929 -(xt lookups\).)-.15 F -.15(Fo)6.929 G 4.429(rL).15 G -.4(DA)-4.429 G(P) -.4 E .467(maps this is the name of one or more attrib)174 264.6 R .467 -(utes to be returned; multiple attrib)-.2 F(utes)-.2 E 1.216 -(can be separated by commas.)174 276.6 R 1.216 -(If not speci\214ed, all attrib)6.216 F 1.216(utes found in the match) --.2 F 1.328(will be returned.)174 288.6 R 1.328(The attrib)6.328 F 1.328 -(utes listed can also include a type and one or more)-.2 F -(objectClass v)174 300.6 Q(alues for matching as described in the LD) --.25 E(AP section.)-.4 E102 316.8 Q F2(delim)A F1 .218 -(The column delimiter \(for te)39.7 F .218(xt lookups\).)-.15 F .219 -(It can be a single character or one of the)5.219 F 1.826 -(special strings \231)174 328.8 R 1.826(\\n\232 or \231)1.666 F 1.826 -(\\t\232 to indicate ne)1.666 F 1.825(wline or tab respecti)-.25 F -.15 -(ve)-.25 G(ly).15 E 6.825(.I)-.65 G 4.325(fo)-6.825 G(mitted)-4.325 E -(entirely)174 340.8 Q 3.566(,t)-.65 G 1.066(he column separator is an) --3.566 F 3.567(ys)-.15 G 1.067(equence of white space.)-3.567 F -.15(Fo) -6.067 G 3.567(rL).15 G -.4(DA)-3.567 G 3.567(Pm).4 G(aps)-3.567 E 2.062 -(this is the separator character to combine multiple v)174 352.8 R 2.061 -(alues into a single return)-.25 F 3.71(string. If)174 364.8 R 1.21 -(not set, the LD)3.71 F 1.211 -(AP lookup will only return the \214rst match found.)-.4 F -.15(Fo)6.211 -G(r).15 E .101(DNS maps this is the separator character at which the re\ -sult of a query is cut of)174 376.8 R 2.6(fi)-.25 G(f)-2.6 E -(is too long.)174 388.8 Q 61.08(\255t Normally)102 405 R 2.726(,w)-.65 G -.226(hen a map attempts to do a lookup and the serv)-2.726 F .227(er f) --.15 F .227(ails \(e.g.,)-.1 F F2(sendmail)2.727 E F1(couldn')174 417 Q -2.776(tc)-.18 G .276(ontact an)-2.776 F 2.776(yn)-.15 G .276(ame serv) --2.776 F .276(er; this is)-.15 F F2(not)2.776 E F1 .276 -(the same as an entry not being found)2.776 F .251(in the map\), the me\ -ssage being processed is queued for future processing.)174 429 R(The) -5.251 E F02.751 E F1 2.04(\215ag turns of)174 441 R 4.539(ft)-.25 -G 2.039(his beha)-4.539 F(vior)-.2 E 4.539(,l)-.4 G 2.039 -(etting the temporary f)-4.539 F 2.039(ailure \(serv)-.1 F 2.039(er do) --.15 F 2.039(wn\) act as)-.25 F .675(though it were a permanent f)174 -453 R .675(ailure \(entry not found\).)-.1 F .676 -(It is particularly useful for)5.676 F .772 -(DNS lookups, where someone else')174 465 R 3.272(sm)-.55 G .772 -(iscon\214gured name serv)-3.272 F .772(er can cause prob-)-.15 F 1.645 -(lems on your machine.)174 477 R(Ho)6.645 E(we)-.25 E -.15(ve)-.25 G -2.445 -.4(r, c).15 H 1.645(are must be tak).4 F 1.646 -(en to ensure that you don')-.1 F(t)-.18 E .263(bounce mail that w)174 -489 R .263(ould be resolv)-.1 F .262(ed correctly if you tried ag)-.15 F -2.762(ain. A)-.05 F .262(common strat-)2.762 F -.15(eg)174 501 S 2.5(yi) -.15 G 2.5(st)-2.5 G 2.5(of)-2.5 G(orw)-2.5 E(ard such mail to another) --.1 E 2.5(,p)-.4 G(ossibly better connected, mail serv)-2.5 E(er)-.15 E -(.)-.55 E 56.64(\255D Perform)102 517.2 R .833 -(no lookup in deferred deli)3.332 F -.15(ve)-.25 G .833(ry mode.).15 F -.833(This \215ag is set by def)5.833 F .833(ault for the)-.1 F F2(host) -174 529.2 Q F1(map.)2.5 E102 545.4 Q F2(spacesub)A F1 1.538(The c\ -haracter to use to replace space characters after a successful map look\ -up)24.14 F(\(esp. useful for re)174 557.4 Q(ge)-.15 E 2.5(xa)-.15 G -(nd syslog maps\).)-2.5 E102 573.6 Q F2(spacesub)A F1 -.15(Fo) -25.81 G 3.1(rt).15 G .6(he dequote map only)-3.1 F 3.101(,t)-.65 G .601 -(he character to use to replace space characters after a)-3.101 F -(successful dequote.)174 585.6 Q 58.86(\255q Don')102 601.8 R 2.5(td) --.18 G(equote the k)-2.5 E .3 -.15(ey b)-.1 H(efore lookup.).15 E -102 618 Q F2(le)A(vel)-.15 E F1 -.15(Fo)41.52 G 2.5(rt).15 G -(he syslog map only)-2.5 E 2.5(,i)-.65 G 2.5(ts)-2.5 G -(peci\214es the le)-2.5 E -.15(ve)-.25 G 2.5(lt).15 G 2.5(ou)-2.5 G -(se for the syslog call.)-2.5 E 56.64(\255A When)102 634.2 R(reb)3 E .5 -(uilding an alias \214le, the)-.2 F F03 E F1 .5 -(\215ag causes duplicate entries in the te)3 F .5(xt v)-.15 F(er)-.15 E -(-)-.2 E(sion to be mer)174 646.2 Q 2.5(ged. F)-.18 F(or e)-.15 E -(xample, tw)-.15 E 2.5(oe)-.1 G(ntries:)-2.5 E 27.49(list: user1,)214 -662.4 R(user2)2.5 E 27.49(list: user3)214 674.4 R -.1(wo)174 690.6 S -(uld be treated as though it were the single entry).1 E 27.49 -(list: user1,)214 706.8 R(user2, user3)2.5 E(in the presence of the)174 -723 Q F02.5 E F1(\215ag.)2.5 E 0 Cg EP -%%Page: 85 81 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-85)195.86 E/F1 10/Times-Roman@0 SF -(Some additional \215ags are a)127 96 Q -.25(va)-.2 G -(ilable for the host and dns maps:).25 E 58.86(\255d delay:)102 112.2 R -(specify the resolv)2.5 E(er')-.15 E 2.5(sr)-.55 G -(etransmission time interv)-2.5 E(al \(in seconds\).)-.25 E 60.53 -(\255r retry:)102 128.4 R -(specify the number of times to retransmit a resolv)2.5 E(er query)-.15 -E(.)-.65 E(The dns map has another \215ag:)127 144.6 Q 57.19 -(\255B basedomain:)102 160.8 R(specify a domain that is al)2.5 E -.1(wa) --.1 G(ys appended to queries.).1 E(The follo)127 177 Q -(wing additional \215ags are present in the ldap map only:)-.25 E 57.19 -(\255R Do)102 193.2 R .025(not auto chase referrals.)2.525 F .025 -(sendmail must be compiled with)5.025 F F0(\255DLD)2.525 E(AP_REFER-) --.35 E(RALS)174 205.2 Q F1(to use this \215ag.)2.5 E 58.86(\255n Retrie) -102 221.4 R .3 -.15(ve a)-.25 H(ttrib).15 E(ute names only)-.2 E(.)-.65 -E102 237.6 Q/F2 10/Times-Italic@0 SF(sep)A F1(Retrie)45.81 E .3 --.15(ve b)-.25 H(oth attrib).15 E(utes name and v)-.2 E -(alue\(s\), separated by)-.25 E F2(sep)2.5 E F1(.)A102 253.8 Q F2 -(der)A(ef)-.37 E F1(Set the alias dereference option to one of ne)42.85 -E -.15(ve)-.25 G .8 -.4(r, a).15 H -.1(lwa).4 G(ys, search, or \214nd.) -.1 E102 270 Q F2(scope)A F1 -(Set search scope to one of base, one \(one le)39.7 E -.15(ve)-.25 G -(l\), or sub \(subtree\).).15 E102 286.2 Q F2(host)A F1(LD)44.69 E -2.095(AP serv)-.4 F 2.095(er hostname.)-.15 F 2.095(Some LD)7.095 F -2.095(AP libraries allo)-.4 F 4.595(wy)-.25 G 2.095 -(ou to specify multiple,)-4.595 F .466 -(space-separated hosts for redundanc)174 298.2 R 4.266 -.65(y. I)-.15 H -2.967(na).65 G .467(ddition, each of the hosts listed can be)-2.967 F -(follo)174 310.2 Q(wed by a colon and a port number to o)-.25 E -.15(ve) --.15 G(rride the def).15 E(ault LD)-.1 E(AP port.)-.4 E102 326.4 Q -F2(port)A F1(LD)44.69 E(AP service port.)-.4 E102 342.6 Q F2(LD) -2.5 E(APURI)-.35 E F1 1.103(Use the speci\214ed LD)15.33 F 1.102 -(AP URI instead of specifying the hostname and port sepa-)-.4 F -(rately with the the)174 354.6 Q F02.5 E F1(and)2.5 E F02.5 -E F1(options sho)2.5 E(wn abo)-.25 E -.15(ve)-.15 G 5(.F).15 G(or e) --5.15 E(xample,)-.15 E(-h serv)214 370.8 Q(er)-.15 E(.e)-.55 E -(xample.com -p 389 -b dc=e)-.15 E(xample,dc=com)-.15 E(is equi)174 387 Q --.25(va)-.25 G(lent to).25 E(-H ldap://serv)214 403.2 Q(er)-.15 E(.e) --.55 E(xample.com:389 -b dc=e)-.15 E(xample,dc=com)-.15 E .756 -(If the LD)174 419.4 R .757(AP library supports it, the LD)-.4 F .757 -(AP URI format ho)-.4 F(we)-.25 E -.15(ve)-.25 G 3.257(rc).15 G .757 -(an also request)-3.257 F(LD)174 431.4 Q(AP o)-.4 E -.15(ve)-.15 G 2.5 -(rS).15 G(SL by using)-2.5 E F0(ldaps://)2.5 E F1(instead of)2.5 E F0 -(ldap://)2.5 E F1 5(.F)C(or e)-5.15 E(xample:)-.15 E 2.5(OL)214 447.6 S --.4(DA)-2.5 G(PDef).4 E(aultSpec=-H ldaps://ldap.e)-.1 E -(xample.com -b dc=e)-.15 E(xample,dc=com)-.15 E(Similarly)174 463.8 Q -3.221(,i)-.65 G 3.221(ft)-3.221 G .721(he LD)-3.221 F .721 -(AP library supports it, It can also be used to specify a UNIX)-.4 F -(domain sock)174 475.8 Q(et using)-.1 E F0(ldapi://)2.5 E F1(:)A 2.5(OL) -214 492 S -.4(DA)-2.5 G(PDef).4 E(aultSpec=-H ldapi://sock)-.1 E -(et\214le -b dc=e)-.1 E(xample,dc=com)-.15 E102 512.4 Q F2(base)A -F1(LD)43.03 E(AP search base.)-.4 E102 528.6 Q F2(timelimit)A F1 --.35(Ti)28.02 G(me limit for LD).35 E(AP queries.)-.4 E102 544.8 Q -F2(sizelimit)A F1(Size \(number of matches\) limit for LD)26.91 E -(AP or DNS queries.)-.4 E102 561 Q F2(distinguished_name)A F1 -(The distinguished name to use to login to the LD)174 573 Q(AP serv)-.4 -E(er)-.15 E(.)-.55 E102 589.2 Q F2(method)A F1 5.987 -(The method to authenticate to the LD)28.03 F 5.987(AP serv)-.4 F(er) --.15 E 10.987(.S)-.55 G 5.988(hould be one of)-10.987 F F0(LD)174 601.2 -Q(AP_A)-.35 E(UTH_NONE)-.5 E F1(,)A F0(LD)2.5 E(AP_A)-.35 E(UTH_SIMPLE) --.5 E F1 2.5(,o)C(r)-2.5 E F0(LD)2.5 E(AP_A)-.35 E(UTH_KRBV4)-.5 E F1(.) -A102 617.4 Q F2(passwor)A(d\214le)-.37 E F1 .342 -(The \214le containing the secret k)10.61 F .642 -.15(ey f)-.1 H .342 -(or the).15 F F0(LD)2.842 E(AP_A)-.35 E(UTH_SIMPLE)-.5 E F1 -(authentication)2.842 E(method or the name of the K)174 629.4 Q -(erberos tick)-.25 E(et \214le for)-.1 E F0(LD)2.5 E(AP_A)-.35 E -(UTH_KRBV4)-.5 E F1(.)A 58.86(\2551 F)102 645.6 R .457(orce LD)-.15 F -.458(AP searches to only succeed if a single match is found.)-.4 F .458 -(If multiple v)5.458 F(al-)-.25 E -(ues are found, the search is treated as if no match w)174 657.6 Q -(as found.)-.1 E102 673.8 Q F2(ver)A(sion)-.1 E F1 1.48 -(Set the LD)29.8 F 1.479(AP API/protocol v)-.4 F 1.479(ersion to use.) --.15 F 1.479(The def)6.479 F 1.479(ault depends on the LD)-.1 F(AP)-.4 E -1.37(client libraries in use.)174 685.8 R -.15(Fo)6.37 G 3.87(re).15 G -(xample,)-4.02 E F0 1.37(\255w 3)3.87 F F1 1.37(will cause)3.87 F F2 -(sendmail)3.87 E F1 1.37(to use LD)3.87 F(APv3)-.4 E -(when communicating with the LD)174 697.8 Q(AP serv)-.4 E(er)-.15 E(.) --.55 E 0 Cg EP -%%Page: 86 82 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-86 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 56.64 -(\255K T)102 96 R .588(reat the LD)-.35 F .588(AP search k)-.4 F .888 --.15(ey a)-.1 H 3.088(sm).15 G(ulti-ar)-3.088 E .587 -(gument and replace %1 through %9 in the)-.18 F -.1(ke)174 108 S 2.503 -(yw)-.05 G .003(ith the LD)-2.503 F .003 -(AP escaped contents of the lookup ar)-.4 F .003 -(guments speci\214ed in the map)-.18 F(lookup.)174 120 Q(The)127 136.2 Q -/F2 10/Times-Italic@0 SF(dbm)2.99 E F1 .489 -(map appends the strings \231.pag\232 and \231.dir\232 to the gi)2.99 F --.15(ve)-.25 G 2.989<6e8c>.15 G .489(lename; the)-2.989 F F2(hash)2.989 -E F1(and)2.989 E F2(btr)2.989 E(ee)-.37 E F1(maps append \231.db\232.) -102 148.2 Q -.15(Fo)5 G 2.5(re).15 G(xample, the map speci\214cation) --2.65 E -.15(Ku)142 164.4 S(ucp dbm \255o \255N /etc/mail/uucpmap).15 E -.21(speci\214es an optional map named \231uucp\232 of class \231dbm\232\ -; it al)102 180.6 R -.1(wa)-.1 G .21(ys has null bytes at the end of e) -.1 F -.15(ve)-.25 G(ry).15 E -(string, and the data is located in /etc/mail/uucpmap.{dir)102 192.6 Q -(,pag}.)-.4 E 1.095(The program)127 208.8 R F2(mak)3.595 E(emap)-.1 E F1 -1.094(\(8\) can be used to b)B 1.094(uild an)-.2 F 3.594(yo)-.15 G 3.594 -(ft)-3.594 G 1.094(he three database-oriented maps.)-3.594 F(It)6.094 E -(tak)102 220.8 Q(es the follo)-.1 E(wing \215ags:)-.25 E 60.53(\255f Do) -102 237 R(not fold upper to lo)2.5 E(wer case in the map.)-.25 E 56.64 -(\255N Include)102 253.2 R(null bytes in k)2.5 E -.15(ey)-.1 G(s.).15 E -58.86(\255o Append)102 269.4 R(to an e)2.5 E(xisting \(old\) \214le.) --.15 E 60.53(\255r Allo)102 285.6 R 3.668(wr)-.25 G 1.168 -(eplacement of e)-3.668 F 1.168(xisting k)-.15 F -.15(ey)-.1 G 1.168 -(s; normally).15 F 3.668(,r)-.65 G 1.168(e-inserting an e)-3.668 F 1.168 -(xisting k)-.15 F 1.469 -.15(ey i)-.1 H 3.669(sa).15 G(n)-3.669 E(error) -174 297.6 Q(.)-.55 E 58.86(\255v Print)102 313.8 R(what is happening.) -2.5 E(The)102 330 Q F2(sendmail)3.606 E F1 1.106(daemon does not ha) -3.606 F 1.406 -.15(ve t)-.2 H 3.606(ob).15 G 3.606(er)-3.606 G 1.106 -(estarted to read the ne)-3.606 F 3.605(wm)-.25 G 1.105 -(aps as long as you change)-3.605 F -(them in place; \214le locking is used so that the maps w)102 342 Q(on') --.1 E 2.5(tb)-.18 G 2.5(er)-2.5 G(ead while the)-2.5 E 2.5(ya)-.15 G -(re being updated.)-2.5 E(Ne)127 358.2 Q 2.5(wc)-.25 G -(lasses can be added in the routine)-2.5 E F0(setupmaps)2.5 E F1 -(in \214le)2.5 E F0(conf)2.5 E(.c)-.15 E F1(.)A F0 2.5(5.10. Q)87 382.2 -R 2.5<8a51>2.5 G(ueue Gr)-2.5 E(oup Declaration)-.18 E F1 .71 -(In addition to the option)127 398.4 R F2(QueueDir)3.21 E(ectory)-.37 E -(,)-.55 E F1 .71(queue groups can be declared that de\214ne a \(group) -3.21 F(of\) queue directories under a common name.)102 410.4 Q -(The syntax is as follo)5 E(ws:)-.25 E F0(Q)142 426.6 Q F2(name)A F1({,) -2.5 E F2(\214eld)2.5 E F1(=)A F2(value)A F1(}+)1.666 E(where)102 442.8 Q -F2(name)3.276 E F1 .775(is the symbolic name of the queue group under w\ -hich it can be referenced in v)3.276 F(arious)-.25 E .217 -(places and the \231\214eld=v)102 454.8 R .217 -(alue\232 pairs de\214ne attrib)-.25 F .217(utes of the queue group.)-.2 -F .218(The name must only consist)5.218 F(of alphanumeric characters.) -102 466.8 Q(Fields are:)5 E 47.83(Flags Flags)102 483 R -(for this queue group.)2.5 E 50.62(Nice The)102 499.2 R .902 -(nice\(2\) increment for the queue group.)3.402 F .901(This v)5.902 F -.901(alue must be greater or equal)-.25 F(zero.)174 511.2 Q(Interv)102 -527.4 Q 38.65(al The)-.25 F(time between tw)2.5 E 2.5(oq)-.1 G -(ueue runs.)-2.5 E -.15(Pa)102 543.6 S 51.87(th The).15 F -(queue directory of the group \(required\).)2.5 E 36.17(Runners The)102 -559.8 R .073(number of parallel runners processing the queue.)2.573 F -.074(Note that)5.074 F F0(F=f)2.574 E F1 .074(must be set if)2.574 F -(this v)174 571.8 Q(alue is greater than one.)-.25 E 51.72(Jobs The)102 -588 R(maximum number of jobs \(messages deli)2.5 E -.15(ve)-.25 G -(red\) per queue run.).15 E 30.62(recipients The)102 604.2 R .382 -(maximum number of recipients per en)2.882 F -.15(ve)-.4 G 2.882 -(lope. En).15 F -.15(ve)-.4 G .382(lopes with more than this).15 F .109 -(number of recipients will be split into multiple en)174 616.2 R -.15 -(ve)-.4 G .11(lopes in the same queue direc-).15 F(tory)174 628.2 Q 5 -(.T)-.65 G(he def)-5 E(ault v)-.1 E(alue 0 means no limit.)-.25 E -(Only the \214rst character of the \214eld name is check)102 644.4 Q -(ed.)-.1 E .076(By def)127 660.6 R .076(ault, a queue group named)-.1 F -F2(mqueue)2.575 E F1 .075(is de\214ned that uses the v)2.575 F .075 -(alue of the)-.25 F F2(QueueDir)2.575 E(ectory)-.37 E F1 .268 -(option as path.)102 672.6 R .268(Notice: all paths that are used for q\ -ueue groups must be subdirectories of)5.268 F F2(QueueDi-)2.769 E -.37 -(re)102 684.6 S(ctory).37 E F1 6.487(.S)C 1.487(ince the)-6.487 F 3.987 -(yc)-.15 G 1.487(an be symbolic links, this isn')-3.987 F 3.987(tar)-.18 -G 1.486(eal restriction, If)-3.987 F F2(QueueDir)3.986 E(ectory)-.37 E -F1 1.486(uses a)3.986 F .746(wildcard, then the directory one le)102 -696.6 R -.15(ve)-.25 G 3.247(lu).15 G 3.247(pi)-3.247 G 3.247(sc)-3.247 -G .747(onsidered the `)-3.247 F(`base')-.74 E 3.247('d)-.74 G .747 -(irectory which all other queue)-3.247 F .086(directories must share.) -102 708.6 R .086(Please mak)5.086 F 2.586(es)-.1 G .086 -(ure that the queue directories do not o)-2.586 F -.15(ve)-.15 G .085 -(rlap, e.g., do not spec-).15 F(ify)102 720.6 Q 0 Cg EP -%%Page: 87 83 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-87)195.86 E/F1 10/Times-Roman@0 SF 2.5(OQ)142 96 S -(ueueDirectory=/v)-2.5 E(ar/spool/mqueue/*)-.25 E(Qone, P=/v)142 108 Q -(ar/spool/mqueue/dir1)-.25 E(Qtw)142 120 Q(o, P=/v)-.1 E -(ar/spool/mqueue/dir2)-.25 E -(because this also includes \231dir1\232 and \231dir2\232 in the def)102 -136.2 Q(ault queue group.)-.1 E(Ho)5 E(we)-.25 E -.15(ve)-.25 G -.4(r,) -.15 G 2.5(OQ)142 152.4 S(ueueDirectory=/v)-2.5 E(ar/spool/mqueue/main*) --.25 E(Qone, P=/v)142 164.4 Q(ar/spool/mqueue/dir)-.25 E(Qtw)142 176.4 Q -(o, P=/v)-.1 E(ar/spool/mqueue/other*)-.25 E(is a v)102 192.6 Q -(alid queue group speci\214cation.)-.25 E .235(Options listed in the `) -127 208.8 R(`Flags')-.74 E 2.736<278c>-.74 G .236 -(eld can be used to modify the beha)-2.736 F .236 -(vior of a queue group.)-.2 F(The)5.236 E -.74(``)102 220.8 S .55(f').74 -G 2.605<278d>-1.29 G .105 -(ag must be set if multiple queue runners are supposed to w)-2.605 F -.104(ork on the entries in a queue group.)-.1 F(Otherwise)102 232.8 Q/F2 -10/Times-Italic@0 SF(sendmail)2.5 E F1(will w)2.5 E -(ork on the entries strictly sequentially)-.1 E(.)-.65 E .511(The `)127 -249 R(`Interv)-.74 E(al')-.25 E 3.011<278c>-.74 G .511 -(eld sets the time between queue runs.)-3.011 F .512 -(If no queue group speci\214c interv)5.511 F .512(al is)-.25 F -(set, then the parameter of the)102 261 Q F0(-q)2.5 E F1 -(option from the command line is used.)2.5 E 7.657 -.8(To c)127 277.2 T -6.057(ontrol the o).8 F -.15(ve)-.15 G 6.056 -(rall number of concurrently acti).15 F 6.356 -.15(ve q)-.25 H 6.056 -(ueue runners the option).15 F F0(MaxQueueChildr)102 289.2 Q(en)-.18 E -F1 .055(can be set.)2.555 F .055 -(This limits the number of processes used for running the queues to) -5.055 F F0(MaxQueueChildr)102 301.2 Q(en)-.18 E F1 3.63(,t)C 1.13 -(hough at an)-3.63 F 3.63(yo)-.15 G 1.13(ne time fe)-3.63 F 1.129 -(wer processes may be acti)-.25 F 1.429 -.15(ve a)-.25 H 3.629(sar).15 G -1.129(esult of queue)-3.629 F -(options, completed queue runs, system load, etc.)102 313.2 Q .602 -(The maximum number of queue runners for an indi)127 329.4 R .602 -(vidual queue group can be controlled via)-.25 F(the)102 341.4 Q F0 -(Runners)2.585 E F1 2.585(option. If)2.585 F .084(set to 0, entries in \ -the queue will not be processed, which is useful to `)2.585 F(`quar)-.74 -E(-)-.2 E(antine')102 353.4 Q 4.515('q)-.74 G 2.015(ueue \214les.)-4.515 -F 2.016 -(The number of runners per queue group may also be set with the option) -7.015 F F0(MaxRunnersP)102 365.4 Q(erQueue)-.2 E F1 3.209(,w)C .709 -(hich applies to queue groups that ha)-3.209 F 1.008 -.15(ve n)-.2 H -3.208(oi).15 G(ndi)-3.208 E .708(vidual limit.)-.25 F .708(That is, the) -5.708 F(def)102 377.4 Q(ault v)-.1 E(alue for)-.25 E F0(Runners)2.5 E F1 -(is)2.5 E F0(MaxRunnersP)2.5 E(erQueue)-.2 E F1(if set, otherwise 1.)2.5 -E 1.087 -(The \214eld Jobs describes the maximum number of jobs \(messages deli) -127 393.6 R -.15(ve)-.25 G 1.087(red\) per queue run,).15 F -(which is the queue group speci\214c v)102 405.6 Q(alue of)-.25 E F0 -(MaxQueueRunSize)2.5 E F1(.)A .175(Notice: queue groups should be decla\ -red after all queue related options ha)127 421.8 R .475 -.15(ve b)-.2 H -.175(een set because).15 F .314(queue groups tak)102 433.8 R 2.814(et) --.1 G .314(heir def)-2.814 F .314(aults from those options.)-.1 F .314 -(If an option is set after a queue group declara-)5.314 F .188 -(tion, the v)102 445.8 R .187 -(alues of options in the queue group are set to the def)-.25 F .187 -(aults of)-.1 F F2(sendmail)2.687 E F1 .187(unless e)2.687 F .187 -(xplicitly set)-.15 F(in the declaration.)102 457.8 Q 1.972(Each en)127 -474 R -.15(ve)-.4 G 1.972(lope is assigned to a queue group based on th\ -e algorithm described in section).15 F -.74(``)102 486 S -(Queue Groups and Queue Directories').74 E('.)-.74 E F0 2.5(5.11. X)87 -510 R 2.5<8a4d>2.5 G(ail Filter \(Milter\) De\214nitions)-2.5 E F1(The) -127 526.2 Q F2(sendmail)3.937 E F1 1.437 -(Mail Filter API \(Milter\) is designed to allo)3.937 F 3.937(wt)-.25 G -1.437(hird-party programs access to)-3.937 F .177(mail messages as the) -102 538.2 R 2.677(ya)-.15 G .177 -(re being processed in order to \214lter meta-information and content.) --2.677 F(The)5.178 E 2.678(ya)-.15 G(re)-2.678 E -(declared in the con\214guration \214le as:)102 550.2 Q F0(X)142 566.4 Q -F2(name)A F1({,)2.5 E F2(\214eld)2.5 E F1(=)A F2(value)A F1(}*)1.666 E -(where)102 582.6 Q F2(name)4.688 E F1 2.188(is the name of the \214lter\ - \(used internally only\) and the \231\214eld=name\232 pairs de\214ne) -4.688 F(attrib)102 594.6 Q .491(utes of the \214lter)-.2 F 5.491(.A)-.55 -G .491(lso see the documentation for the)-5.491 F F0(InputMailFilters) -2.992 E F1 .492(option for more infor)2.992 F(-)-.2 E(mation.)102 606.6 -Q(Fields are:)127 622.8 Q(Sock)142 639 Q 42.38(et The)-.1 F(sock)2.5 E -(et speci\214cation)-.1 E 47.83(Flags Special)142 651 R -(\215ags for this \214lter)2.5 E -.35(Ti)142 663 S 32.07(meouts T).35 F -(imeouts for this \214lter)-.35 E -(Only the \214rst character of the \214eld name is check)102 679.2 Q -(ed \(it')-.1 E 2.5(sc)-.55 G(ase-sensiti)-2.5 E -.15(ve)-.25 G(\).).15 -E(The sock)127 695.4 Q(et speci\214cation is one of the follo)-.1 E -(wing forms:)-.25 E F0(S=inet:)142 711.6 Q F2(port)2.5 E F0(@)2.5 E F2 -(host)2.5 E 0 Cg EP -%%Page: 88 84 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-88 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E(S=inet6:)142 96 Q/F1 10 -/Times-Italic@0 SF(port)2.5 E F0(@)2.5 E F1(host)2.5 E F0(S=local:)142 -116.4 Q F1(path)2.5 E/F2 10/Times-Roman@0 SF 1.792(The \214rst tw)102 -132.6 R 4.291(od)-.1 G 1.791(escribe an IPv4 or IPv6 sock)-4.291 F 1.791 -(et listening on a certain)-.1 F F1(port)4.291 E F2 1.791(at a gi)4.291 -F -.15(ve)-.25 G(n).15 E F1(host)4.291 E F2 1.791(or IP)4.291 F 2.5 -(address. The)102 144.6 R(\214nal form describes a named sock)2.5 E -(et on the \214lesystem at the gi)-.1 E -.15(ve)-.25 G(n).15 E F1(path) -2.5 E F2(.)A(The follo)127 160.8 Q -(wing \215ags may be set in the \214lter description.)-.25 E 13.33(RR) -102 177 S(eject connection if \214lter una)-13.33 E -.25(va)-.2 G -(ilable.).25 E 13.89(TT)102 193.2 S(emporary f)-14.59 E -(ail connection if \214lter una)-.1 E -.25(va)-.2 G(ilable.).25 E .655 -(If neither F=R nor F=T is speci\214ed, the message is passed through) -127 209.4 R F1(sendmail)3.155 E F2 .655(in case of \214lter)3.155 F -(errors as if the f)102 221.4 Q(ailing \214lters were not present.)-.1 E -(The timeouts can be set using the four \214elds inside of the)127 237.6 -Q F0(T=)2.5 E F2(equate:)2.5 E 13.33(CT)102 253.8 S -(imeout for connecting to a \214lter)-13.68 E 5(.I)-.55 G 2.5(fs)-5 G -(et to 0, the system')-2.5 E(s)-.55 E F1(connect\(\))2.5 E F2 -(timeout will be used.)2.5 E 14.44(ST)102 270 S -(imeout for sending information from the MT)-14.79 E 2.5(At)-.93 G 2.5 -(oa\214)-2.5 G(lter)-2.5 E(.)-.55 E 13.33(RT)102 286.2 S -(imeout for reading reply from the \214lter)-13.68 E(.)-.55 E 13.89(EO) -102 302.4 S -.15(ve)-13.89 G 1.186 -(rall timeout between sending end-of-message to \214lter and w).15 F -1.186(aiting for the \214nal ackno)-.1 F(wl-)-.25 E(edgment.)122 314.4 Q -1.402(Note the separator between each timeout \214eld is a)127 330.6 R -F0(';')3.903 E F2 6.403(.T)C 1.403(he def)-6.403 F 1.403(ault v)-.1 F -1.403(alues \(if not set\) are:)-.25 F F0(T=C:5m;S:10s;R:10s;E:5m)102 -342.6 Q F2(where)2.5 E F0(s)2.5 E F2(is seconds and)2.5 E F0(m)2.5 E F2 -(is minutes.)2.5 E(Examples:)127 358.8 Q(X\214lter1, S=local:/v)142 375 -Q(ar/run/f1.sock, F=R)-.25 E(X\214lter2, S=inet6:999@localhost, F=T)142 -387 Q 2.5(,T)-.74 G(=S:1s;R:1s;E:5m)-2.5 E -(X\214lter3, S=inet:3333@localhost, T=C:2m)142 399 Q F0 2.5(5.12. The)87 -427.2 R(User Database)2.5 E F2 .479 -(The user database is deprecated in f)127 443.4 R -.2(avo)-.1 G 2.978 -(ro).2 G 2.978(f`)-2.978 G(`virtusertable')-3.718 E 2.978('a)-.74 G .478 -(nd `)-2.978 F(`genericstable')-.74 E 2.978('a)-.74 G 2.978(se)-2.978 G -(xplained)-3.128 E 1.029(in the \214le)102 455.4 R F0(cf/README)3.529 E -F2 6.029(.I)C 3.529(fy)-6.029 G 1.029(ou ha)-3.529 F 1.329 -.15(ve a ve) --.2 H 1.029(rsion of).15 F F1(sendmail)3.529 E F2 1.03 -(with the user database package com-)3.53 F(piled in, the handling of s\ -ender and recipient addresses is modi\214ed.)102 467.4 Q -(The location of this database is controlled with the)127 483.6 Q F0 -(UserDatabaseSpec)2.5 E F2(option.)2.5 E F0 2.5(5.12.1. Structur)102 -507.6 R 2.5(eo)-.18 G 2.5(ft)-2.5 G(he user database)-2.5 E F2 -(The database is a sorted \(BT)142 523.8 Q(ree-based\) structure.)-.35 E -(User records are stored with the k)5 E -.15(ey)-.1 G(:).15 E F1(user) -157 540 Q(-name)-.2 E F0(:)A F1(\214eld-name)A F2 .128(The sorted datab\ -ase format ensures that user records are clustered together)117 556.2 R -5.128(.M)-.55 G .128(eta-information is)-5.128 F(al)117 568.2 Q -.1(wa) --.1 G(ys stored with a leading colon.).1 E -(Field names de\214ne both the syntax and semantics of the v)142 584.4 Q -2.5(alue. De\214ned)-.25 F(\214elds include:)2.5 E 33.39(maildrop The) -117 600.6 R(deli)4.872 E -.15(ve)-.25 G 2.372(ry address for this user) -.15 F 7.372(.T)-.55 G 2.373(here may be multiple v)-7.372 F 2.373 -(alues of this)-.25 F 2.675(record. In)189 612.6 R(particular)2.675 E -2.675(,m)-.4 G .175(ailing lists will ha)-2.675 F .475 -.15(ve o)-.2 H -(ne).15 E F1(maildr)2.675 E(op)-.45 E F2 .175(record for each user)2.675 -F(on the list.)189 624.6 Q 30.06(mailname The)117 640.8 R 1.026 -(outgoing mailname for this user)3.526 F 6.026(.F)-.55 G 1.027 -(or each outgoing name, there should)-6.176 F .08(be an appropriate)189 -652.8 R F1(maildr)2.58 E(op)-.45 E F2 .08(record for that name to allo) -2.58 F 2.58(wr)-.25 G .08(eturn mail.)-2.58 F .08(See also)5.08 F F1 -(:default:mailname)189 664.8 Q F2(.)A 25.62(mailsender Changes)117 681 R -(an)3.447 E 3.447(ym)-.15 G .947(ail sent to this address to ha)-3.447 F -1.248 -.15(ve t)-.2 H .948(he indicated en).15 F -.15(ve)-.4 G .948 -(lope sender).15 F(.)-.55 E .498(This is intended for mailing lists, an\ -d will normally be the name of an appro-)189 693 R .754 -(priate -request address.)189 705 R .754(It is v)5.754 F .755 -(ery similar to the o)-.15 F(wner)-.25 E(-)-.2 E F1(list)A F2 .755 -(syntax in the alias)3.255 F(\214le.)189 717 Q 0 Cg EP -%%Page: 89 85 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-89)195.86 E/F1 10/Times-Roman@0 SF 33.95(fullname The)117 96 R -(full name of the user)2.5 E(.)-.55 E(of)117 112.2 Q 13.66 -(\214ce-address The)-.25 F(of)2.5 E(\214ce address for this user)-.25 E -(.)-.55 E(of)117 128.4 Q 19.21(\214ce-phone The)-.25 F(of)2.5 E -(\214ce phone number for this user)-.25 E(.)-.55 E(of)117 144.6 Q -(\214ce-f)-.25 E 30.98(ax The)-.1 F(of)2.5 E(\214ce F)-.25 E -(AX number for this user)-.74 E(.)-.55 E 13.96(home-address The)117 -160.8 R(home address for this user)2.5 E(.)-.55 E 19.51(home-phone The) -117 177 R(home phone number for this user)2.5 E(.)-.55 E(home-f)117 -193.2 Q 31.28(ax The)-.1 F(home F)2.5 E(AX number for this user)-.74 E -(.)-.55 E 41.73(project A)117 209.4 R .856 -(\(short\) description of the project this person is af)3.356 F .855 -(\214liated with.)-.25 F .855(In the Uni-)5.855 F -.15(ve)189 221.4 S -(rsity this is often just the name of their graduate advisor).15 E(.) --.55 E 52.28(plan A)117 237.6 R -(pointer to a \214le from which plan information can be g)2.5 E -(athered.)-.05 E .924(As of this writing, only a fe)142 253.8 R 3.424 -(wo)-.25 G 3.424(ft)-3.424 G .925 -(hese \214elds are actually being used by)-3.424 F/F2 10/Times-Italic@0 -SF(sendmail)3.425 E F1(:)A F2(mail-)3.425 E(dr)117 265.8 Q(op)-.45 E F1 -(and)2.5 E F2(mailname)2.5 E F1 5(.A)C F2(\214ng)-2.5 E(er)-.1 E F1 -(program that uses the other \214elds is planned.)2.5 E F0 2.5 -(5.12.2. User)102 289.8 R(database semantics)2.5 E F1 .996(When the re) -142 306 R .995(writing rules submit an address to the local mailer)-.25 -F 3.495(,t)-.4 G .995(he user name is passed)-3.495 F .78 -(through the alias \214le.)117 318 R .781(If no alias is found \(or if \ -the alias points back to the same address\), the)5.78 F 1.778 -(name \(with \231:maildrop\232 appended\) is then used as a k)117 330 R -2.077 -.15(ey i)-.1 H 4.277(nt).15 G 1.777(he user database.)-4.277 F -1.777(If no match)6.777 F -(occurs \(or if the maildrop points at the same address\), forw)117 342 -Q(arding is tried.)-.1 E .55(If the \214rst tok)142 358.2 R .551(en of \ -the user name returned by ruleset 0 is an \231@\232 sign, the user data\ -base)-.1 F .626(lookup is skipped.)117 370.2 R .625 -(The intent is that the user database will act as a set of def)5.626 F -.625(aults for a cluster)-.1 F 1.533 -(\(in our case, the Computer Science Di)117 382.2 R 1.533 -(vision\); mail sent to a speci\214c machine should ignore)-.25 F -(these def)117 394.2 Q(aults.)-.1 E .351 -(When mail is sent, the name of the sending user is look)142 410.4 R -.351(ed up in the database.)-.1 F .351(If that user)5.351 F .04 -(has a \231mailname\232 record, the v)117 422.4 R .041 -(alue of that record is used as their outgoing name.)-.25 F -.15(Fo) -5.041 G 2.541(re).15 G .041(xample, I)-2.691 F(might ha)117 434.4 Q .3 --.15(ve a r)-.2 H(ecord:).15 E 12.29(eric:mailname Eric.Allman@CS.Berk) -157 450.6 R(ele)-.1 E -.65(y.)-.15 G(EDU).65 E(This w)117 466.8 Q -(ould cause my outgoing mail to be sent as Eric.Allman.)-.1 E .52 -(If a \231maildrop\232 is found for the user)142 483 R 3.019(,b)-.4 G -.519(ut no corresponding \231mailname\232 record e)-3.219 F .519 -(xists, the)-.15 F 1.127(record \231:def)117 495 R 1.127 -(ault:mailname\232 is consulted.)-.1 F 1.127 -(If present, this is the name of a host to o)6.127 F -.15(ve)-.15 G -1.128(rride the).15 F .625(local host.)117 507 R -.15(Fo)5.625 G 3.125 -(re).15 G .625(xample, in our case we w)-3.275 F .625 -(ould set it to \231CS.Berk)-.1 F(ele)-.1 E -.65(y.)-.15 G 3.125 -(EDU\232. The).65 F(ef)3.125 E .625(fect is that)-.25 F(an)117 519 Q -.881(yone kno)-.15 F .882(wn in the database gets their outgoing mail s\ -tamped as \231user@CS.Berk)-.25 F(ele)-.1 E -.65(y.)-.15 G(EDU\232,).65 -E -.2(bu)117 531 S 2.5(tp).2 G -(eople not listed in the database use the local hostname.)-2.5 E F0 2.5 -(5.12.3. Cr)102 557 R(eating the database)-.18 E/F3 7/Times-Bold@0 SF -(23)-4 I F1 .375(The user database is b)142 573.2 R .375(uilt from a te) --.2 F .375(xt \214le using the)-.15 F F2(mak)2.875 E(emap)-.1 E F1 .375 -(utility \(in the distrib)2.875 F .375(ution in)-.2 F 1.039(the mak)117 -585.2 R 1.039(emap subdirectory\).)-.1 F 1.039(The te)6.039 F 1.038 -(xt \214le is a series of lines corresponding to userdb records;)-.15 F -1.588(each line has a k)117 597.2 R 1.889 -.15(ey a)-.1 H 1.589(nd a v) -.15 F 1.589(alue separated by white space.)-.25 F 1.589(The k)6.589 F -1.889 -.15(ey i)-.1 H 4.089(sa).15 G -.1(lwa)-4.089 G 1.589 -(ys in the format).1 F(described abo)117 609.2 Q .3 -.15(ve \212 f)-.15 -H(or e).15 E(xample:)-.15 E(eric:maildrop)157 625.4 Q 3.984 -(This \214le is normally installed in a system directory; for e)117 -641.6 R 3.984(xample, it might be called)-.15 F F2(/etc/mail/user)117 -653.6 Q(db)-.37 E F1 5(.T)C 2.5(om)-5.8 G(ak)-2.5 E 2.5(et)-.1 G -(he database v)-2.5 E(ersion of the map, run the program:)-.15 E .32 LW -76 669.2 72 669.2 DL 80 669.2 76 669.2 DL 84 669.2 80 669.2 DL 88 669.2 -84 669.2 DL 92 669.2 88 669.2 DL 96 669.2 92 669.2 DL 100 669.2 96 669.2 -DL 104 669.2 100 669.2 DL 108 669.2 104 669.2 DL 112 669.2 108 669.2 DL -116 669.2 112 669.2 DL 120 669.2 116 669.2 DL 124 669.2 120 669.2 DL 128 -669.2 124 669.2 DL 132 669.2 128 669.2 DL 136 669.2 132 669.2 DL 140 -669.2 136 669.2 DL 144 669.2 140 669.2 DL 148 669.2 144 669.2 DL 152 -669.2 148 669.2 DL 156 669.2 152 669.2 DL 160 669.2 156 669.2 DL 164 -669.2 160 669.2 DL 168 669.2 164 669.2 DL 172 669.2 168 669.2 DL 176 -669.2 172 669.2 DL 180 669.2 176 669.2 DL 184 669.2 180 669.2 DL 188 -669.2 184 669.2 DL 192 669.2 188 669.2 DL 196 669.2 192 669.2 DL 200 -669.2 196 669.2 DL 204 669.2 200 669.2 DL 208 669.2 204 669.2 DL 212 -669.2 208 669.2 DL 216 669.2 212 669.2 DL/F4 5/Times-Roman@0 SF(23)93.6 -679.6 Q/F5 8/Times-Roman@0 SF .473(These instructions are kno)3.2 J .473 -(wn to be incomplete.)-.2 F .472(Other features are a)4.473 F -.2(va) --.16 G .472(ilable which pro).2 F .472(vide similar functionality)-.12 F -2.472(,e)-.52 G .472(.g., virtual)-2.472 F -(hosting and mapping local addresses into a generic form as e)72 692.4 Q -(xplained in cf/README.)-.12 E 0 Cg EP -%%Page: 90 86 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-90 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF(mak)157 -96 Q(emap btree /etc/mail/userdb < /etc/mail/userdb)-.1 E .077 -(Then create a con\214g \214le that uses this.)117 112.2 R -.15(Fo)5.077 -G 2.577(re).15 G .077 -(xample, using the V8 M4 con\214guration, include the)-2.727 F(follo)117 -124.2 Q(wing line in your .mc \214le:)-.25 E -(de\214ne\(\222confUSERDB_SPEC\264, /etc/mail/userdb\))157 140.4 Q F0 -2.5(6. O)72 168.6 R(THER CONFIGURA)-.4 E(TION)-.95 E F1 .907 -(There are some con\214guration changes that can be made by recompiling) -112 184.8 R/F2 10/Times-Italic@0 SF(sendmail)3.407 E F1 5.907(.T)C .906 -(his section)-5.907 F 1.139(describes what changes can be made and what\ - has to be modi\214ed to mak)87 196.8 R 3.639(et)-.1 G 3.639(hem. In) --3.639 F 1.139(most cases this)3.639 F -(should be unnecessary unless you are porting)87 208.8 Q F2(sendmail)2.5 -E F1(to a ne)2.5 E 2.5(we)-.25 G -.4(nv)-2.5 G(ironment.).4 E F0 2.5 -(6.1. P)87 232.8 R(arameters in de)-.1 E(vtools/OS/$oscf)-.15 E F1 .92 -(These parameters are intended to describe the compilation en)127 249 R -.92(vironment, not site polic)-.4 F 2.22 -.65(y, a)-.15 H(nd).65 E .739 -(should normally be de\214ned in the operating system con\214guration \ -\214le.)102 261 R F0 .74(This section needs a com-)5.739 F(plete r)102 -273 Q(ewrite.)-.18 E F1 39.5(NDBM If)102 289.2 R .665(set, the ne)3.165 -F 3.165(wv)-.25 G .664(ersion of the DBM library that allo)-3.315 F .664 -(ws multiple databases will be)-.25 F 2.542(used. If)174 301.2 R .042 -(neither NDBM nor NEWDB are set, a much less ef)2.542 F .043 -(\214cient method of alias)-.25 F(lookup is used.)174 313.2 Q 32.84 -(NEWDB If)102 329.4 R .142(set, use the ne)2.642 F 2.642(wd)-.25 G .142 -(atabase package from Berk)-2.642 F(ele)-.1 E 2.641(y\()-.15 G .141 -(from 4.4BSD\).)-2.641 F .141(This package)5.141 F .266 -(is substantially f)174 341.4 R .267(aster than DBM or NDBM.)-.1 F .267 -(If NEWDB and NDBM are both set,)5.267 F F2(sendmail)174 353.4 Q F1 -(will read DBM \214les, b)2.5 E(ut will create and use NEWDB \214les.) --.2 E 53.39(NIS Include)102 369.6 R .12(support for NIS.)2.62 F .119 -(If set together with)5.119 F F2(both)2.619 E F1 .119(NEWDB and NDBM,) -2.619 F F2(sendmail)2.619 E F1 .947(will create both DBM and NEWDB \214\ -les if and only if an alias \214le includes the)174 381.6 R 3.409 -(substring \231/yp/\232 in the name.)174 393.6 R 3.409 -(This is intended for compatibility with Sun)8.409 F(Microsystems')174 -405.6 Q F2(mkalias)2.5 E F1(program used on YP masters.)2.5 E 28.94 -(NISPLUS Compile)102 421.8 R(in support for NIS+.)2.5 E 26.73 -(NETINFO Compile)102 438 R(in support for NetInfo \(NeXT stations\).)2.5 -E(LD)102 454.2 Q 22.12(APMAP Compile)-.4 F 1.225(in support for LD)3.725 -F 1.225(AP X500 queries.)-.4 F 1.226(Requires libldap and liblber from) -6.226 F 2.799(the Umich LD)174 466.2 R 2.798 -(AP 3.2 or 3.3 release or equi)-.4 F -.25(va)-.25 G 2.798 -(lent libraries for other LD).25 F(AP)-.4 E(libraries such as OpenLD)174 -478.2 Q(AP)-.4 E(.)-1.11 E 32.84(HESIOD Compile)102 494.4 R -(in support for Hesiod.)2.5 E 22.83(MAP_NSD Compile)102 510.6 R -(in support for IRIX NSD lookups.)2.5 E 9.5(MAP_REGEX Compile)102 526.8 -R(in support for re)2.5 E(gular e)-.15 E(xpression matching.)-.15 E -27.83(DNSMAP Compile)102 543 R(in support for DNS map lookups in the)2.5 -E F2(sendmail.cf)2.5 E F1(\214le.)2.5 E 30.05(PH_MAP Compile)102 559.2 R -(in support for ph lookups.)2.5 E 45.05(SASL Compile)102 575.4 R 1.474 -(in support for SASL, a required component for SMTP Authentication)3.974 -F(support.)174 587.4 Q(ST)102 603.6 Q(AR)-.93 E 21.58(TTLS Compile)-.6 F -(in support for ST)2.5 E(AR)-.93 E(TTLS.)-.6 E 48.95(EGD Compile)102 -619.8 R .068(in support for the "Entrop)2.568 F 2.567(yG)-.1 G .067 -(athering Daemon" to pro)-2.567 F .067(vide better random)-.15 F -(data for TLS.)174 631.8 Q -1.63(TCPWRAPPERS Compile)102 648 R -(in support for TCP Wrappers.)2.5 E(_P)102 664.2 Q -1.11(AT)-.92 G -(H_SENDMAILCF)1.11 E(The pathname of the sendmail.cf \214le.)174 676.2 Q -(_P)102 692.4 Q -1.11(AT)-.92 G(H_SENDMAILPID)1.11 E -(The pathname of the sendmail.pid \214le.)174 704.4 Q 0 Cg EP -%%Page: 91 87 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-91)195.86 E/F1 10/Times-Roman@0 SF(SM_CONF_SHM)102 96 Q -(Compile in support for shared memory)174 108 Q 2.5(,s)-.65 G -(ee section about "/v)-2.5 E(ar/spool/mqueue".)-.25 E(MIL)102 124.2 Q -33.2(TER Compile)-.92 F(in support for contacting e)2.5 E -(xternal mail \214lters b)-.15 E(uilt with the Milter API.)-.2 E 1.439 -(There are also se)127 140.4 R -.15(ve)-.25 G 1.439 -(ral compilation \215ags to indicate the en).15 F 1.44 -(vironment such as \231_AIX3\232 and)-.4 F 2.5(\231_SCO_unix_\232. See) -102 152.4 R -(the sendmail/README \214le for the latest scoop on these \215ags.)2.5 E -F0 2.5(6.2. P)87 176.4 R(arameters in sendmail/conf)-.1 E(.h)-.15 E F1 --.15(Pa)127 192.6 S .896 -(rameters and compilation options are de\214ned in conf.h.).15 F .895 -(Most of these need not normally)5.895 F .192(be tweak)102 204.6 R .192 -(ed; common parameters are all in sendmail.cf.)-.1 F(Ho)5.192 E(we)-.25 -E -.15(ve)-.25 G .992 -.4(r, t).15 H .192(he sizes of certain primiti).4 -F .493 -.15(ve ve)-.25 H(c-).15 E -(tors, etc., are included in this \214le.)102 216.6 Q(The numbers follo) -5 E(wing the parameters are their def)-.25 E(ault v)-.1 E(alue.)-.25 E -1.247(This document is not the best source of information for compilati\ -on \215ags in conf.h \212 see)127 232.8 R -(sendmail/README or sendmail/conf.h itself.)102 244.8 Q(MAXLINE [2048]) -102 261 Q 2.068(The maximum line length of an)11.14 F 4.568(yi)-.15 G -2.068(nput line.)-4.568 F 2.069(If message lines e)7.068 F 2.069 -(xceed this)-.15 F .575(length the)188.4 273 R 3.075(yw)-.15 G .575 -(ill still be processed correctly; ho)-3.075 F(we)-.25 E -.15(ve)-.25 G -1.375 -.4(r, h).15 H .575(eader lines, con\214gura-).4 F -(tion \214le lines, alias lines, etc., must \214t within this limit.) -188.4 285 Q(MAXN)102 301.2 Q(AME [256])-.35 E(The maximum length of an) -9.82 E 2.5(yn)-.15 G(ame, such as a host or a user name.)-2.5 E -(MAXPV [256])102 317.4 Q .25(The maximum number of parameters to an) -26.13 F 2.75(ym)-.15 G(ailer)-2.75 E 5.25(.T)-.55 G .25 -(his limits the number of)-5.25 F .376 -(recipients that may be passed in one transaction.)188.4 329.4 R .375 -(It can be set to an)5.376 F 2.875(ya)-.15 G(rbitrary)-2.875 E .875 -(number abo)188.4 341.4 R 1.175 -.15(ve a)-.15 H .876(bout 10, since).15 -F/F2 10/Times-Italic@0 SF(sendmail)3.376 E F1 .876(will break up a deli) -3.376 F -.15(ve)-.25 G .876(ry into smaller).15 F .887 -(batches as needed.)188.4 353.4 R 3.387(Ah)5.887 G .887 -(igher number may reduce load on your system, ho)-3.387 F(w-)-.25 E --2.15 -.25(ev e)188.4 365.4 T -.55(r.).25 G(MAXQ)102 381.6 Q(UEUEGR)-.1 -E(OUPS [50])-.4 E(The maximum number of queue groups.)188.4 393.6 Q -(MAXA)102 409.8 Q -.18(TO)-1.11 G 2.5(M[).18 G 3.26(1000] The)-2.5 F -.063(maximum number of atoms \(tok)2.563 F .063 -(ens\) in a single address.)-.1 F -.15(Fo)5.064 G 2.564(re).15 G .064 -(xample, the)-2.714 F(address \231eric@CS.Berk)188.4 421.8 Q(ele)-.1 E --.65(y.)-.15 G(EDU\232 is se).65 E -.15(ve)-.25 G 2.5(na).15 G(toms.) --2.5 E(MAXMAILERS [25])102 438 Q .122(The maximum number of mailers tha\ -t may be de\214ned in the con\214guration \214le.).02 F(This v)188.4 450 -Q(alue is de\214ned in include/sendmail/sendmail.h.)-.25 E(MAXR)102 -466.2 Q(WSETS [200])-.55 E .431(The maximum number of re).01 F .432 -(writing sets that may be de\214ned.)-.25 F .432(The \214rst half of) -5.432 F .035(these are reserv)188.4 478.2 R .035 -(ed for numeric speci\214cation \(e.g., `)-.15 F(`S92')-.74 E .034 -('\), while the upper half)-.74 F .491(are reserv)188.4 490.2 R .491 -(ed for auto-numbering \(e.g., `)-.15 F(`Sfoo')-.74 E 2.992('\). Thus,) --.74 F .492(with a v)2.992 F .492(alue of 200 an)-.25 F -(attempt to use `)188.4 502.2 Q(`S99')-.74 E 2.5('w)-.74 G -(ill succeed, b)-2.5 E(ut `)-.2 E(`S100')-.74 E 2.5('w)-.74 G(ill f)-2.5 -E(ail.)-.1 E(MAXPRIORITIES [25])102 518.4 Q 2.482 -(The maximum number of v)188.4 530.4 R 2.482 -(alues for the \231Precedence:\232 \214eld that may be)-.25 F -(de\214ned \(using the)188.4 542.4 Q F0(P)2.5 E F1 -(line in sendmail.cf\).)2.5 E(MAXUSERENVIR)102 558.6 Q(ON [100])-.4 E -.399(The maximum number of items in the user en)188.4 570.6 R .4 -(vironment that will be passed to)-.4 F(subordinate mailers.)188.4 582.6 -Q(MAXMXHOSTS [100])102 598.8 Q -(The maximum number of MX records we will accept for an)188.4 610.8 Q -2.5(ys)-.15 G(ingle host.)-2.5 E(MAXMAPST)102 627 Q -.4(AC)-.93 G 2.5 -(K[).4 G(12])-2.5 E 1.65(The maximum number of maps that may be "stack) -188.4 639 R 1.65(ed" in a)-.1 F F0(sequence)4.15 E F1(class)4.15 E(map.) -188.4 651 Q(MAXMIMEARGS [20])102 667.2 Q .718(The maximum number of ar) -188.4 679.2 R .718(guments in a MIME Content-T)-.18 F .718 -(ype: header; addi-)-.8 F(tional ar)188.4 691.2 Q -(guments will be ignored.)-.18 E(MAXMIMENESTING [20])102 707.4 Q .4(The\ - maximum depth to which MIME messages may be nested \(that is, nested) -188.4 719.4 R 0 Cg EP -%%Page: 92 88 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-92 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 1.344(Me\ -ssage or Multipart documents; this does not limit the number of compo-) -188.4 96 R(nents in a single Multipart document\).)188.4 108 Q(MAXD)102 -124.2 Q(AEMONS [10])-.4 E 1.353(The maximum number of sock)188.4 136.2 R -1.353(ets sendmail will open for accepting connec-)-.1 F(tions on dif) -188.4 148.2 Q(ferent ports.)-.25 E(MAXMA)102 164.4 Q(CN)-.4 E -(AMELEN [25])-.35 E(The maximum length of a macro name.)188.4 176.4 Q -2.85(An)102 192.6 S .35(umber of other compilation options e)-2.85 F -2.851(xist. These)-.15 F .351 -(specify whether or not speci\214c code should be)2.851 F(compiled in.) -102 204.6 Q(Ones mark)5 E(ed with \207 are 0/1 v)-.1 E(alued.)-.25 E -36.69(NETINET\207 If)102 220.8 R .829 -(set, support for Internet protocol netw)3.33 F .829 -(orking is compiled in.)-.1 F(Pre)5.829 E .829(vious v)-.25 F(er)-.15 E -(-)-.2 E .177(sions of)188.4 232.8 R/F2 10/Times-Italic@0 SF(sendmail) -2.677 E F1 .177(referred to this as)2.677 F/F3 9/Times-Roman@0 SF -.36 -(DA)2.678 G(EMON).36 E F1 2.678(;t)C .178(his old usage is no)-2.678 F -2.678(wi)-.25 G(ncorrect.)-2.678 E(Def)188.4 244.8 Q 1.87 -(aults on; turn it of)-.1 F 4.37(fi)-.25 G 4.37(nt)-4.37 G 1.87(he Mak) --4.37 F 1.87(e\214le if your system doesn')-.1 F 4.37(ts)-.18 G 1.87 -(upport the)-4.37 F(Internet protocols.)188.4 256.8 Q 31.69 -(NETINET6\207 If)102 273 R 2.26(set, support for IPv6 netw)4.76 F 2.26 -(orking is compiled in.)-.1 F 2.26(It must be separately)7.26 F -(enabled by adding)188.4 285 Q F0(DaemonP)2.5 E(ortOptions)-.2 E F1 -(settings.)2.5 E 43.35(NETISO\207 If)102 301.2 R .143 -(set, support for ISO protocol netw)2.643 F .142 -(orking is compiled in \(it may be appropri-)-.1 F -(ate to #de\214ne this in the Mak)188.4 313.2 Q -(e\214le instead of conf.h\).)-.1 E 34.47(NETUNIX\207 If)102 329.4 R .39 -(set, support for UNIX domain sock)2.89 F .39(ets is compiled in.)-.1 F -.39(This is used for con-)5.39 F(trol sock)188.4 341.4 Q(et support.)-.1 -E 63.35(LOG If)102 357.6 R .5(set, the)3 F F2(syslo)3 E(g)-.1 E F1 .5 -(routine in use at some sites is used.)3 F .5(This mak)5.5 F .5 -(es an informa-)-.1 F .504 -(tional log record for each message processed, and mak)188.4 369.6 R -.504(es a higher priority log)-.1 F .053 -(record for internal system errors.)188.4 381.6 R F0(STR)5.052 E(ONGL) --.3 E 2.552(YR)-.92 G(ECOMMENDED)-2.552 E F1 2.552<8a69>2.552 G 2.552 -(fy)-2.552 G(ou)-2.552 E -.1(wa)188.4 393.6 S(nt no logging, turn it of) -.1 E 2.5(fi)-.25 G 2.5(nt)-2.5 G(he con\214guration \214le.)-2.5 E(MA) -102 409.8 Q 11.12(TCHGECOS\207 Compile)-1.11 F 3.555 -(in the code to do `)6.055 F 3.555(`fuzzy matching')-.74 F 6.055('o)-.74 -G 6.055(nt)-6.055 G 3.555(he GECOS \214eld in)-6.055 F 2.5 -(/etc/passwd. This)188.4 421.8 R(also requires that the)2.5 E F0 -(MatchGECOS)2.5 E F1(option be turned on.)2.5 E -.35(NA)102 438 S 13.15 -(MED_BIND\207 Compile).35 F .413(in code to use the Berk)2.913 F(ele)-.1 -E 2.912(yI)-.15 G .412(nternet Name Domain \(BIND\) serv)-2.912 F .412 -(er to)-.15 F(resolv)188.4 450 Q 2.5(eT)-.15 G(CP/IP host names.)-2.5 E -(NO)102 466.2 Q 38.76(TUNIX If)-.4 F .247(you are using a non-UNIX mail\ - format, you can set this \215ag to turn of)2.747 F 2.748(fs)-.25 G(pe-) --2.748 E(cial processing of UNIX-style \231From \232 lines.)188.4 478.2 -Q 39.45(USERDB\207 Include)102 494.4 R(the)3.449 E F0(experimental)3.449 -E F1(Berk)3.449 E(ele)-.1 E 3.449(yu)-.15 G .949 -(ser information database package.)-3.449 F(This)5.948 E .27(adds a ne) -188.4 506.4 R 2.77(wl)-.25 G -2.15 -.25(ev e)-2.77 H 2.77(lo).25 G 2.77 -(fl)-2.77 G .27(ocal name e)-2.77 F .27 -(xpansion between aliasing and forw)-.15 F 2.77(arding. It)-.1 F -(also uses the NEWDB package.)188.4 518.4 Q -(This may change in future releases.)5 E(The follo)102 534.6 Q -(wing options are normally turned on in per)-.25 E -(-operating-system clauses in conf.h.)-.2 E(IDENTPR)102 550.8 Q -1.88 --.4(OT O)-.4 H 19.61<8743>.4 G .376 -(ompile in the IDENT protocol as de\214ned in RFC 1413.)-19.61 F .375 -(This def)5.375 F .375(aults on for)-.1 F 1.053(all systems e)188.4 -562.8 R 1.053(xcept Ultrix, which apparently has the interesting \231fe\ -ature\232 that)-.15 F .83(when it recei)188.4 574.8 R -.15(ve)-.25 G -3.33(sa\231).15 G .83 -(host unreachable\232 message it closes all open connections)-3.33 F -1.921(to that host.)188.4 586.8 R 1.921(Since some \214re)6.921 F -.1 -(wa)-.25 G 1.922(ll g).1 F(ate)-.05 E -.1(wa)-.25 G 1.922 -(ys send this error code when you).1 F 2.055(access an unauthorized por\ -t \(such as 113, used by IDENT\), Ultrix cannot)188.4 598.8 R(recei) -188.4 610.8 Q .3 -.15(ve e)-.25 H(mail from such hosts.).15 E 39.45 -(SYSTEM5 Set)102 627 R -(all of the compilation parameters appropriate for System V)2.5 E(.) --1.29 E 26.12(HASFLOCK\207 Use)102 643.2 R(Berk)2.844 E(ele)-.1 E -(y-style)-.15 E F0(\215ock)2.844 E F1 .344(instead of System V)2.844 F -F0(lockf)2.845 E F1 .345(to do \214le locking.)2.845 F .345(Due to)5.345 -F .184(the highly unusual semantics of locks across forks in)188.4 655.2 -R F0(lockf)2.684 E F1 2.684(,t)C .184(his should al)-2.684 F -.1(wa)-.1 -G(ys).1 E(be used if at all possible.)188.4 667.2 Q(HASINITGR)102 683.4 -Q 4.86(OUPS Set)-.4 F 1.284(this if your system has the)3.783 F F2 -(initgr)3.784 E(oups\(\))-.45 E F1 1.284(call \(if you ha)3.784 F 1.584 --.15(ve m)-.2 H 1.284(ultiple group).15 F 4.417(support\). This)188.4 -695.4 R 1.917(is the def)4.417 F 1.917(ault if SYSTEM5 is)-.1 F F2(not) -4.416 E F1 1.916(de\214ned or if you are on)4.416 F(HPUX.)188.4 707.4 Q -0 Cg EP -%%Page: 93 89 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-93)195.86 E/F1 10/Times-Roman@0 SF(HASUN)102 96 Q 27.59(AME Set) --.35 F 1.148(this if you ha)3.648 F 1.448 -.15(ve t)-.2 H(he).15 E/F2 10 -/Times-Italic@0 SF(uname)3.648 E F1 1.149 -(\(2\) system call \(or corresponding library rou-)B 2.5(tine\). Set) -188.4 108 R(by def)2.5 E(ault if SYSTEM5 is set.)-.1 E(HASGETDT)102 -124.2 Q(ABLESIZE)-.93 E(Set this if you ha)188.4 136.2 Q .3 -.15(ve t) --.2 H(he).15 E F2 -.1(ge)2.5 G(tdtablesize).1 E F1(\(2\) system call.)A -(HASW)102 152.4 Q 22.89(AITPID Set)-1.2 F(this if you ha)2.5 E .3 -.15 -(ve t)-.2 H(he).15 E F2(haswaitpid)2.5 E F1(\(2\) system call.)A -.74 -(FA)102 168.6 S(ST_PID_RECYCLE).74 E .542(Set this if your system can p\ -ossibly reuse the same pid in the same second of)188.4 180.6 R(time.) -188.4 192.6 Q 37.22(SFS_TYPE The)102 208.8 R .517 -(mechanism that can be used to get \214le system capacity information.) -3.016 F(The)5.517 E -.25(va)188.4 220.8 S .215 -(lues can be one of SFS_UST).25 F 2.435 -1.11(AT \()-.93 H .214 -(use the ustat\(2\) syscall\), SFS_4ARGS \(use)1.11 F .415(the four ar) -188.4 232.8 R .415(gument statfs\(2\) syscall\), SFS_VFS \(use the tw) --.18 F 2.915(oa)-.1 G -.18(rg)-2.915 G .415(ument statfs\(2\)).18 F .716 -(syscall including \), SFS_MOUNT \(use the tw)188.4 244.8 R -3.216(oa)-.1 G -.18(rg)-3.216 G .716(ument statfs\(2\)).18 F 4.32 -(syscall including \), SFS_ST)188.4 256.8 R -1.11(AT)-.93 G -4.32(FS \(use the tw)1.11 F 6.82(oa)-.1 G -.18(rg)-6.82 G(ument).18 E -1.109(statfs\(2\) syscall including \), SFS_ST)188.4 268.8 -R -1.11(AT)-.93 G 1.109(VFS \(use the tw)1.11 F 3.608(oa)-.1 G -.18(rg) --3.608 G(u-).18 E 1.511(ment statfs\(2\) syscall including \), or SFS_NONE \(no w)188.4 280.8 R 1.512(ay to)-.1 F -(get this information\).)188.4 292.8 Q 40.57(LA_TYPE The)102 309 R -(load a)2.5 E -.15(ve)-.2 G(rage type.).15 E(Details are described belo) -5 E -.65(w.)-.25 G .343(The are se)102 325.2 R -.15(ve)-.25 G .342 -(ral b).15 F .342(uilt-in w)-.2 F .342(ays of computing the load a)-.1 F --.15(ve)-.2 G(rage.).15 E F2(Sendmail)5.342 E F1 .342 -(tries to auto-con\214gure them)2.842 F .266 -(based on imperfect guesses; you can select one using the)102 337.2 R F2 -(cc)2.767 E F1(option)2.767 E F0(\255DLA_TYPE=)2.767 E F2(type)A F1 -2.767(,w)C(here)-2.767 E F2(type)2.767 E F1(is:)102 349.2 Q 48.91 -(LA_INT The)102 365.4 R -.1(ke)3.453 G .952(rnel stores the load a).1 F --.15(ve)-.2 G .952(rage in the k).15 F .952 -(ernel as an array of long inte)-.1 F(gers.)-.15 E(The actual v)188.4 -377.4 Q(alues are scaled by a f)-.25 E(actor FSCALE \(def)-.1 E -(ault 256\).)-.1 E(LA_SHOR)102 393.6 Q 35.89(TT)-.6 G .793(he k)-35.89 F -.793(ernel stores the load a)-.1 F -.15(ve)-.2 G .794(rage in the k).15 -F .794(ernel as an array of short inte)-.1 F(gers.)-.15 E(The actual v) -188.4 405.6 Q(alues are scaled by a f)-.25 E(actor FSCALE \(def)-.1 E -(ault 256\).)-.1 E(LA_FLO)102 421.8 Q 37.03 -1.11(AT T)-.35 H .089(he k) -1.11 F .089(ernel stores the load a)-.1 F -.15(ve)-.2 G .089 -(rage in the k).15 F .088(ernel as an array of double precision)-.1 F -(\215oats.)188.4 433.8 Q(LA_MA)102 450 Q 35.97(CH Use)-.4 F(MA)2.5 E -(CH-style load a)-.4 E -.15(ve)-.2 G(rages.).15 E 39.45(LA_SUBR Call)102 -466.2 R(the)2.5 E F2 -.1(ge)2.5 G(tloadavg).1 E F1 -(routine to get the load a)2.5 E -.15(ve)-.2 G -(rage as an array of doubles.).15 E(LA_ZER)102 482.4 Q 42.36(OA)-.4 G --.1(lwa)-42.36 G(ys return zero as the load a).1 E -.15(ve)-.2 G 2.5 -(rage. This).15 F(is the f)2.5 E(allback case.)-.1 E .493(If type)102 -498.6 R/F3 9/Times-Roman@0 SF(LA_INT)2.993 E F1(,)A F3(LA_SHOR)2.993 E -(T)-.54 E F1 2.993(,o)C(r)-2.993 E F3(LA_FLO)2.993 E -.999(AT)-.315 G F1 -.493(is speci\214ed, you may also need to specify)3.992 F F3(_P)2.994 E --.999(AT)-.828 G(H_UNIX).999 E F1 .949 -(\(the path to your system binary\) and)102 510.6 R F3(LA_A)3.448 E -(VENR)-1.215 E(UN)-.36 E F1 .948(\(the name of the v)3.448 F .948 -(ariable containing the load)-.25 F -2.25 -.2(av e)102 522.6 T -(rage in the k).2 E(ernel; usually \231_a)-.1 E -.15(ve)-.2 G -(nrun\232 or \231a).15 E -.15(ve)-.2 G(nrun\232\).).15 E F0 2.5 -(6.3. Con\214guration)87 546.6 R(in sendmail/conf)2.5 E(.c)-.15 E F1 -(The follo)127 562.8 Q(wing changes can be made in conf.c.)-.25 E F0 2.5 -(6.3.1. Built-in)102 586.8 R(Header Semantics)2.5 E F1 1.248 -(Not all header semantics are de\214ned in the con\214guration \214le.) -142 603 R 1.248(Header lines that should)6.248 F .305(only be included \ -by certain mailers \(as well as other more obscure semantics\) must be \ -speci\214ed)117 615 R .046(in the)117 627 R F2(HdrInfo)2.546 E F1 .046 -(table in)2.546 F F2(conf)2.546 E(.c)-.15 E F1 5.046(.T)C .047 -(his table contains the header name \(which should be in all lo)-5.046 F -(wer)-.25 E(case\) and a set of header control \215ags \(described belo) -117 639 Q(w\), The \215ags are:)-.25 E(H_A)117 655.2 Q 30.97 -(CHECK Normally)-.4 F .007 -(when the check is made to see if a header line is compatible with)2.508 -F 2.94(am)203.4 667.2 S(ailer)-2.94 E(,)-.4 E F2(sendmail)2.94 E F1 .441 -(will not delete an e)2.94 F .441(xisting line.)-.15 F .441 -(If this \215ag is set,)5.441 F F2(send-)2.941 E(mail)203.4 679.2 Q F1 -.152(will delete e)2.652 F -.15(ve)-.25 G 2.652(ne).15 G .152 -(xisting header lines.)-2.802 F .152 -(That is, if this bit is set and the)5.152 F 1.425(mailer does not ha) -203.4 691.2 R 1.725 -.15(ve \215)-.2 H 1.425 -(ag bits set that intersect with the required mailer).15 F 2.204 -(\215ags in the header de\214nition in sendmail.cf, the header line is) -203.4 703.2 R F2(always)4.703 E F1(deleted.)203.4 715.2 Q 0 Cg EP -%%Page: 94 90 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-94 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 51.13 -(H_EOH If)117 96 R .206(this header \214eld is set, treat it lik)2.705 F -2.706(eab)-.1 G .206(lank line, i.e., it will signal the end)-2.706 F -(of the header and the be)203.4 108 Q(ginning of the message te)-.15 E -(xt.)-.15 E 39.45(H_FORCE Add)117 124.2 R 2.039(this header entry e) -4.539 F -.15(ve)-.25 G 4.539(ni).15 G 4.539(fo)-4.539 G 2.038(ne e) --4.539 F 2.038(xisted in the message before.)-.15 F 2.038(If a)7.038 F -2.188(header entry does not ha)203.4 136.2 R 2.488 -.15(ve t)-.2 H 2.188 -(his bit set,).15 F/F2 10/Times-Italic@0 SF(sendmail)4.688 E F1 2.189 -(will not add another)4.689 F .62 -(header line if a header line of this name already e)203.4 148.2 R 3.12 -(xisted. This)-.15 F -.1(wo)3.12 G .62(uld nor).1 F(-)-.2 E -(mally be used to stamp the message by e)203.4 160.2 Q -.15(ve)-.25 G -(ryone who handled it.).15 E(H_TRA)117 176.4 Q 39.3(CE If)-.4 F 1.043 -(set, this is a timestamp \(trace\) \214eld.)3.543 F 1.044 -(If the number of trace \214elds in a)6.043 F .706(message e)203.4 188.4 -R .705(xceeds a preset amount the message is returned on the assump-) --.15 F(tion that it has an aliasing loop.)203.4 200.4 Q 46.67(H_RCPT If) -117 216.6 R .332(set, this \214eld contains recipient addresses.)2.832 F -.332(This is used by the)5.332 F F02.832 E F1 .333(\215ag to)2.833 -F 1.349(determine who to send to when it is collecting recipients from \ -the mes-)203.4 228.6 R(sage.)203.4 240.6 Q(H_FR)117 256.8 Q 43.74 -(OM This)-.4 F 1.673 -(\215ag indicates that this \214eld speci\214es a sender)4.173 F 6.674 -(.T)-.55 G 1.674(he order of these)-6.674 F .898(\214elds in the)203.4 -268.8 R F2(HdrInfo)3.398 E F1 .898(table speci\214es)3.398 F F2 -(sendmail)3.398 E F1 1.998 -.55('s p)D .898(reference for which \214eld) -.55 F(to return error messages to.)203.4 280.8 Q(H_ERR)117 297 Q(ORST) --.4 E 22.53(OA)-.18 G(ddresses in this header should recei)-22.53 E .3 --.15(ve e)-.25 H(rror messages.).15 E 52.79(H_CTE This)117 313.2 R -(header is a Content-T)2.5 E(ransfer)-.35 E(-Encoding header)-.2 E(.) --.55 E 40.01(H_CTYPE This)117 329.4 R(header is a Content-T)2.5 E -(ype header)-.8 E(.)-.55 E(H_STRIPV)117 345.6 Q 25.25(AL Strip)-1.35 F -(the v)2.5 E(alue from the header \(for Bcc:\).)-.25 E(Let')117 361.8 Q -2.5(sl)-.55 G(ook at a sample)-2.5 E F2(HdrInfo)2.5 E F1 -(speci\214cation:)2.5 E(struct hdrinfo)157 378 Q(HdrInfo[] =)84.6 E({) -157 390 Q(/* originator \214elds, most to least signi\214cant)189.5 402 -Q(*/)5 E 52.29("resent-sender", H_FR)177 414 R(OM,)-.4 E 58.95 -("resent-from", H_FR)177 426 R(OM,)-.4 E 79.5("sender", H_FR)177 438 R -(OM,)-.4 E 86.16("from", H_FR)177 450 R(OM,)-.4 E 66.72 -("full-name", H_A)177 462 R(CHECK,)-.4 E 71.17("errors-to", H_FR)177 474 -R -1.667(OM | H_ERR)-.4 F(ORST)-.4 E(O,)-.18 E -(/* destination \214elds */)189.5 486 Q 97.82("to", H_RCPT)177 498 R(,) --.74 E 70.61("resent-to", H_RCPT)177 510 R(,)-.74 E 96.72("cc", H_RCPT) -177 522 R(,)-.74 E 91.72("bcc", H_RCPT)177 534 R .833(|H).833 G(_STRIPV) --.833 E(AL,)-1.35 E(/* message identi\214cation and control */)189.5 546 -Q 71.72("message", H_EOH,)177 558 R("te)177 570 Q 90.75(xt", H_EOH,)-.15 -F(/* trace \214elds */)189.5 582 Q("recei)177 594 Q -.15(ve)-.25 G 72.13 -(d", H_TRA).15 F -1.667(CE | H_FORCE,)-.4 F -(/* miscellaneous \214elds */)189.5 606 Q("content-transfer)177 618 Q -2.5(-encoding", H_CTE,)-.2 F 55.61("content-type", H_CTYPE,)177 630 R -87.1(NULL, 0,)177 654 R(};)157 666 Q 2.435 -(This structure indicates that the \231T)117 682.2 R 2.435 -(o:\232, \231Resent-T)-.8 F 2.435 -(o:\232, and \231Cc:\232 \214elds all specify recipient)-.8 F 3.162 -(addresses. An)117 694.2 R 3.162<7999>-.15 G .661(Full-Name:\232 \214el\ -d will be deleted unless the required mailer \215ag \(indicated in) --3.162 F .245(the con\214guration \214le\) is speci\214ed.)117 706.2 R -.245(The \231Message:\232 and \231T)5.245 F -.15(ex)-.7 G .246 -(t:\232 \214elds will terminate the header;).15 F 1.936 -(these are used by random dissenters around the netw)117 718.2 R 1.936 -(ork w)-.1 F 4.436(orld. The)-.1 F(\231Recei)4.436 E -.15(ve)-.25 G -1.936(d:\232 \214eld will).15 F 0 Cg EP -%%Page: 95 91 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-95)195.86 E/F1 10/Times-Roman@0 SF(al)117 96 Q -.1(wa)-.1 G -(ys be added, and can be used to trace messages.).1 E .445 -(There are a number of important points here.)142 112.2 R .446 -(First, header \214elds are not added automati-)5.446 F .657 -(cally just because the)117 124.2 R 3.157(ya)-.15 G .657(re in the) --3.157 F/F2 10/Times-Italic@0 SF(HdrInfo)3.157 E F1 .657(structure; the) -3.157 F 3.157(ym)-.15 G .656(ust be speci\214ed in the con\214guration) --3.157 F .727(\214le in order to be added to the message.)117 136.2 R -(An)5.728 E 3.228(yh)-.15 G .728 -(eader \214elds mentioned in the con\214guration \214le)-3.228 F -.2(bu) -117 148.2 S 3.24(tn).2 G .74(ot mentioned in the)-3.24 F F2(HdrInfo)3.24 -E F1 .74(structure ha)3.24 F 1.04 -.15(ve d)-.2 H(ef).15 E .74 -(ault processing performed; that is, the)-.1 F 3.24(ya)-.15 G(re)-3.24 E -1.374(added unless the)117 160.2 R 3.874(yw)-.15 G 1.374 -(ere in the message already)-3.874 F 6.375(.S)-.65 G 1.375(econd, the) --6.375 F F2(HdrInfo)3.875 E F1 1.375(structure only speci\214es)3.875 F -.324(cliched processing; certain headers are processed specially by ad \ -hoc code re)117 172.2 R -.05(ga)-.15 G .324(rdless of the sta-).05 F .48 -(tus speci\214ed in)117 184.2 R F2(HdrInfo)2.98 E F1 5.48(.F)C .481 -(or e)-5.63 F .481 -(xample, the \231Sender:\232 and \231From:\232 \214elds are al)-.15 F --.1(wa)-.1 G .481(ys scanned on).1 F(ARP)117 198.2 Q .75 -(ANET mail to determine the sender)-.92 F/F3 7/Times-Roman@0 SF(24)-4 I -F1 3.251(;t)4 K .751 -(his is used to perform the \231return to sender\232 func-)-3.251 F -2.977(tion. The)117 210.2 R .476(\231From:\232 and \231Full-Name:\232 \ -\214elds are used to determine the full name of the sender if)2.977 F -(possible; this is stored in the macro)117 222.2 Q F0($x)2.5 E F1 -(and used in a number of w)2.5 E(ays.)-.1 E F0 2.5(6.3.2. Restricting) -102 246.2 R(Use of Email)2.5 E F1 .149 -(If it is necessary to restrict mail through a relay)142 262.4 R 2.649 -(,t)-.65 G(he)-2.649 E F2 -.15(ch)2.65 G(ec).15 E(kcompat)-.2 E F1 .15 -(routine can be modi\214ed.)2.65 F .163(This routine is called for e)117 -274.4 R -.15(ve)-.25 G .163(ry recipient address.).15 F .163 -(It returns an e)5.163 F .163(xit status indicating the status of)-.15 F -.895(the message.)117 286.4 R .895(The status)5.895 F/F4 9/Times-Roman@0 -SF(EX_OK)3.395 E F1 .895(accepts the address,)3.395 F F4(EX_TEMPF)3.395 -E(AIL)-.666 E F1 .895(queues the message for a)3.395 F .264(later try) -117 298.4 R 2.764(,a)-.65 G .264(nd other v)-2.764 F .264 -(alues \(commonly)-.25 F F4(EX_UN)2.764 E -1.215(AVA)-.315 G(ILABLE) -1.215 E F1 2.764(\)r)C .264(eject the message.)-2.764 F .263 -(It is up to)5.264 F F2 -.15(ch)2.763 G(ec).15 E(k-)-.2 E(compat)117 -310.4 Q F1 .429(to print an error message \(using)2.929 F F2(usr)2.929 E -(err)-.37 E F1 2.929(\)i)C 2.929(ft)-2.929 G .43 -(he message is rejected.)-2.929 F -.15(Fo)5.43 G 2.93(re).15 G(xample,) --3.08 E F2 -.15(ch)2.93 G(ec).15 E(k-)-.2 E(compat)117 322.4 Q F1 -(could read:)2.5 E F4(int)157 337.4 Q(checkcompat\(to, e\))157 348.2 Q -(re)175 359 Q(gister ADDRESS *to;)-.135 E(re)175 369.8 Q -(gister ENVELOPE *e;)-.135 E({)157 380.6 Q(re)175 391.4 Q(gister ST) --.135 E(AB *s;)-.837 E 2.25(s=s)175 413 S(tab\("pri)-2.25 E -.225(va) --.225 G(te", ST_MAILER, ST_FIND\);).225 E -(if \(s != NULL && e\255>e_from.q_mailer != LocalMailer &&)175 423.8 Q -(to->q_mailer == s->s_mailer\))184 434.6 Q({)175 445.4 Q -(usrerr\("No pri)193 456.2 Q -.225(va)-.225 G(te net mail allo).225 E -(wed through this machine"\);)-.225 E(return \(EX_UN)193 467 Q -1.215 -(AVA)-.315 G(ILABLE\);)1.215 E(})175 477.8 Q -(if \(MsgSize > 50000 && bitnset\(M_LOCALMAILER, to\255>q_mailer\)\))175 -488.6 Q({)175 499.4 Q(usrerr\("Message too lar)193 510.2 Q -(ge for non-local deli)-.162 E -.135(ve)-.225 G(ry"\);).135 E -(e\255>e_\215ags |= EF_NORETURN;)193 521 Q(return \(EX_UN)193 531.8 Q --1.215(AVA)-.315 G(ILABLE\);)1.215 E(})175 542.6 Q(return \(EX_OK\);)175 -553.4 Q(})157 564.2 Q F1 .97(This w)117 580.4 R .969 -(ould reject messages greater than 50000 bytes unless the)-.1 F 3.469 -(yw)-.15 G .969(ere local.)-3.469 F(The)5.969 E F2(EF_NORE-)3.469 E -(TURN)117 592.4 Q F1 .651(\215ag can be set in)3.151 F F2(e)3.151 E/F5 -10/Symbol SFA F2(e_\215a)A(gs)-.1 E F1 .652 -(to suppress the return of the actual body of the message in)3.152 F -.656(the error return.)117 604.4 R .655(The actual use of this routine \ -is highly dependent on the implementation, and)5.656 F -(use should be limited.)117 616.4 Q F0 2.5(6.3.3. New)102 640.4 R -(Database Map Classes)2.5 E F1(Ne)142 656.6 Q 2.875(wk)-.25 G .675 -.15 -(ey m)-2.975 H .375(aps can be added by creating a class initialization\ - function and a lookup func-).15 F 2.5(tion. These)117 668.6 R -(are then added to the routine)2.5 E F2(setupmaps.)2.5 E .32 LW 76 678.2 -72 678.2 DL 80 678.2 76 678.2 DL 84 678.2 80 678.2 DL 88 678.2 84 678.2 -DL 92 678.2 88 678.2 DL 96 678.2 92 678.2 DL 100 678.2 96 678.2 DL 104 -678.2 100 678.2 DL 108 678.2 104 678.2 DL 112 678.2 108 678.2 DL 116 -678.2 112 678.2 DL 120 678.2 116 678.2 DL 124 678.2 120 678.2 DL 128 -678.2 124 678.2 DL 132 678.2 128 678.2 DL 136 678.2 132 678.2 DL 140 -678.2 136 678.2 DL 144 678.2 140 678.2 DL 148 678.2 144 678.2 DL 152 -678.2 148 678.2 DL 156 678.2 152 678.2 DL 160 678.2 156 678.2 DL 164 -678.2 160 678.2 DL 168 678.2 164 678.2 DL 172 678.2 168 678.2 DL 176 -678.2 172 678.2 DL 180 678.2 176 678.2 DL 184 678.2 180 678.2 DL 188 -678.2 184 678.2 DL 192 678.2 188 678.2 DL 196 678.2 192 678.2 DL 200 -678.2 196 678.2 DL 204 678.2 200 678.2 DL 208 678.2 204 678.2 DL 212 -678.2 208 678.2 DL 216 678.2 212 678.2 DL/F6 5/Times-Roman@0 SF(24)93.6 -688.6 Q/F7 8/Times-Roman@0 SF(Actually)3.2 I 2.632(,t)-.52 G .632 -(his is no longer true in SMTP; this information is contained in the en) --2.632 F -.12(ve)-.32 G 2.631(lope. The).12 F .631(older ARP)2.631 F -.631(ANET protocols did)-.736 F(not completely distinguish en)72 701.4 Q --.12(ve)-.32 G(lope from header).12 E(.)-.44 E 0 Cg EP -%%Page: 96 92 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-96 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF -(The initialization function is called as)142 96 Q/F2 10/Times-Italic@0 -SF(xxx)157 112.2 Q F1(_map_init\(MAP *map, char *ar)A(gs\))-.18 E(The) -117 128.4 Q F2(map)3.28 E F1 .78(is an internal data structure.)3.28 F -(The)5.78 E F2(ar)3.279 E(gs)-.37 E F1 .779 -(is a pointer to the portion of the con\214guration)3.279 F .396 -(\214le line follo)117 140.4 R .396 -(wing the map class name; \215ags and \214lenames can be e)-.25 F .397 -(xtracted from this line.)-.15 F(The)5.397 E -(initialization function must return)117 152.4 Q/F3 9/Times-Roman@0 SF -(true)2.5 E F1(if it successfully opened the map,)2.5 E F3 -.09(fa)2.5 G -(lse).09 E F1(otherwise.)2.5 E(The lookup function is called as)142 -168.6 Q F2(xxx)157 184.8 Q F1(_map_lookup\(MAP *map, char b)A -(uf[], char **a)-.2 E 1.3 -.65(v, i)-.2 H(nt *statp\)).65 E(The)117 201 -Q F2(map)2.773 E F1 .273(de\214nes the map internally)2.773 F 5.273(.T) --.65 G(he)-5.273 E F2 -.2(bu)2.773 G(f).2 E F1 .273(has the input k) -2.773 F -.15(ey)-.1 G 5.273(.T)-.5 G .272 -(his may be \(and often is\) used)-5.273 F(destructi)117 213 Q -.15(ve) --.25 G(ly).15 E 5.151(.T)-.65 G(he)-5.151 E F2(av)2.651 E F1 .151 -(is a list of ar)2.651 F .151(guments passed in from the re)-.18 F .152 -(write line.)-.25 F .152(The lookup function)5.152 F .322 -(should return a pointer to the ne)117 225 R 2.822(wv)-.25 G 2.822 -(alue. If)-3.072 F .322(the map lookup f)2.822 F(ails,)-.1 E F2(*statp) -2.822 E F1 .322(should be set to an e)2.822 F(xit)-.15 E .301 -(status code; in particular)117 237 R 2.801(,i)-.4 G 2.801(ts)-2.801 G -.302(hould be set to)-2.801 F F3(EX_TEMPF)2.802 E(AIL)-.666 E F1 .302 -(if reco)2.802 F -.15(ve)-.15 G .302(ry is to be attempted by the).15 F -(higher le)117 249 Q -.15(ve)-.25 G 2.5(lc).15 G(ode.)-2.5 E F0 2.5 -(6.3.4. Queueing)102 273 R(Function)2.5 E F1 .783(The routine)142 289.2 -R F2(shouldqueue)3.283 E F1 .783 -(is called to decide if a message should be queued or processed)3.283 F -(immediately)117 301.2 Q 6.618(.T)-.65 G 1.618 -(ypically this compares the message priority to the current load a) --7.418 F -.15(ve)-.2 G 4.119(rage. The).15 F(def)117 313.2 Q -(ault de\214nition is:)-.1 E(bool)157 329.4 Q(shouldqueue\(pri, ctime\)) -157 341.4 Q(long pri;)175 353.4 Q(time_t ctime;)175 365.4 Q({)157 377.4 -Q(if \(CurrentLA < QueueLA\))175 389.4 Q(return f)193 401.4 Q(alse;)-.1 -E(return \(pri > \(QueueF)175 413.4 Q -(actor / \(CurrentLA \255 QueueLA + 1\)\)\);)-.15 E(})157 425.4 Q 2.063 -(If the current load a)117 441.6 R -.15(ve)-.2 G 2.062(rage \(global v) -.15 F(ariable)-.25 E F2(Curr)4.562 E(entLA)-.37 E F1 4.562(,w)C 2.062 -(hich is set before this function is)-4.562 F 1.057 -(called\) is less than the lo)117 453.6 R 3.558(wt)-.25 G 1.058 -(hreshold load a)-3.558 F -.15(ve)-.2 G 1.058(rage \(option).15 F F0(x) -3.558 E F1 3.558(,v)C(ariable)-3.808 E F2(QueueLA)3.558 E F1(\),)A F2 -(shouldqueue)3.558 E F1(returns)117 465.6 Q F3 -.09(fa)3.249 G(lse).09 E -F1 .749(immediately \(that is, it should)3.249 F F2(not)3.249 E F1 3.248 -(queue\). If)3.249 F .748(the current load a)3.248 F -.15(ve)-.2 G .748 -(rage e).15 F .748(xceeds the)-.15 F 1.418(high threshold load a)117 -477.6 R -.15(ve)-.2 G 1.418(rage \(option).15 F F0(X)3.919 E F1 3.919 -(,v)C(ariable)-4.169 E F2(RefuseLA)3.919 E F1(\),)A F2(shouldqueue)3.919 -E F1(returns)3.919 E F3(true)3.919 E F1(immedi-)3.919 E(ately)117 489.6 -Q 7.126(.O)-.65 G 2.125 -(therwise, it computes the function based on the message priority)-7.126 -F 4.625(,t)-.65 G 2.125(he queue f)-4.625 F(actor)-.1 E(\(option)117 -501.6 Q F0(q)2.5 E F1 2.5(,g)C(lobal v)-2.5 E(ariable)-.25 E F2(QueueF) -2.5 E(actor)-.75 E F1(\), and the current and threshold load a)A -.15 -(ve)-.2 G(rages.).15 E 1.066(An implementation wishing to tak)142 517.8 -R 3.566(et)-.1 G 1.067 -(he actual age of the message into account can also)-3.566 F 1.41 -(use the)117 529.8 R F2(ctime)3.91 E F1(parameter)3.91 E 3.91(,w)-.4 G -1.41(hich is the time that the message w)-3.91 F 1.41 -(as \214rst submitted to)-.1 F F2(sendmail)3.91 E F1(.)A .928 -(Note that the)117 541.8 R F2(pri)3.428 E F1 .928(parameter is already \ -weighted by the number of times the message has been)3.428 F .395 -(tried \(although this tends to lo)117 553.8 R .395 -(wer the priority of the message with time\); the e)-.25 F .395 -(xpectation is that)-.15 F(the)117 565.8 Q F2(ctime)2.674 E F1 -.1(wo) -2.674 G .174 -(uld be used as an \231escape clause\232 to ensure that messages are e) -.1 F -.15(ve)-.25 G .174(ntually processed.).15 F F0 2.5 -(6.3.5. Refusing)102 589.8 R(Incoming SMTP Connections)2.5 E F1 2.063 -(The function)142 606 R F2 -.37(re)4.563 G(fuseconnections).37 E F1 -(returns)4.563 E F3(true)4.563 E F1 2.062 -(if incoming SMTP connections should be)4.563 F 3.563(refused. The)117 -618 R 1.063(current implementation is based e)3.563 F(xclusi)-.15 E -.15 -(ve)-.25 G 1.063(ly on the current load a).15 F -.15(ve)-.2 G 1.063 -(rage and the).15 F(refuse load a)117 630 Q -.15(ve)-.2 G -(rage option \(option).15 E F0(X)2.5 E F1 2.5(,g)C(lobal v)-2.5 E -(ariable)-.25 E F2(RefuseLA)2.5 E F1(\):)A(bool)157 646.2 Q -(refuseconnections\(\))157 658.2 Q({)157 670.2 Q -(return \(RefuseLA > 0 && CurrentLA >= RefuseLA\);)175 682.2 Q(})157 -694.2 Q 2.5(Am)117 710.4 S(ore cle)-2.5 E -.15(ve)-.25 G 2.5(ri).15 G -(mplementation could look at more system resources.)-2.5 E 0 Cg EP -%%Page: 97 93 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-97)195.86 E 2.5(6.3.6. Load)102 96 R -.6 -1(Av e)2.5 H -(rage Computation)1 E/F1 10/Times-Roman@0 SF .244(The routine)142 112.2 -R/F2 10/Times-Italic@0 SF -.1(ge)2.743 G(tla).1 E F1 .243 -(returns the current load a)2.743 F -.15(ve)-.2 G .243 -(rage \(as a rounded inte).15 F 2.743(ger\). The)-.15 F(distrib)2.743 E -(ution)-.2 E 1.156(includes se)117 124.2 R -.15(ve)-.25 G 1.157 -(ral possible implementations.).15 F 1.157(If you are porting to a ne) -6.157 F 3.657(we)-.25 G -.4(nv)-3.657 G 1.157(ironment you may).4 F -(need to add some ne)117 138.2 Q 2.5(wt)-.25 G(weaks.)-2.5 E/F3 7 -/Times-Roman@0 SF(25)-4 I F0 2.5(6.4. Con\214guration)87 162.2 R -(in sendmail/daemon.c)2.5 E F1 .128(The \214le)127 178.4 R F2 -(sendmail/daemon.c)2.628 E F1 .128 -(contains a number of routines that are dependent on the local net-) -2.628 F -.1(wo)102 190.4 S(rking en).1 E 2.5(vironment. The)-.4 F -.15 -(ve)2.5 G(rsion supplied assumes you ha).15 E .3 -.15(ve B)-.2 H -(SD style sock).15 E(ets.)-.1 E 2.16(In pre)127 206.6 R 2.16 -(vious releases, we recommended that you modify the routine)-.25 F F2 -(maphostname)4.66 E F1 2.16(if you)4.66 F -.1(wa)102 218.6 S 1.919 -(nted to generalize).1 F F0($[)4.418 E F1(...)4.418 E F0($])4.418 E F1 -4.418(lookups. W)4.418 F 4.418(en)-.8 G 2.418 -.25(ow r)-4.418 H 1.918 -(ecommend that you create a ne).25 F 4.418(wk)-.25 G -.15(ey)-4.518 G -1.918(ed map).15 F(instead.)102 230.6 Q F0 2.5(6.5. LD)87 254.6 R(AP) --.35 E F1(In this section we assume that)127 270.8 Q F2(sendmail)2.5 E -F1(has been compiled with support for LD)2.5 E(AP)-.4 E(.)-1.11 E F0 2.5 -(6.5.1. LD)102 294.8 R(AP Recursion)-.35 E F1(LD)142 311 Q .349 -(AP Recursion allo)-.4 F .349(ws you to add types to the search attrib) --.25 F .35(utes on an LD)-.2 F .35(AP map speci-)-.4 F 2.5 -(\214cation. The)117 323 R(syntax is:)2.5 E117 339.2 Q F2 -.37(AT) -2.5 G(TRIB).37 E(UTE)-.1 E F1([:)A F2(TYPE)A F1([:)A F2(OBJECTCLASS)A F1 -([|)A F2(OBJECTCLASS)A F1(|...]]])A(The ne)142 355.4 Q(w)-.25 E F2(TYPE) -2.5 E F1 2.5(sa)C(re:)-2.5 E 26.17(NORMAL This)117 371.6 R(attrib)3.579 -E 1.079(ute type speci\214es the attrib)-.2 F 1.078 -(ute to add to the results string.)-.2 F 1.078(This is)6.078 F(the def) -189 383.6 Q(ault.)-.1 E 55.06(DN An)117 399.8 R 2.821(ym)-.15 G .321 -(atches for this attrib)-2.821 F .321(ute are e)-.2 F .321 -(xpected to ha)-.15 F .622 -.15(ve a v)-.2 H .322 -(alue of a fully quali\214ed)-.1 F 1.521(distinguished name.)189 411.8 R -F2(sendmail)6.521 E F1 1.521(will lookup that DN and apply the attrib) -4.021 F(utes)-.2 E(requested to the returned DN record.)189 423.8 Q(FIL) -117 440 Q 36.53(TER An)-.92 F 2.652(ym)-.15 G .153 -(atches for this attrib)-2.652 F .153(ute are e)-.2 F .153 -(xpected to ha)-.15 F .453 -.15(ve a v)-.2 H .153(alue of an LD)-.1 F -.153(AP search)-.4 F(\214lter)189 452 Q(.)-.55 E F2(sendmail)5.698 E F1 -.697(will perform a lookup with the same parameters as the origi-)3.198 -F(nal search b)189 464 Q -(ut replaces the search \214lter with the one speci\214ed here.)-.2 E -49.5(URL An)117 480.2 R 2.87(ym)-.15 G .37(atches for this attrib)-2.87 -F .37(ute are e)-.2 F .37(xpected to ha)-.15 F .67 -.15(ve a v)-.2 H .37 -(alue of an LD)-.1 F .37(AP URL.)-.4 F F2(sendmail)189 492.2 Q F1 1.947 -(will perform a lookup of that URL and use the results from the)4.447 F -(attrib)189 504.2 Q .389(utes named in that URL.)-.2 F .389(Note ho) -5.389 F(we)-.25 E -.15(ve)-.25 G 2.889(rt).15 G .389 -(hat the search is done using the)-2.889 F 2.622(current LD)189 516.2 R -2.622(AP connection, re)-.4 F -.05(ga)-.15 G 2.622 -(rdless of what is speci\214ed as the scheme,).05 F(LD)189 528.2 Q -(AP host, and LD)-.4 E(AP port in the LD)-.4 E(AP URL.)-.4 E(An)117 -544.4 Q 2.5(yu)-.15 G(ntyped attrib)-2.5 E(utes are considered)-.2 E/F4 -9/Times-Roman@0 SF(NORMAL)2.5 E F1(attrib)2.5 E(utes as described abo) --.2 E -.15(ve)-.15 G(.).15 E .91(The optional)142 560.6 R F2 -(OBJECTCLASS)3.41 E F1 .91 -(\(| separated\) list contains the objectClass v)3.41 F .91 -(alues for which)-.25 F 1.399(that attrib)117 572.6 R 1.399 -(ute applies.)-.2 F 1.399(If the list is gi)6.399 F -.15(ve)-.25 G 1.399 -(n, the attrib).15 F 1.399(ute named will only be used if the LD)-.2 F -(AP)-.4 E 1.111(record being returned is a member of that object class.) -117 584.6 R 1.111(Note that if these ne)6.111 F 3.612(wv)-.25 G 1.112 -(alue attrib)-3.862 F(ute)-.2 E F2(TYPE)117 596.6 Q F1 2.937(sa)C .436(\ -re used in an AliasFile option setting, it will need to be double quote\ -d to pre)-2.937 F -.15(ve)-.25 G(nt).15 E F2(send-)2.936 E(mail)117 -608.6 Q F1(from misparsing the colons.)2.5 E .257(Note that LD)142 624.8 -R .257(AP recursion attrib)-.4 F .257 -(utes which do not ultimately point to an LD)-.2 F .258(AP record are) --.4 F(not considered an error)117 636.8 Q(.)-.55 E .32 LW 76 678.8 72 -678.8 DL 80 678.8 76 678.8 DL 84 678.8 80 678.8 DL 88 678.8 84 678.8 DL -92 678.8 88 678.8 DL 96 678.8 92 678.8 DL 100 678.8 96 678.8 DL 104 -678.8 100 678.8 DL 108 678.8 104 678.8 DL 112 678.8 108 678.8 DL 116 -678.8 112 678.8 DL 120 678.8 116 678.8 DL 124 678.8 120 678.8 DL 128 -678.8 124 678.8 DL 132 678.8 128 678.8 DL 136 678.8 132 678.8 DL 140 -678.8 136 678.8 DL 144 678.8 140 678.8 DL 148 678.8 144 678.8 DL 152 -678.8 148 678.8 DL 156 678.8 152 678.8 DL 160 678.8 156 678.8 DL 164 -678.8 160 678.8 DL 168 678.8 164 678.8 DL 172 678.8 168 678.8 DL 176 -678.8 172 678.8 DL 180 678.8 176 678.8 DL 184 678.8 180 678.8 DL 188 -678.8 184 678.8 DL 192 678.8 188 678.8 DL 196 678.8 192 678.8 DL 200 -678.8 196 678.8 DL 204 678.8 200 678.8 DL 208 678.8 204 678.8 DL 212 -678.8 208 678.8 DL 216 678.8 212 678.8 DL/F5 5/Times-Roman@0 SF(25)93.6 -689.2 Q/F6 8/Times-Roman@0 SF +678.8 212 678.8 DL/F5 5/Times-Roman@0 SF(25)93.6 689.2 Q/F6 8 +/Times-Roman@0 SF (If you do, please send updates to sendmail@Sendmail.ORG.)3.2 I 0 Cg EP -%%Page: 98 94 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 193.36(SMM:08-98 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E 2.5(6.5.1.1. Example)117 96 R/F1 -10/Times-Roman@0 SF .218(Since e)157 112.2 R .218 -(xamples usually help clarify)-.15 F 2.718(,h)-.65 G .218(ere is an e) --2.718 F .218(xample which uses all four of the ne)-.15 F(w)-.25 E -(types:)132 124.2 Q 2.5(OL)172 140.4 S -.4(DA)-2.5 G(PDef).4 E -(aultSpec=-h ldap.e)-.1 E(xample.com -b dc=e)-.15 E(xample,dc=com)-.15 E --2.15 -.25(Ke x)172 164.4 T(ample ldap).25 E(-z,)194.5 176.4 Q -(-k \(&\(objectClass=sendmailMT)194.5 188.4 Q -(AAliasObject\)\(sendmailMT)-.93 E(AK)-.93 E -.15(ey)-.25 G(=%0\)\)).15 -E(-v sendmailMT)194.5 200.4 Q(AAliasV)-.93 E(alue,mail:NORMAL:inetOr) --1.11 E(gPerson,)-.18 E(uniqueMember:DN:groupOfUniqueNames,)202 212.4 Q -(sendmailMT)202 224.4 Q(AAliasSearch:FIL)-.93 E(TER:sendmailMT)-.92 E -(AAliasObject,)-.93 E(sendmailMT)202 236.4 Q(AAliasURL:URL:sendmailMT) --.93 E(AAliasObject)-.93 E(That de\214nition speci\214es that:)157 256.8 -Q 5<8341>137 273 S .951 -.15(ny v)-5 H .651(alue in a)-.1 F/F2 9 -/Times-Roman@0 SF(sendmailMT)3.151 E(AAliasV)-.837 E(alue)-.999 E F1 -(attrib)3.151 E .652(ute will be added to the result string re)-.2 F --.05(ga)-.15 G(rd-).05 E(less of object class.)145.5 285 Q 5<8354>137 -297 S(he)-5 E F2(mail)2.552 E F1(attrib)2.552 E .052 -(ute will be added to the result string if the LD)-.2 F .051 -(AP record is a member of the)-.4 F F2(inetOr)145.5 309 Q(gPerson)-.162 -E F1(object class.)2.5 E 5<8354>137 321 S(he)-5 E F2(uniqueMember)4.596 -E F1(attrib)4.597 E 2.097(ute is a recursi)-.2 F 2.397 -.15(ve a)-.25 H -(ttrib).15 E 2.097(ute, used only in)-.2 F F2(groupOfUniqueNames)4.597 E -F1 .55(records, and should contain an LD)145.5 333 R .549 -(AP DN pointing to another LD)-.4 F .549(AP record.)-.4 F .549 -(The desire)5.549 F(here is to return the)145.5 345 Q F2(mail)2.5 E F1 -(attrib)2.5 E(ute from those DNs.)-.2 E 5<8354>137 357 S(he)-5 E F2 -(sendmailMT)4.373 E(AAliasSearch)-.837 E F1(attrib)4.373 E 1.873 -(ute and)-.2 F F2(sendmailMT)4.374 E(AAliasURL)-.837 E F1 1.874 -(are both used only if)4.374 F 2.084(referenced in a)145.5 369 R F2 -(sendmailMT)4.584 E(AAliasObject)-.837 E F1 7.084(.T)C(he)-7.084 E 4.584 -(ya)-.15 G 2.084(re both recursi)-4.584 F -.15(ve)-.25 G 4.584(,t).15 G -2.084(he \214rst for a ne)-4.584 F(w)-.25 E(LD)145.5 381 Q -(AP search string and the latter for an LD)-.4 E(AP URL.)-.4 E F0 2.5 -(6.6. ST)87 405 R(AR)-.9 E(TTLS)-.4 E F1 .47 -(In this section we assume that)127 421.2 R/F3 10/Times-Italic@0 SF -(sendmail)2.97 E F1 .47(has been compiled with support for ST)2.97 F(AR) --.93 E 2.97(TTLS. T)-.6 F(o)-.8 E .609 -(properly understand the use of ST)102 433.2 R(AR)-.93 E .609(TTLS in) --.6 F F3(sendmail)3.109 E F1 3.109(,i)C 3.109(ti)-3.109 G 3.109(sn) --3.109 G .608(ecessary to understand at least some)-3.109 F 1.855 -(basics about X.509 certi\214cates and public k)102 445.2 R 2.155 -.15 -(ey c)-.1 H(ryptograph).15 E 5.655 -.65(y. T)-.05 H 1.856 -(his information can be found in).65 F -(books about SSL/TLS or on WWW sites, e.g., \231http://www)102 457.2 Q -(.OpenSSL.or)-.65 E(g/\232.)-.18 E F0 2.5(6.6.1. Certi\214cates)102 -481.2 R -.25(fo)2.5 G 2.5(rS).25 G -.9(TA)-2.5 G -.4(RT).9 G(TLS).4 E F1 -.438(When acting as a serv)142 497.4 R(er)-.15 E(,)-.4 E F3(sendmail) -2.938 E F1 .437(requires X.509 certi\214cates to support ST)2.938 F(AR) --.93 E .437(TTLS: one)-.6 F 1.45(as certi\214cate for the serv)117 509.4 -R 1.45(er \(Serv)-.15 F 1.45(erCertFile and corresponding pri)-.15 F --.25(va)-.25 G 1.45(te Serv).25 F(erK)-.15 E -.15(ey)-.25 G 1.45 -(File\) at least).15 F .245(one root CA \(CA)117 521.4 R .244(CertFile\ -\), i.e., a certi\214cate that is used to sign other certi\214cates, an\ -d a path to a)-.4 F .898(directory which contains other CAs \(CA)117 -533.4 R(CertP)-.4 E 3.398(ath\). The)-.15 F .899 -(\214le speci\214ed via CA)3.398 F .899(CertFile can con-)-.4 F .919 -(tain se)117 545.4 R -.15(ve)-.25 G .919(ral certi\214cates of CAs.).15 -F .919 -(The DNs of these certi\214cates are sent to the client during the)5.919 -F .925(TLS handshak)117 557.4 R 3.425(e\()-.1 G .925 -(as part of the Certi\214cateRequest\) as the list of acceptable CAs.) --3.425 F(Ho)5.925 E(we)-.25 E -.15(ve)-.25 G 1.725 -.4(r, d).15 H(o).4 E -(not list too man)117 569.4 Q 2.5(yr)-.15 G -(oot CAs in that \214le, otherwise the TLS handshak)-2.5 E 2.5(em)-.1 G -(ay f)-2.5 E(ail; e.g.,)-.1 E -(error:14094417:SSL routines:SSL3_READ_BYTES:)157 585.6 Q -(sslv3 alert ille)157 597.6 Q -.05(ga)-.15 G 2.5(lp).05 G -(arameter:s3_pkt.c:964:SSL alert number 47)-2.5 E -1.1(Yo)117 613.8 S -3.074(us)1.1 G .574(hould probably put only the CA cert into that \214l\ -e that signed your o)-3.074 F .574(wn cert\(s\), or at least)-.25 F .542 -(only those you trust.)117 625.8 R .543(The CA)5.543 F(CertP)-.4 E .543 -(ath directory must contain the hashes of each CA certi\214cate)-.15 F -1.585(as \214lenames \(or as links to them\).)117 637.8 R 1.584 -(Symbolic links can be generated with the follo)6.585 F 1.584(wing tw) --.25 F(o)-.1 E(\(Bourne\) shell commands:)117 649.8 Q -(C=FileName_of_CA_Certi\214cate)157 666 Q -(ln -s $C `openssl x509 -noout -hash < $C`.0)157 678 Q .202(An X.509 ce\ -rti\214cate is also required for authentication in client mode \(Client\ -CertFile and corre-)117 694.2 R .931(sponding pri)117 706.2 R -.25(va) --.25 G .931(te ClientK).25 F -.15(ey)-.25 G .931(File\), ho).15 F(we) --.25 E -.15(ve)-.25 G -.4(r,).15 G F3(sendmail)3.831 E F1 .931(will al) -3.431 F -.1(wa)-.1 G .931(ys use ST).1 F(AR)-.93 E .931(TTLS when of)-.6 -F(fered)-.25 E .067(by a serv)117 718.2 R(er)-.15 E 5.067(.T)-.55 G .067 -(he client and serv)-5.067 F .067(er certi\214cates can be identical.) --.15 F .068(Certi\214cates can be obtained from)5.068 F 0 Cg EP %%Page: 99 95 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-99)195.86 E/F1 10/Times-Roman@0 SF 2.848(ac)117 96 S .348 -(erti\214cate authority or created with the help of OpenSSL.)-2.848 F -.348(The required format for certi\214cates)5.348 F 4.583(and pri)117 -108 R -.25(va)-.25 G 4.583(te k).25 F -.15(ey)-.1 G 7.084(si).15 G 7.084 -(sP)-7.084 G 7.084(EM. T)-7.084 F 7.084(oa)-.8 G(llo)-7.084 E 7.084(wf) --.25 G 4.584(or automatic startup of sendmail, pri)-7.084 F -.25(va)-.25 -G 4.584(te k).25 F -.15(ey)-.1 G(s).15 E(\(Serv)117 120 Q(erK)-.15 E --.15(ey)-.25 G .25(File, ClientK).15 F -.15(ey)-.25 G .249 -(File\) must be stored unencrypted.).15 F .249(The k)5.249 F -.15(ey)-.1 -G 2.749(sa).15 G .249(re only protected by the)-2.749 F -(permissions of the \214le system.)117 132 Q(Ne)5 E -.15(ve)-.25 G 2.5 -(rm).15 G(ak)-2.5 E 2.5(eap)-.1 G(ri)-2.5 E -.25(va)-.25 G(te k).25 E .3 --.15(ey a)-.1 H -.25(va)-.05 G(ilable to a third party).25 E(.)-.65 E F0 -2.5(6.6.2. PRNG)102 156 R -.25(fo)2.5 G 2.5(rS).25 G -.9(TA)-2.5 G -.4 -(RT).9 G(TLS).4 E F1(ST)142 172.2 Q(AR)-.93 E .504(TTLS requires a stro\ -ng pseudo random number generator \(PRNG\) to operate prop-)-.6 F(erly) -117 184.2 Q 5.056(.D)-.65 G .056 -(epending on the TLS library you use, it may be required to e)-5.056 F -.055(xplicitly initialize the PRNG)-.15 F 1.154(with random data.)117 -196.2 R 1.154(OpenSSL mak)6.154 F 1.154(es use of)-.1 F F0(/de)3.654 E -(v/urandom\(4\))-.15 E F1 1.154(if a)3.654 F -.25(va)-.2 G 1.155 -(ilable \(this corresponds to).25 F 1.443 -(the compile \215ag HASURANDOMDEV\).)117 208.2 R 1.442 -(On systems which lack this support, a random \214le)6.443 F .223 -(must be speci\214ed in the)117 220.2 R/F2 10/Times-Italic@0 SF -(sendmail.cf)2.723 E F1 .223(\214le using the option RandFile.)2.723 F -.223(It is)5.223 F F0(str)2.723 E(ongly)-.18 E F1 .224(advised to use) -2.723 F .873(the "Entrop)117 232.2 R 3.373(yG)-.1 G .872 -(athering Daemon" EGD from Brian W)-3.373 F .872 -(arner on those systems to pro)-.8 F .872(vide useful)-.15 F 1.413 -(random data.)117 244.2 R 1.413(In this case,)6.413 F F2(sendmail)3.913 -E F1 1.414(must be compiled with the \215ag EGD, and the RandFile)3.913 -F .732(option must point to the EGD sock)117 256.2 R 3.231(et. If)-.1 F -(neither)3.231 E F0(/de)3.231 E(v/urandom\(4\))-.15 E F1 .731 -(nor EGD are a)3.231 F -.25(va)-.2 G .731(ilable, you).25 F(ha)117 268.2 -Q .473 -.15(ve t)-.2 H 2.673(om).15 G(ak)-2.673 E 2.674(es)-.1 G .174 -(ure that useful random data is a)-2.674 F -.25(va)-.2 G .174 -(ilable all the time in RandFile.).25 F .174(If the \214le hasn')5.174 F -(t)-.18 E .39(been modi\214ed in the last 10 minutes before it is suppo\ -sed to be used by)117 280.2 R F2(sendmail)2.89 E F1 .39(the content is) -2.89 F(considered obsolete.)117 292.2 Q -(One method for generating this \214le is:)5 E -(openssl rand -out /etc/mail/rand\214le -rand)157 308.4 Q F2 -(/path/to/\214le:...)2.5 E F1(256)A .32 -(See the OpenSSL documentation for more information.)117 324.6 R .321 -(In this case, the PRNG for TLS is only)5.321 F .957 -(seeded with other random data if the)117 336.6 R F0(DontBlameSendmail) -3.456 E F1(option)3.456 E F0(Insuf\214cientEntr)3.456 E(opy)-.18 E F1 -.956(is set.)3.456 F(This is most lik)117 348.6 Q(ely not suf)-.1 E -(\214cient for certain actions, e.g., generation of \(temporary\) k)-.25 -E -.15(ey)-.1 G(s.).15 E .051(Please see the OpenSSL documentation or o\ -ther sources for further information about cer)142 364.8 R(-)-.2 E 1.064 -(ti\214cates, their creation and their usage, the importance of a good \ -PRNG, and other aspects of)117 376.8 R(TLS.)117 388.8 Q F0 2.5 -(6.7. Encoding)87 412.8 R(of ST)2.5 E(AR)-.9 E(TTLS and A)-.4 E(UTH r) --.5 E(elated Macr)-.18 E(os)-.18 E F1 .692(Macros that contain ST)127 -429 R(AR)-.93 E .692(TTLS and A)-.6 F .693 -(UTH related data which comes from outside sources,)-.55 F .809(e.g., a\ -ll macros containing information from certi\214cates, are encoded to a) -102 441 R -.2(vo)-.2 G .809(id problems with non-).2 F .192 -(printable or special characters.)102 453 R .192 -(The latter are '\\', '<', '>', '\(', '\)', '"', '+', and ' '.)5.192 F -.193(All of these char)5.193 F(-)-.2 E(acters are replaced by their v) -102 465 Q(alue in he)-.25 E(xadecimal with a leading '+'.)-.15 E -.15 -(Fo)5 G 2.5(re).15 G(xample:)-2.65 E(/C=US/ST=California/O=endmail.or) -142 481.2 Q(g/OU=pri)-.18 E -.25(va)-.25 G(te/CN=Darth Mail \(Cert\)/) -.25 E(Email=darth+cert@endmail.or)142 493.2 Q(g)-.18 E(is encoded as:) -102 509.4 Q(/C=US/ST=California/O=endmail.or)142 525.6 Q(g/OU=pri)-.18 E --.25(va)-.25 G(te/).25 E -(CN=Darth+20Mail+20+28Cert+29/Email=darth+2Bcert@endmail.or)142 537.6 Q -(g)-.18 E .516(\(line breaks ha)102 553.8 R .816 -.15(ve b)-.2 H .516 -(een inserted for readability\).).15 F .515 -(The macros which are subject to this encoding are)5.515 F 6.827({cert_\ -subject}, {cert_issuer}, {cn_subject}, {cn_issuer}, as well as {auth_au\ -then} and)102 565.8 R({auth_author}.)102 577.8 Q F0 2.5(7. A)72 601.8 R -(CKNO)-.55 E(WLEDGEMENTS)-.5 E F1(I')112 618 Q 2.037 -.15(ve w)-.5 H -(ork).05 E 1.737(ed on)-.1 F F2(sendmail)4.237 E F1 1.737(for man)4.237 -F 4.237(yy)-.15 G 1.737(ears, and man)-4.237 F 4.237(ye)-.15 G(mplo) --4.237 E 1.737(yers ha)-.1 F 2.037 -.15(ve b)-.2 H 1.737 -(een remarkably patient).15 F .403(about letting me w)87 630 R .403 -(ork on a lar)-.1 F .403(ge project that w)-.18 F .404 -(as not part of my of)-.1 F .404(\214cial job)-.25 F 5.404(.T)-.4 G .404 -(his includes time on the)-5.404 F .282(INGRES Project at the Uni)87 642 -R -.15(ve)-.25 G .282(rsity of California at Berk).15 F(ele)-.1 E 1.582 --.65(y, a)-.15 H 2.782(tB).65 G .282(ritton Lee, and ag)-2.782 F .281 -(ain on the Mammoth)-.05 F(and T)87 654 Q(itan Projects at Berk)-.35 E -(ele)-.1 E -.65(y.)-.15 G .789(Much of the second w)112 670.2 R -2.25 --.2(av e)-.1 H .789(of impro)3.489 F -.15(ve)-.15 G .789 -(ments resulting in v).15 F .79(ersion 8.1 should be credited to Bryan) --.15 F .545(Costales of the International Computer Science Institute.)87 -682.2 R .545(As he passed me drafts of his book on)5.545 F F2(send-) -3.045 E(mail)87 694.2 Q F1 2.5(Iw)2.5 G(as inspired to start w)-2.6 E -(orking on things ag)-.1 E 2.5(ain. Bryan)-.05 F -.1(wa)2.5 G 2.5(sa).1 -G(lso a)-2.5 E -.25(va)-.2 G(ilable to bounce ideas of).25 E 2.5(fo)-.25 -G(f.)-2.5 E(Gre)112 710.4 Q .167(gory Neil Shapiro of W)-.15 F .168(orc\ -ester Polytechnic Institute has become instrumental in all phases of)-.8 -F F2(sendmail)87 722.4 Q F1 .34(support and de)2.84 F -.15(ve)-.25 G .34 -(lopment, and w).15 F .34(as lar)-.1 F .34 -(gely responsible for getting v)-.18 F .34(ersions 8.8 and 8.9 out the) --.15 F 0 Cg EP +(SMM:08-99)195.86 E 2.5(6.5. LD)87 96 R(AP)-.35 E/F1 10/Times-Roman@0 SF +(In this section we assume that)127 112.2 Q/F2 10/Times-Italic@0 SF +(sendmail)2.5 E F1(has been compiled with support for LD)2.5 E(AP)-.4 E +(.)-1.11 E F0 2.5(6.5.1. LD)102 136.2 R(AP Recursion)-.35 E F1(LD)142 +152.4 Q .35(AP Recursion allo)-.4 F .349 +(ws you to add types to the search attrib)-.25 F .349(utes on an LD)-.2 +F .349(AP map speci-)-.4 F 2.5(\214cation. The)117 164.4 R(syntax is:) +2.5 E117 180.6 Q F2 -.37(AT)2.5 G(TRIB).37 E(UTE)-.1 E F1([:)A F2 +(TYPE)A F1([:)A F2(OBJECTCLASS)A F1([|)A F2(OBJECTCLASS)A F1(|...]]])A +(The ne)142 196.8 Q(w)-.25 E F2(TYPE)2.5 E F1 2.5(sa)C(re:)-2.5 E 26.17 +(NORMAL This)117 213 R(attrib)3.578 E 1.078 +(ute type speci\214es the attrib)-.2 F 1.079 +(ute to add to the results string.)-.2 F 1.079(This is)6.079 F(the def) +189 225 Q(ault.)-.1 E 55.06(DN An)117 241.2 R 2.822(ym)-.15 G .322 +(atches for this attrib)-2.822 F .322(ute are e)-.2 F .321 +(xpected to ha)-.15 F .621 -.15(ve a v)-.2 H .321 +(alue of a fully quali\214ed)-.1 F 1.521(distinguished name.)189 253.2 R +F2(sendmail)6.521 E F1 1.521(will lookup that DN and apply the attrib) +4.021 F(utes)-.2 E(requested to the returned DN record.)189 265.2 Q(FIL) +117 281.4 Q 36.53(TER An)-.92 F 2.653(ym)-.15 G .153 +(atches for this attrib)-2.653 F .153(ute are e)-.2 F .153 +(xpected to ha)-.15 F .453 -.15(ve a v)-.2 H .153(alue of an LD)-.1 F +.152(AP search)-.4 F(\214lter)189 293.4 Q(.)-.55 E F2(sendmail)5.697 E +F1 .698(will perform a lookup with the same parameters as the origi-) +3.197 F(nal search b)189 305.4 Q +(ut replaces the search \214lter with the one speci\214ed here.)-.2 E +49.5(URL An)117 321.6 R 2.87(ym)-.15 G .37(atches for this attrib)-2.87 +F .37(ute are e)-.2 F .37(xpected to ha)-.15 F .67 -.15(ve a v)-.2 H .37 +(alue of an LD)-.1 F .37(AP URL.)-.4 F F2(sendmail)189 333.6 Q F1 1.947 +(will perform a lookup of that URL and use the results from the)4.446 F +(attrib)189 345.6 Q .39(utes named in that URL.)-.2 F .389(Note ho)5.389 +F(we)-.25 E -.15(ve)-.25 G 2.889(rt).15 G .389 +(hat the search is done using the)-2.889 F 2.622(current LD)189 357.6 R +2.622(AP connection, re)-.4 F -.05(ga)-.15 G 2.622 +(rdless of what is speci\214ed as the scheme,).05 F(LD)189 369.6 Q +(AP host, and LD)-.4 E(AP port in the LD)-.4 E(AP URL.)-.4 E(An)117 +385.8 Q 2.5(yu)-.15 G(ntyped attrib)-2.5 E(utes are considered)-.2 E/F3 +9/Times-Roman@0 SF(NORMAL)2.5 E F1(attrib)2.5 E(utes as described abo) +-.2 E -.15(ve)-.15 G(.).15 E .91(The optional)142 402 R F2(OBJECTCLASS) +3.41 E F1 .91(\(| separated\) list contains the objectClass v)3.41 F .91 +(alues for which)-.25 F 1.398(that attrib)117 414 R 1.398(ute applies.) +-.2 F 1.399(If the list is gi)6.398 F -.15(ve)-.25 G 1.399 +(n, the attrib).15 F 1.399(ute named will only be used if the LD)-.2 F +(AP)-.4 E 1.111(record being returned is a member of that object class.) +117 426 R 1.111(Note that if these ne)6.111 F 3.611(wv)-.25 G 1.111 +(alue attrib)-3.861 F(ute)-.2 E F2(TYPE)117 438 Q F1 2.936(sa)C .436(re\ + used in an AliasFile option setting, it will need to be double quoted \ +to pre)-2.936 F -.15(ve)-.25 G(nt).15 E F2(send-)2.937 E(mail)117 450 Q +F1(from misparsing the colons.)2.5 E .258(Note that LD)142 466.2 R .257 +(AP recursion attrib)-.4 F .257 +(utes which do not ultimately point to an LD)-.2 F .257(AP record are) +-.4 F(not considered an error)117 478.2 Q(.)-.55 E F0 2.5 +(6.5.1.1. Example)117 502.2 R F1 .218(Since e)157 518.4 R .218 +(xamples usually help clarify)-.15 F 2.718(,h)-.65 G .218(ere is an e) +-2.718 F .218(xample which uses all four of the ne)-.15 F(w)-.25 E +(types:)132 530.4 Q 2.5(OL)172 546.6 S -.4(DA)-2.5 G(PDef).4 E +(aultSpec=-h ldap.e)-.1 E(xample.com -b dc=e)-.15 E(xample,dc=com)-.15 E +-2.15 -.25(Ke x)172 570.6 T(ample ldap).25 E(-z,)194.5 582.6 Q +(-k \(&\(objectClass=sendmailMT)194.5 594.6 Q +(AAliasObject\)\(sendmailMT)-.93 E(AK)-.93 E -.15(ey)-.25 G(=%0\)\)).15 +E(-v sendmailMT)194.5 606.6 Q(AAliasV)-.93 E(alue,mail:NORMAL:inetOr) +-1.11 E(gPerson,)-.18 E(uniqueMember:DN:groupOfUniqueNames,)202 618.6 Q +(sendmailMT)202 630.6 Q(AAliasSearch:FIL)-.93 E(TER:sendmailMT)-.92 E +(AAliasObject,)-.93 E(sendmailMT)202 642.6 Q(AAliasURL:URL:sendmailMT) +-.93 E(AAliasObject)-.93 E(That de\214nition speci\214es that:)157 663 Q +5<8341>137 679.2 S .952 -.15(ny v)-5 H .652(alue in a)-.1 F F3 +(sendmailMT)3.152 E(AAliasV)-.837 E(alue)-.999 E F1(attrib)3.152 E .651 +(ute will be added to the result string re)-.2 F -.05(ga)-.15 G(rd-).05 +E(less of object class.)145.5 691.2 Q 5<8354>137 703.2 S(he)-5 E F3 +(mail)2.551 E F1(attrib)2.551 E .051 +(ute will be added to the result string if the LD)-.2 F .052 +(AP record is a member of the)-.4 F F3(inetOr)145.5 715.2 Q(gPerson) +-.162 E F1(object class.)2.5 E 0 Cg EP %%Page: 100 96 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF 188.36(SMM:08-100 Sendmail)72 60 R -(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF(door)87 -96 Q(.)-.55 E(Man)112 112.2 Q 2.856 -.65(y, m)-.15 H(an).65 E 4.056(yp) --.15 G 1.556(eople contrib)-4.056 F 1.556 -(uted chunks of code and ideas to)-.2 F/F2 10/Times-Italic@0 SF -(sendmail)4.056 E F1 6.556(.I)C 4.056(th)-6.556 G 1.557(as pro)-4.056 F --.15(ve)-.15 G 4.057(nt).15 G 4.057(ob)-4.057 G 4.057(ea)-4.057 G .406 -(group netw)87 124.2 R .406(ork ef)-.1 F 2.906(fort. V)-.25 F .406 -(ersion 8 in particular w)-1.11 F .405(as a group project.)-.1 F .405 -(The follo)5.405 F .405(wing people and or)-.25 F -.05(ga)-.18 G(niza-) -.05 E(tions made notable contrib)87 136.2 Q(utions:)-.2 E(Claus Assmann) -127 152.4 Q(John Beck, He)127 164.4 Q(wlett-P)-.25 E -(ackard & Sun Microsystems)-.15 E -.25(Ke)127 176.4 S +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 5<8354> +137 96 S(he)-5 E/F2 9/Times-Roman@0 SF(uniqueMember)4.597 E F1(attrib) +4.597 E 2.097(ute is a recursi)-.2 F 2.397 -.15(ve a)-.25 H(ttrib).15 E +2.097(ute, used only in)-.2 F F2(groupOfUniqueNames)4.596 E F1 .549 +(records, and should contain an LD)145.5 108 R .549 +(AP DN pointing to another LD)-.4 F .55(AP record.)-.4 F .55(The desire) +5.55 F(here is to return the)145.5 120 Q F2(mail)2.5 E F1(attrib)2.5 E +(ute from those DNs.)-.2 E 5<8354>137 132 S(he)-5 E F2(sendmailMT)4.374 +E(AAliasSearch)-.837 E F1(attrib)4.374 E 1.874(ute and)-.2 F F2 +(sendmailMT)4.374 E(AAliasURL)-.837 E F1 1.873(are both used only if) +4.374 F 2.083(referenced in a)145.5 144 R F2(sendmailMT)4.584 E +(AAliasObject)-.837 E F1 7.084(.T)C(he)-7.084 E 4.584(ya)-.15 G 2.084 +(re both recursi)-4.584 F -.15(ve)-.25 G 4.584(,t).15 G 2.084 +(he \214rst for a ne)-4.584 F(w)-.25 E(LD)145.5 156 Q +(AP search string and the latter for an LD)-.4 E(AP URL.)-.4 E F0 2.5 +(6.6. ST)87 180 R(AR)-.9 E(TTLS)-.4 E F1 .47 +(In this section we assume that)127 196.2 R/F3 10/Times-Italic@0 SF +(sendmail)2.97 E F1 .47(has been compiled with support for ST)2.97 F(AR) +-.93 E 2.97(TTLS. T)-.6 F(o)-.8 E .608 +(properly understand the use of ST)102 208.2 R(AR)-.93 E .609(TTLS in) +-.6 F F3(sendmail)3.109 E F1 3.109(,i)C 3.109(ti)-3.109 G 3.109(sn) +-3.109 G .609(ecessary to understand at least some)-3.109 F 1.856 +(basics about X.509 certi\214cates and public k)102 220.2 R 2.155 -.15 +(ey c)-.1 H(ryptograph).15 E 5.655 -.65(y. T)-.05 H 1.855 +(his information can be found in).65 F +(books about SSL/TLS or on WWW sites, e.g., \231http://www)102 232.2 Q +(.OpenSSL.or)-.65 E(g/\232.)-.18 E F0 2.5(6.6.1. Certi\214cates)102 +256.2 R -.25(fo)2.5 G 2.5(rS).25 G -.9(TA)-2.5 G -.4(RT).9 G(TLS).4 E F1 +.437(When acting as a serv)142 272.4 R(er)-.15 E(,)-.4 E F3(sendmail) +2.937 E F1 .438(requires X.509 certi\214cates to support ST)2.937 F(AR) +-.93 E .438(TTLS: one)-.6 F 1.45(as certi\214cate for the serv)117 284.4 +R 1.45(er \(Serv)-.15 F 1.45(erCertFile and corresponding pri)-.15 F +-.25(va)-.25 G 1.45(te Serv).25 F(erK)-.15 E -.15(ey)-.25 G 1.45 +(File\) at least).15 F .244(one root CA \(CA)117 296.4 R .245(CertFile\ +\), i.e., a certi\214cate that is used to sign other certi\214cates, an\ +d a path to a)-.4 F .899(directory which contains other CAs \(CA)117 +308.4 R(CertP)-.4 E 3.398(ath\). The)-.15 F .898 +(\214le speci\214ed via CA)3.398 F .898(CertFile can con-)-.4 F .918 +(tain se)117 320.4 R -.15(ve)-.25 G .918(ral certi\214cates of CAs.).15 +F .919 +(The DNs of these certi\214cates are sent to the client during the)5.919 +F .925(TLS handshak)117 332.4 R 3.425(e\()-.1 G .925 +(as part of the Certi\214cateRequest\) as the list of acceptable CAs.) +-3.425 F(Ho)5.925 E(we)-.25 E -.15(ve)-.25 G 1.725 -.4(r, d).15 H(o).4 E +(not list too man)117 344.4 Q 2.5(yr)-.15 G +(oot CAs in that \214le, otherwise the TLS handshak)-2.5 E 2.5(em)-.1 G +(ay f)-2.5 E(ail; e.g.,)-.1 E +(error:14094417:SSL routines:SSL3_READ_BYTES:)157 360.6 Q +(sslv3 alert ille)157 372.6 Q -.05(ga)-.15 G 2.5(lp).05 G +(arameter:s3_pkt.c:964:SSL alert number 47)-2.5 E -1.1(Yo)117 388.8 S +3.073(us)1.1 G .574(hould probably put only the CA cert into that \214l\ +e that signed your o)-3.073 F .574(wn cert\(s\), or at least)-.25 F .543 +(only those you trust.)117 400.8 R .543(The CA)5.543 F(CertP)-.4 E .543 +(ath directory must contain the hashes of each CA certi\214cate)-.15 F +1.584(as \214lenames \(or as links to them\).)117 412.8 R 1.585 +(Symbolic links can be generated with the follo)6.585 F 1.585(wing tw) +-.25 F(o)-.1 E(\(Bourne\) shell commands:)117 424.8 Q +(C=FileName_of_CA_Certi\214cate)157 441 Q +(ln -s $C `openssl x509 -noout -hash < $C`.0)157 453 Q .202(An X.509 ce\ +rti\214cate is also required for authentication in client mode \(Client\ +CertFile and corre-)117 469.2 R .931(sponding pri)117 481.2 R -.25(va) +-.25 G .931(te ClientK).25 F -.15(ey)-.25 G .931(File\), ho).15 F(we) +-.25 E -.15(ve)-.25 G -.4(r,).15 G F3(sendmail)3.831 E F1 .931(will al) +3.431 F -.1(wa)-.1 G .931(ys use ST).1 F(AR)-.93 E .931(TTLS when of)-.6 +F(fered)-.25 E .068(by a serv)117 493.2 R(er)-.15 E 5.068(.T)-.55 G .068 +(he client and serv)-5.068 F .067(er certi\214cates can be identical.) +-.15 F .067(Certi\214cates can be obtained from)5.067 F 2.847(ac)117 +505.2 S .348 +(erti\214cate authority or created with the help of OpenSSL.)-2.847 F +.348(The required format for certi\214cates)5.348 F 4.584(and pri)117 +517.2 R -.25(va)-.25 G 4.584(te k).25 F -.15(ey)-.1 G 7.084(si).15 G +7.084(sP)-7.084 G 7.084(EM. T)-7.084 F 7.084(oa)-.8 G(llo)-7.084 E 7.084 +(wf)-.25 G 4.584(or automatic startup of sendmail, pri)-7.084 F -.25(va) +-.25 G 4.583(te k).25 F -.15(ey)-.1 G(s).15 E(\(Serv)117 529.2 Q(erK) +-.15 E -.15(ey)-.25 G .249(File, ClientK).15 F -.15(ey)-.25 G .249 +(File\) must be stored unencrypted.).15 F .249(The k)5.249 F -.15(ey)-.1 +G 2.749(sa).15 G .249(re only protected by the)-2.749 F +(permissions of the \214le system.)117 541.2 Q(Ne)5 E -.15(ve)-.25 G 2.5 +(rm).15 G(ak)-2.5 E 2.5(eap)-.1 G(ri)-2.5 E -.25(va)-.25 G(te k).25 E .3 +-.15(ey a)-.1 H -.25(va)-.05 G(ilable to a third party).25 E(.)-.65 E F0 +2.5(6.6.2. PRNG)102 565.2 R -.25(fo)2.5 G 2.5(rS).25 G -.9(TA)-2.5 G -.4 +(RT).9 G(TLS).4 E F1(ST)142 581.4 Q(AR)-.93 E .504(TTLS requires a stro\ +ng pseudo random number generator \(PRNG\) to operate prop-)-.6 F(erly) +117 593.4 Q 5.055(.D)-.65 G .056 +(epending on the TLS library you use, it may be required to e)-5.055 F +.056(xplicitly initialize the PRNG)-.15 F 1.155(with random data.)117 +605.4 R 1.154(OpenSSL mak)6.154 F 1.154(es use of)-.1 F F0(/de)3.654 E +(v/urandom\(4\))-.15 E F1 1.154(if a)3.654 F -.25(va)-.2 G 1.154 +(ilable \(this corresponds to).25 F 1.442 +(the compile \215ag HASURANDOMDEV\).)117 617.4 R 1.443 +(On systems which lack this support, a random \214le)6.442 F .224 +(must be speci\214ed in the)117 629.4 R F3(sendmail.cf)2.723 E F1 .223 +(\214le using the option RandFile.)2.723 F .223(It is)5.223 F F0(str) +2.723 E(ongly)-.18 E F1 .223(advised to use)2.723 F .872(the "Entrop)117 +641.4 R 3.372(yG)-.1 G .872(athering Daemon" EGD from Brian W)-3.372 F +.873(arner on those systems to pro)-.8 F .873(vide useful)-.15 F 1.414 +(random data.)117 653.4 R 1.414(In this case,)6.414 F F3(sendmail)3.914 +E F1 1.413(must be compiled with the \215ag EGD, and the RandFile)3.913 +F .731(option must point to the EGD sock)117 665.4 R 3.231(et. If)-.1 F +(neither)3.231 E F0(/de)3.232 E(v/urandom\(4\))-.15 E F1 .732 +(nor EGD are a)3.232 F -.25(va)-.2 G .732(ilable, you).25 F(ha)117 677.4 +Q .474 -.15(ve t)-.2 H 2.674(om).15 G(ak)-2.674 E 2.674(es)-.1 G .174 +(ure that useful random data is a)-2.674 F -.25(va)-.2 G .174 +(ilable all the time in RandFile.).25 F .173(If the \214le hasn')5.174 F +(t)-.18 E .39(been modi\214ed in the last 10 minutes before it is suppo\ +sed to be used by)117 689.4 R F3(sendmail)2.89 E F1 .39(the content is) +2.89 F(considered obsolete.)117 701.4 Q +(One method for generating this \214le is:)5 E 0 Cg EP +%%Page: 101 97 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q +(SMM:08-101)190.86 E/F1 10/Times-Roman@0 SF +(openssl rand -out /etc/mail/rand\214le -rand)157 96 Q/F2 10 +/Times-Italic@0 SF(/path/to/\214le:...)2.5 E F1(256)A .321 +(See the OpenSSL documentation for more information.)117 112.2 R .32 +(In this case, the PRNG for TLS is only)5.321 F .956 +(seeded with other random data if the)117 124.2 R F0(DontBlameSendmail) +3.456 E F1(option)3.457 E F0(Insuf\214cientEntr)3.457 E(opy)-.18 E F1 +.957(is set.)3.457 F(This is most lik)117 136.2 Q(ely not suf)-.1 E +(\214cient for certain actions, e.g., generation of \(temporary\) k)-.25 +E -.15(ey)-.1 G(s.).15 E .051(Please see the OpenSSL documentation or o\ +ther sources for further information about cer)142 152.4 R(-)-.2 E 1.064 +(ti\214cates, their creation and their usage, the importance of a good \ +PRNG, and other aspects of)117 164.4 R(TLS.)117 176.4 Q F0 2.5 +(6.7. Encoding)87 200.4 R(of ST)2.5 E(AR)-.9 E(TTLS and A)-.4 E(UTH r) +-.5 E(elated Macr)-.18 E(os)-.18 E F1 .693(Macros that contain ST)127 +216.6 R(AR)-.93 E .693(TTLS and A)-.6 F .692 +(UTH related data which comes from outside sources,)-.55 F .809(e.g., a\ +ll macros containing information from certi\214cates, are encoded to a) +102 228.6 R -.2(vo)-.2 G .81(id problems with non-).2 F .193 +(printable or special characters.)102 240.6 R .193 +(The latter are '\\', '<', '>', '\(', '\)', '"', '+', and ' '.)5.193 F +.192(All of these char)5.192 F(-)-.2 E(acters are replaced by their v) +102 252.6 Q(alue in he)-.25 E(xadecimal with a leading '+'.)-.15 E -.15 +(Fo)5 G 2.5(re).15 G(xample:)-2.65 E(/C=US/ST=California/O=endmail.or) +142 268.8 Q(g/OU=pri)-.18 E -.25(va)-.25 G(te/CN=Darth Mail \(Cert\)/) +.25 E(Email=darth+cert@endmail.or)142 280.8 Q(g)-.18 E(is encoded as:) +102 297 Q(/C=US/ST=California/O=endmail.or)142 313.2 Q(g/OU=pri)-.18 E +-.25(va)-.25 G(te/).25 E +(CN=Darth+20Mail+20+28Cert+29/Email=darth+2Bcert@endmail.or)142 325.2 Q +(g)-.18 E .515(\(line breaks ha)102 341.4 R .815 -.15(ve b)-.2 H .515 +(een inserted for readability\).).15 F .516 +(The macros which are subject to this encoding are)5.515 F 6.828({cert_\ +subject}, {cert_issuer}, {cn_subject}, {cn_issuer}, as well as {auth_au\ +then} and)102 353.4 R({auth_author}.)102 365.4 Q F0 2.5(7. A)72 389.4 R +(CKNO)-.55 E(WLEDGEMENTS)-.5 E F1(I')112 405.6 Q 2.036 -.15(ve w)-.5 H +(ork).05 E 1.737(ed on)-.1 F F2(sendmail)4.237 E F1 1.737(for man)4.237 +F 4.237(yy)-.15 G 1.737(ears, and man)-4.237 F 4.237(ye)-.15 G(mplo) +-4.237 E 1.737(yers ha)-.1 F 2.037 -.15(ve b)-.2 H 1.737 +(een remarkably patient).15 F .404(about letting me w)87 417.6 R .404 +(ork on a lar)-.1 F .404(ge project that w)-.18 F .403 +(as not part of my of)-.1 F .403(\214cial job)-.25 F 5.403(.T)-.4 G .403 +(his includes time on the)-5.403 F .281(INGRES Project at the Uni)87 +429.6 R -.15(ve)-.25 G .282(rsity of California at Berk).15 F(ele)-.1 E +1.582 -.65(y, a)-.15 H 2.782(tB).65 G .282(ritton Lee, and ag)-2.782 F +.282(ain on the Mammoth)-.05 F(and T)87 441.6 Q(itan Projects at Berk) +-.35 E(ele)-.1 E -.65(y.)-.15 G .79(Much of the second w)112 457.8 R +-2.25 -.2(av e)-.1 H .789(of impro)3.49 F -.15(ve)-.15 G .789 +(ments resulting in v).15 F .789(ersion 8.1 should be credited to Bryan) +-.15 F .545(Costales of the International Computer Science Institute.)87 +469.8 R .545(As he passed me drafts of his book on)5.545 F F2(send-) +3.045 E(mail)87 481.8 Q F1 2.5(Iw)2.5 G(as inspired to start w)-2.6 E +(orking on things ag)-.1 E 2.5(ain. Bryan)-.05 F -.1(wa)2.5 G 2.5(sa).1 +G(lso a)-2.5 E -.25(va)-.2 G(ilable to bounce ideas of).25 E 2.5(fo)-.25 +G(f.)-2.5 E(Gre)112 498 Q .168(gory Neil Shapiro of W)-.15 F .168(orces\ +ter Polytechnic Institute has become instrumental in all phases of)-.8 F +F2(sendmail)87 510 Q F1 .34(support and de)2.84 F -.15(ve)-.25 G .34 +(lopment, and w).15 F .34(as lar)-.1 F .34 +(gely responsible for getting v)-.18 F .34(ersions 8.8 and 8.9 out the) +-.15 F(door)87 522 Q(.)-.55 E(Man)112 538.2 Q 2.857 -.65(y, m)-.15 H(an) +.65 E 4.057(yp)-.15 G 1.557(eople contrib)-4.057 F 1.556 +(uted chunks of code and ideas to)-.2 F F2(sendmail)4.056 E F1 6.556(.I) +C 4.056(th)-6.556 G 1.556(as pro)-4.056 F -.15(ve)-.15 G 4.056(nt).15 G +4.056(ob)-4.056 G 4.056(ea)-4.056 G .405(group netw)87 550.2 R .405 +(ork ef)-.1 F 2.905(fort. V)-.25 F .405(ersion 8 in particular w)-1.11 F +.405(as a group project.)-.1 F .406(The follo)5.406 F .406 +(wing people and or)-.25 F -.05(ga)-.18 G(niza-).05 E +(tions made notable contrib)87 562.2 Q(utions:)-.2 E(Claus Assmann)127 +578.4 Q(John Beck, He)127 590.4 Q(wlett-P)-.25 E +(ackard & Sun Microsystems)-.15 E -.25(Ke)127 602.4 S (ith Bostic, CSRG, Uni).25 E -.15(ve)-.25 G(rsity of California, Berk) -.15 E(ele)-.1 E(y)-.15 E(Andre)127 188.4 Q 2.5(wC)-.25 G -(heng, Sun Microsystems)-2.5 E(Michael J. Corrig)127 200.4 Q(an, Uni) +.15 E(ele)-.1 E(y)-.15 E(Andre)127 614.4 Q 2.5(wC)-.25 G +(heng, Sun Microsystems)-2.5 E(Michael J. Corrig)127 626.4 Q(an, Uni) -.05 E -.15(ve)-.25 G(rsity of California, San Die).15 E(go)-.15 E (Bryan Costales, International Computer Science Institute & InfoBeat)127 -212.4 Q -.15(Pa)127 224.4 S -.5(..)-4.402 -6 O 2.5(r\().552 6 O -(Pell\) Emanuelsson)-2.5 E(Craig Ev)127 236.4 Q(erhart, T)-.15 E -(ransarc Corporation)-.35 E(Per Hedeland, Ericsson)127 248.4 Q -.8(To) -127 260.4 S 2.5(mI).8 G -.25(va)-2.5 G 2.5(rH).25 G(elbekkmo, Norwe)-2.5 +638.4 Q -.15(Pa)127 650.4 S -.5(..)-4.402 -6 O 2.5(r\().552 6 O +(Pell\) Emanuelsson)-2.5 E(Craig Ev)127 662.4 Q(erhart, T)-.15 E +(ransarc Corporation)-.35 E(Per Hedeland, Ericsson)127 674.4 Q -.8(To) +127 686.4 S 2.5(mI).8 G -.25(va)-2.5 G 2.5(rH).25 G(elbekkmo, Norwe)-2.5 E(gian School of Economics)-.15 E -(Kari Hurtta, Finnish Meteorological Institute)127 272.4 Q -(Allan E. Johannesen, WPI)127 284.4 Q(Jonathan Kamens, OpenV)127 296.4 Q -(ision T)-.6 E(echnologies, Inc.)-.7 E -.8(Ta)127 308.4 S -(kahiro Kanbe, Fuji Xerox Information Systems Co., Ltd.).8 E -(Brian Kantor)127 320.4 Q 2.5(,U)-.4 G(ni)-2.5 E -.15(ve)-.25 G -(rsity of California, San Die).15 E(go)-.15 E(John K)127 332.4 Q(ennedy) +(Kari Hurtta, Finnish Meteorological Institute)127 698.4 Q +(Allan E. Johannesen, WPI)127 710.4 Q(Jonathan Kamens, OpenV)127 722.4 Q +(ision T)-.6 E(echnologies, Inc.)-.7 E 0 Cg EP +%%Page: 102 98 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Bold@0 SF 188.36(SMM:08-102 Sendmail)72 60 R +(Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF -.8(Ta) +127 96 S(kahiro Kanbe, Fuji Xerox Information Systems Co., Ltd.).8 E +(Brian Kantor)127 108 Q 2.5(,U)-.4 G(ni)-2.5 E -.15(ve)-.25 G +(rsity of California, San Die).15 E(go)-.15 E(John K)127 120 Q(ennedy) -.25 E 2.5(,C)-.65 G(al State Uni)-2.5 E -.15(ve)-.25 G(rsity).15 E 2.5 -(,C)-.65 G(hico)-2.5 E(Murray S. K)127 344.4 Q(uchera)-.15 E(wy)-.15 E -2.5(,H)-.65 G(ookUp Communication Corp.)-2.5 E(Bruce Lilly)127 356.4 Q -2.5(,S)-.65 G(on)-2.5 E 2.5(yU)-.15 G(.S.)-2.5 E(Karl London)127 368.4 Q -(Motonori Nakamura, Ritsumeikan Uni)127 380.4 Q -.15(ve)-.25 G -(rsity & K).15 E(yoto Uni)-.25 E -.15(ve)-.25 G(rsity).15 E -(John Gardiner Myers, Carne)127 392.4 Q(gie Mellon Uni)-.15 E -.15(ve) --.25 G(rsity).15 E(Neil Rick)127 404.4 Q(ert, Northern Illinois Uni)-.1 -E -.15(ve)-.25 G(rsity).15 E(Gre)127 416.4 Q(gory Neil Shapiro, WPI)-.15 -E(Eric Schnoebelen, Con)127 428.4 Q .3 -.15(vex C)-.4 H(omputer Corp.) -.15 E(Eric W)127 440.4 Q(assenaar)-.8 E 2.5(,N)-.4 G +(,C)-.65 G(hico)-2.5 E(Murray S. K)127 132 Q(uchera)-.15 E(wy)-.15 E 2.5 +(,H)-.65 G(ookUp Communication Corp.)-2.5 E(Bruce Lilly)127 144 Q 2.5 +(,S)-.65 G(on)-2.5 E 2.5(yU)-.15 G(.S.)-2.5 E(Karl London)127 156 Q +(Motonori Nakamura, Ritsumeikan Uni)127 168 Q -.15(ve)-.25 G(rsity & K) +.15 E(yoto Uni)-.25 E -.15(ve)-.25 G(rsity).15 E +(John Gardiner Myers, Carne)127 180 Q(gie Mellon Uni)-.15 E -.15(ve)-.25 +G(rsity).15 E(Neil Rick)127 192 Q(ert, Northern Illinois Uni)-.1 E -.15 +(ve)-.25 G(rsity).15 E(Gre)127 204 Q(gory Neil Shapiro, WPI)-.15 E +(Eric Schnoebelen, Con)127 216 Q .3 -.15(vex C)-.4 H(omputer Corp.).15 E +(Eric W)127 228 Q(assenaar)-.8 E 2.5(,N)-.4 G (ational Institute for Nuclear and High Ener)-2.5 E(gy Ph)-.18 E -(ysics, Amsterdam)-.05 E(Randall W)127 452.4 Q(inchester)-.4 E 2.5(,U) --.4 G(ni)-2.5 E -.15(ve)-.25 G(rsity of Maryland).15 E(Christophe W)127 -464.4 Q(olfhugel, P)-.8 E(asteur Institute & Herv)-.15 E 2.5(eS)-.15 G -(chauer Consultants \(P)-2.5 E(aris\))-.15 E(Exactis.com, Inc.)127 476.4 -Q 3.219(Ia)87 492.6 S .719(pologize for an)-3.219 F .719(yone I ha)-.15 -F 1.019 -.15(ve o)-.2 H .719(mitted, misspelled, misattrib).15 F .719 -(uted, or otherwise missed.)-.2 F .72(At this point, I)5.72 F 1.093 -(suspect that at least a hundred people ha)87 504.6 R 1.393 -.15(ve c) --.2 H(ontrib).15 E 1.093(uted code, and man)-.2 F 3.592(ym)-.15 G 1.092 -(ore ha)-3.592 F 1.392 -.15(ve c)-.2 H(ontrib).15 E 1.092(uted ideas,) --.2 F 1.533(comments, and encouragement.)87 516.6 R(I')6.534 E 1.834 --.15(ve t)-.5 H 1.534(ried to list them in the RELEASE_NO).15 F 1.534 -(TES in the distrib)-.4 F(ution)-.2 E(directory)87 528.6 Q 5(.I)-.65 G -(appreciate their contrib)-2.5 E(ution as well.)-.2 E .743 -(Special thanks are reserv)112 544.8 R .743(ed for Michael Corrig)-.15 F -.742(an and Christophe W)-.05 F .742(olfhugel, who besides being)-.8 F --.1(wo)87 556.8 S 2.1(nderful guinea pigs and contrib).1 F 2.1(utors ha) +(ysics, Amsterdam)-.05 E(Randall W)127 240 Q(inchester)-.4 E 2.5(,U)-.4 +G(ni)-2.5 E -.15(ve)-.25 G(rsity of Maryland).15 E(Christophe W)127 252 +Q(olfhugel, P)-.8 E(asteur Institute & Herv)-.15 E 2.5(eS)-.15 G +(chauer Consultants \(P)-2.5 E(aris\))-.15 E(Exactis.com, Inc.)127 264 Q +3.22(Ia)87 280.2 S .72(pologize for an)-3.22 F .72(yone I ha)-.15 F +1.019 -.15(ve o)-.2 H .719(mitted, misspelled, misattrib).15 F .719 +(uted, or otherwise missed.)-.2 F .719(At this point, I)5.719 F 1.092 +(suspect that at least a hundred people ha)87 292.2 R 1.393 -.15(ve c) +-.2 H(ontrib).15 E 1.093(uted code, and man)-.2 F 3.593(ym)-.15 G 1.093 +(ore ha)-3.593 F 1.393 -.15(ve c)-.2 H(ontrib).15 E 1.093(uted ideas,) +-.2 F 1.534(comments, and encouragement.)87 304.2 R(I')6.534 E 1.834 +-.15(ve t)-.5 H 1.534(ried to list them in the RELEASE_NO).15 F 1.533 +(TES in the distrib)-.4 F(ution)-.2 E(directory)87 316.2 Q 5(.I)-.65 G +(appreciate their contrib)-2.5 E(ution as well.)-.2 E .742 +(Special thanks are reserv)112 332.4 R .742(ed for Michael Corrig)-.15 F +.743(an and Christophe W)-.05 F .743(olfhugel, who besides being)-.8 F +-.1(wo)87 344.4 S 2.1(nderful guinea pigs and contrib).1 F 2.1(utors ha) -.2 F 2.4 -.15(ve a)-.2 H 2.1(lso consented to be added to the `).15 F -(`sendmail@Send-)-.74 E(mail.ORG')87 568.8 Q 3.611('l)-.74 G 1.111 -(ist and, by answering the b)-3.611 F 1.111 -(ulk of the questions sent to that list, ha)-.2 F 1.41 -.15(ve f)-.2 H -1.11(reed me up to do).15 F(other w)87 580.8 Q(ork.)-.1 E 0 Cg EP -%%Page: 101 97 +(`sendmail@Send-)-.74 E(mail.ORG')87 356.4 Q 3.61('l)-.74 G 1.11 +(ist and, by answering the b)-3.61 F 1.111 +(ulk of the questions sent to that list, ha)-.2 F 1.411 -.15(ve f)-.2 H +1.111(reed me up to do).15 F(other w)87 368.4 Q(ork.)-.1 E 0 Cg EP +%%Page: 103 99 %%BeginPageSetup BP %%EndPageSetup @@ -9062,13 +9091,13 @@ BP 224.832 141.6 Q(GS)-.66 E/F1 10/Times-Roman@0 SF(Ar)97 201 Q (guments must be presented with \215ags before addresses.)-.18 E (The \215ags are:)5 E72 217.2 Q/F2 10/Times-Italic@0 SF(x)A F1 -.048(Select an alternati)54.7 F .348 -.15(ve .)-.25 H .048 +.049(Select an alternati)54.7 F .349 -.15(ve .)-.25 H .049 (cf \214le which is either).15 F F2(sendmail.cf)2.549 E F1(for)2.549 E -/F3 10/Times-Bold@0 SF(\255Am)2.549 E F1(or)2.549 E F2(submit.cf)2.549 E -F1(for)2.549 E F3(\255Ac)2.549 E F1 5.049(.B)C(y)-5.049 E(def)144 229.2 +/F3 10/Times-Bold@0 SF(\255Am)2.549 E F1(or)2.548 E F2(submit.cf)2.548 E +F1(for)2.548 E F3(\255Ac)2.548 E F1 5.048(.B)C(y)-5.048 E(def)144 229.2 Q .024(ault the .cf \214le is chosen based on the operation mode.)-.1 F -.15(Fo)5.024 G(r).15 E F3(-bm)2.524 E F1(\(def)2.524 E(ault\),)-.1 E F3 -(-bs)2.524 E F1 2.524(,a)C(nd)-2.524 E F3(-t)2.524 E F1(it)2.524 E(is) +(-bs)2.524 E F1 2.524(,a)C(nd)-2.524 E F3(-t)2.525 E F1(it)2.525 E(is) 144 241.2 Q F2(submit.cf)2.5 E F1(if it e)2.5 E (xists, for all others it is)-.15 E F2(sendmail.cf)2.5 E F1(.)A72 257.4 Q F2(x)A F1(Set operation mode to)56.92 E F2(x)2.5 E F1 5(.O)C @@ -9089,70 +9118,70 @@ G 2.5(rt).15 G(he mail queue \(requires shared memory\))-2.5 E 15(hP)184 405.6 S(ur)-12.78 E(ge e)-.18 E (xpired entries from the persistent host status database)-.15 E72 426 Q F2(type)A F1(Indicate body type.)43.03 E72 442.2 Q F2 -(\214le)A F1 .946(Use a dif)47.47 F .946(ferent con\214guration \214le.) +(\214le)A F1 .947(Use a dif)47.47 F .946(ferent con\214guration \214le.) -.25 F F2(Sendmail)5.946 E F1 .946(runs as the in)3.446 F -.2(vo)-.4 G .946(king user \(rather than root\)).2 F (when this \215ag is speci\214ed.)144 454.2 Q72 470.4 Q F2(lo)2.5 E(g\214le)-.1 E F1(Send deb)31.74 E(ugging output to the indicated)-.2 E F2(lo)2.5 E(g\214le)-.1 E F1(instead of stdout.)2.5 E72 486.6 Q F2 (le)A(vel)-.15 E F1(Set deb)42.63 E(ugging le)-.2 E -.15(ve)-.25 G(l.) -.15 E72 502.8 Q F2(addr)2.5 E F1 .628(The en)41.64 F -.15(ve)-.4 G -.628(lope sender address is set to).15 F F2(addr)3.128 E F1 5.628(.T)C -.627(his address may also be used in the From:)-5.628 F .152 +.15 E72 502.8 Q F2(addr)2.5 E F1 .627(The en)41.64 F -.15(ve)-.4 G +.627(lope sender address is set to).15 F F2(addr)3.127 E F1 5.627(.T)C +.628(his address may also be used in the From:)-5.627 F .153 (header if that header is missing during initial submission.)144 514.8 R -.153(The en)5.152 F -.15(ve)-.4 G .153(lope sender address is).15 F +.152(The en)5.152 F -.15(ve)-.4 G .152(lope sender address is).15 F 1.263(used as the recipient for deli)144 526.8 R -.15(ve)-.25 G 1.263 (ry status noti\214cations and may also appear in a Return-).15 F -.15 (Pa)144 538.8 S(th: header).15 E(.)-.55 E72 555 Q F2(name)2.5 E F1 (Sets the full name of this user to)36.64 E F2(name)2.5 E F1(.)A 56.64 (\255G When)72 571.2 R 1.176 -(accepting messages via the command line, indicate that the)3.676 F -3.676(ya)-.15 G 1.177(re for relay \(g)-3.676 F(ate-)-.05 E -.1(wa)144 -583.2 S 2.216(y\) submission.).1 F 2.216 -(sendmail may complain about syntactically in)7.216 F -.25(va)-.4 G -2.215(lid messages, e.g.,).25 F .037(unquali\214ed host names, rather t\ -han \214xing them when this \215ag is set.)144 595.2 R .038 -(sendmail will not do)5.038 F(an)144 607.2 Q 2.5(yc)-.15 G +(accepting messages via the command line, indicate that the)3.677 F +3.676(ya)-.15 G 1.176(re for relay \(g)-3.676 F(ate-)-.05 E -.1(wa)144 +583.2 S 2.215(y\) submission.).1 F 2.216 +(sendmail may complain about syntactically in)7.215 F -.25(va)-.4 G +2.216(lid messages, e.g.,).25 F .037(unquali\214ed host names, rather t\ +han \214xing them when this \215ag is set.)144 595.2 R .037 +(sendmail will not do)5.037 F(an)144 607.2 Q 2.5(yc)-.15 G (anonicalization in this mode.)-2.5 E72 623.4 Q F2(cnt)2.5 E F1 -.726(Sets the \231hop count\232 to)46.64 F F2(cnt)3.226 E F1 5.725(.T)C -.725(his represents the number of times this message has been)-5.725 F +.725(Sets the \231hop count\232 to)46.64 F F2(cnt)3.225 E F1 5.725(.T)C +.726(his represents the number of times this message has been)-5.725 F .02(processed by)144 635.4 R F2(sendmail)2.52 E F1 .02(\(to the e)2.52 F .02(xtent that it is supported by the underlying netw)-.15 F(orks\).)-.1 E F2(Cnt)5.02 E F1 1.521(is incremented during processing, and if it re\ -aches MAXHOP \(currently 25\))144 647.4 R F2(sendmail)4.02 E F1(thro)144 -659.4 Q(ws a)-.25 E -.1(wa)-.15 G 2.5(yt).1 G(he message with an error) --2.5 E(.)-.55 E .32 LW 76 680.4 72 680.4 DL 80 680.4 76 680.4 DL 84 -680.4 80 680.4 DL 88 680.4 84 680.4 DL 92 680.4 88 680.4 DL 96 680.4 92 -680.4 DL 100 680.4 96 680.4 DL 104 680.4 100 680.4 DL 108 680.4 104 -680.4 DL 112 680.4 108 680.4 DL 116 680.4 112 680.4 DL 120 680.4 116 -680.4 DL 124 680.4 120 680.4 DL 128 680.4 124 680.4 DL 132 680.4 128 -680.4 DL 136 680.4 132 680.4 DL 140 680.4 136 680.4 DL 144 680.4 140 -680.4 DL 148 680.4 144 680.4 DL 152 680.4 148 680.4 DL 156 680.4 152 -680.4 DL 160 680.4 156 680.4 DL 164 680.4 160 680.4 DL 168 680.4 164 -680.4 DL 172 680.4 168 680.4 DL 176 680.4 172 680.4 DL 180 680.4 176 -680.4 DL 184 680.4 180 680.4 DL 188 680.4 184 680.4 DL 192 680.4 188 -680.4 DL 196 680.4 192 680.4 DL 200 680.4 196 680.4 DL 204 680.4 200 -680.4 DL 208 680.4 204 680.4 DL 212 680.4 208 680.4 DL 216 680.4 212 -680.4 DL/F4 8/Times-Roman@0 SF(\207Deprecated.)93.6 692.4 Q F3 -(Sendmail Installation and Operation Guide)72 756 Q(SMM:08-101)190.86 E +aches MAXHOP \(currently 25\))144 647.4 R F2(sendmail)4.021 E F1(thro) +144 659.4 Q(ws a)-.25 E -.1(wa)-.15 G 2.5(yt).1 G +(he message with an error)-2.5 E(.)-.55 E .32 LW 76 680.4 72 680.4 DL 80 +680.4 76 680.4 DL 84 680.4 80 680.4 DL 88 680.4 84 680.4 DL 92 680.4 88 +680.4 DL 96 680.4 92 680.4 DL 100 680.4 96 680.4 DL 104 680.4 100 680.4 +DL 108 680.4 104 680.4 DL 112 680.4 108 680.4 DL 116 680.4 112 680.4 DL +120 680.4 116 680.4 DL 124 680.4 120 680.4 DL 128 680.4 124 680.4 DL 132 +680.4 128 680.4 DL 136 680.4 132 680.4 DL 140 680.4 136 680.4 DL 144 +680.4 140 680.4 DL 148 680.4 144 680.4 DL 152 680.4 148 680.4 DL 156 +680.4 152 680.4 DL 160 680.4 156 680.4 DL 164 680.4 160 680.4 DL 168 +680.4 164 680.4 DL 172 680.4 168 680.4 DL 176 680.4 172 680.4 DL 180 +680.4 176 680.4 DL 184 680.4 180 680.4 DL 188 680.4 184 680.4 DL 192 +680.4 188 680.4 DL 196 680.4 192 680.4 DL 200 680.4 196 680.4 DL 204 +680.4 200 680.4 DL 208 680.4 204 680.4 DL 212 680.4 208 680.4 DL 216 +680.4 212 680.4 DL/F4 8/Times-Roman@0 SF(\207Deprecated.)93.6 692.4 Q F3 +(Sendmail Installation and Operation Guide)72 756 Q(SMM:08-103)190.86 E 0 Cg EP -%%Page: 102 98 +%%Page: 104 100 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Bold@0 SF 188.36(SMM:08-102 Sendmail)72 60 R +/F0 10/Times-Bold@0 SF 188.36(SMM:08-104 Sendmail)72 60 R (Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF72 -96 Q/F2 10/Times-Italic@0 SF(ta)2.5 E(g)-.1 E F1 1.482 -(Sets the identi\214er used for syslog.)45.07 F 1.483 +96 Q/F2 10/Times-Italic@0 SF(ta)2.5 E(g)-.1 E F1 1.483 +(Sets the identi\214er used for syslog.)45.07 F 1.482 (Note that this identi\214er is set as early as possible.)6.483 F(Ho)144 -108 Q(we)-.25 E -.15(ve)-.25 G -.4(r,).15 G F2(sendmail)2.916 E F1 .015 -(may be used if problems arise before the command line ar)2.516 F .015 +108 Q(we)-.25 E -.15(ve)-.25 G -.4(r,).15 G F2(sendmail)2.915 E F1 .015 +(may be used if problems arise before the command line ar)2.515 F .016 (guments are)-.18 F(processed.)144 120 Q 58.86(\255n Don')72 136.2 R 2.5 (td)-.18 G 2.5(oa)-2.5 G(liasing or forw)-2.5 E(arding.)-.1 E72 -152.4 Q F2(noti\214cations)2.5 E F1 -.8(Ta)7.19 G 3.127(ga).8 G .627 -(ll addresses being sent as w)-3.127 F .628(anting the indicated)-.1 F -F2(noti\214cations)3.128 E F1 3.128(,w)C .628(hich consists of the) --3.128 F -.1(wo)144 164.4 S .474 +152.4 Q F2(noti\214cations)2.5 E F1 -.8(Ta)7.19 G 3.128(ga).8 G .628 +(ll addresses being sent as w)-3.128 F .628(anting the indicated)-.1 F +F2(noti\214cations)3.128 E F1 3.127(,w)C .627(hich consists of the) +-3.127 F -.1(wo)144 164.4 S .474 (rd \231NEVER\232 or a comma-separated list of \231SUCCESS\232, \231F).1 F .474(AILURE\232, and \231DELA)-.74 F<599a>-1.05 E .86 (for successful deli)144 176.4 R -.15(ve)-.25 G(ry).15 E 3.36(,f)-.65 G @@ -9162,67 +9191,67 @@ E(Y\232.)-1.05 E72 204.6 Q F2(addr)2.5 E F1(An obsolete form of) 41.64 E F02.5 E F1(.)A72 220.8 Q F2 1.666(xv)C(alue)-1.666 E F1(Set option)33.594 E F2(x)2.5 E F1(to the speci\214ed)2.5 E F2(value) 2.5 E F1 5(.T)C(hese options are described in Section 5.6.)-5 E72 -237 Q F2(option)A F0(=)A F2(value)A F1(Set)6.22 E F2(option)5.174 E F1 -2.674(to the speci\214ed)5.174 F F2(value)5.174 E F1 2.674 -(\(for long form option names\).)5.174 F 2.673(These options are)7.674 F +237 Q F2(option)A F0(=)A F2(value)A F1(Set)6.22 E F2(option)5.173 E F1 +2.674(to the speci\214ed)5.173 F F2(value)5.174 E F1 2.674 +(\(for long form option names\).)5.174 F 2.674(These options are)7.674 F (described in Section 5.6.)144 249 Q72 265.2 Q F2 1.666(xv)C(alue) -1.666 E F1(Set macro)29.704 E F2(x)2.5 E F1(to the speci\214ed)2.5 E F2 -(value)2.5 E F1(.)A72 281.4 Q F2(pr)A(otocol)-.45 E F1 .4 +(value)2.5 E F1(.)A72 281.4 Q F2(pr)A(otocol)-.45 E F1 .401 (Set the sending protocol.)27.92 F .401 -(Programs are encouraged to set this.)5.4 F .401 -(The protocol \214eld can be)5.401 F .115(in the form)144 293.4 R F2(pr) -2.615 E(otocol)-.45 E F0(:)A F2(host)A F1 .114 -(to set both the sending protocol and sending host.)2.615 F -.15(Fo) -5.114 G 2.614(re).15 G(xample,)-2.764 E 2.147(\231\255pUUCP:uunet\232 s\ +(Programs are encouraged to set this.)5.401 F .4 +(The protocol \214eld can be)5.401 F .114(in the form)144 293.4 R F2(pr) +2.614 E(otocol)-.45 E F0(:)A F2(host)A F1 .114 +(to set both the sending protocol and sending host.)2.614 F -.15(Fo) +5.115 G 2.615(re).15 G(xample,)-2.765 E 2.147(\231\255pUUCP:uunet\232 s\ ets the sending protocol to UUCP and the sending host to uunet.)144 -305.4 R .974(\(Some e)144 317.4 R .974 +305.4 R .973(\(Some e)144 317.4 R .974 (xisting programs use \255oM to set the r and s macros; this is equi) --.15 F -.25(va)-.25 G .973(lent to using).25 F(\255p.\))144 329.4 Q -72 345.6 Q F2(time)A F1 -.35(Tr)44.14 G 2.775(yt).35 G 2.775(op) --2.775 G .275(rocess the queued up mail.)-2.775 F .276 -(If the time is gi)5.275 F -.15(ve)-.25 G .276(n, a).15 F F2(sendmail) -2.776 E F1 .276(will start one or more)2.776 F .011 +-.15 F -.25(va)-.25 G .974(lent to using).25 F(\255p.\))144 329.4 Q +72 345.6 Q F2(time)A F1 -.35(Tr)44.14 G 2.776(yt).35 G 2.776(op) +-2.776 G .276(rocess the queued up mail.)-2.776 F .276 +(If the time is gi)5.276 F -.15(ve)-.25 G .275(n, a).15 F F2(sendmail) +2.775 E F1 .275(will start one or more)2.775 F .011 (processes to run through the queue\(s\) at the speci\214ed time interv) -144 357.6 R .01(al to deli)-.25 F -.15(ve)-.25 G 2.51(rq).15 G .01 -(ueued mail;)-2.51 F .905(otherwise, it only runs once.)144 369.6 R .906 -(Each of these processes acts on a w)5.906 F 3.406(orkgroup. These)-.1 F -(pro-)3.406 E .96(cesses are also kno)144 381.6 R .959(wn as w)-.25 F -.959(orkgroup processes or WGP')-.1 F 3.459(sf)-.55 G .959(or short.) --3.459 F .959(Each w)5.959 F .959(orkgroup is)-.1 F .522 +144 357.6 R .011(al to deli)-.25 F -.15(ve)-.25 G 2.511(rq).15 G .011 +(ueued mail;)-2.511 F .906(otherwise, it only runs once.)144 369.6 R +.906(Each of these processes acts on a w)5.906 F 3.405(orkgroup. These) +-.1 F(pro-)3.405 E .959(cesses are also kno)144 381.6 R .959(wn as w) +-.25 F .959(orkgroup processes or WGP')-.1 F 3.459(sf)-.55 G .959 +(or short.)-3.459 F .96(Each w)5.96 F .96(orkgroup is)-.1 F .523 (responsible for controlling the processing of one or more queues; w)144 -393.6 R .523(orkgroups help man-)-.1 F 1.268 +393.6 R .522(orkgroups help man-)-.1 F 1.268 (age the use of system resources by sendmail.)144 405.6 R 1.268(Each w) -6.268 F 1.268(orkgroup may ha)-.1 F 1.568 -.15(ve o)-.2 H 1.267 +6.268 F 1.268(orkgroup may ha)-.1 F 1.568 -.15(ve o)-.2 H 1.268 (ne or more).15 F .357 (children concurrently processing queues depending on the setting of)144 -417.6 R F2(MaxQueueChildr)2.857 E(en)-.37 E F1(.)A(\255qp)72 433.8 Q F2 -(time)A F1 1.175(Similar to \255q with a time ar)39.14 F 1.175 -(gument, e)-.18 F 1.174 +417.6 R F2(MaxQueueChildr)2.856 E(en)-.37 E F1(.)A(\255qp)72 433.8 Q F2 +(time)A F1 1.174(Similar to \255q with a time ar)39.14 F 1.175 +(gument, e)-.18 F 1.175 (xcept that instead of periodically starting WGP')-.15 F(s)-.55 E .7 (sendmail starts persistent WGP')144 445.8 R 3.2(st)-.55 G .7 (hat alternate between processing queues and sleeping.)-3.2 F 1.123 (The sleep time is speci\214ed by the time ar)144 457.8 R 1.123 -(gument; it def)-.18 F 1.123(aults to 1 second, e)-.1 F 1.123 -(xcept that a)-.15 F 1.293(WGP al)144 469.8 R -.1(wa)-.1 G 1.293 +(gument; it def)-.18 F 1.123(aults to 1 second, e)-.1 F 1.124 +(xcept that a)-.15 F 1.294(WGP al)144 469.8 R -.1(wa)-.1 G 1.293 (ys sleeps at least 5 seconds if their queues were empty in the pre).1 F -1.294(vious run.)-.25 F .139 +1.293(vious run.)-.25 F .138 (Persistent processes are managed by a queue control process \(QCP\).) -144 481.8 R .138(The QCP is the par)5.138 F(-)-.2 E .179 +144 481.8 R .139(The QCP is the par)5.139 F(-)-.2 E .18 (ent process of the WGP')144 493.8 R 2.679(s. T)-.55 F .179 (ypically the QCP will be the sendmail daemon \(when started)-.8 F .424 (with \255bd or \255bD\) or a special process \(named Queue control\) \ -\(when started without \255bd)144 505.8 R .719(or \255bD\).)144 517.8 R -.719(If a persistent WGP ceases to be acti)5.719 F 1.019 -.15(ve f)-.25 -H .72(or some reason another WGP will be).15 F .862 +\(when started without \255bd)144 505.8 R .72(or \255bD\).)144 517.8 R +.72(If a persistent WGP ceases to be acti)5.72 F 1.019 -.15(ve f)-.25 H +.719(or some reason another WGP will be).15 F .862 (started by the QCP for the same w)144 529.8 R .862 -(orkgroup in most cases. When a persistent WGP has)-.1 F 1.007 -(core dumped, the deb)144 541.8 R 1.007(ug \215ag)-.2 F F2(no_per)3.507 -E(sistent_r)-.1 E(estart)-.37 E F1 1.008 -(is set or the speci\214c persistent WGP)3.507 F .677 +(orkgroup in most cases. When a persistent WGP has)-.1 F 1.008 +(core dumped, the deb)144 541.8 R 1.008(ug \215ag)-.2 F F2(no_per)3.508 +E(sistent_r)-.1 E(estart)-.37 E F1 1.007 +(is set or the speci\214c persistent WGP)3.508 F .676 (has been restarted too man)144 553.8 R 3.176(yt)-.15 G .676 -(imes already then the WGP will not be started ag)-3.176 F .676 -(ain and a)-.05 F .875(message will be logged to this ef)144 565.8 R -3.375(fect. T)-.25 F 3.375(os)-.8 G .876 +(imes already then the WGP will not be started ag)-3.176 F .677 +(ain and a)-.05 F .876(message will be logged to this ef)144 565.8 R +3.375(fect. T)-.25 F 3.375(os)-.8 G .875 (top \(SIGTERM\) or restart \(SIGHUP\) persis-)-3.375 F .116(tent WGP') 144 577.8 R 2.616(st)-.55 G .116 (he appropriate signal should be sent to the QCP)-2.616 F 2.616(.T)-1.11 @@ -9230,86 +9259,86 @@ G .116(he QCP will propag)-2.616 F .116(ate the)-.05 F (signal to all of the WGP')144 589.8 Q 2.5(sa)-.55 G (nd if appropriate restart the persistent WGP')-2.5 E(s.)-.55 E72 606 Q F2(Gname)A F1(Run the jobs in the queue group)32.48 E F2(name)2.5 -E F1(once.)2.5 E(\255q[!])72 622.2 Q F2(Xstring)A F1 .312 +E F1(once.)2.5 E(\255q[!])72 622.2 Q F2(Xstring)A F1 .313 (Run the queue once, limiting the jobs to those matching)21.92 F F2 -(Xstring)2.813 E F1 5.313(.T)C .313(he k)-5.313 F .613 -.15(ey l)-.1 H -(etter).15 E F2(X)2.813 E F1 .313(can be)2.813 F F0(I)144 634.2 Q F1 -1.347(to limit based on queue identi\214er)3.848 F(,)-.4 E F0(R)3.847 E +(Xstring)2.812 E F1 5.312(.T)C .312(he k)-5.312 F .612 -.15(ey l)-.1 H +(etter).15 E F2(X)2.812 E F1 .312(can be)2.812 F F0(I)144 634.2 Q F1 +1.347(to limit based on queue identi\214er)3.847 F(,)-.4 E F0(R)3.847 E F1 1.347(to limit based on recipient,)3.847 F F0(S)3.847 E F1 1.347 -(to limit based on)3.847 F(sender)144 646.2 Q 4.757(,o)-.4 G(r)-4.757 E -F0(Q)4.757 E F1 2.258 -(to limit based on quarantine reason for quarantined jobs.)4.757 F 4.758 -(Ap)7.258 G(articular)-4.758 E .062 +(to limit based on)3.847 F(sender)144 646.2 Q 4.758(,o)-.4 G(r)-4.758 E +F0(Q)4.758 E F1 2.258 +(to limit based on quarantine reason for quarantined jobs.)4.758 F 4.757 +(Ap)7.257 G(articular)-4.757 E .062 (queued job is accepted if one of the corresponding attrib)144 658.2 R -.062(utes contains the indicated)-.2 F F2(string)2.562 E F1(.)A .778 +.063(utes contains the indicated)-.2 F F2(string)2.563 E F1(.)A .779 (The optional ! character ne)144 670.2 R -.05(ga)-.15 G .778 -(tes the condition tested.).05 F(Multiple)5.778 E F2(\255qX)3.279 E F1 -.779(\215ags are permitted,)3.279 F .622(with items with the same k)144 +(tes the condition tested.).05 F(Multiple)5.778 E F2(\255qX)3.278 E F1 +.778(\215ags are permitted,)3.278 F .622(with items with the same k)144 682.2 R .922 -.15(ey l)-.1 H .622(etter \231or'ed\232 together).15 F -3.122(,a)-.4 G .622(nd items with dif)-3.122 F .622(ferent k)-.25 F .922 +3.122(,a)-.4 G .622(nd items with dif)-3.122 F .623(ferent k)-.25 F .923 -.15(ey l)-.1 H(etters).15 E(\231and'ed\232 together)144 694.2 Q(.)-.55 -E 23.88(\255Q[reason] Quarantine)72 710.4 R 4.689(an)4.689 G 2.189 +E 23.88(\255Q[reason] Quarantine)72 710.4 R 4.689(an)4.69 G 2.189 (ormal queue items with the gi)-4.689 F -.15(ve)-.25 G 4.689(nr).15 G 2.189(eason or unquarantine quarantined)-4.689 F 1.797 (queue items if no reason is gi)144 722.4 R -.15(ve)-.25 G 4.297 (n. This).15 F 1.797(should only be used with some sort of item)4.297 F 0 Cg EP -%%Page: 103 99 +%%Page: 105 101 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-103)190.86 E/F1 10/Times-Roman@0 SF(matching using)144 96 Q F0 +(SMM:08-105)190.86 E/F1 10/Times-Roman@0 SF(matching using)144 96 Q F0 (\255q[!])2.5 E/F2 10/Times-Italic@0 SF(Xstring)A F1(as described abo) 2.5 E -.15(ve)-.15 G(.).15 E(\255R ret)72 112.2 Q 1.687 (What information you w)46.64 F 1.687 (ant returned if the message bounces;)-.1 F F2 -.37(re)4.187 G(t).37 E -F1 1.687(can be \231HDRS\232 for)4.187 F .878 -(headers only or \231FULL\232 for headers plus body)144 124.2 R 5.878 -(.T)-.65 G .877(his is a request only; the other end is)-5.878 F 1.308 -(not required to honor the parameter)144 136.2 R 6.308(.I)-.55 G 3.808 -<6699>-6.308 G 1.309(HDRS\232 is speci\214ed local bounces also return) +F1 1.687(can be \231HDRS\232 for)4.187 F .877 +(headers only or \231FULL\232 for headers plus body)144 124.2 R 5.877 +(.T)-.65 G .878(his is a request only; the other end is)-5.877 F 1.309 +(not required to honor the parameter)144 136.2 R 6.309(.I)-.55 G 3.808 +<6699>-6.309 G 1.308(HDRS\232 is speci\214ed local bounces also return) -3.808 F(only the headers.)144 148.2 Q 61.08(\255t Read)72 164.4 R .752 (the header for \231T)3.252 F .752 (o:\232, \231Cc:\232, and \231Bcc:\232 lines, and send to e)-.8 F -.15 -(ve)-.25 G .752(ryone listed in those).15 F 2.539(lists. The)144 176.4 R -.039(\231Bcc:\232 line will be deleted before sending.)2.539 F(An)5.039 -E 2.539(ya)-.15 G .04(ddresses in the ar)-2.539 F .04(gument v)-.18 F +(ve)-.25 G .752(ryone listed in those).15 F 2.54(lists. The)144 176.4 R +.039(\231Bcc:\232 line will be deleted before sending.)2.54 F(An)5.039 E +2.539(ya)-.15 G .039(ddresses in the ar)-2.539 F .039(gument v)-.18 F (ec-)-.15 E(tor will be deleted from the send list.)144 188.4 Q -(\255V en)72 204.6 Q 32.32(vid The)-.4 F(indicated)3.18 E F2(en)3.18 E -(vid)-.4 E F1 .68(is passed with the en)3.18 F -.15(ve)-.4 G .679 +(\255V en)72 204.6 Q 32.32(vid The)-.4 F(indicated)3.179 E F2(en)3.179 E +(vid)-.4 E F1 .679(is passed with the en)3.179 F -.15(ve)-.4 G .68 (lope of the message and returned if the mes-).15 F(sage bounces.)144 -216.6 Q72 232.8 Q F2(lo)2.5 E(g\214le)-.1 E F1 .724(Log all traf) -31.74 F .724(\214c in and out of)-.25 F F2(sendmail)3.225 E F1 .725 -(in the indicated)3.225 F F2(lo)3.225 E(g\214le)-.1 E F1 .725(for deb) -3.225 F .725(ugging mailer prob-)-.2 F 2.5(lems. This)144 244.8 R +216.6 Q72 232.8 Q F2(lo)2.5 E(g\214le)-.1 E F1 .725(Log all traf) +31.74 F .725(\214c in and out of)-.25 F F2(sendmail)3.225 E F1 .725 +(in the indicated)3.225 F F2(lo)3.224 E(g\214le)-.1 E F1 .724(for deb) +3.224 F .724(ugging mailer prob-)-.2 F 2.5(lems. This)144 244.8 R (produces a lot of data v)2.5 E -(ery quickly and should be used sparingly)-.15 E(.)-.65 E .638 +(ery quickly and should be used sparingly)-.15 E(.)-.65 E .637 (There are a number of options that may be speci\214ed as primiti)97 261 -R .937 -.15(ve \215)-.25 H 3.137(ags. These).15 F .637 -(are the e, i, m, and v)3.137 F 3.784(options. Also,)72 273 R 1.284 -(the f option may be speci\214ed as the)3.784 F F03.784 E F1 3.785 -(\215ag. The)3.785 F 1.285 -(DSN related options \231\255N\232, \231\255R\232, and)3.785 F +R .938 -.15(ve \215)-.25 H 3.138(ags. These).15 F .638 +(are the e, i, m, and v)3.138 F 3.785(options. Also,)72 273 R 1.285 +(the f option may be speci\214ed as the)3.785 F F03.784 E F1 3.784 +(\215ag. The)3.784 F 1.284 +(DSN related options \231\255N\232, \231\255R\232, and)3.784 F <99ad569a206861>72 285 Q .3 -.15(ve n)-.2 H 2.5(oe).15 G -.25(ff)-2.5 G (ects on).25 E F2(sendmail)2.5 E F1(running as daemon.)2.5 E 0 Cg EP -%%Page: 104 100 +%%Page: 106 102 %%BeginPageSetup BP %%EndPageSetup /F0 12/Times-Bold@0 SF 3(APPENDIX B)250.002 98.4 R -.12(QU)220.29 141.6 -S(EUE FILE FORMA).12 E(TS)-1.14 E/F1 10/Times-Roman@0 SF .102 +S(EUE FILE FORMA).12 E(TS)-1.14 E/F1 10/Times-Roman@0 SF .101 (This appendix describes the format of the queue \214les.)97 201 R .102 -(These \214les li)5.102 F .402 -.15(ve i)-.25 H 2.602(na).15 G .101 -(queue directory)-.001 F 5.101(.T)-.65 G .101(he indi-)-5.101 F .331 +(These \214les li)5.102 F .402 -.15(ve i)-.25 H 2.602(naq).15 G .102 +(ueue directory)-2.602 F 5.102(.T)-.65 G .102(he indi-)-5.102 F .331 (vidual qf, hf, Qf, df, and xf \214les may be stored in separate)72 213 R/F2 10/Times-Italic@0 SF(qf/)2.831 E F1(,)A F2(df/)2.831 E F1 2.831(,a) C(nd)-2.831 E F2(xf/)2.831 E F1 .331(subdirectories if the)2.831 F 2.831 -(ya)-.15 G .331(re present)-2.831 F(in the queue directory)72 225 Q(.) --.65 E .924(All queue \214les ha)97 241.2 R 1.224 -.15(ve t)-.2 H .924 -(he name).15 F F2(ttYMDhmsNNppppp)3.424 E F1(where)3.424 E F2 -(YMDhmsNNppppp)3.424 E F1 .923(is the)3.423 F F2(id)3.423 E F1 .923 -(for this mes-)3.423 F(sage and the)72 253.2 Q F2(tt)2.5 E F1 +(ya)-.15 G .33(re present)-2.831 F(in the queue directory)72 225 Q(.) +-.65 E .923(All queue \214les ha)97 241.2 R 1.223 -.15(ve t)-.2 H .923 +(he name).15 F F2(ttYMDhmsNNppppp)3.423 E F1(where)3.424 E F2 +(YMDhmsNNppppp)3.424 E F1 .924(is the)3.424 F F2(id)3.424 E F1 .924 +(for this mes-)3.424 F(sage and the)72 253.2 Q F2(tt)2.5 E F1 (is a type.)2.5 E(The indi)5 E(vidual letters in the)-.25 E F2(id)2.5 E F1(are:)2.5 E 28.78(YE)72 269.4 S(ncoded year)-28.78 E 27.11(ME)72 285.6 S(ncoded month)-27.11 E 28.78(DE)72 301.8 S(ncoded day)-28.78 E 31(hE)72 @@ -9319,65 +9348,66 @@ E -.15(ve)-.4 G(lope number).15 E 8.5(ppppp At)72 382.8 R(least \214v) 2.5 E 2.5(ed)-.15 G(ecimal digits of the process ID)-2.5 E .477 (All \214les with the same id collecti)97 399 R -.15(ve)-.25 G .477 (ly de\214ne one message.).15 F .477(Due to the use of memory-b)5.477 F -(uf)-.2 E .477(fered \214les,)-.25 F(some of these \214les may ne)72 411 +(uf)-.2 E .476(fered \214les,)-.25 F(some of these \214les may ne)72 411 Q -.15(ve)-.25 G 2.5(ra).15 G(ppear on disk.)-2.5 E(The types are:)97 427.2 Q 25.17(qf The)72 443.4 R(queue control \214le.)2.5 E (This \214le contains the information necessary to process the job)5 E (.)-.4 E 25.17(hf The)72 459.6 R(same as a queue control \214le, b)2.5 E (ut for a quarantined queue job)-.2 E(.)-.4 E 25.17(df The)72 475.8 R -.452(data \214le.)2.952 F .452(The message body \(e)5.452 F .452 -(xcluding the header\) is k)-.15 F .452(ept in this \214le.)-.1 F .451 -(Sometimes the df \214le)5.451 F .183(is not stored in the same directo\ +.451(data \214le.)2.951 F .452(The message body \(e)5.451 F .452 +(xcluding the header\) is k)-.15 F .452(ept in this \214le.)-.1 F .452 +(Sometimes the df \214le)5.452 F .183(is not stored in the same directo\ ry as the qf \214le; in this case, the qf \214le contains a `d' record \ which)108 487.8 R (names the queue directory that contains the df \214le.)108 499.8 Q -27.39(tf A)72 516 R .046(temporary \214le.)2.546 F .046 -(This is an image of the)5.046 F/F3 10/Times-Bold@0 SF(qf)2.546 E F1 -.046(\214le when it is being reb)2.546 F 2.545(uilt. It)-.2 F .045 -(should be renamed to a)2.545 F F3(qf)108 528 Q F1(\214le v)2.5 E -(ery quickly)-.15 E(.)-.65 E 25.17(xf A)72 544.2 R .566 -(transcript \214le, e)3.066 F .567 -(xisting during the life of a session sho)-.15 F .567(wing e)-.25 F -.15 -(ve)-.25 G .567(rything that happens during that).15 F 3.122 +27.39(tf A)72 516 R .045(temporary \214le.)2.545 F .045 +(This is an image of the)5.045 F/F3 10/Times-Bold@0 SF(qf)2.546 E F1 +.046(\214le when it is being reb)2.546 F 2.546(uilt. It)-.2 F .046 +(should be renamed to a)2.546 F F3(qf)108 528 Q F1(\214le v)2.5 E +(ery quickly)-.15 E(.)-.65 E 25.17(xf A)72 544.2 R .567 +(transcript \214le, e)3.067 F .567 +(xisting during the life of a session sho)-.15 F .566(wing e)-.25 F -.15 +(ve)-.25 G .566(rything that happens during that).15 F 3.121 (session. Sometimes)108 556.2 R .622(the xf \214le must be generated be\ -fore a queue group has been selected; in this)3.122 F +fore a queue group has been selected; in this)3.121 F (case, the xf \214le will be stored in a directory of the def)108 568.2 -Q(ault queue group.)-.1 E 22.95(Qf A)72 584.4 R -.74(``)3.278 G(lost') -.74 E 3.278('q)-.74 G .778(ueue control \214le.)-3.278 F F2(sendmail) +Q(ault queue group.)-.1 E 22.95(Qf A)72 584.4 R -.74(``)3.279 G(lost') +.74 E 3.279('q)-.74 G .779(ueue control \214le.)-3.279 F F2(sendmail) 5.778 E F1 .778(renames a)3.278 F F3(qf)3.278 E F1 .778(\214le to)3.278 -F F3(Qf)3.278 E F1 .779(if there is a se)3.278 F -.15(ve)-.25 G .779 +F F3(Qf)3.278 E F1 .778(if there is a se)3.278 F -.15(ve)-.25 G .778 (re \(con\214guration\)).15 F .256(problem that cannot be solv)108 596.4 R .256(ed without human interv)-.15 F 2.756(ention. Search)-.15 F .256 -(the log\214le for the queue \214le id)2.756 F .052 +(the log\214le for the queue \214le id)2.756 F .053 (to \214gure out what happened.)108 608.4 R .052(After you resolv)5.052 -F .052(ed the problem, you can rename the)-.15 F F3(Qf)2.552 E F1 .053 -(\214le to)2.553 F F3(qf)2.553 E F1(and)2.553 E(send it ag)108 620.4 Q -(ain.)-.05 E .741 +F .052(ed the problem, you can rename the)-.15 F F3(Qf)2.552 E F1 .052 +(\214le to)2.552 F F3(qf)2.552 E F1(and)2.552 E(send it ag)108 620.4 Q +(ain.)-.05 E .74 (The queue control \214le is structured as a series of lines each be)97 -636.6 R .74(ginning with a code letter)-.15 F 5.74(.T)-.55 G .74 -(he lines)-5.74 F(are as follo)72 648.6 Q(ws:)-.25 E 28.78(VT)72 664.8 S -.819(he v)-28.78 F .819 -(ersion number of the queue \214le format, used to allo)-.15 F 3.32(wn) --.25 G -.25(ew)-3.32 G F2(sendmail)3.57 E F1 .82(binaries to read queue) -3.32 F .004(\214les created by older v)108 676.8 R 2.504(ersions. Def) --.15 F .004(aults to v)-.1 F .004(ersion zero.)-.15 F .004 +636.6 R .741(ginning with a code letter)-.15 F 5.741(.T)-.55 G .741 +(he lines)-5.741 F(are as follo)72 648.6 Q(ws:)-.25 E 28.78(VT)72 664.8 +S .82(he v)-28.78 F .82 +(ersion number of the queue \214le format, used to allo)-.15 F 3.319(wn) +-.25 G -.25(ew)-3.319 G F2(sendmail)3.569 E F1 .819 +(binaries to read queue)3.319 F .003(\214les created by older v)108 +676.8 R 2.504(ersions. Def)-.15 F .004(aults to v)-.1 F .004 +(ersion zero.)-.15 F .004 (Must be the \214rst line of the \214le if present.)5.004 F -.15(Fo)108 688.8 S 2.5(r8).15 G(.12 the v)-2.5 E(ersion number is 6.)-.15 E 28.78 (AT)72 705 S 1.175(he information gi)-28.78 F -.15(ve)-.25 G 3.675(nb) .15 G 3.675(yt)-3.675 G 1.175(he A)-3.675 F 1.175 (UTH= parameter of the \231MAIL FR)-.55 F 1.175 (OM:\232 command or $f@$j if)-.4 F(sendmail has been called directly)108 -717 Q(.)-.65 E F3 188.36(SMM:08-104 Sendmail)72 756 R +717 Q(.)-.65 E F3 188.36(SMM:08-106 Sendmail)72 756 R (Installation and Operation Guide)2.5 E 0 Cg EP -%%Page: 105 101 +%%Page: 107 103 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Bold@0 SF(Sendmail Installation and Operation Guide)72 60 Q -(SMM:08-105)190.86 E/F1 10/Times-Roman@0 SF 28.78(HA)72 96 S .33 -(header de\214nition.)-25.95 F .33(There may be an)5.33 F 2.829(yn)-.15 -G .329(umber of these lines.)-2.829 F .329(The order is important: the) -5.329 F 2.829(yr)-.15 G(epre-)-2.829 E .046 +(SMM:08-107)190.86 E/F1 10/Times-Roman@0 SF 28.78(HA)72 96 S .329 +(header de\214nition.)-25.951 F .329(There may be an)5.329 F 2.829(yn) +-.15 G .329(umber of these lines.)-2.829 F .33 +(The order is important: the)5.33 F 2.83(yr)-.15 G(epre-)-2.83 E .046 (sent the order in the \214nal message.)108 108 R .046 (These use the same syntax as header de\214nitions in the con\214gu-) 5.046 F(ration \214le.)108 120 Q 29.33(CT)72 136.2 S .575 @@ -9386,56 +9416,56 @@ G .329(umber of these lines.)-2.829 F .329(The order is important: the) (Recipient addresses follo)5.575 F .575(wing this)-.25 F 2.814 (line will be \215agged so that deli)108 148.2 R -.15(ve)-.25 G 2.814 (ries will be run as the).15 F/F2 10/Times-Italic@0 SF(localuser)5.314 E -F1 2.814(\(a user name from the)5.314 F .562(/etc/passwd \214le\);)108 -160.2 R F2(aliasname)3.062 E F1 .561(is the name of the alias that e) -3.062 F .561(xpanded to this address \(used for print-)-.15 F +F1 2.814(\(a user name from the)5.314 F .561(/etc/passwd \214le\);)108 +160.2 R F2(aliasname)3.061 E F1 .561(is the name of the alias that e) +3.061 F .562(xpanded to this address \(used for print-)-.15 F (ing messages\).)108 172.2 Q 31(qT)72 188.4 S (he quarantine reason for quarantined queue items.)-31 E 28.78(QT)72 -204.6 S .797(he `)-28.78 F .797(`original recipient')-.74 F .798 +204.6 S .798(he `)-28.78 F .798(`original recipient')-.74 F .798 (', speci\214ed by the ORCPT= \214eld in an ESMTP transaction.)-.74 F -.798(Used e)5.798 F(xclu-)-.15 E(si)108 216.6 Q -.15(ve)-.25 G +.797(Used e)5.797 F(xclu-)-.15 E(si)108 216.6 Q -.15(ve)-.25 G (ly for Deli).15 E -.15(ve)-.25 G(ry Status Noti\214cations.).15 E (It applies only to the follo)5 E(wing `R' line.)-.25 E 32.67(rT)72 -232.8 S .783(he `)-32.67 F .783(`\214nal recipient')-.74 F 3.282('u)-.74 +232.8 S .782(he `)-32.67 F .782(`\214nal recipient')-.74 F 3.282('u)-.74 G .782(sed for Deli)-3.282 F -.15(ve)-.25 G .782 (ry Status Noti\214cations.).15 F .782(It applies only to the follo) -5.782 F .782(wing `R')-.25 F(line.)108 244.8 Q 29.33(RA)72 261 S .705 +5.782 F .783(wing `R')-.25 F(line.)108 244.8 Q 29.33(RA)72 261 S .705 (recipient address.)-26.125 F .705 (This will normally be completely aliased, b)5.705 F .705 -(ut is actually realiased when the)-.2 F .493(job is processed.)108 273 -R .492(There will be one line for each recipient.)5.493 F -1.11(Ve)5.492 -G .492(rsion 1 qf \214les also include a lead-)1.11 F .689(ing colon-te\ +(ut is actually realiased when the)-.2 F .492(job is processed.)108 273 +R .492(There will be one line for each recipient.)5.492 F -1.11(Ve)5.492 +G .493(rsion 1 qf \214les also include a lead-)1.11 F .689(ing colon-te\ rminated list of \215ags, which can be `S' to return a message on succe\ -ssful \214nal deli)108 285 R(v-)-.25 E(ery)108 297 Q 3.328(,`)-.65 G -.828(F' to return a message on f)-3.328 F .828 +ssful \214nal deli)108 285 R(v-)-.25 E(ery)108 297 Q 3.327(,`)-.65 G +.828(F' to return a message on f)-3.327 F .828 (ailure, `D' to return a message if the message is delayed, `B' to)-.1 F -.94(indicate that the body should be returned, `N' to suppress returnin\ -g the body)108 309 R 3.441(,a)-.65 G .941(nd `P' to declare)-3.441 F +.941(indicate that the body should be returned, `N' to suppress returni\ +ng the body)108 309 R 3.44(,a)-.65 G .94(nd `P' to declare)-3.44 F (this as a `)108 321 Q(`primary')-.74 E 2.5('\()-.74 G (command line or SMTP-session\) address.)-2.5 E 30.44(ST)72 337.2 S (he sender address.)-30.44 E(There may only be one of these lines.)5 E 29.89(TT)72 353.4 S(he job creation time.)-29.89 E (This is used to compute when to time out the job)5 E(.)-.4 E 30.44(PT) -72 369.6 S .114(he current message priority)-30.44 F 5.114(.T)-.65 G -.113(his is used to order the queue.)-5.114 F .113 -(Higher numbers mean lo)5.113 F .113(wer priori-)-.25 F 3.676(ties. The) +72 369.6 S .113(he current message priority)-30.44 F 5.113(.T)-.65 G +.113(his is used to order the queue.)-5.113 F .114 +(Higher numbers mean lo)5.114 F .114(wer priori-)-.25 F 3.677(ties. The) 108 381.6 R 1.176(priority changes as the message sits in the queue.) -3.676 F 1.177(The initial priority depends on the)6.176 F +3.677 F 1.176(The initial priority depends on the)6.176 F (message class and the size of the message.)108 393.6 Q 27.11(MA)72 -409.8 S 2.704(message. This)-24.406 F .204(line is printed by the)2.704 -F F2(mailq)2.704 E F1 .203 +409.8 S 2.703(message. This)-24.407 F .203(line is printed by the)2.703 +F F2(mailq)2.703 E F1 .204 (command, and is generally used to store status infor)2.704 F(-)-.2 E 2.5(mation. It)108 421.8 R(can contain an)2.5 E 2.5(yt)-.15 G -.15(ex) --2.5 G(t.).15 E 30.44(FF)72 438 S .043 +-2.5 G(t.).15 E 30.44(FF)72 438 S .044 (lag bits, represented as one letter per \215ag.)-30.44 F .043 -(De\214ned \215ag bits are)5.043 F F0(r)2.543 E F1 .044 -(indicating that this is a response)2.544 F .143(message and)108 450 R -F0(w)2.643 E F1 .143(indicating that a w)2.643 F .142 +(De\214ned \215ag bits are)5.043 F F0(r)2.543 E F1 .043 +(indicating that this is a response)2.543 F .142(message and)108 450 R +F0(w)2.642 E F1 .142(indicating that a w)2.642 F .143 (arning message has been sent announcing that the mail has been)-.1 F -2.513(delayed. Other)108 462 R .013(\215ag bits are:)2.513 F F0(8)2.513 -E F1 2.513(:t)C .013(he body contains 8bit data,)-2.513 F F0(b)2.513 E -F1 -5.012 2.513(:a B)D .014(cc: header should be remo)-2.513 F -.15(ve) --.15 G(d,).15 E F0(d)2.514 E F1(:)A .552 +2.514(delayed. Other)108 462 R .014(\215ag bits are:)2.514 F F0(8)2.514 +E F1 2.514(:t)C .013(he body contains 8bit data,)-2.514 F F0(b)2.513 E +F1 2.513(:aB)C .013(cc: header should be remo)-2.513 F -.15(ve)-.15 G +(d,).15 E F0(d)2.513 E F1(:)A .551 (the mail has RET parameters \(see RFC 1894\),)108 474 R F0(n)3.052 E F1 3.052(:t)C .552(he body of the message should not be returned)-3.052 F (in case of an error)108 486 Q(,)-.4 E F0(s)2.5 E F1 2.5(:t)C(he en)-2.5 @@ -9447,29 +9477,29 @@ E -.15(ve)-.4 G(lope has been split.).15 E 28.78(NT)72 502.2 S (he df \214le is in a dif)-3.15 F .65(ferent directory than the qf \214\ le, then a `d' record is present, specifying the)-.25 F (directory in which the df \214le resides.)108 546.6 Q 32.67(IT)72 562.8 -S .725(he i-number of the data \214le; this can be used to reco)-32.67 F --.15(ve)-.15 G 3.224(ry).15 G .724 -(our mail queue after a disastrous disk)-3.224 F(crash.)108 574.8 Q 31 +S .724(he i-number of the data \214le; this can be used to reco)-32.67 F +-.15(ve)-.15 G 3.225(ry).15 G .725 +(our mail queue after a disastrous disk)-3.225 F(crash.)108 574.8 Q 31 ($A)72 591 S(macro de\214nition.)-28.5 E(The v)5 E (alues of certain macros are passed through to the queue run phase.)-.25 -E 29.33(BT)72 607.2 S .924(he body type.)-29.33 F .925 -(The remainder of the line is a te)5.924 F .925 -(xt string de\214ning the body type.)-.15 F .925(If this \214eld is) -5.925 F .009(missing, the body type is assumed to be \231unde\214ned\ -\232 and no special processing is attempted.)108 619.2 R(Le)5.008 E -.05 +E 29.33(BT)72 607.2 S .925(he body type.)-29.33 F .925 +(The remainder of the line is a te)5.925 F .925 +(xt string de\214ning the body type.)-.15 F .924(If this \214eld is) +5.924 F .009(missing, the body type is assumed to be \231unde\214ned\ +\232 and no special processing is attempted.)108 619.2 R(Le)5.009 E -.05 (ga)-.15 G(l).05 E -.25(va)108 631.2 S (lues are \2317BIT\232 and \2318BITMIME\232.).25 E 29.89(ZT)72 647.4 S (he original en)-29.89 E -.15(ve)-.4 G (lope id \(from the ESMTP transaction\).).15 E -.15(Fo)5 G 2.5(rD).15 G (eli)-2.5 E -.15(ve)-.25 G 2.5(rS).15 G(tatus Noti\214cations only)-2.5 -E(.)-.65 E 4.072(As an e)97 663.6 R 4.072(xample, the follo)-.15 F 4.073 +E(.)-.65 E 4.073(As an e)97 663.6 R 4.073(xample, the follo)-.15 F 4.072 (wing is a queue \214le sent to \231eric@mammoth.Berk)-.25 F(ele)-.1 E --.65(y.)-.15 G 4.073(EDU\232 and).65 F 0 Cg EP -%%Page: 106 102 +-.65(y.)-.15 G 4.072(EDU\232 and).65 F 0 Cg EP +%%Page: 108 104 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Bold@0 SF 188.36(SMM:08-106 Sendmail)72 60 R +/F0 10/Times-Bold@0 SF 188.36(SMM:08-108 Sendmail)72 60 R (Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF (\231bostic@ok)72 98 Q(eef)-.1 E(fe.CS.Berk)-.25 E(ele)-.1 E -.65(y.) -.15 G(EDU\232).65 E/F2 7/Times-Roman@0 SF(1)-4 I F1(:)4 I(V4)112 114.2 @@ -9496,7 +9526,7 @@ E -.65(y.)-.15 G(EDU \(5.108/2.7\)).65 E (H??Message-id: <9207170931.AA22757@foo.bar)112 378.2 Q(.baz.de>)-.55 E (H??T)112 390.2 Q(o: sendmail@v)-.8 E(angogh.CS.Berk)-.25 E(ele)-.1 E -.65(y.)-.15 G(EDU).65 E(H??Subject: this is an e)112 402.2 Q -(xample message)-.15 E .657(This sho)72 418.4 R .658(ws the person who \ +(xample message)-.15 E .658(This sho)72 418.4 R .658(ws the person who \ sent the message, the submission time \(in seconds since January 1, 197\ 0\), the)-.25 F(message priority)72 430.4 Q 2.5(,t)-.65 G (he message class, the recipients, and the headers for the message.)-2.5 @@ -9512,49 +9542,48 @@ E .32 LW 76 678.8 72 678.8 DL 80 678.8 76 678.8 DL 84 678.8 80 678.8 DL 678.8 DL 188 678.8 184 678.8 DL 192 678.8 188 678.8 DL 196 678.8 192 678.8 DL 200 678.8 196 678.8 DL 204 678.8 200 678.8 DL 208 678.8 204 678.8 DL 212 678.8 208 678.8 DL 216 678.8 212 678.8 DL/F3 5 -/Times-Roman@0 SF(1)93.6 689.2 Q/F4 8/Times-Roman@0 SF .719(This e)3.2 J -.719(xample is contri)-.12 F -.12(ve)-.2 G 2.719(da).12 G .719 -(nd probably inaccurate for your en)-2.719 F 2.719(vironment. Glance) --.32 F -.12(ove)2.718 G 2.718(ri).12 G 2.718(tt)-2.718 G 2.718(og)-2.718 -G .718(et an idea; nothing can replace)-2.718 F(looking at what your o) +/Times-Roman@0 SF(1)93.6 689.2 Q/F4 8/Times-Roman@0 SF .718(This e)3.2 J +.718(xample is contri)-.12 F -.12(ve)-.2 G 2.718(da).12 G .718 +(nd probably inaccurate for your en)-2.718 F 2.719(vironment. Glance) +-.32 F -.12(ove)2.719 G 2.719(ri).12 G 2.719(tt)-2.719 G 2.719(og)-2.719 +G .719(et an idea; nothing can replace)-2.719 F(looking at what your o) 72 702 Q(wn system generates.)-.2 E 0 Cg EP -%%Page: 107 103 +%%Page: 109 105 %%BeginPageSetup BP %%EndPageSetup /F0 12/Times-Bold@0 SF 3(APPENDIX C)249.672 98.4 R(SUMMAR)198.282 141.6 Q 3(YO)-.42 G 3(FS)-3 G(UPPOR)-3 E 3(TF)-.48 G(ILES)-3 E/F1 10 -/Times-Roman@0 SF 1.52(This is a summary of the support \214les that)97 -201 R/F2 10/Times-Italic@0 SF(sendmail)4.019 E F1 1.519 -(creates or generates.)4.019 F(Man)6.519 E 4.019(yo)-.15 G 4.019(ft) --4.019 G 1.519(hese can be)-4.019 F(changed by editing the sendmail.cf \ -\214le; check there to \214nd the actual pathnames.)72 213 Q -(/usr/sbin/sendmail)72 229.2 Q(The binary of)144 241.2 Q F2(sendmail)2.5 -E F1(.)A(/usr/bin/ne)72 257.4 Q -.1(wa)-.25 G(liases).1 E 3.734(Al)144 -269.4 S 1.235 -(ink to /usr/sbin/sendmail; causes the alias database to be reb)-3.734 F -3.735(uilt. Running)-.2 F 1.235(this pro-)3.735 F +/Times-Roman@0 SF 1.519(This is a summary of the support \214les that)97 +201 R/F2 10/Times-Italic@0 SF(sendmail)4.019 E F1 1.52 +(creates or generates.)4.019 F(Man)6.52 E 4.02(yo)-.15 G 4.02(ft)-4.02 G +1.52(hese can be)-4.02 F(changed by editing the sendmail.cf \214le; che\ +ck there to \214nd the actual pathnames.)72 213 Q(/usr/sbin/sendmail)72 +229.2 Q(The binary of)144 241.2 Q F2(sendmail)2.5 E F1(.)A(/usr/bin/ne) +72 257.4 Q -.1(wa)-.25 G(liases).1 E 3.735(Al)144 269.4 S 1.235 +(ink to /usr/sbin/sendmail; causes the alias database to be reb)-3.735 F +3.734(uilt. Running)-.2 F 1.234(this pro-)3.734 F (gram is completely equi)144 281.4 Q -.25(va)-.25 G(lent to gi).25 E (ving)-.25 E F2(sendmail)2.5 E F1(the)2.5 E/F3 10/Times-Bold@0 SF (\255bi)2.5 E F1(\215ag.)2.5 E 13.38(/usr/bin/mailq Prints)72 297.6 R -3.703(al)3.703 G 1.203(isting of the mail queue.)-3.703 F 1.202 -(This program is equi)6.203 F -.25(va)-.25 G 1.202(lent to using the).25 -F F3(\255bp)3.702 E F1 1.202(\215ag to)3.702 F F2(sendmail)144 309.6 Q +3.702(al)3.702 G 1.202(isting of the mail queue.)-3.702 F 1.203 +(This program is equi)6.202 F -.25(va)-.25 G 1.203(lent to using the).25 +F F3(\255bp)3.703 E F1 1.203(\215ag to)3.703 F F2(sendmail)144 309.6 Q F1(.)A(/etc/mail/sendmail.cf)72 325.8 Q (The con\214guration \214le, in te)144 337.8 Q(xtual form.)-.15 E 1.72 (/etc/mail/help\214le The)72 354 R(SMTP help \214le.)2.5 E (/etc/mail/statistics)72 370.2 Q 2.5(As)144 382.2 S (tatistics \214le; need not be present.)-2.5 E(/etc/mail/sendmail.pid)72 398.4 Q .318(Created in daemon mode; it contains the process id of the \ -current SMTP daemon.)144 410.4 R .318(If you)5.318 F 1.048 -(use this in scripts; use `)144 422.4 R 1.048(`head \2551')-.74 F 3.548 -('t)-.74 G 3.548(og)-3.548 G 1.047 -(et just the \214rst line; the second line contains the)-3.548 F .679 +current SMTP daemon.)144 410.4 R .318(If you)5.318 F 1.047 +(use this in scripts; use `)144 422.4 R 1.047(`head \2551')-.74 F 3.548 +('t)-.74 G 3.548(og)-3.548 G 1.048 +(et just the \214rst line; the second line contains the)-3.548 F .68 (command line used to in)144 434.4 R -.2(vo)-.4 G .879 -.1(ke t).2 H -.679(he daemon, and later v).1 F .679(ersions of)-.15 F F2(sendmail)3.18 -E F1 .68(may add more)3.18 F(information to subsequent lines.)144 446.4 -Q 5.06(/etc/mail/aliases The)72 462.6 R(te)2.5 E(xtual v)-.15 E -(ersion of the alias \214le.)-.15 E(/etc/mail/aliases.db)72 478.8 Q +.679(he daemon, and later v).1 F .679(ersions of)-.15 F F2(sendmail) +3.179 E F1 .679(may add more)3.179 F(information to subsequent lines.) +144 446.4 Q 5.06(/etc/mail/aliases The)72 462.6 R(te)2.5 E(xtual v)-.15 +E(ersion of the alias \214le.)-.15 E(/etc/mail/aliases.db)72 478.8 Q (The alias \214le in)144 490.8 Q F2(hash)2.5 E F1(\(3\) format.)1.666 E (/etc/mail/aliases.{pag,dir})72 507 Q(The alias \214le in)144 519 Q F2 (ndbm)2.5 E F1(\(3\) format.)1.666 E(/v)72 535.2 Q(ar/spool/mqueue)-.25 @@ -9566,18 +9595,18 @@ de.)144 547.2 Q(/v)72 563.4 Q(ar/spool/mqueue/qf*)-.25 E (ersions of the qf \214les, used during queue \214le reb)-.15 E(uild.) -.2 E(/v)72 648 Q(ar/spool/mqueue/xf*)-.25 E 2.5(At)144 660 S (ranscript of the current session.)-2.5 E F3 -(Sendmail Installation and Operation Guide)72 756 Q(SMM:08-107)190.86 E +(Sendmail Installation and Operation Guide)72 756 Q(SMM:08-109)190.86 E 0 Cg EP -%%Page: 108 104 +%%Page: 110 106 %%BeginPageSetup BP %%EndPageSetup -/F0 10/Times-Bold@0 SF 188.36(SMM:08-108 Sendmail)72 60 R +/F0 10/Times-Bold@0 SF 188.36(SMM:08-110 Sendmail)72 60 R (Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF (This page intentionally left blank;)256.225 300 Q (replace it with a blank sheet for double-sided output.)218.6 312 Q 0 Cg EP -%%Page: 3 105 +%%Page: 3 107 %%BeginPageSetup BP %%EndPageSetup @@ -9685,7 +9714,7 @@ E 23.5(................................................................\ .....)2.5 F(21)26 E 2.5(2.6.3. List)102 715.2 R -.25(ow)2.5 G 1.81(ners\ ......................................................................\ .............................................).25 F(21)26 E 0 Cg EP -%%Page: 4 106 +%%Page: 4 108 %%BeginPageSetup BP %%EndPageSetup @@ -9801,7 +9830,7 @@ R 1.56(Caching ........................................................\ 39)3.51 F 2.5(5.1.3. Semantics)102 715.2 R(of re)2.5 E (writing rule sets)-.25 E 23.5(........................................\ ........................................... 40)4.6 F 0 Cg EP -%%Page: 5 107 +%%Page: 5 109 %%BeginPageSetup BP %%EndPageSetup @@ -9859,7 +9888,7 @@ R 23.5(................................................................\ .......................................................................\ .. 46)3.52 F 2.5(5.3. C)87 412.8 R(and F \212 De\214ne Classes)2.5 E 23.5(..................................................................\ -................................... 52)2.67 F 2.5(5.4. M)87 427.2 R 2.5 +................................... 53)2.67 F 2.5(5.4. M)87 427.2 R 2.5 <8a44>2.5 G(e\214ne Mailer)-2.5 E 23.5(................................\ .......................................................................\ ........ 54)3.79 F 2.5(5.5. H)87 441.6 R 2.5<8a44>2.5 G(e\214ne Header) @@ -9870,50 +9899,50 @@ R 23.5(................................................................\ ............................. 60)3.22 F 2.5(5.7. P)87 470.4 R 2.5<8a50> 2.5 G(recedence De\214nitions)-2.5 E 23.5(.............................\ ..................................................................... 7\ -7)2.96 F 2.5(5.8. V)87 484.8 R 2.5<8a43>2.5 G(on\214guration V)-2.5 E +9)2.96 F 2.5(5.8. V)87 484.8 R 2.5<8a43>2.5 G(on\214guration V)-2.5 E (ersion Le)-1.11 E -.15(ve)-.25 G 2.8(l.).15 G 23.5(...................\ ..................................................................... 7\ -8)-2.8 F 2.5(5.9. K)87 499.2 R 2.5<8a4b>2.5 G .3 -.15(ey F)-2.75 H +9)-2.8 F 2.5(5.9. K)87 499.2 R 2.5<8a4b>2.5 G .3 -.15(ey F)-2.75 H (ile Declaration).15 E 23.5(...........................................\ -.......................................................... 79)2.81 F 2.5 +.......................................................... 80)2.81 F 2.5 (5.10. Q)87 513.6 R 2.5<8a51>2.5 G(ueue Group Declaration)-2.5 E 23.5(.\ .......................................................................\ -................... 86)2.98 F 2.5(5.11. X)87 528 R 2.5<8a4d>2.5 G +................... 87)2.98 F 2.5(5.11. X)87 528 R 2.5<8a4d>2.5 G (ail Filter \(Milter\) De\214nitions)-2.5 E 23.5(......................\ -............................................................ 87)4.61 F +............................................................ 89)4.61 F 2.5(5.12. The)87 542.4 R(User Database)2.5 E 23.5(.....................\ .......................................................................\ -.................. 88)4.92 F 2.5(5.12.1. Structure)102 556.8 R +.................. 89)4.92 F 2.5(5.12.1. Structure)102 556.8 R (of the user database)2.5 E 23.5(......................................\ -............................................... 88)2.7 F 2.5 +............................................... 90)2.7 F 2.5 (5.12.2. User)102 571.2 R(database semantics)2.5 E 23.5(...............\ .......................................................................\ -....... 89)3.25 F 2.5(5.12.3. Creating)102 587.6 R(the database)2.5 E/F2 +....... 90)3.25 F 2.5(5.12.3. Creating)102 587.6 R(the database)2.5 E/F2 7/Times-Roman@0 SF(23)-4 I F1 23.5(....................................\ -........................................................... 89)2.91 4 N +........................................................... 91)2.91 4 N 2.5(6. O)72 602 R(THER CONFIGURA)-.4 E 1.97(TION ......................\ .......................................................................\ -............)-1.11 F(90)26 E 2.5(6.1. P)87 616.4 R(arameters in de)-.15 +............)-1.11 F(91)26 E 2.5(6.1. P)87 616.4 R(arameters in de)-.15 E .3(vtools/OS/$oscf ..................................................\ -.........................................)-.25 F(90)26 E 2.5(6.2. P)87 +.........................................)-.25 F(91)26 E 2.5(6.2. P)87 630.8 R(arameters in sendmail/conf.h)-.15 E 23.5(......................\ .......................................................................\ -. 91)4.78 F 2.5(6.3. Con\214guration)87 645.2 R(in sendmail/conf.c)2.5 E +. 92)4.78 F 2.5(6.3. Con\214guration)87 645.2 R(in sendmail/conf.c)2.5 E 23.5(..................................................................\ -........................ 93)4.06 F 2.5(6.3.1. Built-in)102 659.6 R +........................ 95)4.06 F 2.5(6.3.1. Built-in)102 659.6 R (Header Semantics)2.5 E 23.5(..........................................\ -................................................. 93)4.9 F 2.5 +................................................. 95)4.9 F 2.5 (6.3.2. Restricting)102 674 R(Use of Email)2.5 E 23.5(.................\ .......................................................................\ -...... 95)4.34 F 2.5(6.3.3. Ne)102 688.4 R 2.5(wD)-.25 G +...... 96)4.34 F 2.5(6.3.3. Ne)102 688.4 R 2.5(wD)-.25 G (atabase Map Classes)-2.5 E 23.5(......................................\ -................................................... 95)4.89 F 2.5 +................................................... 97)4.89 F 2.5 (6.3.4. Queueing)102 702.8 R 1.56(Function ............................\ .......................................................................\ -....)2.5 F(96)26 E 2.5(6.3.5. Refusing)102 717.2 R +....)2.5 F(97)26 E 2.5(6.3.5. Refusing)102 717.2 R (Incoming SMTP Connections)2.5 E 23.5(.................................\ -...................................... 96)2.94 F 0 Cg EP -%%Page: 6 108 +...................................... 98)2.94 F 0 Cg EP +%%Page: 6 110 %%BeginPageSetup BP %%EndPageSetup @@ -9921,36 +9950,36 @@ BP (Installation and Operation Guide)2.5 E/F1 10/Times-Roman@0 SF 2.5 (6.3.6. Load)102 96 R -1.17 -.74(Av e)2.5 H(rage Computation).74 E 23.5 (......................................................................\ -.................... 97)2.74 F 2.5(6.4. Con\214guration)87 110.4 R +.................... 98)2.74 F 2.5(6.4. Con\214guration)87 110.4 R (in sendmail/daemon.c)2.5 E 23.5(......................................\ -............................................... 97)2.67 F 2.5(6.5. LD)87 +............................................... 98)2.67 F 2.5(6.5. LD)87 124.8 R .29(AP ........................................................\ .......................................................................\ -......)-.4 F(97)26 E 2.5(6.5.1. LD)102 139.2 R(AP Recursion)-.4 E 23.5(\ +......)-.4 F(99)26 E 2.5(6.5.1. LD)102 139.2 R(AP Recursion)-.4 E 23.5(\ .......................................................................\ -................................... 97)4.74 F 2.5(6.5.1.1. Example)117 +................................... 99)4.74 F 2.5(6.5.1.1. Example)117 153.6 R 23.5(..........................................................\ -..................................................... 98)2.95 F 2.5 +..................................................... 99)2.95 F 2.5 (6.6. ST)87 168 R(AR)-.93 E .58(TTLS ..................................\ .......................................................................\ -...................)-.6 F(98)26 E 2.5(6.6.1. Certi\214cates)102 182.4 R +...................)-.6 F(100)21 E 2.5(6.6.1. Certi\214cates)102 182.4 R (for ST)2.5 E(AR)-.93 E .87(TTLS ......................................\ -....................................................)-.6 F(98)26 E 2.5 +....................................................)-.6 F(100)21 E 2.5 (6.6.2. PRNG)102 196.8 R(for ST)2.5 E(AR)-.93 E 2.25(TTLS .............\ .......................................................................\ -.............)-.6 F(99)26 E 2.5(6.7. Encoding)87 211.2 R(of ST)2.5 E(AR) --.93 E(TTLS and A)-.6 E(UTH related Macros)-.55 E 23.5 -(............................................................ 99)2.56 F +.............)-.6 F(100)21 E 2.5(6.7. Encoding)87 211.2 R(of ST)2.5 E +(AR)-.93 E(TTLS and A)-.6 E(UTH related Macros)-.55 E 18.5 +(............................................................ 101)2.56 F 2.5(7. A)72 225.6 R(CKNO)-.4 E .1(WLEDGEMENTS .........................\ .......................................................................\ -............)-.35 F(99)26 E(Appendix A.)72 240 Q(COMMAND LINE FLA)5 E +............)-.35 F(101)21 E(Appendix A.)72 240 Q(COMMAND LINE FLA)5 E 1.97(GS ...............................................................\ -..........................)-.4 F(101)21 E(Appendix B.)72 254.4 Q -.1(QU) +..........................)-.4 F(103)21 E(Appendix B.)72 254.4 Q -.1(QU) 5 G(EUE FILE FORMA).1 E 1.38(TS .......................................\ -.....................................................)-1.11 F(104)21 E +.....................................................)-1.11 F(106)21 E (Appendix C.)72 268.8 Q(SUMMAR)5 E 2.5(YO)-.65 G 2.5(FS)-2.5 G(UPPOR) -2.5 E 2.5(TF)-.6 G 1.12(ILES .........................................\ -.....................................)-2.5 F(107)21 E 0 Cg EP +.....................................)-2.5 F(109)21 E 0 Cg EP %%Trailer end %%EOF diff --git a/include/libmilter/mfapi.h b/include/libmilter/mfapi.h index 7d7fb1d99f57..8e3a17328615 100644 --- a/include/libmilter/mfapi.h +++ b/include/libmilter/mfapi.h @@ -7,7 +7,7 @@ * the sendmail distribution. * * - * $Id: mfapi.h,v 8.78 2008/02/27 22:30:34 ca Exp $ + * $Id: mfapi.h,v 8.80 2009/11/06 00:57:08 ca Exp $ */ /* @@ -18,7 +18,14 @@ # define _LIBMILTER_MFAPI_H 1 #ifndef SMFI_VERSION -# define SMFI_VERSION 0x01000001 /* libmilter version number */ +# if _FFR_MDS_NEGOTIATE +# define SMFI_VERSION 0x01000002 /* libmilter version number */ + + /* first libmilter version that has MDS support */ +# define SMFI_VERSION_MDS 0x01000002 +# else /* _FFR_MDS_NEGOTIATE */ +# define SMFI_VERSION 0x01000001 /* libmilter version number */ +# endif /* _FFR_MDS_NEGOTIATE */ #endif /* ! SMFI_VERSION */ #define SM_LM_VRS_MAJOR(v) (((v) & 0x7f000000) >> 24) @@ -163,9 +170,7 @@ LIBMILTER_API int smfi_setdbg __P((int)); LIBMILTER_API int smfi_settimeout __P((int)); LIBMILTER_API int smfi_setconn __P((char *)); LIBMILTER_API int smfi_stop __P((void)); -#if _FFR_MAXDATASIZE LIBMILTER_API size_t smfi_setmaxdatasize __P((size_t)); -#endif /* _FFR_MAXDATASIZE */ LIBMILTER_API int smfi_version __P((unsigned int *, unsigned int *, unsigned int *)); /* diff --git a/include/libmilter/mfdef.h b/include/libmilter/mfdef.h index 674856707de4..f42ec026cc92 100644 --- a/include/libmilter/mfdef.h +++ b/include/libmilter/mfdef.h @@ -7,7 +7,7 @@ * the sendmail distribution. * * - * $Id: mfdef.h,v 8.38 2007/03/27 18:53:48 ca Exp $ + * $Id: mfdef.h,v 8.39 2009/11/06 00:57:08 ca Exp $ */ /* @@ -27,6 +27,12 @@ #define MILTER_CHUNK_SIZE 65535 /* body chunk size */ #define MILTER_MAX_DATA_SIZE 65535 /* default milter command data limit */ +#if _FFR_MDS_NEGOTIATE +# define MILTER_MDS_64K ((64 * 1024) - 1) +# define MILTER_MDS_256K ((256 * 1024) - 1) +# define MILTER_MDS_1M ((1024 * 1024) - 1) +#endif /* _FFR_MDS_NEGOTIATE */ + /* These apply to SMFIF_* flags */ #define SMFI_V1_ACTS 0x0000000FL /* The actions of V1 filter */ #define SMFI_V2_ACTS 0x0000003FL /* The actions of V2 filter */ @@ -100,6 +106,9 @@ #define SMFIP_NR_EOH 0x00040000L /* No reply for eoh */ #define SMFIP_NR_BODY 0x00080000L /* No reply for body chunk */ #define SMFIP_HDR_LEADSPC 0x00100000L /* header value leading space */ +#define SMFIP_MDS_256K 0x10000000L /* MILTER_MAX_DATA_SIZE=256K */ +#define SMFIP_MDS_1M 0x20000000L /* MILTER_MAX_DATA_SIZE=1M */ +/* #define SMFIP_ 0x40000000L reserved: see SMFI_INTERNAL*/ #define SMFI_V1_PROT 0x0000003FL /* The protocol of V1 filter */ #define SMFI_V2_PROT 0x0000007FL /* The protocol of V2 filter */ @@ -107,4 +116,11 @@ /* all defined protocol bits */ #define SMFI_CURR_PROT 0x001FFFFFL +/* internal flags: only used between MTA and libmilter */ +#define SMFI_INTERNAL 0x70000000L + +#if _FFR_MILTER_CHECK +# define SMFIP_TEST 0x80000000L +#endif /* _FFR_MILTER_CHECK */ + #endif /* !_LIBMILTER_MFDEF_H */ diff --git a/include/sm/conf.h b/include/sm/conf.h index 13b3b50cafc3..5b1875426af2 100644 --- a/include/sm/conf.h +++ b/include/sm/conf.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2007 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2009 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -10,7 +10,7 @@ * the sendmail distribution. * * - * $Id: conf.h,v 1.134 2007/09/24 23:05:37 ca Exp $ + * $Id: conf.h,v 1.139 2009/06/16 23:41:32 ca Exp $ */ /* @@ -460,6 +460,7 @@ typedef int pid_t; # endif /* SOLARIS >= 21000 || (SOLARIS < 10000 && SOLARIS >= 210) */ # if SOLARIS >= 21100 || (SOLARIS < 10000 && SOLARIS >= 211) # define GETLDAPALIASBYNAME_VERSION 2 /* changed in S11 */ +# define HAVE_NANOSLEEP 1 /* moved from librt to libc in S11 */ # endif /* SOLARIS >= 21100 || (SOLARIS < 10000 && SOLARIS >= 211) */ # ifndef HASGETUSERSHELL # define HASGETUSERSHELL 0 /* getusershell(3) causes core dumps pre-2.7 */ @@ -1021,6 +1022,10 @@ extern unsigned int sleepX __P((unsigned int seconds)); # define SMRSH_PATH "/bin:/usr/bin" # endif /* ! SMRSH_PATH */ # endif /* __FreeBSD_version >= 330000 */ +# if __FreeBSD_version >= 430000 /* 4.3.0-release and later */ +# define SOCKADDR_LEN_T socklen_t /* e.g., arg#3 to accept, getsockname */ +# define SOCKOPT_LEN_T socklen_t /* arg#5 to getsockopt */ +# endif /* __FreeBSD_version >= 430000 */ # define USESYSCTL 1 /* use sysctl(3) for getting ncpus */ # include # endif /* __FreeBSD__ >= 2 */ @@ -2800,6 +2805,20 @@ struct utsname # define MAXHOSTNAMELEN 256 # endif /* !defined(MAXHOSTNAMELEN) && !defined(_SCO_unix_) && !defined(NonStop_UX_BXX) && !defined(ALTOS_SYSTEM_V) */ + +# if _FFR_LINUX_MHNL && defined(__linux__) && MAXHOSTNAMELEN < 255 + /* + ** override Linux wierdness: a FQHN can be 255 chars long + ** SUSv3 requires HOST_NAME_MAX ("Maximum length of a host + ** name (not including the terminating null) as returned from the + ** gethostname() function.") to be at least 255. c.f.: + ** http://www.opengroup.org/onlinepubs/009695399 + ** but Linux defines that to 64 too. + */ +# undef MAXHOSTNAMELEN +# define MAXHOSTNAMELEN 256 +# endif /* _FFR_LINUX_MHNL && defined(__linux__) && MAXHOSTNAMELEN < 255 */ + # if !defined(SIGCHLD) && defined(SIGCLD) # define SIGCHLD SIGCLD # endif /* !defined(SIGCHLD) && defined(SIGCLD) */ diff --git a/include/sm/ldap.h b/include/sm/ldap.h index fc9a325feef9..b0a9cc058044 100644 --- a/include/sm/ldap.h +++ b/include/sm/ldap.h @@ -6,7 +6,7 @@ * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. * - * $Id: ldap.h,v 1.33 2007/10/10 00:06:44 ca Exp $ + * $Id: ldap.h,v 1.34 2008/11/17 21:02:54 ca Exp $ */ #ifndef SM_LDAP_H @@ -92,7 +92,7 @@ struct sm_ldap_struct char ldap_attrsep; # if _FFR_LDAP_NETWORK_TIMEOUT - struct timeval ldap_networktmo; + int ldap_networktmo; # endif /* _FFR_LDAP_NETWORK_TIMEOUT */ /* Linked list of maps sharing the same LDAP binding */ diff --git a/include/sm/sem.h b/include/sm/sem.h index 7b691a43adc5..3ac0bc61cc3c 100644 --- a/include/sm/sem.h +++ b/include/sm/sem.h @@ -1,12 +1,12 @@ /* - * Copyright (c) 2000-2001, 2005 Sendmail, Inc. and its suppliers. + * Copyright (c) 2000-2001, 2005, 2008 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. * - * $Id: sem.h,v 1.9 2005/02/17 22:08:58 ca Exp $ + * $Id: sem.h,v 1.10 2008/05/30 16:26:39 ca Exp $ */ #ifndef SM_SEM_H @@ -47,6 +47,7 @@ extern int sm_sem_stop __P((int)); extern int sm_sem_acq __P((int, int, int)); extern int sm_sem_rel __P((int, int, int)); extern int sm_sem_get __P((int, int)); +extern int sm_semsetowner __P((int, uid_t, gid_t, mode_t)); # else /* SM_CONF_SEM > 0 */ # define sm_sem_start(key, nsem, semflg, owner) 0 diff --git a/libmilter/Makefile.m4 b/libmilter/Makefile.m4 index 929ec7519ef7..bc9bc66d6711 100644 --- a/libmilter/Makefile.m4 +++ b/libmilter/Makefile.m4 @@ -1,4 +1,4 @@ -dnl $Id: Makefile.m4,v 8.80 2008/04/08 05:23:44 ca Exp $ +dnl $Id: Makefile.m4,v 8.85 2009/11/24 21:59:33 ca Exp $ include(confBUILDTOOLSDIR`/M4/switch.m4') dnl only required for compilation of EXTRAS diff --git a/libmilter/comm.c b/libmilter/comm.c index a7a44dffa7bd..e04681c8d0ba 100644 --- a/libmilter/comm.c +++ b/libmilter/comm.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999-2004 Sendmail, Inc. and its suppliers. + * Copyright (c) 1999-2004, 2009 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set @@ -9,7 +9,7 @@ */ #include -SM_RCSID("@(#)$Id: comm.c,v 8.67 2006/11/02 17:54:44 ca Exp $") +SM_RCSID("@(#)$Id: comm.c,v 8.70 2009/12/16 16:33:48 ca Exp $") #include "libmilter.h" #include @@ -18,7 +18,6 @@ SM_RCSID("@(#)$Id: comm.c,v 8.67 2006/11/02 17:54:44 ca Exp $") static ssize_t retry_writev __P((socket_t, struct iovec *, int, struct timeval *)); static size_t Maxdatasize = MILTER_MAX_DATA_SIZE; -#if _FFR_MAXDATASIZE /* ** SMFI_SETMAXDATASIZE -- set limit for milter data read/write. ** @@ -39,7 +38,6 @@ smfi_setmaxdatasize(sz) Maxdatasize = sz; return old; } -#endif /* _FFR_MAXDATASIZE */ /* ** MI_RD_CMD -- read a command @@ -122,8 +120,8 @@ mi_rd_cmd(sd, timeout, cmd, rlen, name) else if (ret < 0) { smi_log(SMI_LOG_ERR, - "%s: mi_rd_cmd: select returned %d: %s", - name, ret, sm_errstring(errno)); + "%s: mi_rd_cmd: %s() returned %d: %s", + name, MI_POLLSELECT, ret, sm_errstring(errno)); *cmd = SMFIC_RECVERR; return NULL; } @@ -214,8 +212,8 @@ mi_rd_cmd(sd, timeout, cmd, rlen, name) if (ret < 0) { smi_log(SMI_LOG_ERR, - "%s: mi_rd_cmd: select returned %d: %s", - name, ret, sm_errstring(save_errno)); + "%s: mi_rd_cmd: %s() returned %d: %s", + name, MI_POLLSELECT, ret, sm_errstring(save_errno)); *cmd = SMFIC_RECVERR; return NULL; } @@ -326,7 +324,7 @@ mi_wr_cmd(sd, timeout, cmd, buf, len) char *buf; size_t len; { - size_t sl, i; + size_t sl; ssize_t l; mi_int32 nl; int iovcnt; @@ -339,7 +337,6 @@ mi_wr_cmd(sd, timeout, cmd, buf, len) nl = htonl(len + 1); /* add 1 for the cmd char */ (void) memcpy(data, (void *) &nl, MILTER_LEN_BYTES); data[MILTER_LEN_BYTES] = (char) cmd; - i = 0; sl = MILTER_LEN_BYTES + 1; /* set up the vector for the size / command */ diff --git a/libmilter/docs/api.html b/libmilter/docs/api.html index 4214df4dd87a..578e0ca686af 100644 --- a/libmilter/docs/api.html +++ b/libmilter/docs/api.html @@ -2,7 +2,7 @@ Milter API

Milter API

@@ -80,7 +80,9 @@ The following functions change a message's contents and attributes. They may only be called in xxfi_eom. All of these functions may invoke additional communication with the MTA. They will return either MI_SUCCESS or MI_FAILURE to indicate the status of -the operation. +the operation. Message data (senders, recipients, headers, body chunks) +passed to these functions via parameters is copied and does not need to be +preserved (i.e., allocated memory can be freed).

A filter must have set the appropriate flag (listed below) in the @@ -310,7 +312,7 @@ for a protocol stage.


-Copyright (c) 2000, 2003, 2006 Sendmail, Inc. and its suppliers. +Copyright (c) 2000, 2003, 2006, 2009 Sendmail, Inc. and its suppliers. All rights reserved.
By using this file, you agree to the terms and conditions set diff --git a/libmilter/docs/overview.html b/libmilter/docs/overview.html index b7e80dfdbed7..5c6f21ce4ce1 100644 --- a/libmilter/docs/overview.html +++ b/libmilter/docs/overview.html @@ -4,7 +4,7 @@

Technical Overview

@@ -60,7 +60,9 @@ returns to MESSAGE. For each of N connections { For each filter - process connection/helo (xxfi_connect, xxfi_helo) + process connection (xxfi_connect) + For each filter + process helo/ehlo (xxfi_helo) MESSAGE:For each message in this connection (sequentially) { For each filter diff --git a/libmilter/docs/smfi_addheader.html b/libmilter/docs/smfi_addheader.html index d068f9fdb934..460b4caf7cf1 100644 --- a/libmilter/docs/smfi_addheader.html +++ b/libmilter/docs/smfi_addheader.html @@ -2,7 +2,7 @@ smfi_addheader

smfi_addheader

@@ -90,7 +90,11 @@ To change a header's current value, use the MTA will add this automatically. It is the filter writer's responsibility to ensure that no standards are violated. -
  • The MTA adds a leading space to an added header value. +
  • The MTA adds a leading space to an added header value unless + the flag +SMFIP_HDR_LEADSPC + is set, in which case the milter + must include any desired leading spaces itself. @@ -116,7 +120,7 @@ To change a header's current value, use
    -Copyright (c) 2000-2003, 2006 Sendmail, Inc. and its suppliers. +Copyright (c) 2000-2003, 2006, 2009 Sendmail, Inc. and its suppliers. All rights reserved.
    By using this file, you agree to the terms and conditions set diff --git a/libmilter/docs/smfi_chgheader.html b/libmilter/docs/smfi_chgheader.html index 0701a3671aaf..517b5ba4c1c8 100644 --- a/libmilter/docs/smfi_chgheader.html +++ b/libmilter/docs/smfi_chgheader.html @@ -2,7 +2,7 @@ smfi_chgheader

    smfi_chgheader

    @@ -85,6 +85,11 @@ Otherwise, it returns MI_SUCCESS. carriage return (ASCII 0x0d); the MTA will add this automatically. It is the filter writer's responsibility to ensure that no standards are violated. +
  • The MTA adds a leading space to a header value unless + the flag +SMFIP_HDR_LEADSPC + is set, in which case the milter + must include any desired leading spaces itself. @@ -110,7 +115,7 @@ Otherwise, it returns MI_SUCCESS.
    -Copyright (c) 2000-2003 Sendmail, Inc. and its suppliers. +Copyright (c) 2000-2003, 2009 Sendmail, Inc. and its suppliers. All rights reserved.
    By using this file, you agree to the terms and conditions set diff --git a/libmilter/docs/smfi_insheader.html b/libmilter/docs/smfi_insheader.html index a4ba77f33d4f..5962e61afea1 100644 --- a/libmilter/docs/smfi_insheader.html +++ b/libmilter/docs/smfi_insheader.html @@ -2,7 +2,7 @@ smfi_insheader

    smfi_insheader

    @@ -111,6 +111,11 @@ Otherwise, it returns MI_SUCCESS. the MTA will add this automatically. It is the filter writer's responsibility to ensure that no standards are violated. +
  • The MTA adds a leading space to an inserted header value unless + the flag +SMFIP_HDR_LEADSPC + is set, in which case the milter + must include any desired leading spaces itself. @@ -135,7 +140,7 @@ Otherwise, it returns MI_SUCCESS.
    -Copyright (c) 2004, 2006 Sendmail, Inc. and its suppliers. +Copyright (c) 2004, 2006, 2009 Sendmail, Inc. and its suppliers. All rights reserved.
    By using this file, you agree to the terms and conditions set diff --git a/libmilter/engine.c b/libmilter/engine.c index 9002a0bab96f..a2d3e1e3f3fa 100644 --- a/libmilter/engine.c +++ b/libmilter/engine.c @@ -9,7 +9,7 @@ */ #include -SM_RCSID("@(#)$Id: engine.c,v 8.162 2008/02/27 01:34:14 ca Exp $") +SM_RCSID("@(#)$Id: engine.c,v 8.166 2009/11/06 00:57:07 ca Exp $") #include "libmilter.h" @@ -113,6 +113,7 @@ static void fix_stm __P((SMFICTX_PTR)); static bool trans_ok __P((int, int)); static char **dec_argv __P((char *, size_t)); static int dec_arg2 __P((char *, size_t, char **, char **)); +static void mi_clr_symlist __P((SMFICTX_PTR)); #if _FFR_WORKERS_POOL static bool mi_rd_socket_ready __P((int)); @@ -757,6 +758,69 @@ mi_clr_macros(ctx, m) } } +/* +** MI_CLR_SYMLIST -- clear list of macros +** +** Parameters: +** ctx -- context structure +** +** Returns: +** None. +*/ + +static void +mi_clr_symlist(ctx) + SMFICTX *ctx; +{ + int i; + + SM_ASSERT(ctx != NULL); + for (i = SMFIM_FIRST; i <= SMFIM_LAST; i++) + { + if (ctx->ctx_mac_list[i] != NULL) + { + free(ctx->ctx_mac_list[i]); + ctx->ctx_mac_list[i] = NULL; + } + } +} + +/* +** MI_CLR_CTX -- clear context +** +** Parameters: +** ctx -- context structure +** +** Returns: +** None. +*/ + +void +mi_clr_ctx(ctx) + SMFICTX *ctx; +{ + SM_ASSERT(ctx != NULL); + if (ValidSocket(ctx->ctx_sd)) + { + (void) closesocket(ctx->ctx_sd); + ctx->ctx_sd = INVALID_SOCKET; + } + if (ctx->ctx_reply != NULL) + { + free(ctx->ctx_reply); + ctx->ctx_reply = NULL; + } + if (ctx->ctx_privdata != NULL) + { + smi_log(SMI_LOG_WARN, + "%s: private data not NULL", + ctx->ctx_smfi->xxfi_name); + } + mi_clr_macros(ctx, 0); + mi_clr_symlist(ctx); + free(ctx); +} + /* ** ST_OPTIONNEG -- negotiate options ** @@ -771,8 +835,11 @@ static int st_optionneg(g) genarg *g; { - mi_int32 i, v, fake_pflags; + mi_int32 i, v, fake_pflags, internal_pflags; SMFICTX_PTR ctx; +#if _FFR_MILTER_CHECK + bool testmode = false; +#endif /* _FFR_MILTER_CHECK */ int (*fi_negotiate) __P((SMFICTX *, unsigned long, unsigned long, unsigned long, unsigned long, @@ -826,6 +893,7 @@ st_optionneg(g) v = SMFI_V1_ACTS; ctx->ctx_mta_aflags = v; /* MTA action flags */ + internal_pflags = 0; (void) memcpy((void *) &i, (void *) &(g->a_buf[MILTER_LEN_BYTES * 2]), MILTER_LEN_BYTES); v = ntohl(i); @@ -833,7 +901,51 @@ st_optionneg(g) /* no flags? set to default value for V1 protocol */ if (v == 0) v = SMFI_V1_PROT; - ctx->ctx_mta_pflags = v; /* MTA protocol flags */ +#if _FFR_MDS_NEGOTIATE + else if (ctx->ctx_smfi->xxfi_version >= SMFI_VERSION_MDS) + { + /* + ** Allow changing the size only if milter is compiled + ** against a version that supports this. + ** If a milter is dynamically linked against a newer + ** libmilter version, we don't want to "surprise" + ** it with a larger buffer as it may rely on it + ** even though it is not documented as a limit. + */ + + if (bitset(SMFIP_MDS_1M, v)) + { + internal_pflags |= SMFIP_MDS_1M; + (void) smfi_setmaxdatasize(MILTER_MDS_1M); + } + else if (bitset(SMFIP_MDS_256K, v)) + { + internal_pflags |= SMFIP_MDS_256K; + (void) smfi_setmaxdatasize(MILTER_MDS_256K); + } + } +# if 0 + /* don't log this for now... */ + else if (ctx->ctx_smfi->xxfi_version < SMFI_VERSION_MDS && + bitset(SMFIP_MDS_1M|SMFIP_MDS_256K, v)) + { + smi_log(SMI_LOG_WARN, + "%s: st_optionneg[%ld]: milter version=%X, trying flags=%X", + ctx->ctx_smfi->xxfi_name, + (long) ctx->ctx_id, ctx->ctx_smfi->xxfi_version, v); + } +# endif /* 0 */ +#endif /* _FFR_MDS_NEGOTIATE */ + + /* + ** MTA protocol flags. + ** We pass the internal flags to the milter as "read only", + ** i.e., a milter can read them so it knows which size + ** will be used, but any changes by a milter will be ignored + ** (see below, search for SMFI_INTERNAL). + */ + + ctx->ctx_mta_pflags = (v & ~SMFI_INTERNAL) | internal_pflags; /* ** Copy flags from milter struct into libmilter context; @@ -880,6 +992,12 @@ st_optionneg(g) 0, 0, &m_aflags, &m_pflags, &m_f2, &m_f3); +#if _FFR_MILTER_CHECK + testmode = bitset(SMFIP_TEST, m_pflags); + if (testmode) + m_pflags &= ~SMFIP_TEST; +#endif /* _FFR_MILTER_CHECK */ + /* ** Types of protocol flags (pflags): ** 1. do NOT send protocol step X @@ -1011,6 +1129,25 @@ st_optionneg(g) , ctx->ctx_mta_aflags, ctx->ctx_mta_pflags , ctx->ctx_aflags, ctx->ctx_pflags); +#if _FFR_MILTER_CHECK + if (ctx->ctx_dbg > 3) + sm_dprintf("[%ld] milter_negotiate:" + " testmode=%d, pflags2mta=%X, internal_pflags=%X\n" + , (long) ctx->ctx_id, testmode + , ctx->ctx_pflags2mta, internal_pflags); + + /* in test mode: take flags without further modifications */ + if (!testmode) + /* Warning: check statement below! */ +#endif /* _FFR_MILTER_CHECK */ + + /* + ** Remove the internal flags that might have been set by a milter + ** and set only those determined above. + */ + + ctx->ctx_pflags2mta = (ctx->ctx_pflags2mta & ~SMFI_INTERNAL) + | internal_pflags; return _SMFIS_OPTIONS; } diff --git a/libmilter/example.c b/libmilter/example.c index 5a09f1da9735..cef4b0f33aa2 100644 --- a/libmilter/example.c +++ b/libmilter/example.c @@ -6,7 +6,7 @@ * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. * - * $Id: example.c,v 8.3 2006/12/20 21:22:34 ca Exp $ + * $Id: example.c,v 8.4 2008/07/22 15:12:47 ca Exp $ */ /* @@ -252,7 +252,7 @@ struct smfiDesc smfilter = mlfi_close, /* connection cleanup */ mlfi_unknown, /* unknown/unimplemented SMTP commands */ mlfi_data, /* DATA command filter */ - mlfi_negotiate /* option negotation at connection startup */ + mlfi_negotiate /* option negotiation at connection startup */ }; int diff --git a/libmilter/handler.c b/libmilter/handler.c index 5fd4b2630a91..2c34f1f05dba 100644 --- a/libmilter/handler.c +++ b/libmilter/handler.c @@ -9,7 +9,7 @@ */ #include -SM_RCSID("@(#)$Id: handler.c,v 8.38 2006/11/02 02:38:22 ca Exp $") +SM_RCSID("@(#)$Id: handler.c,v 8.39 2008/11/25 01:14:16 ca Exp $") #include "libmilter.h" @@ -43,24 +43,7 @@ mi_handle_session(ctx) ret = MI_FAILURE; else ret = mi_engine(ctx); - if (ValidSocket(ctx->ctx_sd)) - { - (void) closesocket(ctx->ctx_sd); - ctx->ctx_sd = INVALID_SOCKET; - } - if (ctx->ctx_reply != NULL) - { - free(ctx->ctx_reply); - ctx->ctx_reply = NULL; - } - if (ctx->ctx_privdata != NULL) - { - smi_log(SMI_LOG_WARN, - "%s: private data not NULL", - ctx->ctx_smfi->xxfi_name); - } - mi_clr_macros(ctx, 0); - free(ctx); + mi_clr_ctx(ctx); ctx = NULL; return ret; } diff --git a/libmilter/libmilter.h b/libmilter/libmilter.h index 5a1240974924..5824151da37c 100644 --- a/libmilter/libmilter.h +++ b/libmilter/libmilter.h @@ -19,7 +19,7 @@ #ifdef _DEFINE # define EXTERN # define INIT(x) = x -SM_IDSTR(MilterlId, "@(#)$Id: libmilter.h,v 8.74 2006/12/19 18:19:52 ca Exp $") +SM_IDSTR(MilterlId, "@(#)$Id: libmilter.h,v 8.77 2008/11/25 18:28:18 ca Exp $") #else /* _DEFINE */ # define EXTERN extern # define INIT(x) @@ -282,6 +282,7 @@ extern int mi_handle_session __P((SMFICTX_PTR)); extern int mi_engine __P((SMFICTX_PTR)); extern int mi_listener __P((char *, int, smfiDesc_ptr, time_t, int)); extern void mi_clr_macros __P((SMFICTX_PTR, int)); +extern void mi_clr_ctx __P((SMFICTX_PTR)); extern int mi_stop __P((void)); extern int mi_control_startup __P((char *)); extern void mi_stop_milters __P((int)); diff --git a/libmilter/listener.c b/libmilter/listener.c index 6e68ae55d4a1..48c552fddd4d 100644 --- a/libmilter/listener.c +++ b/libmilter/listener.c @@ -9,7 +9,7 @@ */ #include -SM_RCSID("@(#)$Id: listener.c,v 8.124 2007/04/23 22:22:50 ca Exp $") +SM_RCSID("@(#)$Id: listener.c,v 8.126 2009/12/16 16:40:23 ca Exp $") /* ** listener.c -- threaded network listener @@ -777,8 +777,9 @@ mi_listener(conn, dbg, smfi, timeout, backlog) continue; scnt++; smi_log(SMI_LOG_ERR, - "%s: select() failed (%s), %s", - smfi->xxfi_name, sm_errstring(save_errno), + "%s: %s() failed (%s), %s", + smfi->xxfi_name, MI_POLLSELECT, + sm_errstring(save_errno), scnt >= MAX_FAILS_S ? "abort" : "try again"); MI_SLEEP(scnt); if (scnt >= MAX_FAILS_S) diff --git a/libmilter/main.c b/libmilter/main.c index faff4f8363db..d6e727959dcc 100644 --- a/libmilter/main.c +++ b/libmilter/main.c @@ -9,7 +9,7 @@ */ #include -SM_RCSID("@(#)$Id: main.c,v 8.83 2007/04/23 22:22:50 ca Exp $") +SM_RCSID("@(#)$Id: main.c,v 8.84 2008/09/02 05:37:06 ca Exp $") #define _DEFINE 1 #include "libmilter.h" @@ -52,7 +52,8 @@ smfi_register(smfilter) (void) sm_strlcpy(smfi->xxfi_name, smfilter.xxfi_name, len); /* compare milter version with hard coded version */ - if (smfi->xxfi_version != SMFI_VERSION && + if ((SM_LM_VRS_MAJOR(smfi->xxfi_version) != SM_LM_VRS_MAJOR(SMFI_VERSION) || + SM_LM_VRS_MINOR(smfi->xxfi_version) != SM_LM_VRS_MINOR(SMFI_VERSION)) && smfi->xxfi_version != 2 && smfi->xxfi_version != 3 && smfi->xxfi_version != 4) diff --git a/libmilter/worker.c b/libmilter/worker.c index fd4b66ec741d..28d404fa3a21 100644 --- a/libmilter/worker.c +++ b/libmilter/worker.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2004, 2007 Sendmail, Inc. and its suppliers. + * Copyright (c) 2003-2004, 2007, 2009 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set @@ -11,7 +11,7 @@ */ #include -SM_RCSID("@(#)$Id: worker.c,v 8.10 2007/12/03 22:06:05 ca Exp $") +SM_RCSID("@(#)$Id: worker.c,v 8.17 2009/06/15 15:34:54 ca Exp $") #include "libmilter.h" @@ -210,23 +210,7 @@ mi_close_session(ctx) SM_ASSERT(ctx != NULL); (void) mi_list_del_ctx(ctx); - if (ValidSocket(ctx->ctx_sd)) - { - (void) closesocket(ctx->ctx_sd); - ctx->ctx_sd = INVALID_SOCKET; - } - if (ctx->ctx_reply != NULL) - { - free(ctx->ctx_reply); - ctx->ctx_reply = NULL; - } - if (ctx->ctx_privdata != NULL) - { - smi_log(SMI_LOG_WARN, "%s: private data not NULL", - ctx->ctx_smfi->xxfi_name); - } - mi_clr_macros(ctx, 0); - free(ctx); + mi_clr_ctx(ctx); return MI_SUCCESS; } @@ -259,7 +243,7 @@ mi_pool_controller_init() if (pipe(Tskmgr.tm_p) != 0) { smi_log(SMI_LOG_ERR, "can't create event pipe: %s", - sm_errstring(r)); + sm_errstring(errno)); return MI_FAILURE; } @@ -328,6 +312,7 @@ mi_pool_controller(arg) int dim_pfd = 0; bool rebuild_set = true; int pcnt = 0; /* error count for poll() failures */ + time_t lastcheck; Tskmgr.tm_tid = sthread_get_id(); if (pthread_detach(Tskmgr.tm_tid) != 0) @@ -345,12 +330,12 @@ mi_pool_controller(arg) } dim_pfd = PFD_STEP; + lastcheck = time(NULL); for (;;) { SMFICTX_PTR ctx; int nfd, rfd, i; time_t now; - time_t lastcheck; POOL_LEV_DPRINTF(4, ("Let's %s again...", WAITFN)); @@ -364,20 +349,20 @@ mi_pool_controller(arg) /* check for timed out sessions? */ if (lastcheck + DT_CHECK_OLD_SESSIONS < now) { - SM_TAILQ_FOREACH(ctx, &WRK_CTX_HEAD, ctx_link) + ctx = SM_TAILQ_FIRST(&WRK_CTX_HEAD); + while (ctx != SM_TAILQ_END(&WRK_CTX_HEAD)) { + SMFICTX_PTR ctx_nxt; + + ctx_nxt = SM_TAILQ_NEXT(ctx, ctx_link); if (ctx->ctx_wstate == WKST_WAITING) { if (ctx->ctx_wait == 0) - { ctx->ctx_wait = now; - continue; - } - - /* if session timed out, close it */ - if (ctx->ctx_wait + OLD_SESSION_TIMEOUT - < now) + else if (ctx->ctx_wait + OLD_SESSION_TIMEOUT + < now) { + /* if session timed out, close it */ sfsistat (*fi_close) __P((SMFICTX *)); POOL_LEV_DPRINTF(4, @@ -389,10 +374,9 @@ mi_pool_controller(arg) (void) (*fi_close)(ctx); mi_close_session(ctx); - ctx = SM_TAILQ_FIRST(&WRK_CTX_HEAD); - continue; } } + ctx = ctx_nxt; } lastcheck = now; } @@ -465,6 +449,7 @@ mi_pool_controller(arg) } } } + rebuild_set = false; } TASKMGR_UNLOCK(); diff --git a/libsm/debug.c b/libsm/debug.c index f9281fd5e710..ea9cd846ace5 100644 --- a/libsm/debug.c +++ b/libsm/debug.c @@ -8,7 +8,7 @@ */ #include -SM_RCSID("@(#)$Id: debug.c,v 1.30 2004/08/03 20:10:26 ca Exp $") +SM_RCSID("@(#)$Id: debug.c,v 1.32 2009/09/20 05:38:46 ca Exp $") /* ** libsm debugging and tracing @@ -17,6 +17,10 @@ SM_RCSID("@(#)$Id: debug.c,v 1.30 2004/08/03 20:10:26 ca Exp $") #include #include +#if _FFR_DEBUG_PID_TIME +#include +#include +#endif /* _FFR_DEBUG_PID_TIME */ #include #include #include @@ -112,6 +116,11 @@ sm_debug_close() ** none. */ +#if _FFR_DEBUG_PID_TIME +SM_DEBUG_T SmDBGPidTime = SM_DEBUG_INITIALIZER("sm_trace_pid_time", + "@(#)$Debug: sm_trace_pid_time - print pid and time in debug $"); +#endif /* _FFR_DEBUG_PID_TIME */ + void #if SM_VA_STD sm_dprintf(char *fmt, ...) @@ -125,6 +134,26 @@ sm_dprintf(fmt, va_alist) if (SmDebugOutput == NULL) return; +#if _FFR_DEBUG_PID_TIME + /* note: this is ugly if the output isn't a full line! */ + if (sm_debug_active(&SmDBGPidTime, 1)) + { + static char str[32] = "[1900-00-00/00:00:00] "; + struct tm *tmp; + time_t currt; + + currt = time((time_t *)0); + tmp = localtime(&currt); + snprintf(str, sizeof(str), "[%d-%02d-%02d/%02d:%02d:%02d] ", + 1900 + tmp->tm_year, /* HACK */ + tmp->tm_mon + 1, + tmp->tm_mday, + tmp->tm_hour, tmp->tm_min, tmp->tm_sec); + sm_io_fprintf(SmDebugOutput, SmDebugOutput->f_timeout, + "%ld: %s ", (long) getpid(), str); + } +#endif /* _FFR_DEBUG_PID_TIME */ + SM_VA_START(ap, fmt); sm_io_vfprintf(SmDebugOutput, SmDebugOutput->f_timeout, fmt, ap); SM_VA_END(ap); diff --git a/libsm/ldap.c b/libsm/ldap.c index 252e5475378d..7ee57fcbb689 100644 --- a/libsm/ldap.c +++ b/libsm/ldap.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2007 Sendmail, Inc. and its suppliers. + * Copyright (c) 2001-2009 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set @@ -11,7 +11,7 @@ #define LDAP_DEPRECATED 1 #include -SM_RCSID("@(#)$Id: ldap.c,v 1.80 2007/10/12 00:19:44 ca Exp $") +SM_RCSID("@(#)$Id: ldap.c,v 1.83 2009/06/19 22:02:26 guenther Exp $") #if LDAPMAP # include @@ -1099,7 +1099,21 @@ sm_ldap_results(lmap, msgid, flags, delim, rpool, result, if (ret == 0) save_errno = ETIMEDOUT; else - save_errno = sm_ldap_geterrno(lmap->ldap_ld); + { + int rc; + + /* + ** We may have gotten an LDAP_RES_SEARCH_RESULT response + ** with an error inside it, so we have to extract that + ** with ldap_parse_result(). This can happen when talking + ** to an LDAP proxy whose backend has gone down. + */ + + save_errno = ldap_parse_result(lmap->ldap_ld, lmap->ldap_res, + &rc, NULL, NULL, NULL, NULL, 0); + if (save_errno == LDAP_SUCCESS) + save_errno = rc; + } if (save_errno != LDAP_SUCCESS) { statp = EX_TEMPFAIL; @@ -1370,9 +1384,16 @@ sm_ldap_setopts(ld, lmap) ldap_set_option(ld, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); ldap_set_option(ld, LDAP_OPT_SIZELIMIT, &lmap->ldap_sizelimit); ldap_set_option(ld, LDAP_OPT_TIMELIMIT, &lmap->ldap_timelimit); -# if _FFR_LDAP_NETWORK_TIMEOUT && defined(LDAP_OPT_NETWORK_TIMEOUT) - ldap_set_option(ld, LDAP_OPT_NETWORK_TIMEOUT, &lmap->ldap_networktmo); -# endif /* _FFR_LDAP_NETWORK_TIMEOUT && defined(LDAP_OPT_NETWORK_TIMEOUT) */ +# if _FFR_LDAP_NETWORK_TIMEOUT && defined(LDAP_OPT_NETWORK_TIMEOUT) + if (lmap->ldap_networktmo > 0) + { + struct timeval tmo; + + tmo.tv_sec = lmap->ldap_networktmo; + tmo.tv_usec = 0; + ldap_set_option(ld, LDAP_OPT_NETWORK_TIMEOUT, &tmo); + } +# endif /* _FFR_LDAP_NETWORK_TIMEOUT && defined(LDAP_OPT_NETWORK_TIMEOUT) */ # ifdef LDAP_OPT_RESTART ldap_set_option(ld, LDAP_OPT_RESTART, LDAP_OPT_ON); # endif /* LDAP_OPT_RESTART */ diff --git a/libsm/mbdb.c b/libsm/mbdb.c index ad0e7ccbd13f..3bb514df5164 100644 --- a/libsm/mbdb.c +++ b/libsm/mbdb.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2002 Sendmail, Inc. and its suppliers. + * Copyright (c) 2001-2003,2009 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set @@ -8,7 +8,7 @@ */ #include -SM_RCSID("@(#)$Id: mbdb.c,v 1.40 2003/12/10 03:19:07 gshapiro Exp $") +SM_RCSID("@(#)$Id: mbdb.c,v 1.41 2009/06/19 22:02:26 guenther Exp $") #include @@ -564,7 +564,20 @@ mbdb_ldap_lookup(name, user) entry = ldap_first_entry(LDAPLMAP.ldap_ld, LDAPLMAP.ldap_res); if (entry == NULL) { - save_errno = sm_ldap_geterrno(LDAPLMAP.ldap_ld); + int rc; + + /* + ** We may have gotten an LDAP_RES_SEARCH_RESULT response + ** with an error inside it, so we have to extract that + ** with ldap_parse_result(). This can happen when talking + ** to an LDAP proxy whose backend has gone down. + */ + + save_errno = ldap_parse_result(LDAPLMAP.ldap_ld, + LDAPLMAP.ldap_res, &rc, NULL, + NULL, NULL, NULL, 0); + if (save_errno == LDAP_SUCCESS) + save_errno = rc; if (save_errno == LDAP_SUCCESS) { errno = ENOENT; diff --git a/libsm/sem.c b/libsm/sem.c index 89394cbee4dd..83a54e32e1e0 100644 --- a/libsm/sem.c +++ b/libsm/sem.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2001, 2005 Sendmail, Inc. and its suppliers. + * Copyright (c) 2000-2001, 2005, 2008 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set @@ -8,11 +8,12 @@ */ #include -SM_RCSID("@(#)$Id: sem.c,v 1.13 2005/08/12 20:39:59 ca Exp $") +SM_RCSID("@(#)$Id: sem.c,v 1.14 2008/05/30 16:26:38 ca Exp $") #if SM_CONF_SEM # include # include +# include # include # include # include @@ -200,4 +201,45 @@ sm_sem_get(semid, semnum) return -1; return semval; } + +/* +** SM_SEMSETOWNER -- set owner/group/mode of semaphores. +** +** Parameters: +** semid -- id for semaphores. +** uid -- uid to use +** gid -- gid to use +** mode -- mode to use +** +** Returns: +** 0 on success. +** < 0 on failure. +*/ + +int +sm_semsetowner(semid, uid, gid, mode) + int semid; + uid_t uid; + gid_t gid; + mode_t mode; +{ + int r; + struct semid_ds semidds; + union semun { + int val; + struct semid_ds *buf; + ushort *array; + } arg; + + memset(&semidds, 0, sizeof(semidds)); + arg.buf = &semidds; + if ((r = semctl(semid, 1, IPC_STAT, arg)) < 0) + return r; + semidds.sem_perm.uid = uid; + semidds.sem_perm.gid = gid; + semidds.sem_perm.mode = mode; + if ((r = semctl(semid, 1, IPC_SET, arg)) < 0) + return r; + return 0; +} #endif /* SM_CONF_SEM */ diff --git a/libsm/t-sem.c b/libsm/t-sem.c index 24d056365fab..662b4f6d43cd 100644 --- a/libsm/t-sem.c +++ b/libsm/t-sem.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2001, 2005-2007 Sendmail, Inc. and its suppliers. + * Copyright (c) 2000-2001, 2005-2008 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set @@ -8,7 +8,7 @@ */ #include -SM_RCSID("@(#)$Id: t-sem.c,v 1.16 2007/03/21 23:22:10 ca Exp $") +SM_RCSID("@(#)$Id: t-sem.c,v 1.17 2008/05/30 16:26:38 ca Exp $") #include @@ -127,6 +127,20 @@ sem_cleanup(sig) exit(EX_UNAVAILABLE); } +static int +drop_priv(uid, gid) + uid_t uid; + gid_t gid; +{ + int r; + + r = setgid(gid); + if (r != 0) + return r; + r = setuid(uid); + return r; +} + /* ** SEMTEST -- test of semaphores ** @@ -141,12 +155,23 @@ sem_cleanup(sig) # define MAX_CNT 10 static int -semtest(owner) +semtest(owner, uid, gid) int owner; + uid_t uid; + gid_t gid; { int semid, r; int cnt = 0; + if (!owner && uid != 0) + { + r = drop_priv(uid, gid); + if (r < 0) + { + perror("drop_priv child failed"); + return -1; + } + } semid = sm_sem_start(T_SM_SEM_KEY, 1, 0, owner); if (semid < 0) { @@ -156,6 +181,22 @@ semtest(owner) if (owner) { + if (uid != 0) + { + r = sm_semsetowner(semid, uid, gid, 0660); + if (r < 0) + { + perror("sm_semsetowner failed"); + return -1; + } + r = drop_priv(uid, gid); + if (r < 0) + { + perror("drop_priv owner failed"); + return -1; + } + } + /* just in case someone kills the program... */ semid_c = semid; (void) sm_signal(SIGHUP, sem_cleanup); @@ -281,18 +322,31 @@ main(argc, argv) { bool interactive = false; bool owner = false; - int ch; - int r = 0; + int ch, r; + uid_t uid; + gid_t gid; -# define OPTIONS "io" + uid = 0; + gid = 0; + r = 0; + +# define OPTIONS "iog:u:" while ((ch = getopt(argc, argv, OPTIONS)) != -1) { switch ((char) ch) { + case 'g': + gid = (gid_t)strtoul(optarg, 0, 0); + break; + case 'i': interactive = true; break; + case 'u': + uid = (uid_t)strtoul(optarg, 0, 0); + break; + case 'o': owner = true; break; @@ -323,11 +377,11 @@ main(argc, argv) { /* give the parent the chance to setup data */ sleep(1); - r = semtest(false); + r = semtest(false, uid, gid); } else { - r = semtest(true); + r = semtest(true, uid, gid); } SM_TEST(r == 0); return sm_test_end(); diff --git a/libsmdb/smdb1.c b/libsmdb/smdb1.c index e45de7c7f8f8..842d4b2ecab7 100644 --- a/libsmdb/smdb1.c +++ b/libsmdb/smdb1.c @@ -1,5 +1,5 @@ /* -** Copyright (c) 1999-2002 Sendmail, Inc. and its suppliers. +** Copyright (c) 1999-2002, 2004, 2009 Sendmail, Inc. and its suppliers. ** All rights reserved. ** ** By using this file, you agree to the terms and conditions set @@ -8,7 +8,7 @@ */ #include -SM_RCSID("@(#)$Id: smdb1.c,v 8.59 2004/08/03 20:58:39 ca Exp $") +SM_RCSID("@(#)$Id: smdb1.c,v 8.62 2009/11/12 23:04:18 ca Exp $") #include #include @@ -397,15 +397,19 @@ smdb1_cursor(database, cursor, flags) if (db1->smdb1_cursor_in_use) return SMDBE_ONLY_SUPPORTS_ONE_CURSOR; - db1->smdb1_cursor_in_use = true; db1_cursor = (SMDB_DB1_CURSOR *) malloc(sizeof(SMDB_DB1_CURSOR)); - db1_cursor->db = db1; - - cur = (SMDB_CURSOR *) malloc(sizeof(SMDB_CURSOR)); - - if (cur == NULL) + if (db1_cursor == NULL) return SMDBE_MALLOC; + cur = (SMDB_CURSOR *) malloc(sizeof(SMDB_CURSOR)); + if (cur == NULL) + { + free(db1_cursor); + return SMDBE_MALLOC; + } + + db1->smdb1_cursor_in_use = true; + db1_cursor->db = db1; cur->smdbc_impl = db1_cursor; cur->smdbc_close = smdb1_cursor_close; cur->smdbc_del = smdb1_cursor_del; @@ -502,7 +506,12 @@ smdb_db_open(database, db_name, mode, mode_mask, sff, type, user_info, smdb_db = smdb_malloc_database(); db1 = smdb1_malloc_database(); if (smdb_db == NULL || db1 == NULL) + { + (void) smdb_unlock_file(lock_fd); + smdb_free_database(smdb_db); + free(db1); return SMDBE_MALLOC; + } db1->smdb1_lock_fd = lock_fd; params = NULL; diff --git a/libsmdb/smdb2.c b/libsmdb/smdb2.c index be07d636b47f..15806619ee58 100644 --- a/libsmdb/smdb2.c +++ b/libsmdb/smdb2.c @@ -1,5 +1,5 @@ /* -** Copyright (c) 1999-2003 Sendmail, Inc. and its suppliers. +** Copyright (c) 1999-2003, 2009 Sendmail, Inc. and its suppliers. ** All rights reserved. ** ** By using this file, you agree to the terms and conditions set @@ -8,7 +8,7 @@ */ #include -SM_RCSID("@(#)$Id: smdb2.c,v 8.79 2003/06/13 21:33:11 ca Exp $") +SM_RCSID("@(#)$Id: smdb2.c,v 8.80 2009/11/12 23:07:49 ca Exp $") #include #include @@ -620,12 +620,13 @@ smdb_db_open(database, db_name, mode, mode_mask, sff, type, user_info, db_params } smdb_db = smdb_malloc_database(); - if (smdb_db == NULL) - return SMDBE_MALLOC; - db2 = smdb2_malloc_database(); - if (db2 == NULL) + if (db2 == NULL || smdb_db == NULL) + { + smdb_unlock_file(lock_fd); + smdb_free_database(smdb_db); /* ok to be NULL */ return SMDBE_MALLOC; + } db2->smdb2_lock_fd = lock_fd; diff --git a/libsmutil/safefile.c b/libsmutil/safefile.c index 8488534280e3..f299e1053556 100644 --- a/libsmutil/safefile.c +++ b/libsmutil/safefile.c @@ -15,7 +15,7 @@ #include #include -SM_RCSID("@(#)$Id: safefile.c,v 8.128 2004/09/30 18:15:49 ca Exp $") +SM_RCSID("@(#)$Id: safefile.c,v 8.129 2008/08/04 18:07:04 gshapiro Exp $") /* @@ -699,7 +699,6 @@ safeopen(fn, omode, cmode, sff) if (bitset(O_CREAT, omode)) sff |= SFF_CREAT; omode &= ~O_CREAT; - smode = 0; switch (omode & O_ACCMODE) { case O_RDONLY: diff --git a/praliases/praliases.0 b/praliases/praliases.0 index 03047014c848..28b474f1e65f 100644 --- a/praliases/praliases.0 +++ b/praliases/praliases.0 @@ -15,10 +15,12 @@ DDEESSCCRRIIPPTTIIOONN The options are as follows: - --CC Read the specified sendmail configuration file instead of the + --CC _f_i_l_e + Read the specified sendmail configuration file instead of the default sseennddmmaaiill configuration file. - --ff Read the specified file instead of the configured sseennddmmaaiill sys- + --ff _f_i_l_e + Read the specified file instead of the configured sseennddmmaaiill sys- tem aliases file(s). If one or more keys are specified on the command line, only entries @@ -34,4 +36,4 @@ SSEEEE AALLSSOO - $Date: 2000/12/15 19:53:45 $ PRALIASES(8) + $Date: 2008/07/10 20:13:10 $ PRALIASES(8) diff --git a/praliases/praliases.8 b/praliases/praliases.8 index 2c78cacff533..1f11014f41c6 100644 --- a/praliases/praliases.8 +++ b/praliases/praliases.8 @@ -1,4 +1,4 @@ -.\" Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers. +.\" Copyright (c) 1998-2000, 2008 Sendmail, Inc. and its suppliers. .\" All rights reserved. .\" .\" By using this file, you agree to the terms and conditions set @@ -6,9 +6,9 @@ .\" the sendmail distribution. .\" .\" -.\" $Id: praliases.8,v 8.17 2000/12/15 19:53:45 gshapiro Exp $ +.\" $Id: praliases.8,v 8.19 2008/07/10 20:13:10 ca Exp $ .\" -.TH PRALIASES 8 "$Date: 2000/12/15 19:53:45 $" +.TH PRALIASES 8 "$Date: 2008/07/10 20:13:10 $" .SH NAME praliases \- display system mail aliases @@ -30,12 +30,12 @@ The special internal @:@ alias will be displayed if present. .PP The options are as follows: .TP -.B \-C +.BI "\-C " file Read the specified sendmail configuration file instead of the default .B sendmail configuration file. .TP -.B \-f +.BI "\-f " file Read the specified file instead of the configured .B sendmail system aliases file(s). diff --git a/praliases/praliases.c b/praliases/praliases.c index 984981ff77a9..d0ee54e37a07 100644 --- a/praliases/praliases.c +++ b/praliases/praliases.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2001, 2008 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -20,7 +20,7 @@ SM_IDSTR(copyright, Copyright (c) 1988, 1993\n\ The Regents of the University of California. All rights reserved.\n") -SM_IDSTR(id, "@(#)$Id: praliases.c,v 8.94 2007/05/11 18:50:36 ca Exp $") +SM_IDSTR(id, "@(#)$Id: praliases.c,v 8.96 2008/07/10 20:13:10 ca Exp $") #include #include @@ -99,7 +99,8 @@ main(argc, argv) case '?': default: (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT, - "usage: praliases [-C cffile] [-f aliasfile]\n"); + "usage: praliases [-C cffile] [-f aliasfile]" + " [key ...]\n"); exit(EX_USAGE); } } diff --git a/src/Makefile.m4 b/src/Makefile.m4 index fd015b4937a3..0fa337467d49 100644 --- a/src/Makefile.m4 +++ b/src/Makefile.m4 @@ -1,4 +1,4 @@ -dnl $Id: Makefile.m4,v 8.115 2008/03/27 16:13:33 ca Exp $ +dnl $Id: Makefile.m4,v 8.121 2009/12/15 22:39:23 ca Exp $ include(confBUILDTOOLSDIR`/M4/switch.m4') define(`confREQUIRE_LIBSM', `true') diff --git a/src/README b/src/README index 34313fc8506c..9c4628ffede4 100644 --- a/src/README +++ b/src/README @@ -9,7 +9,7 @@ # the sendmail distribution. # # -# $Id: README,v 8.391 2008/02/12 16:38:21 ca Exp $ +# $Id: README,v 8.392 2009/04/10 17:49:19 gshapiro Exp $ # This directory contains the source files for sendmail(TM). @@ -32,6 +32,7 @@ For detailed instructions, please read the document ../doc/op/op.me: cd ../doc/op ; make op.ps op.txt Sendmail is a trademark of Sendmail, Inc. +US Patent Numbers 6865671, 6986037. +-------------------+ @@ -1847,4 +1848,4 @@ util.c Some general purpose routines used by sendmail. version.c The version number and information about this version of sendmail. -(Version $Revision: 8.391 $, last update $Date: 2008/02/12 16:38:21 $ ) +(Version $Revision: 8.392 $, last update $Date: 2009/04/10 17:49:19 $ ) diff --git a/src/TRACEFLAGS b/src/TRACEFLAGS index a6249fd2c477..6fdfdd97df1d 100644 --- a/src/TRACEFLAGS +++ b/src/TRACEFLAGS @@ -1,4 +1,4 @@ -# $Id: TRACEFLAGS,v 8.47 2006/09/11 22:36:32 ca Exp $ +# $Id: TRACEFLAGS,v 8.48 2008/11/03 21:09:26 gshapiro Exp $ 0, 4 main.c main canonical name, UUCP node name, a.k.a.s 0, 15 main.c main print configuration 0, 44 util.c printav print address of each string @@ -86,6 +86,7 @@ 70 queue.c quarantining 71,>99 milter.c quarantine on errors 73 queue.c shared memory updates +74,>99 map.c LDAP map defer 80 content length 81 sun remote mode 83 collect.c timeout diff --git a/src/collect.c b/src/collect.c index 0a2cdaba83eb..f5d72477c510 100644 --- a/src/collect.c +++ b/src/collect.c @@ -13,7 +13,7 @@ #include -SM_RCSID("@(#)$Id: collect.c,v 8.282 2008/01/31 18:48:29 ca Exp $") +SM_RCSID("@(#)$Id: collect.c,v 8.284 2008/08/06 05:26:24 ca Exp $") static void eatfrom __P((char *volatile, ENVELOPE *)); static void collect_doheader __P((ENVELOPE *)); @@ -847,6 +847,9 @@ readerr: } /* Log collection information. */ + if (tTd(92, 2)) + sm_dprintf("collect: e_id=%s, EF_LOGSENDER=%d, LogLevel=%d\n", + e->e_id, bitset(EF_LOGSENDER, e->e_flags), LogLevel); if (bitset(EF_LOGSENDER, e->e_flags) && LogLevel > 4) { logsender(e, e->e_msgid); diff --git a/src/conf.c b/src/conf.c index bf9705712c44..8d8f9ed6b147 100644 --- a/src/conf.c +++ b/src/conf.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2008 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2009 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -13,7 +13,7 @@ #include -SM_RCSID("@(#)$Id: conf.c,v 8.1141 2008/04/14 02:09:35 ca Exp $") +SM_RCSID("@(#)$Id: conf.c,v 8.1153 2009/12/18 17:25:12 ca Exp $") #include #include @@ -392,6 +392,9 @@ setdefaults(e) #if REQUIRES_DIR_FSYNC RequiresDirfsync = true; #endif /* REQUIRES_DIR_FSYNC */ +#if _FFR_RCPTTHROTDELAY + BadRcptThrottleDelay = 1; +#endif /* _FFR_RCPTTHROTDELAY */ ConnectionRateWindowSize = 60; setupmaps(); setupqueues(); @@ -782,7 +785,7 @@ inithostmaps() else if (strcmp(maptype[i], "ldap") == 0 && stab("aliases.ldap", ST_MAP, ST_FIND) == NULL) { - (void) strlcpy(buf, "aliases.ldap ldap -b . -h localhost -k mail=%0 -v mailgroup", + (void) sm_strlcpy(buf, "aliases.ldap ldap -b . -h localhost -k mail=%0 -v mailgroup", sizeof buf); (void) makemapentry(buf); } @@ -968,7 +971,10 @@ switch_map_find(service, maptype, mapreturn) p = strpbrk(buf, "#\n"); if (p != NULL) *p = '\0'; - p = strpbrk(buf, " \t"); +#ifndef SM_NSSWITCH_DELIMS +# define SM_NSSWITCH_DELIMS " \t" +#endif /* SM_NSSWITCH_DELIMS */ + p = strpbrk(buf, SM_NSSWITCH_DELIMS); if (p != NULL) *p++ = '\0'; if (buf[0] == '\0') @@ -981,7 +987,7 @@ switch_map_find(service, maptype, mapreturn) buf); continue; } - while (isspace(*p)) + while (isascii(*p) && isspace(*p)) p++; if (*p == '\0') continue; @@ -1007,7 +1013,7 @@ switch_map_find(service, maptype, mapreturn) if (p == NULL) break; *p++ = '\0'; - while (isspace(*p)) + while (isascii(*p) && isspace(*p)) p++; } if (svcno < MAXMAPSTACK) @@ -2282,7 +2288,8 @@ refuseconnections(e, dn, active) # define MIN_DELAY_LOG 90 /* wait before logging this again */ # define D_MSG_LA "delaying connections on daemon %s: load average=%d >= %d" /* sleep to flatten out connection load */ - sm_setproctitle(true, e, D_MSG_LA, Daemons[dn].d_name, limit); + sm_setproctitle(true, e, D_MSG_LA, Daemons[dn].d_name, + CurrentLA, limit); if (LogLevel > 8 && (now = curtime()) > log_delay) { sm_syslog(LOG_INFO, NOQID, D_MSG_LA, @@ -3374,6 +3381,10 @@ enoughdiskspace(msize, e) { int i; +#if _FFR_TESTS + if (tTd(4, 101)) + return false; +#endif /* _FFR_TESTS */ if (MinBlocksFree <= 0 && msize <= 0) { if (tTd(4, 80)) @@ -4074,7 +4085,7 @@ strtol(nptr, endptr, base) */ do { c = *s++; - } while (isspace(c)); + } while (isascii(c) && isspace(c)); if (c == '-') { neg = 1; c = *s++; @@ -4110,9 +4121,9 @@ strtol(nptr, endptr, base) cutlim = cutoff % (unsigned long) base; cutoff /= (unsigned long) base; for (acc = 0, any = 0;; c = *s++) { - if (isdigit(c)) + if (isascii(c) && isdigit(c)) c -= '0'; - else if (isalpha(c)) + else if (isascii(c) && isalpha(c)) c -= isupper(c) ? 'A' - 10 : 'a' - 10; else break; @@ -6043,6 +6054,10 @@ char *FFRCompileOptions[] = /* Deal with MTAs that send a reply during the DATA phase. */ "_FFR_CATCH_BROKEN_MTAS", #endif /* _FFR_CATCH_BROKEN_MTAS */ +#if _FFR_CHECKCONFIG + /* New OpMode to check the configuration file */ + "_FFR_CHECKCONFIG", +#endif /* _FFR_CHECKCONFIG */ #if _FFR_CHK_QUEUE /* Stricter checks about queue directory permissions. */ "_FFR_CHK_QUEUE", @@ -6117,6 +6132,10 @@ char *FFRCompileOptions[] = /* EightBitAddrOK: allow 8-bit e-mail addresses */ "_FFR_EIGHT_BIT_ADDR_OK", #endif /* _FFR_EIGHT_BIT_ADDR_OK */ +#if _FFR_EXPDELAY + /* exponential queue delay */ + "_FFR_EXPDELAY", +#endif /* _FFR_EXPDELAY */ #if _FFR_EXTRA_MAP_CHECK /* perform extra checks on $( $) in R lines */ "_FFR_EXTRA_MAP_CHECK", @@ -6175,10 +6194,17 @@ char *FFRCompileOptions[] = /* Ignore extensions offered in response to HELO */ "_FFR_IGNORE_EXT_ON_HELO", #endif /* _FFR_IGNORE_EXT_ON_HELO */ +#if _FFR_LINUX_MHNL + /* Set MAXHOSTNAMELEN to 256 (Linux) */ + "_FFR_LINUX_MHNL", +#endif /* _FFR_LINUX_MHNL */ #if _FFR_LOCAL_DAEMON /* Local daemon mode (-bl) which only accepts loopback connections */ "_FFR_LOCAL_DAEMON", #endif /* _FFR_LOCAL_DAEMON */ +#if _FFR_MAIL_MACRO + "_FFR_MAIL_MACRO", +#endif /* _FFR_MAIL_MACRO */ #if _FFR_MAXDATASIZE /* ** It is possible that a header is larger than MILTER_CHUNK_SIZE, @@ -6199,6 +6225,10 @@ char *FFRCompileOptions[] = /* Limit sleep(2) time in libsm/clock.c */ "_FFR_MAX_SLEEP_TIME", #endif /* _FFR_MAX_SLEEP_TIME */ +#if _FFR_MDS_NEGOTIATE + /* MaxDataSize negotation with libmilter */ + "_FFR_MDS_NEGOTIATE", +#endif /* _FFR_MDS_NEGOTIATE */ #if _FFR_MEMSTAT /* Check free memory */ "_FFR_MEMSTAT", @@ -6232,6 +6262,10 @@ char *FFRCompileOptions[] = "_FFR_MILTER_CHECK_REJECTIONS_TOO", #endif /* _FFR_MILTER_CHECK_REJECTIONS_TOO */ +#if _FFR_MILTER_ENHSC + /* extract enhanced status code from milter replies for dsn= logging */ + "_FFR_MILTER_ENHSC", +#endif /* _FFR_MILTER_ENHSC */ #if _FFR_MIME7TO8_OLD /* Old mime7to8 code, the new is broken for at least one example. */ "_FFR_MIME7TO8_OLD", @@ -6285,6 +6319,10 @@ char *FFRCompileOptions[] = /* Debug output for the queue scheduler. */ "_FFR_QUEUE_SCHED_DBG", #endif /* _FFR_QUEUE_SCHED_DBG */ +#if _FFR_RCPTTHROTDELAY + /* configurable delay for BadRcptThrottle */ + "_FFR_RCPTTHROTDELAY" +#endif /* _FFR_RCPTTHROTDELAY */ #if _FFR_REDIRECTEMPTY /* ** envelope <> can't be sent to mailing lists, only owner- @@ -6361,6 +6399,10 @@ char *FFRCompileOptions[] = /* SuperSafe per DaemonPortOptions: 'T' (better letter?) */ "_FFR_SS_PER_DAEMON", #endif /* _FFR_SS_PER_DAEMON */ +#if _FFR_TESTS + /* enable some test code */ + "_FFR_TESTS", +#endif /* _FFR_TESTS */ #if _FFR_TIMERS /* Donated code (unused). */ "_FFR_TIMERS", diff --git a/src/conf.h b/src/conf.h index f1386c4b61f6..dff37ff99fee 100644 --- a/src/conf.h +++ b/src/conf.h @@ -10,7 +10,7 @@ * the sendmail distribution. * * - * $Id: conf.h,v 8.574 2006/11/29 00:36:06 ca Exp $ + * $Id: conf.h,v 8.575 2009/03/25 20:04:00 ca Exp $ */ /* @@ -123,9 +123,18 @@ struct rusage; /* forward declaration to get gcc to shut up in wait.h */ #define DATA_PROGRESS_TIMEOUT 300 /* how often to check DATA progress */ #define ENHSCLEN 10 /* max len of enhanced status code */ #define DEFAULT_MAX_RCPT 100 /* max number of RCPTs per envelope */ -#define MAXQUEUEGROUPS 50 /* max # of queue groups */ +#ifndef MAXQUEUEGROUPS +# define MAXQUEUEGROUPS 50 /* max # of queue groups */ /* must be less than BITMAPBITS for DoQueueRun */ -#define MAXWORKGROUPS 50 /* max # of work groups */ +#endif /* MAXQUEUEGROUPS */ +#if MAXQUEUEGROUPS >= BITMAPBITS + ERROR _MAXQUEUEGROUPS must be less than _BITMAPBITS +#endif /* MAXQUEUEGROUPS >= BITMAPBITS */ + +#ifndef MAXWORKGROUPS +# define MAXWORKGROUPS 50 /* max # of work groups */ +#endif /* MAXWORKGROUPS */ + #define MAXFILESYS BITMAPBITS /* max # of queue file systems * must be <= BITMAPBITS */ #ifndef FILESYS_UPDATE_INTERVAL diff --git a/src/daemon.c b/src/daemon.c index 06a36c7e6487..983ad2fe3ede 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2007 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2007, 2009 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -14,7 +14,7 @@ #include #include "map.h" -SM_RCSID("@(#)$Id: daemon.c,v 8.680 2008/02/14 00:20:26 ca Exp $") +SM_RCSID("@(#)$Id: daemon.c,v 8.683 2009/12/18 01:12:40 ca Exp $") #if defined(SOCK_STREAM) || defined(__GNU_LIBRARY__) # define USE_SOCK_STREAM 1 @@ -199,7 +199,7 @@ getrequests(e) if (tTd(15, 1)) { for (idx = 0; idx < NDaemons; idx++) - sm_dprintf("getrequests: daemon %s: %d\n", + sm_dprintf("getrequests: daemon %s: socket %d\n", Daemons[idx].d_name, Daemons[idx].d_socket); } @@ -2161,7 +2161,8 @@ makeconnection(host, port, mci, e, enough) case AF_INET: clt_addr.sin.sin_addr.s_addr = inet_addr(p); if (clt_addr.sin.sin_addr.s_addr != INADDR_NONE && - clt_addr.sin.sin_addr.s_addr != INADDR_LOOPBACK) + clt_addr.sin.sin_addr.s_addr != + htonl(INADDR_LOOPBACK)) { clt_bind = true; socksize = sizeof(struct sockaddr_in); @@ -2342,7 +2343,7 @@ makeconnection(host, port, mci, e, enough) } } gothostent: - if (hp == NULL) + if (hp == NULL || hp->h_addr == NULL) { #if NAMED_BIND /* check for name server timeouts */ diff --git a/src/deliver.c b/src/deliver.c index ed60e47a3c96..0322c956ef2b 100644 --- a/src/deliver.c +++ b/src/deliver.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2007 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2008 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -14,7 +14,7 @@ #include #include -SM_RCSID("@(#)$Id: deliver.c,v 8.1015 2007/10/17 21:35:30 ca Exp $") +SM_RCSID("@(#)$Id: deliver.c,v 8.1020 2009/12/18 17:08:01 ca Exp $") #if HASSETUSERCONTEXT # include @@ -575,12 +575,12 @@ sendall(e, mode) #endif /* HASFLOCK */ if (e->e_nrcpts > 0) e->e_flags |= EF_INQUEUE; - dropenvelope(e, splitenv != NULL, true); + (void) dropenvelope(e, splitenv != NULL, true); for (ee = splitenv; ee != NULL; ee = ee->e_sibling) { if (ee->e_nrcpts > 0) ee->e_flags |= EF_INQUEUE; - dropenvelope(ee, false, true); + (void) dropenvelope(ee, false, true); } return; @@ -602,7 +602,7 @@ sendall(e, mode) /* now drop the envelope in the parent */ e->e_flags |= EF_INQUEUE; - dropenvelope(e, splitenv != NULL, false); + (void) dropenvelope(e, splitenv != NULL, false); /* arrange to reacquire lock after fork */ e->e_id = qid; @@ -615,7 +615,7 @@ sendall(e, mode) /* drop envelope in parent */ ee->e_flags |= EF_INQUEUE; - dropenvelope(ee, false, false); + (void) dropenvelope(ee, false, false); /* and save qid for reacquisition */ ee->e_id = qid; @@ -762,14 +762,14 @@ sendall(e, mode) } sendenvelope(e, mode); - dropenvelope(e, true, true); + (void) dropenvelope(e, true, true); for (ee = splitenv; ee != NULL; ee = ee->e_sibling) { CurEnv = ee; if (mode != SM_VERIFY) openxscript(ee); sendenvelope(ee, mode); - dropenvelope(ee, true, true); + (void) dropenvelope(ee, true, true); } CurEnv = e; @@ -1391,7 +1391,7 @@ deliver(e, firstto) else p = e->e_from.q_paddr; rpath = remotename(p, m, RF_SENDERADDR|RF_CANONICAL, &rcode, e); - if (strlen(rpath) > MAXSHORTSTR) + if (strlen(rpath) > MAXNAME) { rpath = shortenstring(rpath, MAXSHORTSTR); @@ -2978,7 +2978,7 @@ reconnect: /* after switching to an encrypted connection */ char *s; /* - ** TLS negotation failed, what to do? + ** TLS negotiation failed, what to do? ** fall back to unencrypted connection ** or abort? How to decide? ** set a macro and call a ruleset. @@ -3021,7 +3021,7 @@ reconnect: /* after switching to an encrypted connection */ /* ** rcode == EX_SOFTWARE is special: - ** the TLS negotation failed + ** the TLS negotiation failed ** we have to drop the connection no matter what ** However, we call tls_server to give it the chance ** to log the problem and return an appropriate @@ -6075,8 +6075,9 @@ initclttls(tls_ok) return false; if (clt_ctx != NULL) return true; /* already done */ - tls_ok_clt = inittls(&clt_ctx, TLS_I_CLT, false, CltCertFile, - CltKeyFile, CACertPath, CACertFile, DHParams); + tls_ok_clt = inittls(&clt_ctx, TLS_I_CLT, Clt_SSL_Options, false, + CltCertFile, CltKeyFile, + CACertPath, CACertFile, DHParams); return tls_ok_clt; } @@ -6108,6 +6109,16 @@ starttls(m, mci, e) if (clt_ctx == NULL && !initclttls(true)) return EX_TEMPFAIL; + +# if USE_OPENSSL_ENGINE + if (!SSL_set_engine(NULL)) + { + sm_syslog(LOG_ERR, NOQID, + "STARTTLS=client, SSL_set_engine=failed"); + return EX_TEMPFAIL; + } +# endif /* USE_OPENSSL_ENGINE */ + smtpmessage("STARTTLS", m, mci); /* get the reply */ diff --git a/src/envelope.c b/src/envelope.c index 641c621a416c..022c3ca8b2d6 100644 --- a/src/envelope.c +++ b/src/envelope.c @@ -13,7 +13,7 @@ #include -SM_RCSID("@(#)$Id: envelope.c,v 8.305 2008/03/31 16:32:13 ca Exp $") +SM_RCSID("@(#)$Id: envelope.c,v 8.310 2009/12/18 17:08:01 ca Exp $") /* ** CLRSESSENVELOPE -- clear session oriented data in an envelope @@ -163,14 +163,14 @@ newenvelope(e, parent, rpool) ** split -- if true, split by recipient if message is queued up ** ** Returns: -** none. +** EX_* status (currently: 0: success, EX_IOERR on panic) ** ** Side Effects: ** housekeeping necessary to dispose of an envelope. ** Unlocks this queue file. */ -void +int dropenvelope(e, fulldrop, split) register ENVELOPE *e; bool fulldrop; @@ -209,12 +209,15 @@ dropenvelope(e, fulldrop, split) /* we must have an id to remove disk files */ if (id == NULL) - return; + return EX_OK; /* if verify-only mode, we can skip most of this */ if (OpMode == MD_VERIFY) goto simpledrop; + if (tTd(92, 2)) + sm_dprintf("dropenvelope: e_id=%s, EF_LOGSENDER=%d, LogLevel=%d\n", + e->e_id, bitset(EF_LOGSENDER, e->e_flags), LogLevel); if (LogLevel > 4 && bitset(EF_LOGSENDER, e->e_flags)) logsender(e, NULL); e->e_flags &= ~EF_LOGSENDER; @@ -618,7 +621,11 @@ simpledrop: } e->e_id = NULL; e->e_flags &= ~EF_HAS_DF; + if (panic) + return EX_IOERR; + return EX_OK; } + /* ** CLEARENVELOPE -- clear an envelope without unlocking ** @@ -714,6 +721,9 @@ clearenvelope(e, fullclear, rpool) bh = bh->h_link; nhp = &(*nhp)->h_link; } +#if _FFR_MILTER_ENHSC + e->e_enhsc[0] = '\0'; +#endif /* _FFR_MILTER_ENHSC */ } /* ** INITSYS -- initialize instantiation of system diff --git a/src/headers.c b/src/headers.c index 8e70fed7618e..c4bdc8770025 100644 --- a/src/headers.c +++ b/src/headers.c @@ -14,7 +14,7 @@ #include #include -SM_RCSID("@(#)$Id: headers.c,v 8.312 2007/06/19 18:52:11 ca Exp $") +SM_RCSID("@(#)$Id: headers.c,v 8.317 2008/08/27 20:11:55 gshapiro Exp $") static HDR *allocheader __P((char *, char *, int, SM_RPOOL_T *, bool)); static size_t fix_mime_header __P((HDR *, ENVELOPE *)); @@ -715,7 +715,16 @@ hvalue(field, header) { if (!bitset(H_DEFAULT, h->h_flags) && sm_strcasecmp(h->h_field, field) == 0) - return h->h_value; + { + char *s; + + s = h->h_value; + if (s == NULL) + return NULL; + while (isascii(*s) && isspace(*s)) + s++; + return s; + } } return NULL; } @@ -1065,6 +1074,10 @@ eatheader(e, full, log) ** Log collection information. */ + if (tTd(92, 2)) + sm_dprintf("eatheader: e_id=%s, EF_LOGSENDER=%d, LogLevel=%d, log=%d\n", + e->e_id, bitset(EF_LOGSENDER, e->e_flags), LogLevel, + log); if (log && bitset(EF_LOGSENDER, e->e_flags) && LogLevel > 4) { logsender(e, e->e_msgid); diff --git a/src/main.c b/src/main.c index d68d5b590d6b..1bbb070dace6 100644 --- a/src/main.c +++ b/src/main.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2006, 2008 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2006, 2008, 2009 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -26,7 +26,7 @@ SM_UNUSED(static char copyright[]) = The Regents of the University of California. All rights reserved.\n"; #endif /* ! lint */ -SM_RCSID("@(#)$Id: main.c,v 8.967 2008/03/31 16:32:13 ca Exp $") +SM_RCSID("@(#)$Id: main.c,v 8.971 2009/12/18 17:08:01 ca Exp $") #if NETINET || NETINET6 @@ -129,7 +129,7 @@ int SyslogPrefixLen; /* estimated length of syslog prefix */ { \ if (extraprivs && \ OpMode != MD_DELIVER && OpMode != MD_SMTP && \ - OpMode != MD_ARPAFTP && \ + OpMode != MD_ARPAFTP && OpMode != MD_CHECKCONFIG && \ OpMode != MD_VERIFY && OpMode != MD_TEST) \ { \ (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT, \ @@ -401,6 +401,9 @@ main(argc, argv, envp) case MD_HOSTSTAT: case MD_PURGESTAT: case MD_ARPAFTP: +#if _FFR_CHECKCONFIG + case MD_CHECKCONFIG: +#endif /* _FFR_CHECKCONFIG */ OpMode = j; break; @@ -1192,7 +1195,7 @@ main(argc, argv, envp) } /* if we've had errors so far, exit now */ - if ((ExitStat != EX_OK && OpMode != MD_TEST) || + if ((ExitStat != EX_OK && OpMode != MD_TEST && OpMode != MD_CHECKCONFIG) || ExitStat == EX_OSERR) { finis(false, true, ExitStat); @@ -1566,6 +1569,7 @@ main(argc, argv, envp) break; case MD_TEST: + case MD_CHECKCONFIG: case MD_PRINT: case MD_PRINTNQE: case MD_FREEZE: @@ -1626,6 +1630,9 @@ main(argc, argv, envp) case MD_TEST: /* don't have persistent host status in test mode */ HostStatDir = NULL; + /* FALLTHROUGH */ + + case MD_CHECKCONFIG: if (Verbose == 0) Verbose = 2; BlankEnvelope.e_errormode = EM_PRINT; @@ -1933,8 +1940,8 @@ main(argc, argv, envp) } } - /* if we've had errors so far, exit now */ - if (ExitStat != EX_OK && OpMode != MD_TEST) + /* if checking config or have had errors so far, exit now */ + if (OpMode == MD_CHECKCONFIG || (ExitStat != EX_OK && OpMode != MD_TEST)) { finis(false, true, ExitStat); /* NOTREACHED */ @@ -1958,7 +1965,7 @@ main(argc, argv, envp) case MD_PRINT: /* print the queue */ HoldErrs = false; - dropenvelope(&BlankEnvelope, true, false); + (void) dropenvelope(&BlankEnvelope, true, false); (void) sm_signal(SIGPIPE, sigpipe); if (qgrp != NOQGRP) { @@ -1981,7 +1988,7 @@ main(argc, argv, envp) case MD_PRINTNQE: /* print number of entries in queue */ - dropenvelope(&BlankEnvelope, true, false); + (void) dropenvelope(&BlankEnvelope, true, false); (void) sm_signal(SIGPIPE, sigpipe); printnqe(smioout, NULL); finis(false, true, EX_OK); @@ -2133,8 +2140,8 @@ main(argc, argv, envp) else if (OpMode == MD_DAEMON || OpMode == MD_FGDAEMON || OpMode == MD_SMTP) { - /* check whether STARTTLS is turned off for the server */ - if (chkdaemonmodifiers(D_NOTLS)) + /* check whether STARTTLS is turned off */ + if (chkdaemonmodifiers(D_NOTLS) && chkclientmodifiers(D_NOTLS)) tls_ok = false; } else /* other modes don't need STARTTLS */ @@ -2530,7 +2537,7 @@ main(argc, argv, envp) } } } - dropenvelope(&MainEnvelope, true, false); + (void) dropenvelope(&MainEnvelope, true, false); #if STARTTLS /* init TLS for server, ignore result for now */ @@ -2952,7 +2959,11 @@ finis(drop, cleanup, exitstat) { if (CurEnv->e_id != NULL) { - dropenvelope(CurEnv, true, false); + int r; + + r = dropenvelope(CurEnv, true, false); + if (exitstat == EX_OK) + exitstat = r; sm_rpool_free(CurEnv->e_rpool); CurEnv->e_rpool = NULL; diff --git a/src/map.c b/src/map.c index 4248fd90f519..be88685babd9 100644 --- a/src/map.c +++ b/src/map.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2007 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2008 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1992, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1992, 1993 @@ -13,7 +13,7 @@ #include -SM_RCSID("@(#)$Id: map.c,v 8.699 2007/10/10 00:06:45 ca Exp $") +SM_RCSID("@(#)$Id: map.c,v 8.705 2009/08/11 22:22:40 ca Exp $") #if LDAPMAP # include @@ -730,7 +730,7 @@ getcanonname(host, hbsize, trymx, pttl) int mapno; bool found = false; bool got_tempfail = false; - auto int status; + auto int status = EX_UNAVAILABLE; char *maptype[MAXMAPSTACK]; short mapreturn[MAXMAPACTIONS]; #if defined(SUN_EXTENSIONS) && defined(SUN_INIT_DOMAIN) @@ -1710,7 +1710,7 @@ lockdbm: { map->map_mflags |= MF_OPEN; map->map_pid = CurrentPid; - if ((omode && O_ACCMODE) == O_RDWR) + if ((omode & O_ACCMODE) == O_RDWR) map->map_mflags |= MF_WRITABLE; goto lockdbm; } @@ -2359,7 +2359,7 @@ db_map_lookup(map, name, av, statp) { map->map_mflags |= MF_OPEN; map->map_pid = CurrentPid; - if ((omode && O_ACCMODE) == O_RDWR) + if ((omode & O_ACCMODE) == O_RDWR) map->map_mflags |= MF_WRITABLE; db = (DB *) map->map_db2; goto lockdb; @@ -3415,6 +3415,18 @@ ldapmap_open(map, mode) else id = "localhost"; + if (tTd(74, 104)) + { + extern MAPCLASS NullMapClass; + + /* debug mode: don't actually open an LDAP connection */ + map->map_orgclass = map->map_class; + map->map_class = &NullMapClass; + map->map_mflags |= MF_OPEN; + map->map_pid = CurrentPid; + return true; + } + /* No connection yet, connect */ if (!sm_ldap_start(map->map_mname, lmap)) { @@ -3514,12 +3526,12 @@ sunet_id_hash(str) p_last = p; while (*p != '\0') { - if (islower(*p) || isdigit(*p)) + if (isascii(*p) && (islower(*p) || isdigit(*p))) { *p_last = *p; p_last++; } - else if (isupper(*p)) + else if (isascii(*p) && isupper(*p)) { *p_last = tolower(*p); p_last++; @@ -3967,6 +3979,10 @@ ldapmap_parseargs(map, args) map->map_coldelim = ' '; } +# if _FFR_LDAP_NETWORK_TIMEOUT + lmap->ldap_networktmo = 120; +# endif /* _FFR_LDAP_NETWORK_TIMEOUT */ + for (;;) { while (isascii(*p) && isspace(*p)) @@ -4066,7 +4082,7 @@ ldapmap_parseargs(map, args) case 'c': /* network (connect) timeout */ while (isascii(*++p) && isspace(*p)) continue; - lmap->ldap_networktmo.tv_sec = atoi(p); + lmap->ldap_networktmo = atoi(p); break; # endif /* _FFR_LDAP_NETWORK_TIMEOUT */ @@ -6687,6 +6703,13 @@ null_map_store(map, key, val) return; } +MAPCLASS NullMapClass = +{ + "null-map", NULL, 0, + NULL, null_map_lookup, null_map_store, + null_map_open, null_map_close, +}; + /* ** BOGUS stubs */ @@ -7325,7 +7348,8 @@ arith_map_lookup(map, name, av, statp) if (LogLevel > 10) sm_syslog(LOG_WARNING, NOQID, "arith_map: unknown operator %c", - isprint(*name) ? *name : '?'); + (isascii(*name) && isprint(*name)) ? + *name : '?'); return NULL; } if (boolres) diff --git a/src/milter.c b/src/milter.c index 816c7bf7d4ac..773dfa8f9c6d 100644 --- a/src/milter.c +++ b/src/milter.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999-2006 Sendmail, Inc. and its suppliers. + * Copyright (c) 1999-2009 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set @@ -10,7 +10,7 @@ #include -SM_RCSID("@(#)$Id: milter.c,v 8.269 2007/06/06 17:26:12 ca Exp $") +SM_RCSID("@(#)$Id: milter.c,v 8.277 2009/11/06 00:57:06 ca Exp $") #if MILTER # include @@ -514,7 +514,6 @@ milter_write(m, cmd, buf, len, to, e, where) ENVELOPE *e; const char *where; { - time_t writestart = (time_t) 0; ssize_t sl, i; int num_vectors; mi_int32 nl; @@ -532,12 +531,16 @@ milter_write(m, cmd, buf, len, to, e, where) if (len < 0 || len > MilterMaxDataSize) { if (tTd(64, 5)) - sm_dprintf("milter_write(%s): length %ld out of range\n", - m->mf_name, (long) len); + { + sm_dprintf("milter_write(%s): length %ld out of range, cmd=%c\n", + m->mf_name, (long) len, command); + sm_dprintf("milter_write(%s): buf=%s\n", + m->mf_name, str2prt(buf)); + } if (MilterLogLevel > 0) sm_syslog(LOG_ERR, e->e_id, - "milter_write(%s): length %ld out of range", - m->mf_name, (long) len); + "milter_write(%s): length %ld out of range, cmd=%c", + m->mf_name, (long) len, command); milter_error(m, e); return NULL; } @@ -594,10 +597,7 @@ milter_write(m, cmd, buf, len, to, e, where) } if (to > 0) - { - writestart = curtime(); MILTER_TIMEOUT("write", to, true, started, where); - } /* write the vector(s) */ i = writev(m->mf_sock, vector, num_vectors); @@ -1572,10 +1572,10 @@ static struct milteropt # define MO_LOGLEVEL 0x07 { "loglevel", MO_LOGLEVEL }, -# if _FFR_MAXDATASIZE +# if _FFR_MAXDATASIZE || _FFR_MDS_NEGOTIATE # define MO_MAXDATASIZE 0x08 { "maxdatasize", MO_MAXDATASIZE }, -# endif /* _FFR_MAXDATASIZE */ +# endif /* _FFR_MAXDATASIZE || _FFR_MDS_NEGOTIATE */ { NULL, (unsigned char)-1 }, }; @@ -1631,11 +1631,29 @@ milter_set_option(name, val, sticky) MilterLogLevel = atoi(val); break; -#if _FFR_MAXDATASIZE +# if _FFR_MAXDATASIZE || _FFR_MDS_NEGOTIATE case MO_MAXDATASIZE: +# if _FFR_MDS_NEGOTIATE MilterMaxDataSize = (size_t)atol(val); + if (MilterMaxDataSize != MILTER_MDS_64K && + MilterMaxDataSize != MILTER_MDS_256K && + MilterMaxDataSize != MILTER_MDS_1M) + { + sm_syslog(LOG_WARNING, NOQID, + "WARNING: Milter.%s=%d, allowed are only %d, %d, and %d", + name, MilterMaxDataSize, + MILTER_MDS_64K, MILTER_MDS_256K, + MILTER_MDS_1M); + if (MilterMaxDataSize < MILTER_MDS_64K) + MilterMaxDataSize = MILTER_MDS_64K; + else if (MilterMaxDataSize < MILTER_MDS_256K) + MilterMaxDataSize = MILTER_MDS_256K; + else + MilterMaxDataSize = MILTER_MDS_1M; + } +# endif /* _FFR_MDS_NEGOTIATE */ break; -#endif /* _FFR_MAXDATASIZE */ +# endif /* _FFR_MAXDATASIZE || _FFR_MDS_NEGOTIATE */ case MO_MACROS_CONNECT: if (macros == NULL) @@ -2411,6 +2429,12 @@ milter_negotiate(m, e, milters) mta_prot_flags = SMFI_CURR_PROT; mta_actions = SMFI_CURR_ACTS; #endif /* _FFR_MILTER_CHECK */ +#if _FFR_MDS_NEGOTIATE + if (MilterMaxDataSize == MILTER_MDS_256K) + mta_prot_flags |= SMFIP_MDS_256K; + else if (MilterMaxDataSize == MILTER_MDS_1M) + mta_prot_flags |= SMFIP_MDS_1M; +#endif /* _FFR_MDS_NEGOTIATE */ fvers = htonl(mta_prot_vers); pflags = htonl(mta_prot_flags); @@ -2525,6 +2549,39 @@ milter_negotiate(m, e, milters) goto error; } +#if _FFR_MDS_NEGOTIATE + /* use a table instead of sequence? */ + if (bitset(SMFIP_MDS_1M, m->mf_pflags)) + { + if (MilterMaxDataSize != MILTER_MDS_1M) + { + /* this should not happen... */ + sm_syslog(LOG_WARNING, NOQID, + "WARNING: Milter.maxdatasize: configured=%d, set by libmilter=%d", + MilterMaxDataSize, MILTER_MDS_1M); + MilterMaxDataSize = MILTER_MDS_1M; + } + } + else if (bitset(SMFIP_MDS_256K, m->mf_pflags)) + { + if (MilterMaxDataSize != MILTER_MDS_256K) + { + sm_syslog(LOG_WARNING, NOQID, + "WARNING: Milter.maxdatasize: configured=%d, set by libmilter=%d", + MilterMaxDataSize, MILTER_MDS_256K); + MilterMaxDataSize = MILTER_MDS_256K; + } + } + else if (MilterMaxDataSize != MILTER_MDS_64K) + { + sm_syslog(LOG_WARNING, NOQID, + "WARNING: Milter.maxdatasize: configured=%d, set by libmilter=%d", + MilterMaxDataSize, MILTER_MDS_64K); + MilterMaxDataSize = MILTER_MDS_64K; + } + m->mf_pflags &= ~SMFI_INTERNAL; +#endif /* _FFR_MDS_NEGOTIATE */ + /* check for protocol feature mismatch */ if ((m->mf_pflags & mta_prot_flags) != m->mf_pflags) { @@ -2976,7 +3033,7 @@ milter_addheader(m, response, rlen, e) h->h_value = mh_value; else { - h->h_value = addleadingspace (mh_value, e->e_rpool); + h->h_value = addleadingspace(mh_value, e->e_rpool); SM_FREE(mh_value); } h->h_flags |= H_USER; @@ -3277,7 +3334,7 @@ milter_changeheader(m, response, rlen, e) h->h_value = mh_value; else { - h->h_value = addleadingspace (mh_value, e->e_rpool); + h->h_value = addleadingspace(mh_value, e->e_rpool); SM_FREE(mh_value); } h->h_flags |= H_USER; @@ -3330,7 +3387,7 @@ milter_split_response(response, rlen, pargc) return NULL; /* last entry is only for the name */ - s = (char **)malloc(nelem * (sizeof(*s))); + s = (char **)malloc((nelem + 1) * (sizeof(*s))); if (s == NULL) return NULL; s[0] = response; @@ -3813,7 +3870,7 @@ milter_init(e, state, milters) m->mf_sock < 0 ? "open" : "negotiate"); - /* if negotation failure, close socket */ + /* if negotiation failure, close socket */ milter_error(m, e); MILTER_CHECK_ERROR(true, continue); continue; @@ -4383,7 +4440,7 @@ milter_data(e, state) response = milter_read(m, &rcmd, &rlen, m->mf_timeout[SMFTO_READ], e, - "body"); + "eom"); if (m->mf_state == SMFS_ERROR) break; diff --git a/src/queue.c b/src/queue.c index d4c6369d0e6a..194f5250d663 100644 --- a/src/queue.c +++ b/src/queue.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2007 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2009 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -14,7 +14,7 @@ #include #include -SM_RCSID("@(#)$Id: queue.c,v 8.977 2008/02/15 23:19:58 ca Exp $") +SM_RCSID("@(#)$Id: queue.c,v 8.987 2009/12/18 17:08:01 ca Exp $") #include @@ -134,7 +134,7 @@ static const char EmptyString[] = ""; static void grow_wlist __P((int, int)); static int multiqueue_cache __P((char *, int, QUEUEGRP *, int, unsigned int *)); -static int gatherq __P((int, int, bool, bool *, bool *)); +static int gatherq __P((int, int, bool, bool *, bool *, int *)); static int sortq __P((int)); static void printctladdr __P((ADDRESS *, SM_FILE_T *)); static bool readqf __P((ENVELOPE *, bool)); @@ -2106,7 +2106,7 @@ run_work_group(wgrp, flags) for (i = 0; i < Queue[qgrp]->qg_numqueues; i++) { - h = gatherq(qgrp, qdir, false, &full, &more); + (void) gatherq(qgrp, qdir, false, &full, &more, &h); #if SM_CONF_SHM if (ShmId != SM_SHM_NO_ID) QSHM_ENTRIES(Queue[qgrp]->qg_qpaths[qdir].qp_idx) = h; @@ -2450,6 +2450,7 @@ runqueueevent(ignore) ** full -- (optional) to be set 'true' if WorkList is full ** more -- (optional) to be set 'true' if there are still more ** messages in this queue not added to WorkList +** pnentries -- (optional) total nuber of entries in queue ** ** Returns: ** The number of request in the queue (not necessarily @@ -2472,25 +2473,26 @@ static int WorkListSize = 0; /* current max size of WorkList */ static int WorkListCount = 0; /* # of work items in WorkList */ static int -gatherq(qgrp, qdir, doall, full, more) +gatherq(qgrp, qdir, doall, full, more, pnentries) int qgrp; int qdir; bool doall; bool *full; bool *more; + int *pnentries; { register struct dirent *d; register WORK *w; register char *p; DIR *f; - int i, num_ent; - int wn; + int i, num_ent, wn, nentries; QUEUE_CHAR *check; char qd[MAXPATHLEN]; char qf[MAXPATHLEN]; wn = WorkListCount - 1; num_ent = 0; + nentries = 0; if (qdir == NOQDIR) (void) sm_strlcpy(qd, ".", sizeof(qd)); else @@ -2600,6 +2602,7 @@ gatherq(qgrp, qdir, doall, full, more) continue; } + ++nentries; check = QueueLimitId; while (check != NULL) { @@ -2855,6 +2858,21 @@ gatherq(qgrp, qdir, doall, full, more) break; case 'K': +#if _FFR_EXPDELAY + if (MaxQueueAge > 0) + { + time_t lasttry, delay; + + lasttry = (time_t) atol(&lbuf[1]); + delay = MIN(lasttry - w->w_ctime, + MaxQueueAge); + age = curtime() - lasttry; + if (age < delay) + w->w_tooyoung = true; + break; + } +#endif /* _FFR_EXPDELAY */ + age = curtime() - (time_t) atol(&lbuf[1]); if (age >= 0 && MinQueueAge > 0 && age < MinQueueAge) @@ -2900,6 +2918,8 @@ gatherq(qgrp, qdir, doall, full, more) *full = (wn >= MaxQueueRun && MaxQueueRun > 0) || (WorkList == NULL && wn > 0); + if (pnentries != NULL) + *pnentries = nentries; return i; } /* @@ -3331,8 +3351,8 @@ workcmpf4(a, b) ** WORKCMPF5 -- compare based on assigned random number ** ** Parameters: -** a -- the first argument (ignored). -** b -- the second argument (ignored). +** a -- the first argument. +** b -- the second argument. ** ** Returns: ** randomly 1/-1 @@ -3682,7 +3702,7 @@ dowork(qgrp, qdir, id, forkflag, requeueflag, e) finis(true, true, ExitStat); else { - dropenvelope(e, true, false); + (void) dropenvelope(e, true, false); sm_rpool_free(rpool); e->e_rpool = NULL; } @@ -3859,7 +3879,7 @@ doworklist(el, forkflag, requeueflag) /* do the delivery */ sendall(&e, SM_DELIVER); - dropenvelope(&e, true, false); + (void) dropenvelope(&e, true, false); } else { @@ -4834,7 +4854,7 @@ print_single_queue(qgrp, qdir) ** Read and order the queue. */ - nrequests = gatherq(qgrp, qdir, true, NULL, NULL); + nrequests = gatherq(qgrp, qdir, true, NULL, NULL, NULL); (void) sortq(Queue[qgrp]->qg_maxlist); /* @@ -5332,31 +5352,31 @@ static const char QueueIdChars[] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefgh */ # define queuenextid() CurrentPid - +#define QIC_LEN_SQR (QIC_LEN * QIC_LEN) void assign_queueid(e) register ENVELOPE *e; { pid_t pid = queuenextid(); - static int cX = 0; - static long random_offset; + static unsigned int cX = 0; + static unsigned int random_offset; struct tm *tm; char idbuf[MAXQFNAME - 2]; - int seq; + unsigned int seq; if (e->e_id != NULL) return; /* see if we need to get a new base time/pid */ - if (cX >= QIC_LEN * QIC_LEN || LastQueueTime == 0 || - LastQueuePid != pid) + if (cX >= QIC_LEN_SQR || LastQueueTime == 0 || LastQueuePid != pid) { time_t then = LastQueueTime; /* if the first time through, pick a random offset */ if (LastQueueTime == 0) - random_offset = get_random(); + random_offset = ((unsigned int)get_random()) + % QIC_LEN_SQR; while ((LastQueueTime = curtime()) == then && LastQueuePid == pid) @@ -5368,16 +5388,16 @@ assign_queueid(e) } /* - ** Generate a new sequence number between 0 and QIC_LEN*QIC_LEN-1. - ** This lets us generate up to QIC_LEN*QIC_LEN unique queue ids + ** Generate a new sequence number between 0 and QIC_LEN_SQR-1. + ** This lets us generate up to QIC_LEN_SQR unique queue ids ** per second, per process. With envelope splitting, ** a single message can consume many queue ids. */ - seq = (int)((cX + random_offset) % (QIC_LEN * QIC_LEN)); + seq = (cX + random_offset) % QIC_LEN_SQR; ++cX; if (tTd(7, 50)) - sm_dprintf("assign_queueid: random_offset = %ld (%d)\n", + sm_dprintf("assign_queueid: random_offset=%u (%u)\n", random_offset, seq); tm = gmtime(&LastQueueTime); @@ -5430,6 +5450,7 @@ sync_queue_time() { #if FAST_PID_RECYCLE if (OpMode != MD_TEST && + OpMode != MD_CHECKCONFIG && OpMode != MD_VERIFY && LastQueueTime > 0 && LastQueuePid == CurrentPid && @@ -5740,6 +5761,10 @@ pickqdir(qg, fsize, e) else qdir = get_rand_mod(qg->qg_numqueues); +#if _FFR_TESTS + if (tTd(4, 101)) + return NOQDIR; +#endif /* _FFR_TESTS */ if (MinBlocksFree <= 0 && fsize <= 0) return qdir; @@ -6600,6 +6625,16 @@ init_sem(owner) (long) SemKey, SemId, sm_errstring(-SemId)); return; } + if (owner && RunAsUid != 0) + { + int r; + + r = sm_semsetowner(SemId, RunAsUid, RunAsGid, 0660); + if (r != 0) + sm_syslog(LOG_ERR, NOQID, + "key=%ld, sm_semsetowner=%d, RunAsUid=%d, RunAsGid=%d", + (long) SemKey, r, RunAsUid, RunAsGid); + } #endif /* SM_CONF_SEM */ #endif /* _FFR_USE_SEM_LOCKING */ return; @@ -8826,7 +8861,7 @@ quarantine_queue(reason, qgrplimit) if (StopRequest) stop_sendmail(); - nrequests = gatherq(qgrp, qdir, true, NULL, NULL); + nrequests = gatherq(qgrp, qdir, true, NULL, NULL, NULL); /* first see if there is anything */ if (nrequests <= 0) diff --git a/src/ratectrl.c b/src/ratectrl.c index 8b95b3753df0..773955a6db0f 100644 --- a/src/ratectrl.c +++ b/src/ratectrl.c @@ -45,7 +45,7 @@ */ #include -SM_RCSID("@(#)$Id: ratectrl.c,v 8.12 2008/02/11 22:56:05 ca Exp $") +SM_RCSID("@(#)$Id: ratectrl.c,v 8.13 2009/05/05 23:19:34 ca Exp $") /* ** stuff included - given some warnings (inet_ntoa) @@ -69,9 +69,6 @@ SM_RCSID("@(#)$Id: ratectrl.c,v 8.12 2008/02/11 22:56:05 ca Exp $") /* forward declarations */ static int client_rate __P((time_t, SOCKADDR *, bool)); static int total_rate __P((time_t, bool)); -#if 0 -static int sockaddrcmp __P((SOCKADDR *, SOCKADDR *)); -#endif /* 0 */ /* ** CONNECTION_RATE_CHECK - updates connection history data @@ -485,50 +482,3 @@ total_rate(now, update) return cnt; } - -#if 0 -/* -** SOCKADDRCMP - compare two SOCKADDR structures -** this function may be used to compare SOCKADDR -** structures when using bsearch and qsort functions -** in the same way we do with strcmp -** -** Parameters: -** a, b - addresses -** -** Returns: -** 1 if a > b -** -1 if a < b -** 0 if a = b -** -** OBS: This call isn't used at the moment, it will -** be used when code will be extended to work with IPV6 -*/ - -static int -sockaddrcmp(a, b) - SOCKADDR *a; - SOCKADDR *b; -{ - if (a->sa.sa_family > b->sa.sa_family) - return 1; - if (a->sa.sa_family < b->sa.sa_family) - return -1; - - switch (a->sa.sa_family) - { - case AF_INET: - if (a->sin.sin_addr.s_addr > b->sin.sin_addr.s_addr) - return 1; - if (a->sin.sin_addr.s_addr < b->sin.sin_addr.s_addr) - return -1; - return 0; - break; - - case AF_INET6: - /* TO BE DONE */ - break; - } - return 0; -} -#endif /* 0 */ diff --git a/src/readcf.c b/src/readcf.c index 445df9e10686..c6d48a8cfea6 100644 --- a/src/readcf.c +++ b/src/readcf.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2006, 2008 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2006, 2008, 2009 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -14,7 +14,7 @@ #include #include -SM_RCSID("@(#)$Id: readcf.c,v 8.666 2008/02/14 17:25:14 ca Exp $") +SM_RCSID("@(#)$Id: readcf.c,v 8.674 2009/10/26 17:47:00 ca Exp $") #if NETINET || NETINET6 # include @@ -113,6 +113,9 @@ readcf(cfname, safe, e) FileName = cfname; LineNumber = 0; +#if STARTTLS + Srv_SSL_Options = Clt_SSL_Options = SSL_OP_ALL; +#endif /* STARTTLS */ if (DontLockReadFiles) sff |= SFF_NOLOCK; cf = safefopen(cfname, O_RDONLY, 0444, sff); @@ -136,7 +139,7 @@ readcf(cfname, safe, e) if (OpMode != MD_TEST && bitset(S_IWGRP|S_IWOTH, statb.st_mode)) { - if (OpMode == MD_DAEMON || OpMode == MD_INITALIAS) + if (OpMode == MD_DAEMON || OpMode == MD_INITALIAS || OpMode == MD_CHECKCONFIG) (void) sm_io_fprintf(smioerr, SM_TIME_DEFAULT, "%s: WARNING: dangerous write permissions\n", FileName); @@ -462,7 +465,7 @@ readcf(cfname, safe, e) rwp = RewriteRules[ruleset]; if (rwp != NULL) { - if (OpMode == MD_TEST) + if (OpMode == MD_TEST || OpMode == MD_CHECKCONFIG) (void) sm_io_fprintf(smioout, SM_TIME_DEFAULT, "WARNING: Ruleset %s has multiple definitions\n", @@ -534,7 +537,6 @@ readcf(cfname, safe, e) p++; while (isascii(*p) && isspace(*p)) p++; - file = p; } else optional = false; @@ -2255,10 +2257,101 @@ static struct optioninfo # define O_RCPTSHUTDG 0xe2 { "BadRcptShutdownGood", O_RCPTSHUTDG, OI_SAFE }, #endif /* _FFR_BADRCPT_SHUTDOWN */ +#if STARTTLS && _FFR_TLS_1 +# define O_SRV_SSL_OPTIONS 0xe3 + { "ServerSSLOptions", O_SRV_SSL_OPTIONS, OI_NONE }, +# define O_CLT_SSL_OPTIONS 0xe4 + { "ClientSSLOptions", O_CLT_SSL_OPTIONS, OI_NONE }, +#endif /* STARTTLS && _FFR_TLS_1 */ +#if _FFR_EXPDELAY +# define O_MAX_QUEUE_AGE 0xe5 + { "MaxQueueAge", O_MAX_QUEUE_AGE, OI_NONE }, +#endif /* _FFR_EXPDELAY */ +#if _FFR_RCPTTHROTDELAY +# define O_RCPTTHROTDELAY 0xe6 + { "BadRcptThrottleDelay", O_RCPTTHROTDELAY, OI_SAFE }, +#endif /* _FFR_RCPTTHROTDELAY */ { NULL, '\0', OI_NONE } }; +#if STARTTLS && _FFR_TLS_1 +static struct ssl_options +{ + const char *sslopt_name; /* name of the flag */ + long sslopt_bits; /* bits to set/clear */ +} SSL_Option[] = +{ +/* these are turned on by default */ +#ifdef SSL_OP_MICROSOFT_SESS_ID_BUG + { "SSL_OP_MICROSOFT_SESS_ID_BUG", SSL_OP_MICROSOFT_SESS_ID_BUG }, +#endif /* SSL_OP_MICROSOFT_SESS_ID_BUG */ +#ifdef SSL_OP_NETSCAPE_CHALLENGE_BUG + { "SSL_OP_NETSCAPE_CHALLENGE_BUG", SSL_OP_NETSCAPE_CHALLENGE_BUG }, +#endif /* SSL_OP_NETSCAPE_CHALLENGE_BUG */ +#ifdef SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG + { "SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG", SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG }, +#endif /* SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG */ +#ifdef SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG + { "SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG", SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG }, +#endif /* SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG */ +#ifdef SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER + { "SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER", SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER }, +#endif /* SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER */ +#ifdef SSL_OP_MSIE_SSLV2_RSA_PADDING + { "SSL_OP_MSIE_SSLV2_RSA_PADDING", SSL_OP_MSIE_SSLV2_RSA_PADDING }, +#endif /* SSL_OP_MSIE_SSLV2_RSA_PADDING */ +#ifdef SSL_OP_SSLEAY_080_CLIENT_DH_BUG + { "SSL_OP_SSLEAY_080_CLIENT_DH_BUG", SSL_OP_SSLEAY_080_CLIENT_DH_BUG }, +#endif /* SSL_OP_SSLEAY_080_CLIENT_DH_BUG */ +#ifdef SSL_OP_TLS_D5_BUG + { "SSL_OP_TLS_D5_BUG", SSL_OP_TLS_D5_BUG }, +#endif /* SSL_OP_TLS_D5_BUG */ +#ifdef SSL_OP_TLS_BLOCK_PADDING_BUG + { "SSL_OP_TLS_BLOCK_PADDING_BUG", SSL_OP_TLS_BLOCK_PADDING_BUG }, +#endif /* SSL_OP_TLS_BLOCK_PADDING_BUG */ +#ifdef SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + { "SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS", SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS }, +#endif /* SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS */ + { "SSL_OP_ALL", SSL_OP_ALL }, +#ifdef SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION + { "SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION", SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION }, +#endif /* SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION */ +#ifdef SSL_OP_EPHEMERAL_RSA + { "SSL_OP_EPHEMERAL_RSA", SSL_OP_EPHEMERAL_RSA }, +#endif /* SSL_OP_EPHEMERAL_RSA */ +#ifdef SSL_OP_CIPHER_SERVER_PREFERENCE + { "SSL_OP_CIPHER_SERVER_PREFERENCE", SSL_OP_CIPHER_SERVER_PREFERENCE }, +#endif /* SSL_OP_CIPHER_SERVER_PREFERENCE */ +#ifdef SSL_OP_TLS_ROLLBACK_BUG + { "SSL_OP_TLS_ROLLBACK_BUG", SSL_OP_TLS_ROLLBACK_BUG }, +#endif /* SSL_OP_TLS_ROLLBACK_BUG */ +#ifdef SSL_OP_NO_SSLv2 + { "SSL_OP_NO_SSLv2", SSL_OP_NO_SSLv2 }, +#endif /* SSL_OP_NO_SSLv2 */ +#ifdef SSL_OP_NO_SSLv3 + { "SSL_OP_NO_SSLv3", SSL_OP_NO_SSLv3 }, +#endif /* SSL_OP_NO_SSLv3 */ +#ifdef SSL_OP_NO_TLSv1 + { "SSL_OP_NO_TLSv1", SSL_OP_NO_TLSv1 }, +#endif /* SSL_OP_NO_TLSv1 */ +#ifdef SSL_OP_PKCS1_CHECK_1 + { "SSL_OP_PKCS1_CHECK_1", SSL_OP_PKCS1_CHECK_1 }, +#endif /* SSL_OP_PKCS1_CHECK_1 */ +#ifdef SSL_OP_PKCS1_CHECK_2 + { "SSL_OP_PKCS1_CHECK_2", SSL_OP_PKCS1_CHECK_2 }, +#endif /* SSL_OP_PKCS1_CHECK_2 */ +#ifdef SSL_OP_NETSCAPE_CA_DN_BUG + { "SSL_OP_NETSCAPE_CA_DN_BUG", SSL_OP_NETSCAPE_CA_DN_BUG }, +#endif /* SSL_OP_NETSCAPE_CA_DN_BUG */ +#ifdef SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG + { "SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG", SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG }, +#endif /* SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG */ + { NULL, 0 } +}; +#endif /* STARTTLS && _FFR_TLS_1 */ + + # define CANONIFY(val) # define SET_OPT_DEFAULT(opt, val) opt = val @@ -2299,6 +2392,9 @@ setoption(opt, val, safe, sticky, e) char *newval; char exbuf[MAXLINE]; #endif /* STARTTLS || SM_CONF_SHM */ +#if STARTTLS && _FFR_TLS_1 + long *pssloptions = NULL; +#endif /* STARTTLS && _FFR_TLS_1 */ errno = 0; if (opt == ' ') @@ -2995,6 +3091,12 @@ setoption(opt, val, safe, sticky, e) MinQueueAge = convtime(val, 'm'); break; +#if _FFR_EXPDELAY + case O_MAX_QUEUE_AGE: + MaxQueueAge = convtime(val, 'm'); + break; +#endif /* _FFR_EXPDELAY */ + case O_DEFCHARSET: /* default character set for mimefying */ DefaultCharSet = newstr(denlstring(val, true, true)); break; @@ -3317,6 +3419,12 @@ setoption(opt, val, safe, sticky, e) BadRcptThrottle = atoi(val); break; +#if _FFR_RCPTTHROTDELAY + case O_RCPTTHROTDELAY: + BadRcptThrottleDelay = atoi(val); + break; +#endif /* _FFR_RCPTTHROTDELAY */ + case O_DEADLETTER: CANONIFY(val); PSTRSET(DeadLetterDrop, val); @@ -3578,7 +3686,51 @@ setoption(opt, val, safe, sticky, e) SET_STRING_EXP(DHParams5); case O_CIPHERLIST: SET_STRING_EXP(CipherList); + case O_SRV_SSL_OPTIONS: + pssloptions = &Srv_SSL_Options; + case O_CLT_SSL_OPTIONS: + if (pssloptions == NULL) + pssloptions = &Clt_SSL_Options; + for (p = val; *p != 0; ) + { + bool clearmode; + char *q; + struct ssl_options *sslopts; + + while (*p == ' ') + p++; + if (*p == '\0') + break; + clearmode = false; + if (*p == '-' || *p == '+') + clearmode = *p++ == '-'; + q = p; + while (*p != '\0' && !(isascii(*p) && isspace(*p))) + p++; + if (*p != '\0') + *p++ = '\0'; + for (sslopts = SSL_Option; + sslopts->sslopt_name != NULL; sslopts++) + { + if (sm_strcasecmp(q, sslopts->sslopt_name) == 0) + break; + } + if (sslopts->sslopt_name == NULL) + { + errno = 0; + syserr("readcf: %s option value %s unrecognized", + o->o_name, q); + } + else if (clearmode) + *pssloptions &= ~sslopts->sslopt_bits; + else + *pssloptions |= sslopts->sslopt_bits; + } + pssloptions = NULL; + break; + # endif /* _FFR_TLS_1 */ + case O_CRLFILE: # if OPENSSL_VERSION_NUMBER > 0x00907000L SET_STRING_EXP(CRLFile); @@ -4026,8 +4178,7 @@ strtorwset(p, endp, stabmode) char *q = NULL; q = p; - while (*p != '\0' && isascii(*p) && - (isalnum(*p) || *p == '_')) + while (*p != '\0' && isascii(*p) && (isalnum(*p) || *p == '_')) p++; if (q == p || !(isascii(*q) && isalpha(*q))) { diff --git a/src/savemail.c b/src/savemail.c index cf72e8d497ef..4178245cc5a3 100644 --- a/src/savemail.c +++ b/src/savemail.c @@ -13,7 +13,7 @@ #include -SM_RCSID("@(#)$Id: savemail.c,v 8.313 2006/11/29 00:20:41 ca Exp $") +SM_RCSID("@(#)$Id: savemail.c,v 8.314 2009/12/18 17:08:01 ca Exp $") static bool errbody __P((MCI *, ENVELOPE *, char *)); static bool pruneroute __P((char *)); @@ -705,7 +705,7 @@ returntosender(msg, returnq, flags, e) sendall(ee, SM_DELIVER); /* restore state */ - dropenvelope(ee, true, false); + (void) dropenvelope(ee, true, false); sm_rpool_free(ee->e_rpool); CurEnv = oldcur; returndepth--; diff --git a/src/sendmail.0 b/src/sendmail.0 index 060ed242f616..ccf9ad945ff8 100644 --- a/src/sendmail.0 +++ b/src/sendmail.0 @@ -457,9 +457,11 @@ SSEEEE AALLSSOO http://www.sendmail.org/ + US Patent Numbers 6865671, 6986037. + HHIISSTTOORRYY The sseennddmmaaiill command appeared in 4.2BSD. - $Date: 2007/08/02 05:42:33 $ SENDMAIL(8) + $Date: 2009/04/10 17:49:19 $ SENDMAIL(8) diff --git a/src/sendmail.8 b/src/sendmail.8 index 27b44d62eab7..691fa74a5090 100644 --- a/src/sendmail.8 +++ b/src/sendmail.8 @@ -9,9 +9,9 @@ .\" the sendmail distribution. .\" .\" -.\" $Id: sendmail.8,v 8.58 2007/08/02 05:42:33 ca Exp $ +.\" $Id: sendmail.8,v 8.59 2009/04/10 17:49:19 gshapiro Exp $ .\" -.TH SENDMAIL 8 "$Date: 2007/08/02 05:42:33 $" +.TH SENDMAIL 8 "$Date: 2009/04/10 17:49:19 $" .SH NAME sendmail \- an electronic mail transport agent @@ -741,6 +741,8 @@ Internet Request For Comments No. 8, SMM. .PP http://www.sendmail.org/ +.PP +US Patent Numbers 6865671, 6986037. .SH HISTORY The .B sendmail diff --git a/src/sendmail.h b/src/sendmail.h index b6b231d844ef..b170c2bbb3d7 100644 --- a/src/sendmail.h +++ b/src/sendmail.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2008 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2009 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -52,7 +52,7 @@ #ifdef _DEFINE # ifndef lint -SM_UNUSED(static char SmailId[]) = "@(#)$Id: sendmail.h,v 8.1059 2008/02/15 23:19:58 ca Exp $"; +SM_UNUSED(static char SmailId[]) = "@(#)$Id: sendmail.h,v 8.1068 2009/12/18 17:08:01 ca Exp $"; # endif /* ! lint */ #endif /* _DEFINE */ @@ -607,7 +607,7 @@ extern bool filesys_free __P((long)); ERROR: change SASL_SEC_MASK_ notify sendmail.org! # endif /* SASL_SEC_NOPLAINTEXT & SASL_SEC_MASK) == 0 ... */ # endif /* SASL >= 20101 */ -# define MAXOUTLEN 8192 /* length of output buffer */ +# define MAXOUTLEN 8192 /* length of output buffer, should be 2^n */ /* functions */ extern char *intersect __P((char *, char *, SM_RPOOL_T *)); @@ -931,6 +931,10 @@ struct envelope int e_dlvr_flag; /* deliver by flag */ SM_RPOOL_T *e_rpool; /* resource pool for this envelope */ unsigned int e_features; /* server features */ +#if _FFR_MILTER_ENHSC +#define ENHSC_LEN 11 + char e_enhsc[ENHSC_LEN]; /* enhanced status code */ +#endif /* _FFR_MILTER_ENHSC */ }; /* values for e_flags */ @@ -982,7 +986,7 @@ extern ENVELOPE BlankEnvelope; /* functions */ extern void clearenvelope __P((ENVELOPE *, bool, SM_RPOOL_T *)); -extern void dropenvelope __P((ENVELOPE *, bool, bool)); +extern int dropenvelope __P((ENVELOPE *, bool, bool)); extern ENVELOPE *newenvelope __P((ENVELOPE *, ENVELOPE *, SM_RPOOL_T *)); extern void clrsessenvelope __P((ENVELOPE *)); extern void printenvflags __P((ENVELOPE *)); @@ -1561,6 +1565,7 @@ extern void stabapply __P((void (*)(STAB *, int), int)); #define MD_HOSTSTAT 'h' /* print persistent host stat info */ #define MD_PURGESTAT 'H' /* purge persistent host stat info */ #define MD_QUEUERUN 'q' /* queue run */ +#define MD_CHECKCONFIG 'C' /* check configuration file */ #if _FFR_LOCAL_DAEMON EXTERN bool LocalDaemon; @@ -1880,7 +1885,7 @@ struct termescape /* functions */ extern bool init_tls_library __P((void)); -extern bool inittls __P((SSL_CTX **, unsigned long, bool, char *, char *, char *, char *, char *)); +extern bool inittls __P((SSL_CTX **, unsigned long, long, bool, char *, char *, char *, char *, char *)); extern bool initclttls __P((bool)); extern void setclttls __P((bool)); extern bool initsrvtls __P((bool)); @@ -1906,6 +1911,7 @@ EXTERN char *CRLFile; /* file CRLs */ EXTERN char *CRLPath; /* path to CRLs (dir. with hashes) */ #endif /* _FFR_CRLPATH */ EXTERN unsigned long TLS_Srv_Opts; /* TLS server options */ +EXTERN long Srv_SSL_Options, Clt_SSL_Options; /* SSL options */ #endif /* STARTTLS */ /* @@ -1986,6 +1992,9 @@ EXTERN int QueueFileMode; /* mode on files in mail queue */ EXTERN int QueueMode; /* which queue items to act upon */ EXTERN int QueueSortOrder; /* queue sorting order algorithm */ EXTERN time_t MinQueueAge; /* min delivery interval */ +#if _FFR_EXPDELAY +EXTERN time_t MaxQueueAge; /* max delivery interval */ +#endif /* _FFR_EXPDELAY */ EXTERN time_t QueueIntvl; /* intervals between running the queue */ EXTERN char *QueueDir; /* location of queue directory */ EXTERN QUEUE_CHAR *QueueLimitId; /* limit queue run to id */ @@ -2235,11 +2244,16 @@ EXTERN bool UseNameServer; /* using DNS -- interpret h_errno & MX RRs */ EXTERN char InetMode; /* default network for daemon mode */ EXTERN char OpMode; /* operation mode, see below */ EXTERN char SpaceSub; /* substitution for */ -EXTERN int BadRcptThrottle; /* Throttle rejected RCPTs per SMTP message */ #if _FFR_BADRCPT_SHUTDOWN EXTERN int BadRcptShutdown; /* Shutdown connection for rejected RCPTs */ EXTERN int BadRcptShutdownGood; /* above even when there are good RCPTs */ #endif /* _FFR_BADRCPT_SHUTDOWN */ +EXTERN int BadRcptThrottle; /* Throttle rejected RCPTs per SMTP message */ +#if _FFR_RCPTTHROTDELAY +EXTERN unsigned int BadRcptThrottleDelay; /* delay for BadRcptThrottle */ +#else +# define BadRcptThrottleDelay 1 +#endif /* _FFR_RCPTTHROTDELAY */ EXTERN int CheckpointInterval; /* queue file checkpoint interval */ EXTERN int ConfigLevel; /* config file level */ EXTERN int ConnRateThrottle; /* throttle for SMTP connection rate */ diff --git a/src/sfsasl.c b/src/sfsasl.c index 67e919f34df3..cad16db1686a 100644 --- a/src/sfsasl.c +++ b/src/sfsasl.c @@ -9,7 +9,7 @@ */ #include -SM_RCSID("@(#)$Id: sfsasl.c,v 8.117 2008/01/31 18:48:29 ca Exp $") +SM_RCSID("@(#)$Id: sfsasl.c,v 8.118 2008/07/22 15:12:48 ca Exp $") #include #include #include @@ -296,7 +296,7 @@ sasl_write(fp, buf, size) /* ** Fetch the maximum input buffer size for sasl_encode(). ** This can be less than the size set in attemptauth() - ** due to a negotation with the other side, e.g., + ** due to a negotiation with the other side, e.g., ** Cyrus IMAP lmtp program sets maxbuf=4096, ** digestmd5 substracts 25 and hence we'll get 4071 ** instead of 8192 (MAXOUTLEN). diff --git a/src/srvrsmtp.c b/src/srvrsmtp.c index fffcd0d37ab7..49016e4572b5 100644 --- a/src/srvrsmtp.c +++ b/src/srvrsmtp.c @@ -17,7 +17,7 @@ # include #endif /* MILTER */ -SM_RCSID("@(#)$Id: srvrsmtp.c,v 8.975 2008/03/31 16:32:13 ca Exp $") +SM_RCSID("@(#)$Id: srvrsmtp.c,v 8.989 2009/12/18 17:08:01 ca Exp $") #include #include @@ -479,6 +479,9 @@ do \ e->e_sendqueue = NULL; \ e->e_flags |= EF_CLRQUEUE; \ \ + if (tTd(92, 2)) \ + sm_dprintf("CLEAR_STATE: e_id=%s, EF_LOGSENDER=%d, LogLevel=%d\n",\ + e->e_id, bitset(EF_LOGSENDER, e->e_flags), LogLevel);\ if (LogLevel > 4 && bitset(EF_LOGSENDER, e->e_flags)) \ logsender(e, NULL); \ e->e_flags &= ~EF_LOGSENDER; \ @@ -486,7 +489,7 @@ do \ /* clean up a bit */ \ smtp.sm_gotmail = false; \ SuprErrs = true; \ - dropenvelope(e, true, false); \ + (void) dropenvelope(e, true, false); \ sm_rpool_free(e->e_rpool); \ e = newenvelope(e, CurEnv, sm_rpool_new_x(NULL)); \ CurEnv = e; \ @@ -906,6 +909,16 @@ smtp(nullserver, d_flags, e) #endif /* SASL */ #if STARTTLS +# if USE_OPENSSL_ENGINE + if (tls_ok_srv && bitset(SRV_OFFER_TLS, features) && + !SSL_set_engine(NULL)) + { + sm_syslog(LOG_ERR, NOQID, + "STARTTLS=server, SSL_set_engine=failed"); + tls_ok_srv = false; + } +# endif /* USE_OPENSSL_ENGINE */ + set_tls_rd_tmo(TimeOuts.to_nextcommand); #endif /* STARTTLS */ @@ -1272,7 +1285,8 @@ smtp(nullserver, d_flags, e) { if (++np_log < 3) sm_syslog(LOG_INFO, NOQID, - "unauthorized PIPELINING, sleeping"); + "unauthorized PIPELINING, sleeping, relay=%.100s", + CurSmtpClient); sleep(1); } @@ -1447,8 +1461,9 @@ smtp(nullserver, d_flags, e) message("454 4.5.4 Internal error: unable to encode64"); if (LogLevel > 5) sm_syslog(LOG_WARNING, e->e_id, - "AUTH encode64 error [%d for \"%s\"]", - result, out); + "AUTH encode64 error [%d for \"%s\"], relay=%.100s", + result, out, + CurSmtpClient); /* start over? */ authenticating = SASL_NOT_AUTH; } @@ -1469,16 +1484,17 @@ smtp(nullserver, d_flags, e) message("535 5.7.0 authentication failed"); if (LogLevel > 9) sm_syslog(LOG_WARNING, e->e_id, - "AUTH failure (%s): %s (%d) %s", + "AUTH failure (%s): %s (%d) %s, relay=%.100s", auth_type, sasl_errstring(result, NULL, NULL), result, # if SASL >= 20000 - sasl_errdetail(conn)); + sasl_errdetail(conn), # else /* SASL >= 20000 */ - errstr == NULL ? "" : errstr); + errstr == NULL ? "" : errstr, # endif /* SASL >= 20000 */ + CurSmtpClient); RESET_SASLCONN; authenticating = SASL_NOT_AUTH; } @@ -1700,8 +1716,9 @@ smtp(nullserver, d_flags, e) q); if (LogLevel > 5) sm_syslog(LOG_WARNING, e->e_id, - "AUTH decode64 error [%d for \"%s\"]", - result, q); + "AUTH decode64 error [%d for \"%s\"], relay=%.100s", + result, q, + CurSmtpClient); /* start over? */ authenticating = SASL_NOT_AUTH; # if SASL >= 20000 @@ -1734,16 +1751,17 @@ smtp(nullserver, d_flags, e) message("535 5.7.0 authentication failed"); if (LogLevel > 9) sm_syslog(LOG_ERR, e->e_id, - "AUTH failure (%s): %s (%d) %s", + "AUTH failure (%s): %s (%d) %s, relay=%.100s", p, sasl_errstring(result, NULL, NULL), result, # if SASL >= 20000 - sasl_errdetail(conn)); + sasl_errdetail(conn), # else /* SASL >= 20000 */ - errstr); + errstr, # endif /* SASL >= 20000 */ + CurSmtpClient); RESET_SASLCONN; break; } @@ -1893,8 +1911,9 @@ smtp(nullserver, d_flags, e) if (LogLevel > 5) { sm_syslog(LOG_WARNING, NOQID, - "STARTTLS=server, error: accept failed=%d, SSL_error=%d, errno=%d, retry=%d", - r, ssl_err, errno, i); + "STARTTLS=server, error: accept failed=%d, SSL_error=%d, errno=%d, retry=%d, relay=%.100s", + r, ssl_err, errno, i, + CurSmtpClient); if (LogLevel > 8) tlslogerr("server"); } @@ -2532,7 +2551,7 @@ smtp(nullserver, d_flags, e) #if _FFR_BADRCPT_SHUTDOWN /* ** hack to deal with hack, see below: - ** n_badrcpts is increased is limit is reached. + ** n_badrcpts is increased if limit is reached. */ n_badrcpts_adj = (BadRcptThrottle > 0 && @@ -2576,12 +2595,12 @@ smtp(nullserver, d_flags, e) /* ** Don't use exponential backoff for now. - ** Some servers will open more connections + ** Some systems will open more connections ** and actually overload the receiver even ** more. */ - (void) sleep(1); + (void) sleep(BadRcptThrottleDelay); } if (!smtp.sm_gotmail) { @@ -3147,6 +3166,11 @@ doquit: milter_quit(e); #endif /* MILTER */ + if (tTd(92, 2)) + sm_dprintf("QUIT: e_id=%s, EF_LOGSENDER=%d, LogLevel=%d\n", + e->e_id, + bitset(EF_LOGSENDER, e->e_flags), + LogLevel); if (LogLevel > 4 && bitset(EF_LOGSENDER, e->e_flags)) logsender(e, NULL); e->e_flags &= ~EF_LOGSENDER; @@ -3358,6 +3382,11 @@ smtp_data(smtp, e) response); LogUsrErrs = false; } +#if _FFR_MILTER_ENHSC + if (ISSMTPCODE(response)) + (void) extenhsc(response + 4, ' ', e->e_enhsc); +#endif /* _FFR_MILTER_ENHSC */ + usrerr(response); if (strncmp(response, "421 ", 4) == 0 || strncmp(response, "421-", 4) == 0) @@ -3374,6 +3403,10 @@ smtp_data(smtp, e) "Milter: cmd=data, reject=550 5.7.1 Command rejected"); LogUsrErrs = false; } +#if _FFR_MILTER_ENHSC + (void) sm_strlcpy(e->e_enhsc, "5.7.1", + sizeof(e->e_enhsc)); +#endif /* _FFR_MILTER_ENHSC */ usrerr("550 5.7.1 Command rejected"); return true; @@ -3392,6 +3425,9 @@ smtp_data(smtp, e) MSG_TEMPFAIL); LogUsrErrs = false; } +#if _FFR_MILTER_ENHSC + (void) extenhsc(MSG_TEMPFAIL + 4, ' ', e->e_enhsc); +#endif /* _FFR_MILTER_ENHSC */ usrerr(MSG_TEMPFAIL); return true; @@ -3467,7 +3503,14 @@ smtp_data(smtp, e) "Milter: data, reject=%s", response); milteraccept = false; +#if _FFR_MILTER_ENHSC + if (ISSMTPCODE(response)) + (void) extenhsc(response + 4, ' ', e->e_enhsc); +#endif /* _FFR_MILTER_ENHSC */ usrerr(response); + if (strncmp(response, "421 ", 4) == 0 + || strncmp(response, "421-", 4) == 0) + rv = false; break; case SMFIR_REJECT: @@ -3492,6 +3535,9 @@ smtp_data(smtp, e) "Milter: data, reject=%s", MSG_TEMPFAIL); milteraccept = false; +#if _FFR_MILTER_ENHSC + (void) extenhsc(MSG_TEMPFAIL + 4, ' ', e->e_enhsc); +#endif /* _FFR_MILTER_ENHSC */ usrerr(MSG_TEMPFAIL); break; @@ -3782,6 +3828,9 @@ smtp_data(smtp, e) } abortmessage: + if (tTd(92, 2)) + sm_dprintf("abortmessage: e_id=%s, EF_LOGSENDER=%d, LogLevel=%d\n", + e->e_id, bitset(EF_LOGSENDER, e->e_flags), LogLevel); if (LogLevel > 4 && bitset(EF_LOGSENDER, e->e_flags)) logsender(e, NULL); e->e_flags &= ~EF_LOGSENDER; @@ -3795,7 +3844,7 @@ smtp_data(smtp, e) */ if (aborting || bitset(EF_DISCARD, e->e_flags)) - dropenvelope(e, true, false); + (void) dropenvelope(e, true, false); else { for (ee = e; ee != NULL; ee = ee->e_sibling) @@ -3804,11 +3853,11 @@ smtp_data(smtp, e) QueueMode != QM_QUARANTINE && ee->e_quarmsg != NULL) { - dropenvelope(ee, true, false); + (void) dropenvelope(ee, true, false); continue; } if (WILL_BE_QUEUED(ee->e_sendmode)) - dropenvelope(ee, true, false); + (void) dropenvelope(ee, true, false); } } @@ -3870,8 +3919,13 @@ logundelrcpts(e, msg, level, all) if (!QS_IS_UNDELIVERED(a->q_state) && !all) continue; e->e_to = a->q_paddr; - logdelivery(NULL, NULL, a->q_status, msg, NULL, - (time_t) 0, e); + logdelivery(NULL, NULL, +#if _FFR_MILTER_ENHSC + (a->q_status == NULL && e->e_enhsc[0] != '\0') + ? e->e_enhsc : +#endif /* _FFR_MILTER_ENHSC */ + a->q_status, + msg, NULL, (time_t) 0, e); } e->e_to = NULL; } @@ -4692,8 +4746,9 @@ initsrvtls(tls_ok) return false; /* do NOT remove assignment */ - tls_ok_srv = inittls(&srv_ctx, TLS_Srv_Opts, true, SrvCertFile, - SrvKeyFile, CACertPath, CACertFile, DHParams); + tls_ok_srv = inittls(&srv_ctx, TLS_Srv_Opts, Srv_SSL_Options, true, + SrvCertFile, SrvKeyFile, + CACertPath, CACertFile, DHParams); return tls_ok_srv; } #endif /* STARTTLS */ diff --git a/src/tls.c b/src/tls.c index 1a213cab68ee..70319944950c 100644 --- a/src/tls.c +++ b/src/tls.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2006 Sendmail, Inc. and its suppliers. + * Copyright (c) 2000-2006, 2008, 2009 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set @@ -10,7 +10,7 @@ #include -SM_RCSID("@(#)$Id: tls.c,v 8.107 2006/10/12 21:35:11 ca Exp $") +SM_RCSID("@(#)$Id: tls.c,v 8.114 2009/08/10 15:11:09 ca Exp $") #if STARTTLS # include @@ -486,6 +486,7 @@ tls_safe_f(var, sff, srv) ** Parameters: ** ctx -- pointer to context ** req -- requirements for initialization (see sendmail.h) +** options -- options ** srv -- server side? ** certfile -- filename of certificate ** keyfile -- filename of private key @@ -514,9 +515,10 @@ static char server_session_id_context[] = "sendmail8"; #endif bool -inittls(ctx, req, srv, certfile, keyfile, cacertpath, cacertfile, dhparam) +inittls(ctx, req, options, srv, certfile, keyfile, cacertpath, cacertfile, dhparam) SSL_CTX **ctx; unsigned long req; + long options; bool srv; char *certfile, *keyfile, *cacertpath, *cacertfile, *dhparam; { @@ -525,7 +527,7 @@ inittls(ctx, req, srv, certfile, keyfile, cacertpath, cacertfile, dhparam) # endif /* !NO_DH */ int r; bool ok; - long sff, status, options; + long sff, status; char *who; # if _FFR_TLS_1 char *cf2, *kf2; @@ -643,7 +645,10 @@ inittls(ctx, req, srv, certfile, keyfile, cacertpath, cacertfile, dhparam) } } if (dhparam == NULL) + { dhparam = srv ? "1" : "5"; + req |= (srv ? TLS_I_DH1024 : TLS_I_DH512); + } else if (*dhparam == '/') { TLS_OK_F(dhparam, "DHParameters", @@ -913,7 +918,6 @@ inittls(ctx, req, srv, certfile, keyfile, cacertpath, cacertfile, dhparam) /* SSL_CTX_set_quiet_shutdown(*ctx, 1); violation of standard? */ - options = SSL_OP_ALL; /* bug compatibility? */ #if SM_SSL_OP_TLS_BLOCK_PADDING_BUG /* @@ -1196,23 +1200,62 @@ tls_get_info(ssl, srv, host, mac, certreq) if (cert != NULL) { unsigned int n; + X509_NAME *subj, *issuer; unsigned char md[EVP_MAX_MD_SIZE]; char buf[MAXNAME]; - X509_NAME_oneline(X509_get_subject_name(cert), - buf, sizeof(buf)); + subj = X509_get_subject_name(cert); + issuer = X509_get_issuer_name(cert); + X509_NAME_oneline(subj, buf, sizeof(buf)); macdefine(mac, A_TEMP, macid("{cert_subject}"), xtextify(buf, "<>\")")); - X509_NAME_oneline(X509_get_issuer_name(cert), - buf, sizeof(buf)); + X509_NAME_oneline(issuer, buf, sizeof(buf)); macdefine(mac, A_TEMP, macid("{cert_issuer}"), xtextify(buf, "<>\")")); - X509_NAME_get_text_by_NID(X509_get_subject_name(cert), - NID_commonName, buf, sizeof(buf)); + +#define CHECK_X509_NAME(which) \ + do { \ + if (r == -1) \ + { \ + sm_strlcpy(buf, "BadCertificateUnknown", sizeof(buf)); \ + if (LogLevel > 7) \ + sm_syslog(LOG_INFO, NOQID, \ + "STARTTLS=%s, relay=%.100s, field=%s, status=failed to extract CN", \ + who, \ + host == NULL ? "local" : host, \ + which); \ + } \ + else if ((size_t)r >= sizeof(buf) - 1) \ + { \ + sm_strlcpy(buf, "BadCertificateTooLong", sizeof(buf)); \ + if (LogLevel > 7) \ + sm_syslog(LOG_INFO, NOQID, \ + "STARTTLS=%s, relay=%.100s, field=%s, status=CN too long", \ + who, \ + host == NULL ? "local" : host, \ + which); \ + } \ + else if ((size_t)r > strlen(buf)) \ + { \ + sm_strlcpy(buf, "BadCertificateContainsNUL", \ + sizeof(buf)); \ + if (LogLevel > 7) \ + sm_syslog(LOG_INFO, NOQID, \ + "STARTTLS=%s, relay=%.100s, field=%s, status=CN contains NUL", \ + who, \ + host == NULL ? "local" : host, \ + which); \ + } \ + } while (0) + + r = X509_NAME_get_text_by_NID(subj, NID_commonName, buf, + sizeof buf); + CHECK_X509_NAME("cn_subject"); macdefine(mac, A_TEMP, macid("{cn_subject}"), xtextify(buf, "<>\")")); - X509_NAME_get_text_by_NID(X509_get_issuer_name(cert), - NID_commonName, buf, sizeof(buf)); + r = X509_NAME_get_text_by_NID(issuer, NID_commonName, buf, + sizeof buf); + CHECK_X509_NAME("cn_issuer"); macdefine(mac, A_TEMP, macid("{cn_issuer}"), xtextify(buf, "<>\")")); n = 0; @@ -1596,14 +1639,19 @@ tls_verify_cb(ctx, unused) { int ok; + /* + ** man SSL_CTX_set_cert_verify_callback(): + ** callback should return 1 to indicate verification success + ** and 0 to indicate verification failure. + */ + ok = X509_verify_cert(ctx); - if (ok == 0) + if (ok <= 0) { if (LogLevel > 13) return tls_verify_log(ok, ctx, "TLS"); - return 1; /* override it */ } - return ok; + return 1; } /* ** TLSLOGERR -- log the errors from the TLS error stack diff --git a/src/usersmtp.c b/src/usersmtp.c index b29495c3ae7f..23278b0b59d7 100644 --- a/src/usersmtp.c +++ b/src/usersmtp.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2006, 2008 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2006, 2008, 2009 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -13,7 +13,7 @@ #include -SM_RCSID("@(#)$Id: usersmtp.c,v 8.472 2008/01/31 18:48:29 ca Exp $") +SM_RCSID("@(#)$Id: usersmtp.c,v 8.473 2009/06/17 17:26:51 ca Exp $") #include @@ -1568,7 +1568,9 @@ attemptauth(m, mci, e, sai) sasl_interact_t *client_interact = NULL; char *mechusing; sasl_security_properties_t ssp; - char in64[MAXOUTLEN]; + + /* MUST NOT be a multiple of 4: bug in some sasl_encode64() versions */ + char in64[MAXOUTLEN + 1]; #if NETINET || (NETINET6 && SASL >= 20000) extern SOCKADDR CurHostAddr; #endif /* NETINET || (NETINET6 && SASL >= 20000) */ @@ -1770,7 +1772,8 @@ attemptauth(m, mci, e, sai) } else { - saslresult = sasl_encode64(out, outlen, in64, MAXOUTLEN, NULL); + saslresult = sasl_encode64(out, outlen, in64, sizeof(in64), + NULL); if (saslresult != SASL_OK) /* internal error */ { if (LogLevel > 8) @@ -1837,7 +1840,7 @@ attemptauth(m, mci, e, sai) if (outlen > 0) { saslresult = sasl_encode64(out, outlen, in64, - MAXOUTLEN, NULL); + sizeof(in64), NULL); if (saslresult != SASL_OK) { /* give an error reply to the other side! */ diff --git a/src/util.c b/src/util.c index dab596130500..ab491fbfe52b 100644 --- a/src/util.c +++ b/src/util.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2007 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2007, 2009 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -13,7 +13,7 @@ #include -SM_RCSID("@(#)$Id: util.c,v 8.414 2007/11/02 17:30:38 ca Exp $") +SM_RCSID("@(#)$Id: util.c,v 8.416 2009/12/18 17:05:26 ca Exp $") #include #include @@ -868,7 +868,7 @@ xputs(fp, s) c &= 0177; } printchar: - if (isprint(c)) + if (isascii(c) && isprint(c)) { (void) sm_io_putc(fp, SM_TIME_DEFAULT, c); continue; @@ -895,7 +895,7 @@ xputs(fp, s) TermEscape.te_rv_on); shiftout = true; } - if (isprint(c)) + if (isascii(c) && isprint(c)) { (void) sm_io_putc(fp, SM_TIME_DEFAULT, '\\'); (void) sm_io_putc(fp, SM_TIME_DEFAULT, c); diff --git a/src/version.c b/src/version.c index 3e5ee8e6fdcc..cb94d0f2c574 100644 --- a/src/version.c +++ b/src/version.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2008 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2009 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -13,6 +13,6 @@ #include -SM_RCSID("@(#)$Id: version.c,v 8.208 2008/04/17 17:04:30 ca Exp $") +SM_RCSID("@(#)$Id: version.c,v 8.218 2009/12/23 04:43:09 ca Exp $") -char Version[] = "8.14.3"; +char Version[] = "8.14.4"; diff --git a/vacation/vacation.c b/vacation/vacation.c index 10712b8ed8b0..2ead0b86cbee 100644 --- a/vacation/vacation.c +++ b/vacation/vacation.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999-2002 Sendmail, Inc. and its suppliers. + * Copyright (c) 1999-2002, 2009 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1987, 1993 * The Regents of the University of California. All rights reserved. @@ -14,13 +14,13 @@ #include SM_IDSTR(copyright, -"@(#) Copyright (c) 1999-2001 Sendmail, Inc. and its suppliers.\n\ +"@(#) Copyright (c) 1999-2002, 2009 Sendmail, Inc. and its suppliers.\n\ All rights reserved.\n\ Copyright (c) 1983, 1987, 1993\n\ The Regents of the University of California. All rights reserved.\n\ Copyright (c) 1983 Eric P. Allman. All rights reserved.\n") -SM_IDSTR(id, "@(#)$Id: vacation.c,v 8.144 2007/05/11 18:50:36 ca Exp $") +SM_IDSTR(id, "@(#)$Id: vacation.c,v 8.146 2009/08/07 21:28:39 ca Exp $") #include @@ -153,7 +153,7 @@ main(argc, argv) char *dbfilename = NULL; char *msgfilename = NULL; char *cfpath = NULL; - char *name; + char *name = NULL; char *returnaddr = NULL; SMDB_USER_INFO user_info; static char rnamebuf[MAXNAME]; @@ -299,7 +299,7 @@ main(argc, argv) "vacation: no such user uid %u.\n", getuid()); EXITM(EX_NOUSER); } - name = pw->pw_name; + name = strdup(pw->pw_name); user_info.smdbu_id = pw->pw_uid; user_info.smdbu_group_id = pw->pw_gid; (void) sm_strlcpy(user_info.smdbu_name, pw->pw_name, @@ -314,7 +314,7 @@ main(argc, argv) } else if (runasuser) { - name = *argv; + name = strdup(*argv); if (dbfilename == NULL || msgfilename == NULL) { msglog(LOG_NOTICE, @@ -358,7 +358,7 @@ main(argc, argv) sm_strexit(err)); EXITM(err); } - name = user.mbdb_name; + name = strdup(user.mbdb_name); if (chdir(user.mbdb_homedir) != 0) { msglog(LOG_NOTICE, @@ -371,6 +371,12 @@ main(argc, argv) (void) sm_strlcpy(user_info.smdbu_name, user.mbdb_name, SMDB_MAX_USER_NAME_LEN); } + if (name == NULL) + { + msglog(LOG_ERR, + "vacation: can't allocate memory for username.\n"); + EXITM(EX_OSERR); + } if (dbfilename == NULL) dbfilename = VDB; @@ -1032,6 +1038,14 @@ sendmessage(myname, msgfn, sender) (void *) &(pvect[1]), SM_IO_WRONLY, NULL)) != NULL) { +#if _FFR_VAC_WAIT4SM +# ifdef WAITUNION + union wait st; +# else /* WAITUNION */ + auto int st; +# endif /* WAITUNION */ +#endif /* _FFR_VAC_WAIT4SM */ + (void) sm_io_fprintf(sfp, SM_TIME_DEFAULT, "To: %s\n", From); (void) sm_io_fprintf(sfp, SM_TIME_DEFAULT, "Auto-Submitted: auto-replied\n"); @@ -1039,6 +1053,9 @@ sendmessage(myname, msgfn, sender) (void) sm_io_fputs(sfp, SM_TIME_DEFAULT, buf); (void) sm_io_close(mfp, SM_TIME_DEFAULT); (void) sm_io_close(sfp, SM_TIME_DEFAULT); +#if _FFR_VAC_WAIT4SM + (void) wait(&st); +#endif /* _FFR_VAC_WAIT4SM */ } else {