OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10, Wed Jan 11 22:25:45 2012 UTC (12 years, 4 months ago) by gilles
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +0 -0 lines
FILE REMOVED

queue_fsqueue_ascii.c, you're not welcome anymore

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 11 22:24:37 2012 UTC (12 years, 4 months ago) by gilles
Branch: MAIN
Changes since 1.8: +0 -760 lines
Diff to previous 1.8 (colored)

implement an envelope_ascii API that's not tied to a specific queue_backend
simplify queue_fsqueue

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 11 17:05:09 2012 UTC (12 years, 4 months ago) by eric
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

fix typo

from Nathanael Rensen

ok gilles@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Dec 13 21:44:47 2011 UTC (12 years, 5 months ago) by gilles
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

- 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@

Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 6 16:55:32 2011 UTC (12 years, 6 months ago) by eric
Branch: MAIN
Changes since 1.5: +2 -22 lines
Diff to previous 1.5 (colored)

Do not dump the envelope status. It's useless and not reloaded anyway.

ok chl@ gilles@

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 27 14:32:57 2011 UTC (12 years, 7 months ago) by chl
Branch: MAIN
Changes since 1.4: +9 -8 lines
Diff to previous 1.4 (colored)

Use PRI{x,d}64 in format strings instead of %llx, %lld or %qd to print {u_,}int64_t or time_t

While there, cast some time_t to int64_t

These will fix build warnings for portable smptd

ok gilles@ eric@

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 23 15:36:53 2011 UTC (12 years, 7 months ago) by eric
Branch: MAIN
Changes since 1.3: +37 -23 lines
Diff to previous 1.3 (colored)

a few important fixes:

- use correct endianness when dumping/loading port
- use the right flag set when dumping/loading flags
- keep and use the authmap name when needed, rather than an id that
  might change when smtpd is restarted
- dump/load the authmap name with the envelope
- remove the rule struct from rq_batch as only the relay info is useful

ok gilles@

Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 23 13:08:18 2011 UTC (12 years, 7 months ago) by eric
Branch: MAIN
Changes since 1.2: +2 -16 lines
Diff to previous 1.2 (colored)

relay_as is not used anuwhere

ok gilles@

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 23 13:03:05 2011 UTC (12 years, 7 months ago) by gilles
Branch: MAIN
Changes since 1.1: +3 -7 lines
Diff to previous 1.1 (colored)

introduce Q_CORRUPT and queue_backend operation to move a message from
schedule queue to corrupt queue upon envelope loading failure.

tested by me, ok eric@

Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 23 09:30:07 2011 UTC (12 years, 7 months ago) by gilles
Branch: MAIN

fsqueue no longer stores envelopes by dumping the structure, instead use a
couple of load/dump functions to convert to and from a human readable fmt.
while at it kill struct delivery and merge back its fields to the envelope.

this basically means we shouldn't require users to flush their queues every
time we make a change to struct envelope.

work is not done, but we're at a better state than the binary fsqueue so
we'll improve it in-tree.

has been running on my own box for the last 12 hours or so
ok eric@, chl@

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.