RCS file: /cvs/femail/Makefile,v Working file: Makefile head: 1.5 branch: locks: strict access list: symbolic names: femail: 1.1.1.1 henning: 1.1.1 keyword substitution: kv total revisions: 6; selected revisions: 6 description: ---------------------------- revision 1.5 date: 2005/09/20 10:56:17; author: beah; state: Exp; lines: +2 -1 create man8 dir ---------------------------- revision 1.4 date: 2005/08/30 09:59:36; author: beah; state: Exp; lines: +3 -3 use install instead of cp ok henning ---------------------------- revision 1.3 date: 2005/08/18 14:11:26; author: brahe; state: Exp; lines: +6 -4 add commented-out cflags I use during devlopment ---------------------------- revision 1.2 date: 2005/08/16 16:33:05; author: brahe; state: Exp; lines: +7 -3 portability gunk ---------------------------- revision 1.1 date: 2005/08/11 15:07:24; author: brahe; state: Exp; branches: 1.1.1; Initial revision ---------------------------- revision 1.1.1.1 date: 2005/08/11 15:07:24; author: brahe; state: Exp; lines: +0 -0 initial import ============================================================================= RCS file: /cvs/femail/femail.8,v Working file: femail.8 head: 1.5 branch: locks: strict access list: symbolic names: femail: 1.1.1.1 henning: 1.1.1 keyword substitution: kv total revisions: 6; selected revisions: 6 description: ---------------------------- revision 1.5 date: 2005/09/20 10:57:46; author: beah; state: Exp; lines: +2 -2 environent -> evironment ---------------------------- revision 1.4 date: 2005/08/25 14:16:44; author: brahe; state: Exp; lines: +19 -7 support setting the hotsname femail uses via config file ---------------------------- revision 1.3 date: 2005/08/11 21:40:51; author: brahe; state: Exp; lines: +9 -4 allow the port to be specified ---------------------------- revision 1.2 date: 2005/08/11 17:13:40; author: brahe; state: Exp; lines: +2 -8 don't describe cmd line opts we accept but just ignore ---------------------------- revision 1.1 date: 2005/08/11 15:07:24; author: brahe; state: Exp; branches: 1.1.1; Initial revision ---------------------------- revision 1.1.1.1 date: 2005/08/11 15:07:24; author: brahe; state: Exp; lines: +0 -0 initial import ============================================================================= RCS file: /cvs/femail/femail.c,v Working file: femail.c head: 1.46 branch: locks: strict access list: symbolic names: femail: 1.1.1.1 henning: 1.1.1 keyword substitution: kv total revisions: 47; selected revisions: 47 description: ---------------------------- revision 1.46 date: 2012/01/11 13:20:34; author: brahe; state: Exp; lines: +2 -2 0.98 ---------------------------- revision 1.45 date: 2012/01/11 13:09:18; author: brahe; state: Exp; lines: +2 -1 include time.h, Jean Raby ---------------------------- revision 1.44 date: 2007/11/22 01:28:01; author: brahe; state: Exp; lines: +5 -3 when smtphost or port are empty strings, fall back tpthe defaults too From: Marco Pfatschbacher ---------------------------- revision 1.43 date: 2005/09/21 06:53:42; author: brahe; state: Exp; lines: +6 -6 u_int line ---------------------------- revision 1.42 date: 2005/09/19 13:42:22; author: brahe; state: Exp; lines: +2 -2 0.97 ---------------------------- revision 1.41 date: 2005/08/26 16:50:25; author: brahe; state: Exp; lines: +2 -2 <> around Message-Id From: Claus Assmann ---------------------------- revision 1.40 date: 2005/08/26 16:46:19; author: brahe; state: Exp; lines: +3 -3 no space after MAIL FROM: and RCPT TO: Claus Assmann ---------------------------- revision 1.39 date: 2005/08/26 16:42:44; author: brahe; state: Exp; lines: +3 -8 rcpts are always qualified now, don't need to check and maybe add host part on RCPT TO: ---------------------------- revision 1.38 date: 2005/08/26 02:18:28; author: brahe; state: Exp; lines: +7 -7 process rcpts given on the cmd line later, when we actually have the hostname to qualify them... ---------------------------- revision 1.37 date: 2005/08/25 14:22:05; author: brahe; state: Exp; lines: +2 -2 femail 0.96 ---------------------------- revision 1.36 date: 2005/08/25 14:21:50; author: brahe; state: Exp; lines: +2 -2 urgs ---------------------------- revision 1.35 date: 2005/08/25 14:16:44; author: brahe; state: Exp; lines: +9 -4 support setting the hotsname femail uses via config file ---------------------------- revision 1.34 date: 2005/08/25 14:06:02; author: brahe; state: Exp; lines: +38 -30 introduce and consistently use qualify_addr(), which appends @host where necessary ---------------------------- revision 1.33 date: 2005/08/25 10:48:44; author: brahe; state: Exp; lines: +94 -43 handle addresses with comments, spaces, and addresses spanning multiple lines correctly... yes, what a maze. noticed by charles ---------------------------- revision 1.32 date: 2005/08/19 17:16:41; author: brahe; state: Exp; lines: +2 -2 addr_len must not become negative ever fixes groups only consisting of whitespace ---------------------------- revision 1.31 date: 2005/08/18 14:16:08; author: brahe; state: Exp; lines: +5 -1 remove trailing whitespace in addresses ---------------------------- revision 1.30 date: 2005/08/18 14:11:07; author: brahe; state: Exp; lines: +13 -6 support groups as per RFC2822 section 3.4 (what a mess) ---------------------------- revision 1.29 date: 2005/08/18 14:09:04; author: brahe; state: Exp; lines: +4 -8 shorten a bit ---------------------------- revision 1.28 date: 2005/08/18 14:02:12; author: brahe; state: Exp; lines: +9 -10 don't abort address parsing when we find none, proceed until line ends ---------------------------- revision 1.27 date: 2005/08/17 22:12:26; author: brahe; state: Exp; lines: +3 -2 only grab the sender out of the message if -f wasn't specified, noticed by charles ---------------------------- revision 1.26 date: 2005/08/17 19:19:52; author: brahe; state: Exp; lines: +4 -1 bail out early if rcpt_cnt is 0 Charles Cazabon ---------------------------- revision 1.25 date: 2005/08/17 19:17:05; author: brahe; state: Exp; lines: +42 -38 use read(2) in read_reply rather than stdio ---------------------------- revision 1.24 date: 2005/08/17 12:09:32; author: beah; state: Exp; lines: +2 -2 _exit(2) -> _exit (2) ---------------------------- revision 1.23 date: 2005/08/17 02:26:19; author: brahe; state: Exp; lines: +126 -120 slight reorg, no functional changes ---------------------------- revision 1.22 date: 2005/08/16 18:03:29; author: brahe; state: Exp; lines: +2 -1 need signal.h ---------------------------- revision 1.21 date: 2005/08/16 16:34:52; author: brahe; state: Exp; lines: +2 -2 femail 0.95 ---------------------------- revision 1.20 date: 2005/08/16 16:33:41; author: brahe; state: Exp; lines: +4 -2 bzero msg instead of statically initializing, error prone ---------------------------- revision 1.19 date: 2005/08/16 16:33:05; author: brahe; state: Exp; lines: +3 -1 portability gunk ---------------------------- revision 1.18 date: 2005/08/16 16:32:19; author: brahe; state: Exp; lines: +5 -7 use strtol, makes porting easier ---------------------------- revision 1.17 date: 2005/08/16 11:59:32; author: brahe; state: Exp; lines: +4 -4 signed/unsigned ---------------------------- revision 1.16 date: 2005/08/16 11:56:15; author: brahe; state: Exp; lines: +49 -47 add femail_put(), and use that instead of fprintf to talk to the smtphost eleminates stdio speaking to the smtphost ---------------------------- revision 1.15 date: 2005/08/16 11:28:14; author: brahe; state: Exp; lines: +2 -2 unsused var ---------------------------- revision 1.14 date: 2005/08/16 11:27:43; author: brahe; state: Exp; lines: +2 -1 missing include ---------------------------- revision 1.13 date: 2005/08/16 11:25:35; author: brahe; state: Exp; lines: +15 -1 use alarm() and a SIGALRM handler to impose a 2 minute timeout for the SMTP transaction ---------------------------- revision 1.12 date: 2005/08/16 11:05:01; author: brahe; state: Exp; lines: +11 -11 use getpwuid() and pw->pw_name instead of getlogin() ---------------------------- revision 1.11 date: 2005/08/15 11:05:59; author: brahe; state: Exp; lines: +4 -12 fold uid into the received line instead of adding X-Invoked ---------------------------- revision 1.10 date: 2005/08/15 11:03:05; author: brahe; state: Exp; lines: +29 -5 bail out on write errors correctly ---------------------------- revision 1.9 date: 2005/08/15 10:54:47; author: brahe; state: Exp; lines: +53 -95 turns out we do have to read the entire message from stdin first or we run into problems with SMTP timeouts with long running cron jobs or similar ---------------------------- revision 1.8 date: 2005/08/12 11:56:35; author: brahe; state: Exp; lines: +12 -6 fix address parsing with multiple addresses on one header line ---------------------------- revision 1.7 date: 2005/08/11 21:40:51; author: brahe; state: Exp; lines: +15 -7 allow the port to be specified ---------------------------- revision 1.6 date: 2005/08/11 18:31:38; author: brahe; state: Exp; lines: +1 -2 don't need util.h ---------------------------- revision 1.5 date: 2005/08/11 17:13:59; author: brahe; state: Exp; lines: +3 -3 sync usage ---------------------------- revision 1.4 date: 2005/08/11 16:45:26; author: brahe; state: Exp; lines: +2 -3 use strlcpy, not strncpy, for address extraction ---------------------------- revision 1.3 date: 2005/08/11 15:31:11; author: brahe; state: Exp; lines: +13 -8 a lot more command line options to accept and ignore for sendwhale compat ---------------------------- revision 1.2 date: 2005/08/11 15:17:57; author: brahe; state: Exp; lines: +8 -0 account for \r\n on input ---------------------------- revision 1.1 date: 2005/08/11 15:07:24; author: brahe; state: Exp; branches: 1.1.1; Initial revision ---------------------------- revision 1.1.1.1 date: 2005/08/11 15:07:24; author: brahe; state: Exp; lines: +0 -0 initial import ============================================================================= RCS file: /cvs/femail/openbsd_compat.c,v Working file: openbsd_compat.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: ---------------------------- revision 1.1 date: 2005/08/16 16:33:05; author: brahe; state: Exp; portability gunk ============================================================================= RCS file: /cvs/femail/openbsd_compat.h,v Working file: openbsd_compat.h head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: ---------------------------- revision 1.1 date: 2005/08/16 16:33:05; author: brahe; state: Exp; portability gunk =============================================================================