/sendmail/libsm/ |
H A D | local.h | 7 * This code is derived from software contributed to Berkeley by 10 * By using this file, you agree to the terms and conditions set 18 ** Information local to this implementation of stdio, 108 # define FDSET_CAST /* empty cast for fd_set arg to select */ 115 ** file descriptor (fd) if possible. The 'fd' is needed to possibly 116 ** switch the mode of the file (blocking/non-blocking) to match 119 ** in blocking mode. If there is to be a finite timeout then the file 121 ** written, select() can be used to test when something can be written 125 ** will not happen. This situation arises when a late-binding-to-disk 131 ** fd -- to becom [all...] |
H A D | refill.c | 7 * This code is derived from software contributed to Berkeley by 10 * By using this file, you agree to the terms and conditions set 35 ** This #define uses a select() to wait for the 'fd' to become readable. 36 ** The select() can be active for up to 'To' time. The select() may not 38 ** measured to decide how much to subtract from 'To' to update it. On some 42 ** since a BSD-like system will have updated it and we don't want to 49 ** fd -- raw file descriptor (from 'fp') to us 145 struct timeval to; local [all...] |
H A D | fflush.c | 7 * This code is derived from software contributed to Berkeley by 10 * By using this file, you agree to the terms and conditions set 30 ** SM_IO_FLUSH -- flush the buffer for a 'fp' to the "file" 32 ** Flush a single file. We don't allow this function to flush 36 ** fp -- the file pointer buffer to flush 37 ** timeout -- time to complete the flush 50 struct timeval to; local 65 SM_CONVERT_TIME(fp, fd, timeout, &to); 77 ** fp -- file pointer to be flushed 122 ** Set these immediately to avoi [all...] |
H A D | setvbuf.c | 7 * This code is derived from software contributed to Berkeley by 10 * By using this file, you agree to the terms and conditions set 35 ** fp -- the file that buffering is to be changed for 37 ** buf -- buffer to use 38 ** mode -- buffering method to use 58 struct timeval to; local 63 ** Verify arguments. The `int' limit on `size' is due to this 81 SM_CONVERT_TIME(fp, fd, timeout, &to); 101 ** a `tty flag' to suggest that we check isatty(fd), but we do not 102 ** care since our caller told us how to buffe [all...] |
H A D | fvwrite.c | 7 * This code is derived from software contributed to Berkeley by 10 * By using this file, you agree to the terms and conditions set 33 ** fp -- the file pointer to write to 34 ** timeout -- time length for function to return by 35 ** uio -- the memory regions to write 42 ** to the different kinds of output buffering handled here. 68 struct timeval to; local 80 SM_CONVERT_TIME(fp, fd, timeout, &to); 88 /* Unbuffered: write up to BUFSI [all...] |
H A D | ldap.c | 5 * By using this file, you agree to the terms and conditions set 46 ** lmap -- pointer to SM_LDAP_STRUCT to clear 105 ** SM_LDAP_START -- actually connect to an LDAP server 120 #define SM_LDAP_SETTIMEOUT(to) \ 123 if (to != 0) \ 130 ev = sm_setevent(to, ldaptimeout, 0); \ 208 ** If using ldap_open(), the actual connection to the server 230 ** If using ldap_init(), the actual connection to the server 242 ** Need to pu [all...] |
/sendmail/contrib/ |
H A D | link_hash.sh | 9 # ln a certificate to its hash 23 echo link $H to $C exists
|
H A D | buildvirtuser | 15 # may be used to endorse or promote products derived from this software 47 right. An empty left column translates to the default for that domain. 53 The -f option forces the database to be rebuilt regardless of whether 56 The -t option instructs the program to build a text file instead of a 61 In order to function properly, sendmail must be configured to use these 67 If a new domain is added (i.e., by adding a new file to 69 to take affect. 204 rename($newvirt, $virt) || die "Could not rename $newvirt to $virt: $!\n"; 214 rename($newvirthosts, $virthosts) || die "Could not rename $newvirthosts to [all...] |
H A D | expn.pl | 19 # less magic should apply to command-line addresses 20 # less magic should apply to local addresses 21 # add magic to deal with cross-domain cnames 22 # disconnect & reconnect after 25 commands to the same sendmail 8.8.* host 46 # 4. The name of David Sharnoff may not be used to endorse or promote products 69 # in an effort to not trace each address individually, but rather 70 # ask each server in turn a whole bunch of questions, addresses to 75 # string "$addr *** $server" where $addr is the address to be 77 # of the SMTP server to contact. 82 # @hosts : list of servers still to b [all...] |
H A D | doublebounce.pl | 4 # Return a doubly-bounced e-mail to postmaster. Specific to sendmail, 5 # updated to work on sendmail 8.12.6. 8 # Updated by bicknell@ufp.org, 12/4/2002 to understand new sendmail DSN 13 ## attempt to return a doubly-bounced email to a postmaster 18 ## then adding this line to your sendmail.cf: 21 ## optionally, add a "-d" flag in the aliases file, to send a 22 ## debug trace to your own postmaster showing what is going on 24 ## this allows the "postmaster" address to stil [all...] |
/sendmail/sendmail/ |
H A D | stats.c | 8 * By using this file, you agree to the terms and conditions set 22 static bool GotStats = false; /* set when we have stats to merge */ 32 ** to -- to address. 43 markstats(e, to, type) 45 register ADDRESS *to; 67 if (to == NULL) 74 if (to == NULL) 85 Stat.stat_nt[to->q_mailer->m_mno]++; 86 Stat.stat_bt[to [all...] |
H A D | deliver.c | 8 * By using this file, you agree to the terms and conditions set 52 ** e -- the envelope to send. 53 ** mode -- the delivery mode to use. If SM_DEFAULT, use 82 ** If this message is to be discarded, don't bother sending 103 ** addresses to be sent. 135 ** Check to make sure the hop count is reasonable. 136 ** Delete sends to the sender in mailing lists. 157 syserr("554 5.4.6 Too many hops %d (%d max): from %s via %s, to %s", 177 ** are trying to send mail. The result is that the sender 304 ** set, send directly to th 1303 register ADDRESS *SM_NONVOLATILE to = firstto; local 1552 printaddr(sm_debug_file(), to, false); local 1637 printaddr(sm_debug_file(), to, false); local [all...] |
H A D | usersmtp.c | 8 * By using this file, you agree to the terms and conditions set 52 ** m -- mailer to create connection to. 85 ** Open the connection to the mailer. 100 /* need to clear old information */ 131 ** This should appear spontaneously. Give it five minutes to 148 ** My mother taught me to always introduce myself. 202 ** Check to see if we actually ended up talking to ourself. 204 ** to connec [all...] |
H A D | err.c | 8 * By using this file, you agree to the terms and conditions set 33 ** that we create. Its job is to handle exceptions that are not 40 ** exits the process when it fails due to lack of memory: 84 ** Prints an error message via sm_io_printf to the diagnostic output. 92 ** then syserr knows that the process is about to be terminated, 93 ** so the SMTP reply code defaults to 421. Otherwise, the 94 ** reply code defaults to 451 or 554, depending on errno. 486 ** Just like "message" except it never puts the to... tag on. 538 ** PUTOUTMSG -- output error message to transcript and channel 541 ** msg -- message to outpu [all...] |
H A D | milter.c | 5 * By using this file, you agree to the terms and conditions set 74 # define SMFS_OPEN 'O' /* connected to remote milter filter */ 97 /* Abort the filters to let them know we are done with msg */ \ 194 ** write -- waiting to read or write? 289 ** m -- milter to read from. 292 ** to -- timeout in seconds. 300 milter_sysread(m, buf, sz, to, e, where) 304 time_t to; 314 if (to > 0) 319 if (to > [all...] |
H A D | readcf.c | 8 * By using this file, you agree to the terms and conditions set 44 ** the line is to be interpreted. The lines are: 45 ** Dxval Define macro x to have value val. 47 ** Fxfile [fmt] Read file for lines to put into 56 ** Rlhs rhs Rewrite addresses that match lhs to 60 ** Oxvalue Set option x to value. 61 ** O option value Set option (long name) to value. 62 ** Pname=value Set precedence name to value. 71 ** Eenvar=value Set the environment value to the given value. 649 syserr("invalid argument to 4440 register struct timeoutinfo *to; local [all...] |
H A D | conf.c | 8 * By using this file, you agree to the terms and conditions set 72 ** I have tried to put almost all the reasonable 88 ** at this time. They are included as placeholders, to let 89 ** you know that "someday" I intend to have sendmail do 95 /* originator fields, most to least significant */ 98 { "resent-reply-to", H_FROM|H_RESENT, NULL }, 101 { "reply-to", H_FROM, NULL }, 102 { "errors-to", H_FROM|H_ERRORSTO, NULL }, 104 { "return-receipt-to", H_RECEIPTTO, NULL }, 105 { "delivery-receipt-to", H_RECEIPTT [all...] |
H A D | sendmail.h | 8 * By using this file, you agree to the terms and conditions set 163 ERROR README: please set -DSASL to the version of the CYRUS_SASL library 171 ** be pretty solid on most architectures today. They have to be 209 ** of an object pointed to by an argument to a function. 216 * to the called function. */ 218 * to be valid for the duration of the function call. */ 239 struct mailer *q_mailer; /* mailer to use */ 278 #define QRELAYED 0x00000400 /* DSN: relayed to non-DSN aware sys */ 305 #define QS_DONTSEND 6 /* don't send to thi [all...] |
/sendmail/devtools/OS/ |
H A D | HP-UX.11.x | 6 # +z is to generate position independant code
|
/sendmail/libmilter/ |
H A D | libmilter.h | 5 * By using this file, you agree to the terms and conditions set 55 ** an SMTP session, and an milter context. Due to the nature of SMTP 66 ** mac_ptr is a list of pointers into mac_buf to the beginning of each 85 ** milter protocol flags that are sent to the MTA; 93 ** milter protocol version that is sent to the MTA; 154 #define scond_timedwait(cp, mp, to) \ 160 timeout.tv_sec = now.tv_sec + to; \ 239 #define MI_CHK_TIME 5 /* checking whether to terminate */
|