OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


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

no longer used, remove

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

switch smtpd to new grammar

ok eric@

Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 28 19:47:57 2015 UTC (8 years, 5 months ago) by millert
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, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

fprintf() may not set the error indicator on failure so just use
fputs() + putc() to write the string and trailing newline.  OK jung@

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

three conversions of fgetln() to getline()

ok eric sunil

Revision 1.12 / (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.11: +2 -1 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Sun Jan 11 11:49:36 2015 UTC (9 years, 4 months ago) by gilles
Branch: MAIN
Changes since 1.10: +10 -3 lines
Diff to previous 1.10 (colored)

unbreak the delivery_filename backend, now that it no longer prepends the
From separator line but gets it injected in its iobuf by the mda process,
we need to make sure not to escape the first 'From ' we receive.

spotted by deraadt@

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jan 5 21:00:36 2015 UTC (9 years, 5 months ago) by gilles
Branch: MAIN
Changes since 1.9: +1 -5 lines
Diff to previous 1.9 (colored)

some third-party mda require a prepended From separator line, so remove the
prepending from delivery_filename backend and prepend conditionally earlier
in the code path if delivery method is through mda or filename.

ok eric@

Revision 1.9 / (download) - annotate - [select for diffs], Fri May 24 17:03:14 2013 UTC (11 years ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

sync with OpenSMTPD 5.3.2

ok gilles@

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jan 26 09:37:23 2013 UTC (11 years, 4 months ago) by gilles
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.7: +5 -3 lines
Diff to previous 1.7 (colored)

Sync with our smtpd repo:

* first bricks of ldap and sqlite support (not finished but both working)
* new table API to replace map API, all lookups are done through tables
* improved handling of temporary errors throughout the daemon
* improved scheduler and mta logic: connection reuse, optimizes batches
* improved queue: more tolerant to admin errors, new layout, less disk-IO
* improved memory usage under high load
* SSL certs/keys isolated to lookup process to avoid facing network
* VIRTUAL support improved, fully virtual setups possible now
* runtime tracing of processes through smtpctl trace
* ssl_privsep.c sync-ed with relayd
* ssl.c no longer contains smtpd specific interfaces
* smtpd-specific ssl bits moved to ssl_smtpd.c
* update mail address in copyright

FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE. FLUSH YOUR QUEUE.

smtpd.conf(5) simplified, it will require adaptations

ok eric@

Revision 1.7 / (download) - annotate - [select for diffs], Fri Nov 23 10:55:25 2012 UTC (11 years, 6 months ago) by eric
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

knf

ok gilles@

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 3 17:58:03 2012 UTC (11 years, 8 months ago) by gilles
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

disallow root deliveries for "deliver to filename" and "deliver to mda"
rules, we only allow them for mbox and maildir though users should really
create a root alias ...

discussed with eric@ and chl@, ok both

Revision 1.5 / (download) - annotate - [select for diffs], Fri May 25 13:51:41 2012 UTC (12 years ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

add missing header needed by time()

ok gilles@

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 7 23:04:00 2012 UTC (12 years, 3 months ago) by gilles
Branch: MAIN
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored)

- db.h not needed here, already removed by chl@ but I fscked up previous
  commit ... remove again

Revision 1.3 / (download) - annotate - [select for diffs], Wed Mar 7 22:54:49 2012 UTC (12 years, 3 months ago) by gilles
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

various reliability fixes:

- prevent queue_fsqueue from fatal() when it hits an ENOENT, it can happen
- change a bit the scheduler API to simplify it, fix runner accordingly

- we can't remove msg/batch from ramqueue while envelope is offloaded or
  it will cause a double, instead we add refcnt to both msg/batch and
  only free them when it hits 0

Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 4 17:11:45 2012 UTC (12 years, 4 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored)

remove unused header

ok gilles@

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 13 21:44:47 2011 UTC (12 years, 5 months ago) by gilles
Branch: MAIN

- introduce delivery backend API (delivery.c)
- move each delivery method to it's own delivery backend
- simplify smtpd.c accordingly
- rename A_EXT -> A_MDA since that's what we really do

ok eric@

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.