OpenBSD CVS

CVS log for src/usr.sbin/smtpd/Attic/delivery_lmtp.c


[BACK] Up to [local] / src / usr.sbin / smtpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19, Thu May 24 13:11:46 2018 UTC (6 years ago) by gilles
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +0 -0 lines
FILE REMOVED

no longer used, remove

Revision 1.18 / (download) - annotate - [select for diffs], Thu May 24 11:38:24 2018 UTC (6 years ago) by gilles
Branch: MAIN
Changes since 1.17: +0 -253 lines
Diff to previous 1.17 (colored)

switch smtpd to new grammar

ok eric@

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jun 5 12:10:28 2016 UTC (7 years, 11 months ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.16: +39 -6 lines
Diff to previous 1.16 (colored)

LMTP banner is handled by a getline() call so it cannot handle multiline
banners, introduce lmtp_banner() which takes care of this.

ok sunil@

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 5 11:48:56 2016 UTC (7 years, 11 months ago) by gilles
Branch: MAIN
Changes since 1.15: +29 -9 lines
Diff to previous 1.15 (colored)

delivery_lmtp does not know how to deal with LMTP servers returning
continuation lines, fix this.

reported and initial diff by parchd-1 @ github, ok sunil@

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 14 10:22:11 2015 UTC (8 years, 5 months ago) by jung
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

remove trailing whitespace

ok sunil gilles

Revision 1.14 / (download) - annotate - [select for diffs], Tue Oct 27 21:20:11 2015 UTC (8 years, 7 months ago) by jung
Branch: MAIN
Changes since 1.13: +6 -3 lines
Diff to previous 1.13 (colored)

add a rcpt-to parameter to be able to use the original (probably expanded)
RCPT TO within LMTP sessions

ok gilles eric

Revision 1.13 / (download) - annotate - [select for diffs], Tue Oct 27 21:11:27 2015 UTC (8 years, 7 months ago) by jung
Branch: MAIN
Changes since 1.12: +3 -5 lines
Diff to previous 1.12 (colored)

delivery lmtp gets fed with a message file as input which is guaranted to have
\n-terminated lines, so no need to strip \r here

also remove an unneeded len assignment while here

discussed with and ok gilles

Revision 1.12 / (download) - annotate - [select for diffs], Mon Oct 19 09:15:35 2015 UTC (8 years, 7 months ago) by sunil
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

Kill whitespace at eol.

Ok gilles@

Revision 1.11 / (download) - annotate - [select for diffs], Sun Oct 18 18:59:51 2015 UTC (8 years, 7 months ago) by jung
Branch: MAIN
Changes since 1.10: +15 -10 lines
Diff to previous 1.10 (colored)

fix lmtp delivery regressions introduced in previous:

- strip \r\n and add them explicitly to all DATA lines
- fix DATA termination
- add missing QUIT command (and check for reply)
- remove free() and fclose() and use exit(3) instead of _exit(2)
  to handle cleanup

ok sunil gilles

Revision 1.10 / (download) - annotate - [select for diffs], Sat Oct 17 16:07:03 2015 UTC (8 years, 7 months ago) by sunil
Branch: MAIN
Changes since 1.9: +109 -156 lines
Diff to previous 1.9 (colored)

Cleanup and simplify LMTP code.

Ok millert@ gilles@

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 14 22:01:43 2015 UTC (8 years, 7 months ago) by gilles
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

whitespaces

Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 10 11:42:49 2015 UTC (8 years, 7 months ago) by jung
Branch: MAIN
Changes since 1.7: +8 -14 lines
Diff to previous 1.7 (colored)

three conversions of fgetln() to getline()

ok eric sunil

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 20 17:37:54 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored)

use <limits.h> comprehensively.  For now try to push <> includes to
each .c file, and out of the .h files.  To avoid overinclude.
ok gilles, in principle.  If this has been done right, -portable should
become easier to maintain.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Apr 19 17:24:59 2014 UTC (10 years, 1 month ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

replace warnx message

Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 19 11:29:06 2014 UTC (10 years, 1 month ago) by gilles
Branch: MAIN
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored)

when copying socket path, check that we didnt truncate it which would cause
the following connect() to fail.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 26 17:25:32 2013 UTC (10 years, 5 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

bcopy -> memmove
bzero -> memset

Revision 1.3 / (download) - annotate - [select for diffs], Sat Oct 26 12:27:58 2013 UTC (10 years, 7 months ago) by eric
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

%i -> %d in format strings

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 19 08:45:38 2013 UTC (10 years, 10 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.1: +5 -2 lines
Diff to previous 1.1 (colored)

Make sure to report all errors

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 24 17:03:14 2013 UTC (11 years ago) by eric
Branch: MAIN

sync with OpenSMTPD 5.3.2

ok gilles@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.