Age | Commit message (Collapse) | Author |
|
beginning of the key (ie: "gilles: bleh" should not be stored as
key[gilles] val[ bleh])
|
|
no longer have a direct mapping between structures saved in aliases/virtual
db and structures used at runtime during expansion.
side effects ? struct alias is smaller, databases are smaller and it is no
longer necessary to rebuild aliases/virtual databases each time jacekm@ or
I make changes to some obscure structure used indirectely during expansion
rebuild databases, flush queues, make clean
|
|
smtpd is now capable of looking primary domains at runtime in a set, which
means that the following becomes possible:
map "primary" { source db "/etc/mail/primary.db" }
accept for domain map "primary" deliver to mbox
while at it fix a couple bugs in the aliases resolution path which caused
recipients to bounce if a ruleset did not have an "accept for local" rule
"diff reads good" jacekm@, flush queue & make clean
|
|
|
|
as a key in the virtual map, which means that to support virtual domain for
openbsd.org I would do:
openbsd.org whatevervalue
gilles@openbsd.org gilles
this commit teaches makemap how to deduce the special domain keys based on
the entries for that domain, so that only the second line is needed now.
|
|
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.
|
|
as a comment only when it starts a line or is preceded by whitespaces.
fixes a bug that was reported to me twice and which i ran into,
ok jacekm@
|
|
host which requests client certificates:
accept [...] relay via [...] ssl certificate "mycert"
diff from Josh Elsasser <josh@elsasser.org>, tested and okayed by me with
no change but the addition of status 554 to the state machine to deal with
remote host telling us it doesn't like our certificate.
|
|
|
|
|
|
to db file; ok gilles@
|
|
|
|
or we will truncate the last character of every value we store in a map.
|
|
to be correctly inserted into the map.
|
|
ok jacekm@
|
|
- make newaliases finish with short summary
ok gilles@
|
|
gilles@, pyr@ and henning@, diff ok gilles@.
|
|
|
|
|
|
From: Nicholas Marriott <nicholas.marriott@gmail.com>
|
|
ok gilles@
|
|
error such as "makemap foo.db".
ok gilles@
|
|
ok gilles@
|
|
number of arguments.
ok gilles@
|
|
makemap utility, this is needed for virtual users support amongst
other things. links to smtpd's aliases.c and only provides a
frontent to parse map descriptions. contains code from pyr@, chl@
and I. Should have also been imported with smtpd.
|