summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-29finally remove rule member from struct envelope.Eric Faurot
"wow!" gilles@
2012-09-29Remove support for "as user" for local deliveries.Eric Faurot
It's not documented and not implemented. ok gilles@
2012-09-29Do not test client flags against TTY_FREEZE bit, reported by Tom Ryder.Nicholas Marriott
2012-09-29From Gavin Atkinson in FreeBSD SVN rev 238778:Jonathan Gray
The baud rate on CP1201/2/3 devices can be set in one of two ways: - The USLCOM_SET_BAUD_DIV command (0x01) - The USLCOM_SET_BAUD_RATE command (0x13) Devices based on the CP1204 will only accept the latter command, and ignore the former. As the latter command works on all chips that this driver supports, switch to always using it. A slight confusion here is that the previously used command was incorrectly named USLCOM_BAUD_RATE - even though we no longer use it, rename it to USLCOM_SET_BAUD_DIV to closer match the name used in the datasheet. This change reflects a similar change made in the Linux driver, which was submitted by preston.fick at silabs.com, and has been tested on all of the uslcom(4) devices I have to hand.
2012-09-29Remove extra .PpLawrence Teo
ok jmc
2012-09-28framed-ip-address and framed-ip-netmask were not working.YASUOKA Masahiko
pointed out by Andrew Ngo.
2012-09-28some smtpd.{c,h} cleanups:Eric Faurot
- move struct child to smtpd.c - make it use a tree keyed on the pid - change child_add to take the title directly as a const char * - remove useless child_lookup() and child_del() - remove CHILD_INVALID ok chl@ gilles@
2012-09-28consistently use [[ ]] for testsRobert Peichaer
ok halex@
2012-09-28remove unnecessary quotes within [[ ]]Robert Peichaer
ok halex@
2012-09-28replace the last remaining backticks with $() for consistencyRobert Peichaer
ok halex@
2012-09-28fix adress family for ipv6 bpf packet capture; ok yasuokaMarkus Friedl
2012-09-28remove a comment that does not make sense any moreRobert Peichaer
ok halex@
2012-09-28free the control message in udp_input() if the packet is passed to pipexMarkus Friedl
ok yasuoka@
2012-09-28Update to account for the switch to ruby 1.9 by default. Feedback fromJeremy Evans
jmc@. OK jmc@
2012-09-28replace _fsent array with a simple concatenated listRobert Peichaer
ok halex@
2012-09-28use xmemdup() and xcalloc() helpersCharles Longeau
ok eric@
2012-09-28Move mda_session to mda.c, and make it use a tree instead of a list,Eric Faurot
but still use uint32_t keys since ithe key is used as peerid in msg. ok gilles@
2012-09-28update my copyrightMike Belopuhov
2012-09-28smtpd.h/control.c cleanups:Eric Faurot
- move session_socket_* prototypes under util.c - move struct ctl_conn in control.c - make static functions static - remove unused functions - call unlink() in control_shutdown() - make control_close() take a ctl_conn * instead of a fd ok chl@ gilles@
2012-09-28sync manpage with codeCamiel Dobbelaar
ok reyk
2012-09-28Misspelled DESC lineJanne Johansson
2012-09-28Add support for the Adaptec 39320LPE controller.Brad Smith
From FreeBSD ok kettenis@
2012-09-27use xstrdup() helperCharles Longeau
ok eric@ gilles@
2012-09-27remove some history details which have been around for long enoughJason McIntyre
to no longer be relevant; ok beck
2012-09-27When merging messages from an update, decrement the message counter if theEric Faurot
message already exists in the main queue, otherwise it's counted twice. ok gilles@
2012-09-27fatal -> fatalxEric Faurot
2012-09-27clarify the alias expansion code.Eric Faurot
The session manages a list of nodes to process. A node has a link to the parent node from which it has been expanded, and a link to the rule that led to its creation. Depending on its type and the associated rule, each node is either "expanded" to create new nodes or "submitted" to create a final envelope. Nodes which have already been seen, either processed or not, are discarded to avoid loops. The expansion process is bootstrapped by creating an EXPAND_ADDRESS node from the original dest, with no rule and no parent. It is done when all nodes have been expanded or if an error occurs before. The expand depth is limited 5 levels. The whole expansion fails if the limit is reached. While there, make sure that only one .forward file is queried at a time, and only append the subfolder tag in the maildir case. Fixe issues with some virtual map setups where the dest would get mixed up, and make the whole expansion process generally easier to follow. ok chl@ gilles@
2012-09-27simplify calloc() + strlcpy()/memcpy() dance with xmemdup()Charles Longeau
use xcalloc() helper remove newly unused variable ok gilles@ eric@
2012-09-27use xmalloc()/xcalloc() helpersCharles Longeau
while there unify usage of log_trace() in ramstat_set() ok gilles@ eric@
2012-09-27replace m_zero(9) with M_ZEROIZE; original diff from markusJason McIntyre
ok mikeb markus
2012-09-27enable smscJonathan Gray
2012-09-27Use a smaller buffer size when not attached to a high speed/usb2Jonathan Gray
controller. Makes smsc work when attached to usb1 controllers.
2012-09-27simplify malloc() + strlcpy() dance with xstrdup()Charles Longeau
ok gilles@ eric@
2012-09-27remove the zlib rfc text: these pages already point to gzip(1), whichJason McIntyre
has the references, and the rfc is not that relevant anyway;
2012-09-27last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2012-09-27make smsc work on big endian archsJonathan Gray
2012-09-27last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2012-09-27Do not leak file descriptor if not a tty, reported by Sebastien Marie.Nicholas Marriott
2012-09-26fix memory leak in case of fdopen() failureCharles Longeau
ok eric@ gilles@
2012-09-26Stop using the delivery_data union (field "to") in delivery_mda.Eric Faurot
It's confusing and not necessary as it's only used for "buffer". Instead, just add a "buffer" member in the structure and rename "as_user" to "user". The delivery_data union becomes an anonymous union in expandnode, which is the only other place where it's used. ok gilles@
2012-09-26Do not report link status unless the interface is up as the status isBrad Smith
only valid when the interface is up. From FreeBSD ok sthen@
2012-09-26Mention checksum offload for the 6105M controller.Brad Smith
ok sthen@
2012-09-26Add support for VLAN sized frames.Brad Smith
ok miod@
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2012-09-26add D-Link DGE-530T to re(4), update re(4) manpageRyan Freeman
tested on i386, ok brad@ sthen@ phessler@
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2012-09-26add M_ZEROIZE as an mbuf flag, so copied PFKEY messages (with embedded keys)Markus Friedl
are cleared as well; from hshoexer@, feedback and ok bluhm@, ok claudio@
2012-09-26maps must be numbered from 1 up, as 0 means "no map".Eric Faurot
ok gilles@
2012-09-26fix double free() issue in error pathsAlexander Hall
ok eric@ gilles@