Displaying 1 50 of 6,628 commits (0.514s)

OpenBSD — usr.sbin/smtpd rfc2822.c

some third-party applications generate malformed headers which we can still
parse correctly, do not reject message as malformed in this case
Delta File
+7 -2 usr.sbin/smtpd/rfc2822.c
+7 -2 1 file

OpenBSD — bin/chio parse.y, sbin/iked parse.y

Don't allow embedded nul characters in strings.
Fixes a pfctl crash with an anchor name containing
an embedded nul found with the afl fuzzer.

pfctl parse.y patch from and ok deraadt@
Delta File
+4 -1 bin/chio/parse.y
+4 -1 sbin/iked/parse.y
+4 -1 sbin/ipsecctl/parse.y
+4 -1 sbin/pfctl/parse.y
+4 -1 usr.sbin/bgpd/parse.y
+4 -1 usr.sbin/dvmrpd/parse.y
+64 -16 16 files not shown
+88 -22 22 files

OpenBSD — usr.sbin/smtpd smtpd.conf.5

two obvious markup fixes; from frankgroeneveld dot nl
Delta File
+4 -4 usr.sbin/smtpd/smtpd.conf.5
+4 -4 1 file

pkgsrc — mail/qmail-qfilter Makefile distinfo, mail/qmail-qfilter/patches patch-qmail-qfilter.c patch-aa

Apply patch (submitted upstream) to set QMAILPPID for filters to
know grandparent PID. With this change, I can correlate rejections
from my homegrown badrcptto-alike filter with qmail-smtpd sessions.
While here, add LICENSE and otherwise placate pkglint.

Bump PKGREVISION.

OpenBSD — bin/chio parse.y, usr.sbin/npppd/npppd parse.y

Convert the logic in yyerror().  Instead of creating a temporary
format string, create a temporary message.
OK doug@

OpenBSD — bin/chio parse.y, usr.sbin/dvmrpd parse.y

Add gcc printf format attributes to yyerror() in parse.y files.
No yyerror() calls needed to be changed.

ok bluhm@

OpenBSD — usr.sbin/smtpd enqueue.c

truncate dead.letter
Delta File
+2 -2 usr.sbin/smtpd/enqueue.c
+2 -2 1 file

FreeBSD Ports — head/mail/postfix-current pkg-plist Makefile

- update to 2.12-20141106
- add OPTION for Email Address Internationalization
  (EAI, RFC 6531..6533) [1]
- sort OPTIONS_DEFINE
- fix build and install for non root users,
  (sgid and group for sbin/postdrop and sbin/postqueue was lost if build
   as non root and installed with sudo)
- install /var/spool/postfix directories with correct owner/mode
- use $WRKDIR instead of /tmp

Changes:
20141021
       Per IETF TLS WG consensus, the tls_session_ticket_cipher
       default setting was changed from aes-128-cbc to aes-256-cbc.
       Take that, you quantum computer attackers! Viktor Dukhovni.
       Files: proto/postconf.proto, global/mail_params.h.

20141024
       Cleanup: added $smtpd_mumble_restrictions to the proxy_read_maps
       default setting. File: global/mail_params.h.

       Documentation: different header/body checks for MX service
       and SMTP submissions. File: proto/BUILTIN_FILTER_README.html.

       Cleanup: don't send "bare" original recipient in SMTP DSN

    [24 lines not shown]

OpenBSD — usr.sbin/smtpd enqueue.c

since domain appending is handled at the daemon level, don't try to do it
in the enqueuer itself, it leads to broken headers
Delta File
+2 -47 usr.sbin/smtpd/enqueue.c
+2 -47 1 file

OpenBSD — usr.sbin/smtpd smtp.c

stop prepending the user id in local enqueuing Received line
Delta File
+2 -2 usr.sbin/smtpd/smtp.c
+2 -2 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

increment s->datalen counter in append domain code to correctly account for
the data we wrote
Delta File
+6 -1 usr.sbin/smtpd/smtp_session.c
+6 -1 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

rework domain append by locating either the brackets or the last component
of an address and appending domain if not already there. this works better
than trying to parse addresses and render them back, while allowing us to
do the append "in place" and cope nicely with multi-line addresses.
Delta File
+155 -51 usr.sbin/smtpd/smtp_session.c
+155 -51 1 file

FreeBSD Ports — head/mail/postfix pkg-plist Makefile, head/mail/postfix/files pkg-install.in

- update to 2.11.3
- add CPE support
- use PORTDOCS macro
- remove check for OSVERSION >= 800037
- fix OPENLDAP_VER usage
- set PORTSCOUD
- always call set-permissions in post-install to set correct spool/postfix/* permissions
  this is required with pkg to support non interrupted upgrade

Changes:
========
20140619
        Bugfix (introduced: 2001): qmqpd null pointer bug when it
        logs a lost connection while not in a mail transaction.
        Reported by Michal Adamek. File: qmqpd/qmqpd.c.

20140920
        Bugfix (introduced: 20080212): incorrect client name in
        reject messages from check_reverse_client_hostname_access
        and check_reverse_client_hostname_{mx,ns}_access.  They
        replied with the verified client name, instead of the name
        that was rejected.  Problem reported by Reindl Harald. File:
        smtpd/smtpd_check.c.

20141012

    [24 lines not shown]

OpenBSD — usr.sbin/smtpd enqueue.c

when using the local enqueuer, if the internal SMTP session fails, copy the
original message to ~/dead.letter so it's not lost
Delta File
+122 -24 usr.sbin/smtpd/enqueue.c
+122 -24 1 file

OpenBSD — usr.sbin/smtpd makemap.c

newaliases / makemap should parse multi-line aliases entries
Delta File
+2 -2 usr.sbin/smtpd/makemap.c
+2 -2 1 file

OpenBSD — usr.sbin/smtpd ssl.c

disable SSLv3

ok jsing@
Delta File
+2 -2 usr.sbin/smtpd/ssl.c
+2 -2 1 file

OpenBSD — usr.sbin/smtpd rfc2822.c

- allow empty headers
Delta File
+3 -3 usr.sbin/smtpd/rfc2822.c
+3 -3 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c smtpd.h, usr.sbin/smtpd/smtpd Makefile

when From, To and Cc headers present users without domains, append the
listener hostname to avoid smtpd relaying a header that will be rewritten
by the destination MX.

ok eric@

OpenBSD — usr.sbin/smtpd rfc822.c rfc822.h

add a (high) limit to the number of header lines we're willing to keep in
memory for rewriting purposes, this will prevent sessions from sending an
insanely large number of continuations to a single header and starve us.

OpenBSD — usr.sbin/smtpd rfc822.c

fix memory leak in error path
Delta File
+13 -5 usr.sbin/smtpd/rfc822.c
+13 -5 1 file

Bitrig — bin/ksh misc.c jobs.c, games/atc input.c

Replace various macros with nitems() from <sys/param.h>.
Delta File
+16 -18 sys/arch/armv7/imx/imxccm.c
+15 -17 usr.sbin/snmpd/mib.c
+11 -11 bin/ksh/misc.c
+9 -9 usr.sbin/npppd/npppd/npppd.c
+8 -9 sbin/wsconsctl/util.c
+8 -8 sys/dev/ic/isp_library.c
+165 -258 103 files not shown
+232 -330 109 files

Bitrig — bin/ksh misc.c jobs.c, games/atc input.c

Replace various macros with nitems() from <sys/param.h>.

ok pedro@
Delta File
+16 -18 sys/arch/armv7/imx/imxccm.c
+15 -17 usr.sbin/snmpd/mib.c
+11 -11 bin/ksh/misc.c
+9 -9 usr.sbin/npppd/npppd/npppd.c
+8 -9 sbin/wsconsctl/util.c
+8 -8 sys/dev/ic/isp_library.c
+165 -258 103 files not shown
+232 -330 109 files

Bitrig — bin/ksh misc.c jobs.c, games/atc input.c

Replace various macros with nitems() from <sys/param.h>.
Delta File
+16 -18 sys/arch/armv7/imx/imxccm.c
+15 -17 usr.sbin/snmpd/mib.c
+11 -11 bin/ksh/misc.c
+9 -9 usr.sbin/npppd/npppd/npppd.c
+8 -9 sbin/wsconsctl/util.c
+8 -8 sys/dev/ic/isp_library.c
+160 -255 100 files not shown
+227 -327 106 files

OpenBSD — usr.sbin/smtpd rfc822.c

do not allow header to termine with pending flags
Delta File
+5 -1 usr.sbin/smtpd/rfc822.c
+5 -1 1 file

OpenBSD — usr.sbin/smtpd rfc822.c rfc822.h

to rewrite domain on incoming mails, we need to be able to extract
rfc822 addresses from some headers and parse them into a structure
that we can easily manipulate.

this implementation will parse addresses in the following formats:
        user, user <addr>, "user" <addr>, "user name" <addr>
Delta File
+148 -0 usr.sbin/smtpd/rfc822.c
+43 -0 usr.sbin/smtpd/rfc822.h
+191 -0 2 files

OpenBSD — usr.sbin/smtpd rfc2822.c rfc2822.h

simple message parser to be used in smtp incoming sessions, not plugged yet
Delta File
+211 -0 usr.sbin/smtpd/rfc2822.c
+71 -0 usr.sbin/smtpd/rfc2822.h
+282 -0 2 files

OpenBSD — usr.sbin/smtpd smtp.c

local host is not "localhost", local host is env->sc_hostname
Delta File
+4 -4 usr.sbin/smtpd/smtp.c
+4 -4 1 file

OpenBSD — usr.sbin/smtpd enqueue.c

obvious reallocarray() use
Delta File
+3 -3 usr.sbin/smtpd/enqueue.c
+3 -3 1 file

OpenBSD — usr.sbin/smtpd dns.c

restrict address lookups to configured address families.

ok gilles@
Delta File
+2 -1 usr.sbin/smtpd/dns.c
+2 -1 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

some MUA will bypass the local enqueuer and send an empty BCC header in the
DATA part of the SMTP transaction. force smtpd to strip these headers when
it sees them.
Delta File
+14 -1 usr.sbin/smtpd/smtp_session.c
+14 -1 1 file

OpenBSD — usr.sbin/smtpd enqueue.c

Use getlogin() to determine real user name where possible.
OK guenther@ deraadt@
Delta File
+5 -4 usr.sbin/smtpd/enqueue.c
+5 -4 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

when no domain is specified in MAIL FROM or RCPT TO, assume local user
Delta File
+9 -10 usr.sbin/smtpd/smtp_session.c
+9 -10 1 file

OpenBSD — usr.sbin/smtpd ca.c

no need to set the same field NULL twice ;-)

ok reyk@
Delta File
+1 -3 usr.sbin/smtpd/ca.c
+1 -3 1 file

OpenBSD — usr.sbin/smtpd ssl.c

avoid a double free
ok gilles
Delta File
+2 -1 usr.sbin/smtpd/ssl.c
+2 -1 1 file

OpenBSD — share/man/man8 starttls.8

rework this page to be less mailer specific, but using smtpd as an example;
ok gilles millert
Delta File
+51 -152 share/man/man8/starttls.8
+51 -152 1 file

Bitrig Ports — mail/opensmtpd-extras Makefile distinfo, mail/opensmtpd-extras/patches patch-tables_Makefile_inc patch-filters_Makefile_inc

Import opensmtpd-extras, some extra tools for smtpd(8)

input & ok zhuk@

Extra tools for OpenSMTPD:
  * Null and RAM-only queues
  * Stub and socket-based table implementations
  * table(5) authentication backends for mysql and postgresql

Written by: Giovanni Bechis <giovanni at openbsd.org>

OpenBSD Ports — mail/opensmtpd-extras Makefile distinfo, mail/opensmtpd-extras/patches patch-tables_Makefile_inc patch-filters_Makefile_inc

Import opensmtpd-extras, some extra tools for smtpd(8)

input & ok zhuk@

Extra tools for OpenSMTPD:
  * Null and RAM-only queues
  * Stub and socket-based table implementations
  * table(5) authentication backends for mysql and postgresql

Bitrig Ports — mail/opensmtpd-extras Makefile distinfo, mail/opensmtpd-extras/patches patch-tables_Makefile_inc patch-filters_Makefile_inc

Import opensmtpd-extras, some extra tools for smtpd(8)

input & ok zhuk@

Extra tools for OpenSMTPD:
  * Null and RAM-only queues
  * Stub and socket-based table implementations
  * table(5) authentication backends for mysql and postgresql

Written by: Giovanni Bechis <giovanni at openbsd.org>

Bitrig Ports — mail/opensmtpd-extras Makefile distinfo, mail/opensmtpd-extras/patches patch-tables_Makefile_inc patch-filters_Makefile_inc

Import opensmtpd-extras, some extra tools for smtpd(8)

input & ok zhuk@

Extra tools for OpenSMTPD:
  * Null and RAM-only queues
  * Stub and socket-based table implementations
  * table(5) authentication backends for mysql and postgresql

Written by: Giovanni Bechis <giovanni at openbsd.org>

Bitrig Ports — mail/opensmtpd-extras Makefile distinfo, mail/opensmtpd-extras/patches patch-tables_Makefile_inc patch-filters_Makefile_inc

Import opensmtpd-extras, some extra tools for smtpd(8)

input & ok zhuk@

Extra tools for OpenSMTPD:
  * Null and RAM-only queues
  * Stub and socket-based table implementations
  * table(5) authentication backends for mysql and postgresql

Written by: Giovanni Bechis <giovanni at openbsd.org>

Bitrig Ports — mail/opensmtpd-extras Makefile distinfo, mail/opensmtpd-extras/patches patch-tables_Makefile_inc patch-filters_Makefile_inc

    Merge from vendor branch giovanni:
    
    Import opensmtpd-extras, some extra tools for smtpd(8)
    
    input & ok zhuk@
    
    Extra tools for OpenSMTPD:
      * Null and RAM-only queues
      * Stub and socket-based table implementations
      * table(5) authentication backends for mysql and postgresql
    
    Written by: Giovanni Bechis <giovanni at openbsd.org>
∈ Imported From OpenBSD - b77d8ec9 - 2014-09-30 19:17:09
Import opensmtpd-extras, some extra tools for smtpd(8)

input & ok zhuk@

Extra tools for OpenSMTPD:
  * Null and RAM-only queues
  * Stub and socket-based table implementations
  * table(5) authentication backends for mysql and postgresql

Bitrig Ports — mail/opensmtpd-extras Makefile distinfo, mail/opensmtpd-extras/patches patch-tables_Makefile_inc patch-filters_Makefile_inc

Import opensmtpd-extras, some extra tools for smtpd(8)

input & ok zhuk@

Extra tools for OpenSMTPD:
  * Null and RAM-only queues
  * Stub and socket-based table implementations
  * table(5) authentication backends for mysql and postgresql

Written by: Giovanni Bechis <giovanni at openbsd.org>

OpenBSD Ports — games Makefile

    Merge from vendor branch giovanni:
    
    Import opensmtpd-extras, some extra tools for smtpd(8)
    
    input & ok zhuk@
    
    Extra tools for OpenSMTPD:
      * Null and RAM-only queues
      * Stub and socket-based table implementations
      * table(5) authentication backends for mysql and postgresql
∈ abieber - 97712172 - 2014-09-30 18:46:38
Delta File
+2 -1 games/Makefile
+2 -1 1 file

OpenBSD — usr.sbin/smtpd smtpctl.8, usr.sbin/smtpd/smtpctl Makefile

    Merge from vendor branch sqlite3:
    Update sqlite3 to 3.8.6. A list of changes are available here:
    http://sqlite.org/releaselog/3_8_6.html.
    
    Tested in a bulk and ok landry@
∈ jmc - 87a771d5 - 2014-09-29 21:56:47

OpenBSD — usr.sbin/smtpd smtpctl.8, usr.sbin/smtpd/smtpctl Makefile

lightly document mailq; ok gilles

OpenBSD — usr.sbin/smtpd table_passwd.c

during a small refactor, we broke table_passwd.

lookup function rely on a parsing function to have a struct passwd members
point to the appropriate position in a buffer... but instead of passing the
buffer, the parsing function uses its own internal buffer which will no
longer be valid upon return.

turns out to work by luck in my tests, not so much when Daniel Adolfsson
tried to use it.

spotted by Daniel Adolfsson <daniel at priv.nu>
Delta File
+13 -8 usr.sbin/smtpd/table_passwd.c
+13 -8 1 file

OpenBSD Ports — mail/sendmail Makefile, mail/sendmail/pkg README-main

Use rcctl to disable smtpd.

Bitrig Ports — mail/sendmail Makefile, mail/sendmail/pkg README-main

Use rcctl to disable smtpd.

Written by: Antoine Jacoutot <ajacoutot at openbsd.org>

Bitrig Ports — mail/sendmail Makefile, mail/sendmail/pkg README-main

Use rcctl to disable smtpd.

Written by: Antoine Jacoutot <ajacoutot at openbsd.org>

Bitrig Ports — mail/sendmail Makefile, mail/sendmail/pkg README-main

Use rcctl to disable smtpd.

Written by: Antoine Jacoutot <ajacoutot at openbsd.org>