Up to [local] / src / usr.sbin / smtpd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.29, Fri Sep 4 11:53:48 2009 UTC (16 years ago) by jacekm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.28: +1 -1 lines
FILE REMOVED
merged with mda.c
Revision 1.28 / (download) - annotate - [select for diffs], Wed Sep 2 21:04:11 2009 UTC (16 years, 1 month ago) by jacekm
Branch: MAIN
Changes since 1.27: +5 -16 lines
Diff to previous 1.27 (colored)
Prepend Delivered-To, not append. Discussed with gilles@.
Revision 1.27 / (download) - annotate - [select for diffs], Wed Sep 2 10:00:58 2009 UTC (16 years, 1 month ago) by jacekm
Branch: MAIN
Changes since 1.26: +2 -7 lines
Diff to previous 1.26 (colored)
remove dead code, gilles ok
Revision 1.26 / (download) - annotate - [select for diffs], Tue Aug 18 18:38:05 2009 UTC (16 years, 1 month ago) by gilles
Branch: MAIN
Changes since 1.25: +4 -2 lines
Diff to previous 1.25 (colored)
The end of headers check that is used to determine where to insert our
Delivered-To header was wrong and could eventually lead to smtpd adding it
too early and making the remaining headers appear as body part to MUAs.
issue reported by Mathieu Goessens <[email protected]>
Revision 1.25 / (download) - annotate - [select for diffs], Sat Aug 8 00:02:22 2009 UTC (16 years, 1 month ago) by gilles
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)
import some changes from portable smtpd to reduce the delta between both. this commit contains mostly missing casts and cosmethic changes, do not expect to build this anywhere but on OpenBSD, it does not contain any of the portable glue.
Revision 1.24 / (download) - annotate - [select for diffs], Thu Aug 6 16:29:35 2009 UTC (16 years, 1 month ago) by gilles
Branch: MAIN
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)
replace X-OpenSMPTD-Loop with Delivered-To idea by jacekm@ a few weeks ago, discussed with pyr
Revision 1.23 / (download) - annotate - [select for diffs], Thu Aug 6 16:26:39 2009 UTC (16 years, 1 month ago) by gilles
Branch: MAIN
Changes since 1.22: +9 -1 lines
Diff to previous 1.22 (colored)
when writing a bounce, follow the same rule as for mta sessions and prepend with a dot lines starting with a dot
Revision 1.22 / (download) - annotate - [select for diffs], Thu Aug 6 14:27:41 2009 UTC (16 years, 1 month ago) by gilles
Branch: MAIN
Changes since 1.21: +8 -38 lines
Diff to previous 1.21 (colored)
factorize file_copy_session() and file_copy() so file_copy() can handle both deliveries to mailboxes (mbox/maildir) and copying to a session.
Revision 1.21 / (download) - annotate - [select for diffs], Thu Aug 6 13:40:45 2009 UTC (16 years, 1 month ago) by gilles
Branch: MAIN
Changes since 1.20: +32 -100 lines
Diff to previous 1.20 (colored)
This commit reworks the entire mailer daemon support to actually make it work for real. As an added bonus, it simplifies it, makes it follow the same code path as regular messages and kills quite some code from mta, mda and store. There's still some work needed but the most painful part is behind us now ;) ok jacekm@
Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 28 13:53:51 2009 UTC (16 years, 2 months ago) by gilles
Branch: MAIN
Changes since 1.19: +22 -6 lines
Diff to previous 1.19 (colored)
add missing bit to correctly spot loops in all cases. at the moment we only break out of the loop, but do not generate mailer daemon, this will come soon. ok pyr@, tested by me with help from gui at iroqwa dot org
Revision 1.19 / (download) - annotate - [select for diffs], Fri Jun 5 21:55:40 2009 UTC (16 years, 3 months ago) by jacekm
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6
Changes since 1.18: +1 -49 lines
Diff to previous 1.18 (colored)
Remove unneeded function that prepends mail with "From " marker. mail.local(8) does it for us in mbox case, maildir doesn't need this, and in ext. mda case we delegate it to the external program. committing on gilles@'s behalf
Revision 1.18 / (download) - annotate - [select for diffs], Wed May 27 13:14:18 2009 UTC (16 years, 4 months ago) by jacekm
Branch: MAIN
Changes since 1.17: +4 -11 lines
Diff to previous 1.17 (colored)
Insert Received: at receive time instead of delivery time; ok gilles@
Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 15 19:15:25 2009 UTC (16 years, 6 months ago) by gilles
Branch: MAIN
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored)
the mda process no longer uses struct batch as its central structure to deal with deliveries, it now uses struct session just like mta and smtp processes. we now keep the mbox and message descriptors in the session, saving space in struct message which is now as small as we can make it. While at it, plugged a memory leak and did some cosmethic changes This was the last planned change to our struct message which means that later changes will no longer require a queue flush before rebuild.
Revision 1.16 / (download) - annotate - [select for diffs], Thu Mar 12 11:08:26 2009 UTC (16 years, 6 months ago) by pea
Branch: MAIN
Changes since 1.15: +4 -12 lines
Diff to previous 1.15 (colored)
Add new function time_to_text to correctly display the date. Use it to display the date in received from header and when we store headers. ok jacekm@
Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 3 15:47:28 2009 UTC (16 years, 7 months ago) by gilles
Branch: MAIN
Changes since 1.14: +12 -10 lines
Diff to previous 1.14 (colored)
fix mbox locking by having it done by mail.local(8) which in turns uses lockspool(1). this means our mbox delivery follows a code path that has become almost identical to external mda deliveries. this is the first of a serie of diffs actually... lockspool(1) suggestion by deraadt@, mail.local(8) idea by jacekm@, and fix and testing by me
Revision 1.14 / (download) - annotate - [select for diffs], Mon Feb 23 00:51:32 2009 UTC (16 years, 7 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)
add missing headers needed by time() ok jacekm@ gilles@
Revision 1.13 / (download) - annotate - [select for diffs], Fri Jan 30 20:11:13 2009 UTC (16 years, 8 months ago) by form
Branch: MAIN
Changes since 1.12: +12 -10 lines
Diff to previous 1.12 (colored)
Do not break header for messages received via smtp. look ok gilles@
Revision 1.12 / (download) - annotate - [select for diffs], Thu Jan 29 15:20:34 2009 UTC (16 years, 8 months ago) by gilles
Branch: MAIN
Changes since 1.11: +10 -19 lines
Diff to previous 1.11 (colored)
Received header line was incomplete for mail submitted through the enqueuer as well as for some outgoing messages, this is fixed now
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 28 12:28:25 2009 UTC (16 years, 8 months ago) by jacekm
Branch: MAIN
Changes since 1.10: +17 -33 lines
Diff to previous 1.10 (colored)
">From" escaping and \n appending is not needed for maildir; ok gilles@
Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 14 22:41:41 2009 UTC (16 years, 8 months ago) by gilles
Branch: MAIN
Changes since 1.9: +33 -17 lines
Diff to previous 1.9 (colored)
- simplify file_copy() and teach it how to write in mboxrd format
Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 1 16:15:47 2009 UTC (16 years, 9 months ago) by jacekm
Branch: MAIN
Changes since 1.8: +1 -10 lines
Diff to previous 1.8 (colored)
remove unnecessary includes; ok gilles@
Revision 1.8 / (download) - annotate - [select for diffs], Sat Dec 6 14:30:51 2008 UTC (16 years, 9 months ago) by jacekm
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)
Don't include <err.h> where log.c API must be used. ok gilles@
Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 6 14:24:15 2008 UTC (16 years, 9 months ago) by gilles
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)
- fix spelling and grammar, From Nicholas Marriott <[email protected]>
Revision 1.6 / (download) - annotate - [select for diffs], Mon Nov 17 21:56:18 2008 UTC (16 years, 10 months ago) by chl
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)
add missing header needed by time(), ctime_r() and tzset(). ok gilles@
Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 11 20:59:11 2008 UTC (16 years, 10 months ago) by gilles
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)
- now that we fdopen() message file descriptor, do not forget to fclose()
Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 10 16:33:07 2008 UTC (16 years, 10 months ago) by gilles
Branch: MAIN
Changes since 1.3: +95 -55 lines
Diff to previous 1.3 (colored)
- remove last occurences of the atomic api in store.c, smtpd no longer uses atomic api when dealing with files but uses stdio instead
Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 5 12:14:45 2008 UTC (16 years, 10 months ago) by sobrado
Branch: MAIN
Changes since 1.2: +2 -0 lines
Diff to previous 1.2 (colored)
add a few missing id tags; there are a bunch of files, and developers will probably miss this change when working on more important matters, so it is probably better to sort them now. there is a risk of losing the tags if a change needs to be reverted too. written with excellent advice from jmc@ ok gilles@
Revision 1.2 / (download) - annotate - [select for diffs], Sat Nov 1 21:41:02 2008 UTC (16 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)
correct order of includes
Revision 1.1 / (download) - annotate - [select for diffs], Sat Nov 1 21:35:28 2008 UTC (16 years, 11 months ago) by gilles
Branch: MAIN
smtpd is a smtp server implementation for OpenBSD. It is a work in progress which still lacks many features. bringing it in tree will help working on it more easily. "at this stage it should go in" henning@, "move ahead" deraadt@