summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2018-06-06code cleanupEric Faurot
ok gilles@ semarie@
2018-06-06remove fields that are found in struct dispatcher from struct relayhostEric Faurot
ok gilles@
2018-06-06if the parser can't find a starting line in user db, it won't lookMarc Espie
at any line, so it won't error out. Add logic to make it error out.
2018-06-06document missing database filtersremi
ok stsp@ claudio@ jca@
2018-06-06print metric for Intra-Area-Prefix LSAsremi
ok stsp@ claudio@ jca@
2018-06-05remove struct relayhost from struct envelope.Eric Faurot
ok gilles@
2018-06-05Revert introduction of fdinsert(), a sanitify check triggers whenMartin Pieuchot
closing a LARVAL file. Found the hardway by sthen@.
2018-06-05document "match tag"; ok gillesJason McIntyre
2018-06-04honor SIZE extension when advertised by peerGilles Chehade
ok millert@
2018-06-04for "match", document that envelopes that do not match anything are rejected,Jason McIntyre
and that rules are evaluated sequentially, first match wins; ok gilles
2018-06-04Fix file descriptor leak.Gerhard Roth
Patch submitted by Nan Xiao, ok tb@ sthen@ millert@ deraadt@ jca@
2018-06-04tweak previous;Jason McIntyre
2018-06-04add support for mda wrappers allowing postmaster to define command wrappersGilles Chehade
that will be executed (with recipient privileges) before calling the users' mail delivery agent ok eric@
2018-06-04tweak the text of the relaying example: make it clear that the exampleJason McIntyre
allows delivery as well as relaying (for authenticated users), and that passing to an external mda is possible, but not required; ok gilles
2018-06-04"match auth" matches transactions that *have been* authenticated;Jason McIntyre
ok gilles
2018-06-03split forkmda() in two:Gilles Chehade
- forkmda() creates the process that will be used for the delivery and does the switching of privileges then calls mda_unpriv() - mda_unpriv() runs with privileges of the recipient, it expands variables, sets up environment and executes the mda ok millert@ and eric@
2018-06-02LARVAL fds are now invisble from userland.Martin Pieuchot
From tb@
2018-06-02restore one set of quotes i shouldn;t have removed;Jason McIntyre
from ingo feinerer
2018-06-01reorder pki grammar, no functional changeGilles Chehade
2018-06-01instead of using 'set queue XXX' 'set mta XXX' 'set mda XXX' to set optionGilles Chehade
XXX on the relevant component, just drop the keyword 'set', it does not do anything useful and makes config directives longer. while at it, instead of having 'limit' as a main keyword, make it an option on components. and also while at it, do cleanup parse.y a bit ok millert@
2018-06-01when peer advertises SIZE, keep track of it in the sessionGilles Chehade
this will later allow _not_ sending messages when we know they will be rejected at commit time ok eric@
2018-06-01document that keywords have to be quoted when used additionally as argumentJason McIntyre
names, and remove any unneccessary quoting from the existing examples; ok gilles
2018-06-01Require a valid certificate by default when relaying through a smarthost.Eric Faurot
Add "tls no-verify" relay option to disable it. suggested and initial diff by semarie@. ok gilles@
2018-06-01Just over 15 years and 35 revisions ago, itojun removed the last use ofTheo Buehler
SIOCGIFNETMASK in #ifdef'ed out code. Adjust two comments accordingly.
2018-05-31remove 'where' parameter from all x*() functions in utils.c, it doesn'tGilles Chehade
really help us with anything, propagate the change in codebase ok millert@
2018-05-31- Replace virtual(5) reference by table(5) as virtual table format isGilles Chehade
documentation in table(5) man page under "Aliasing tables" section. - Add "auth <table>" documentation. Example at end of the man page uses it, so it should be documented. diff from Sebastien Marie
2018-05-31simplifyEric Faurot
ok gilles@
2018-05-31Document -uMarc Espie
assume the user.list format to be self-documented, as it is fairly loose.
2018-05-30cosmethic change, shuffle smtpd specific grammar bits _after_ the ones thatGilles Chehade
make sense to others
2018-05-30Use new SIOCGIFGLIST to provide carpGroupTable, showing "demote" valuesStuart Henderson
for interface groups on the system. From Jan Klemkow.
2018-05-30when path is too long, display it in error messageGilles Chehade
suggested by millert@
2018-05-30consistent casing;Jason McIntyre
2018-05-30tweak previous;Jason McIntyre
2018-05-30port -u userlist option from update-plist, as suggested by sthen@.Marc Espie
main differences: - error out on a problem instead of warning - always parse the userlist if the option is specified. Avoid ticking time bomb effect on bulk builds, where packages would be fine until the first @new(user|group) usage in case the user list got corrupted. Note it's still an option, so if you're using pkg_create outside of the ports tree, you can do whatever you want.
2018-05-30teach mail.maildir how to junk mails if -j option is set and X-Spam isGilles Chehade
positive, this can be enabled with the 'junk' option in maildir action ok eric@
2018-05-29it turns out we can provide syntaxic sugar for an LMTP action in smtpd.confGilles Chehade
which should please our users ;-) while at it get rid of unix:/inet: prefixes in LMTP destinations, we either use an absolute path for a UNIX socket or it's necessarily a network socket so '/' as the first char of the destination makes the prefixes irrelevant.
2018-05-29RECIPIENT should really be the dest address, post-expansion, not rcptGilles Chehade
suggested by eric@
2018-05-29remove unused functionEric Faurot
ok gilles@
2018-05-29missing caseEric Faurot
ok gilles@
2018-05-29no need to parse and dump the relayhost in the lookup process.Eric Faurot
ok gilles@
2018-05-29remove unused codeEric Faurot
ok gilles@
2018-05-29simplify mail.maildir as well as the parse.y glueGilles Chehade
ok eric@
2018-05-29provide mail user agents with the same environments as PostfixGilles Chehade
ok millert@, eric@
2018-05-29remove paragraph that's no longer true about authenticated users beingGilles Chehade
matched by from local
2018-05-28fix mail-from in relay rules, was not propagated from grammar to mtaGilles Chehade
reported by a user
2018-05-28zero memory before calling text_to_relayhost()Eric Faurot
fix issue reported by semarie@ ok gilles@
2018-05-28stop processing envelope if smarthost parsing failedEric Faurot
ok gilles@
2018-05-28missing m_close()Eric Faurot
ok gilles@
2018-05-28recognise MikroTik's Ethernet over IP (eoip) protocolDavid Gwynne
eoip is a twisted gre based protocol using version 1 like pptp, but a different protocol id. this splits the gre 1 protocol handling up so it doesn't assume that all packets are pptp, but decides between eoip and pptp based on the protocol field. unknown protocols are unknown rather that assumed to be pptp. ok sthen@
2018-05-26- old implem of @rcscript predates absolute_okay.Marc Espie
I don't think the implicit cwd is needed anymore. and a full bulk agrees with me. (this will simplify update-plist's logic as @rcscript is no longer special) - mandoc special subclass never got any use, as Ingo got mandoc to be so good the distinction does not make any sense, gc it.