Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package msmtp for openSUSE:Factory checked in at 2021-11-09 23:55:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/msmtp (Old) and /work/SRC/openSUSE:Factory/.msmtp.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "msmtp" Tue Nov 9 23:55:01 2021 rev:58 rq:930471 version:1.8.19 Changes: -------- --- /work/SRC/openSUSE:Factory/msmtp/msmtp.changes 2021-11-03 17:27:15.517369799 +0100 +++ /work/SRC/openSUSE:Factory/.msmtp.new.1890/msmtp.changes 2021-11-09 23:55:29.715979677 +0100 @@ -1,0 +2,7 @@ +Thu Nov 4 17:54:27 UTC 2021 - Beno??t Monin <benoit.mo...@gmx.fr> + +- update to version 1.8.19: + * Fixed a security problem in msmtpd: mail addresses starting + with '-' could be interpreted as options of the pipe command. + +------------------------------------------------------------------- Old: ---- msmtp-1.8.18.tar.xz msmtp-1.8.18.tar.xz.sig New: ---- msmtp-1.8.19.tar.xz msmtp-1.8.19.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ msmtp.spec ++++++ --- /var/tmp/diff_new_pack.SloVDs/_old 2021-11-09 23:55:30.211979930 +0100 +++ /var/tmp/diff_new_pack.SloVDs/_new 2021-11-09 23:55:30.211979930 +0100 @@ -17,7 +17,7 @@ Name: msmtp -Version: 1.8.18 +Version: 1.8.19 Release: 0 BuildRequires: gnutls-devel >= 3.4 BuildRequires: libidn2-devel ++++++ msmtp-1.8.18.tar.xz -> msmtp-1.8.19.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/ChangeLog new/msmtp-1.8.19/ChangeLog --- old/msmtp-1.8.18/ChangeLog 2021-10-22 17:45:42.000000000 +0200 +++ new/msmtp-1.8.19/ChangeLog 2021-11-04 08:42:29.000000000 +0100 @@ -1,3 +1,66 @@ +commit 0f8e1c49f7b915c0a70d204e2fd5ffb7979f11b6 +Author: Martin Lambers <mar...@marlam.de> +Date: 2021-11-04 08:36:04 +0100 + + msmtpd: document the use of '--' in the pipe command + + doc/msmtp.texi | 1 + + doc/msmtpd.1 | 3 ++- + 2 files changed, 3 insertions(+), 1 deletion(-) + +commit 4d661bf45ad329d0bdd947a503f7de37b6713622 +Author: Martin Lambers <mar...@marlam.de> +Date: 2021-11-04 08:14:43 +0100 + + Bump version to 1.8.19 + + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +commit 606506420a87b547ad2b6d704f809dd6a35bbb86 +Author: Martin Lambers <mar...@marlam.de> +Date: 2021-11-04 08:14:35 +0100 + + Update NEWS + + NEWS | 7 +++++++ + 1 file changed, 7 insertions(+) + +commit 77f987223282f7025ac8ceda0d552bfc41a6c366 +Author: Martin Lambers <mar...@marlam.de> +Date: 2021-11-04 08:12:48 +0100 + + Update translations + + po/de.po | 970 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------- + po/eo.po | 960 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------- + po/fr.po | 973 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------------------------------- + po/pt_BR.po | 973 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------------------------------- + po/sr.po | 962 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------- + po/ta.po | 852 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------- + po/uk.po | 962 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------- + 7 files changed, 3447 insertions(+), 3205 deletions(-) + +commit 2679609f72e27760f9785c3905f9943451b47a12 +Author: Martin Lambers <mar...@marlam.de> +Date: 2021-11-03 08:48:15 +0100 + + msmtpd: protect against mail adresses interpreted as options of the pipe command + + src/msmtpd.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +commit d9e8eac2be849193ee0b8c8b8abfccc8fcaeb6e5 +Author: Martin Lambers <mar...@marlam.de> +Date: 2021-11-02 17:22:04 +0100 + + msmtpd: allow '=' in mail addresses, and improve comment + + This adresses https://github.com/marlam/msmtp-mirror/issues/61 + + src/msmtpd.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + commit 6ec75d7444151a55cb8cd7dccc767de3007e9ed2 Author: Martin Lambers <mar...@marlam.de> Date: 2021-10-22 17:45:03 +0200 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/Makefile.in new/msmtp-1.8.19/Makefile.in --- old/msmtp-1.8.18/Makefile.in 2021-10-22 17:45:37.000000000 +0200 +++ new/msmtp-1.8.19/Makefile.in 2021-11-04 08:14:58.000000000 +0100 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2021 Free Software Foundation, Inc. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/NEWS new/msmtp-1.8.19/NEWS --- old/msmtp-1.8.18/NEWS 2021-10-02 19:58:35.000000000 +0200 +++ new/msmtp-1.8.19/NEWS 2021-11-04 08:14:25.000000000 +0100 @@ -1,3 +1,10 @@ +Version 1.8.19: +- Fixed a security problem in msmtpd: mail addresses starting with '-' could be + interpreted as options of the pipe command. + +Version 1.8.18: +- No significant changes. + Version 1.8.17: - msmtpd now supports logging to syslog or to a file with the option --log, and authentication (for special use cases) with the option --auth. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/aclocal.m4 new/msmtp-1.8.19/aclocal.m4 --- old/msmtp-1.8.18/aclocal.m4 2021-10-22 17:45:37.000000000 +0200 +++ new/msmtp-1.8.19/aclocal.m4 2021-11-04 08:14:57.000000000 +0100 @@ -1,4 +1,4 @@ -# generated automatically by aclocal 1.16.4 -*- Autoconf -*- +# generated automatically by aclocal 1.16.5 -*- Autoconf -*- # Copyright (C) 1996-2021 Free Software Foundation, Inc. @@ -3596,7 +3596,7 @@ [am__api_version='1.16' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. -m4_if([$1], [1.16.4], [], +m4_if([$1], [1.16.5], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) @@ -3612,7 +3612,7 @@ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], -[AM_AUTOMAKE_VERSION([1.16.4])dnl +[AM_AUTOMAKE_VERSION([1.16.5])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) @@ -3989,6 +3989,10 @@ # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl +m4_ifdef([_$0_ALREADY_INIT], + [m4_fatal([$0 expanded multiple times +]m4_defn([_$0_ALREADY_INIT]))], + [m4_define([_$0_ALREADY_INIT], m4_expansion_stack)])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/configure new/msmtp-1.8.19/configure --- old/msmtp-1.8.18/configure 2021-10-22 17:45:37.000000000 +0200 +++ new/msmtp-1.8.19/configure 2021-11-04 08:14:58.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for msmtp 1.8.18. +# Generated by GNU Autoconf 2.71 for msmtp 1.8.19. # # Report bugs to <mar...@marlam.de>. # @@ -611,8 +611,8 @@ # Identity of this package. PACKAGE_NAME='msmtp' PACKAGE_TARNAME='msmtp' -PACKAGE_VERSION='1.8.18' -PACKAGE_STRING='msmtp 1.8.18' +PACKAGE_VERSION='1.8.19' +PACKAGE_STRING='msmtp 1.8.19' PACKAGE_BUGREPORT='mar...@marlam.de' PACKAGE_URL='https://marlam.de/msmtp' @@ -1393,7 +1393,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures msmtp 1.8.18 to adapt to many kinds of systems. +\`configure' configures msmtp 1.8.19 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1465,7 +1465,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of msmtp 1.8.18:";; + short | recursive ) echo "Configuration of msmtp 1.8.19:";; esac cat <<\_ACEOF @@ -1607,7 +1607,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -msmtp configure 1.8.18 +msmtp configure 1.8.19 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1958,7 +1958,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by msmtp $as_me 1.8.18, which was +It was created by msmtp $as_me 1.8.19, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -4844,7 +4844,7 @@ # Define the identity of the package. PACKAGE='msmtp' - VERSION='1.8.18' + VERSION='1.8.19' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -10749,7 +10749,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by msmtp $as_me 1.8.18, which was +This file was extended by msmtp $as_me 1.8.19, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -10818,7 +10818,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -msmtp config.status 1.8.18 +msmtp config.status 1.8.19 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/configure.ac new/msmtp-1.8.19/configure.ac --- old/msmtp-1.8.18/configure.ac 2021-10-22 17:44:40.000000000 +0200 +++ new/msmtp-1.8.19/configure.ac 2021-11-04 08:13:03.000000000 +0100 @@ -24,7 +24,7 @@ # dnl Autotools init stuff -AC_INIT([msmtp],[1.8.18],[mar...@marlam.de],[msmtp],[https://marlam.de/msmtp]) +AC_INIT([msmtp],[1.8.19],[mar...@marlam.de],[msmtp],[https://marlam.de/msmtp]) AC_CONFIG_SRCDIR([src/msmtp.c]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_HEADERS([config.h]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/doc/Makefile.in new/msmtp-1.8.19/doc/Makefile.in --- old/msmtp-1.8.18/doc/Makefile.in 2021-10-22 17:45:37.000000000 +0200 +++ new/msmtp-1.8.19/doc/Makefile.in 2021-11-04 08:14:58.000000000 +0100 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2021 Free Software Foundation, Inc. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/doc/msmtp.info new/msmtp-1.8.19/doc/msmtp.info --- old/msmtp-1.8.18/doc/msmtp.info 2021-10-22 17:45:39.000000000 +0200 +++ new/msmtp-1.8.19/doc/msmtp.info 2021-11-04 08:42:29.000000000 +0100 @@ -1,6 +1,7 @@ This is msmtp.info, produced by makeinfo version 6.8 from msmtp.texi. -This manual was last updated 4 October 2021 for version 1.8.18 of msmtp. +This manual was last updated 4 November 2021 for version 1.8.19 of +msmtp. Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Martin Lambers @@ -21,7 +22,8 @@ msmtp ***** -This manual was last updated 4 October 2021 for version 1.8.18 of msmtp. +This manual was last updated 4 November 2021 for version 1.8.19 of +msmtp. Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Martin Lambers @@ -1312,7 +1314,8 @@ ???--log=NONE|SYSLOG|FILENAME??? Set logging: none (default), syslog, or logging to the given file. ???--command=CMD??? - Pipe mails to CMD instead of msmtp + Pipe mails to CMD instead of msmtp Make sure to end this command + with ???--??? to separate options from arguments. ???--auth=USER[,PASSWORDEVAL]??? Require authentication with this user name. The password will be retrieved from the given PASSWORDEVAL command (this works just like @@ -1391,101 +1394,101 @@ Tag Table: -Node: Top673 -Node: Introduction1808 -Node: Configuration files3681 -Ref: defaults5219 -Ref: account5383 -Ref: host5758 -Ref: port5938 -Ref: source_ip6114 -Ref: proxy_host6297 -Ref: proxy_port6768 -Ref: socket6934 -Ref: timeout7109 -Ref: protocol7315 -Ref: domain7486 -Ref: auth8552 -Ref: user8960 -Ref: password9138 -Ref: passwordeval9434 -Ref: ntlmdomain9895 -Ref: tls10081 -Ref: tls_starttls10174 -Ref: tls_trust_file10339 -Ref: tls_crl_file10707 -Ref: tls_fingerprint10975 -Ref: tls_key_file11492 -Ref: tls_cert_file11737 -Ref: tls_certcheck11958 -Ref: tls_priorities12246 -Ref: tls_host_override13151 -Ref: tls_min_dh_prime_bits13394 -Ref: from13922 -Ref: dsn_notify15143 -Ref: dsn_return15871 -Ref: set_from_header16406 -Ref: set_date_header17081 -Ref: remove_bcc_headers17483 -Ref: undisclosed_recipients17614 -Ref: logfile17865 -Ref: logfile_time_format18065 -Ref: syslog18303 -Ref: aliases18580 -Ref: auto_from19361 -Ref: maildomain19984 -Node: Invocation20224 -Ref: --configure21622 -Ref: --serverinfo21900 -Ref: --rmqs22183 -Ref: --auth24025 -Ref: --user24147 -Ref: --passwordeval24238 -Ref: --tls-starttls24400 -Ref: --tls-trust-file24495 -Ref: --tls-crl-file24589 -Ref: --tls-fingerprint24725 -Ref: --tls-key-file24858 -Ref: --tls-cert-file24946 -Ref: --tls-certcheck25037 -Ref: --tls-priorities25156 -Ref: --tls-host-override25251 -Ref: --tls-min-dh-prime-bits25371 -Ref: --from25651 -Ref: --dsn-notify26110 -Ref: --dsn-return26238 -Ref: --set-from-header26465 -Ref: --set-date-header26562 -Ref: --remove-bcc-headers26656 -Ref: --undisclosed-recipients26779 -Ref: --logfile26948 -Ref: --logfile-time-format27037 -Ref: --syslog27150 -Ref: --auto-from27955 -Ref: --maildomain28019 -Ref: Choosing an account28443 -Ref: Files29563 -Ref: Environment30045 -Node: Transport Layer Security31097 -Ref: Client Certificates34002 -Node: Authentication35803 -Node: Delivery Status Notifications40276 -Node: Sendmail mode41471 -Node: Envelope-from address41795 -Node: Logging42278 -Node: Header handling43866 -Node: Server information mode44735 -Node: Remote Message Queue Starting mode46227 -Node: Examples47254 -Node: A user configuration file47577 -Node: A system wide configuration file50619 -Node: Using msmtp with Mutt51370 -Node: Using msmtp with mail53814 -Node: Using msmtp with Tor54210 -Node: Aliases file54835 -Node: Minimal SMTP server (msmtpd)55210 -Node: Example using msmtpd as a system service57941 -Node: Example using msmtpd to handle outgoing mail for an SMTP-based mail client58961 +Node: Top674 +Node: Introduction1810 +Node: Configuration files3683 +Ref: defaults5221 +Ref: account5385 +Ref: host5760 +Ref: port5940 +Ref: source_ip6116 +Ref: proxy_host6299 +Ref: proxy_port6770 +Ref: socket6936 +Ref: timeout7111 +Ref: protocol7317 +Ref: domain7488 +Ref: auth8554 +Ref: user8962 +Ref: password9140 +Ref: passwordeval9436 +Ref: ntlmdomain9897 +Ref: tls10083 +Ref: tls_starttls10176 +Ref: tls_trust_file10341 +Ref: tls_crl_file10709 +Ref: tls_fingerprint10977 +Ref: tls_key_file11494 +Ref: tls_cert_file11739 +Ref: tls_certcheck11960 +Ref: tls_priorities12248 +Ref: tls_host_override13153 +Ref: tls_min_dh_prime_bits13396 +Ref: from13924 +Ref: dsn_notify15145 +Ref: dsn_return15873 +Ref: set_from_header16408 +Ref: set_date_header17083 +Ref: remove_bcc_headers17485 +Ref: undisclosed_recipients17616 +Ref: logfile17867 +Ref: logfile_time_format18067 +Ref: syslog18305 +Ref: aliases18582 +Ref: auto_from19363 +Ref: maildomain19986 +Node: Invocation20226 +Ref: --configure21624 +Ref: --serverinfo21902 +Ref: --rmqs22185 +Ref: --auth24027 +Ref: --user24149 +Ref: --passwordeval24240 +Ref: --tls-starttls24402 +Ref: --tls-trust-file24497 +Ref: --tls-crl-file24591 +Ref: --tls-fingerprint24727 +Ref: --tls-key-file24860 +Ref: --tls-cert-file24948 +Ref: --tls-certcheck25039 +Ref: --tls-priorities25158 +Ref: --tls-host-override25253 +Ref: --tls-min-dh-prime-bits25373 +Ref: --from25653 +Ref: --dsn-notify26112 +Ref: --dsn-return26240 +Ref: --set-from-header26467 +Ref: --set-date-header26564 +Ref: --remove-bcc-headers26658 +Ref: --undisclosed-recipients26781 +Ref: --logfile26950 +Ref: --logfile-time-format27039 +Ref: --syslog27152 +Ref: --auto-from27957 +Ref: --maildomain28021 +Ref: Choosing an account28445 +Ref: Files29565 +Ref: Environment30047 +Node: Transport Layer Security31099 +Ref: Client Certificates34004 +Node: Authentication35805 +Node: Delivery Status Notifications40278 +Node: Sendmail mode41473 +Node: Envelope-from address41797 +Node: Logging42280 +Node: Header handling43868 +Node: Server information mode44737 +Node: Remote Message Queue Starting mode46229 +Node: Examples47256 +Node: A user configuration file47579 +Node: A system wide configuration file50621 +Node: Using msmtp with Mutt51372 +Node: Using msmtp with mail53816 +Node: Using msmtp with Tor54212 +Node: Aliases file54837 +Node: Minimal SMTP server (msmtpd)55212 +Node: Example using msmtpd as a system service58028 +Node: Example using msmtpd to handle outgoing mail for an SMTP-based mail client59048 End Tag Table diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/doc/msmtp.texi new/msmtp-1.8.19/doc/msmtp.texi --- old/msmtp-1.8.18/doc/msmtp.texi 2021-10-04 20:02:51.000000000 +0200 +++ new/msmtp-1.8.19/doc/msmtp.texi 2021-11-04 08:35:41.000000000 +0100 @@ -1460,6 +1460,7 @@ Set logging: none (default), syslog, or logging to the given file. @item --command=@var{cmd} Pipe mails to @var{cmd} instead of msmtp +Make sure to end this command with @samp{--} to separate options from arguments. @item --auth=@var{user}[,@var{passwordeval}] Require authentication with this user name. The password will be retrieved from the given @var{passwordeval} command (this works diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/doc/msmtpd.1 new/msmtp-1.8.19/doc/msmtpd.1 --- old/msmtp-1.8.18/doc/msmtpd.1 2021-10-02 19:56:27.000000000 +0200 +++ new/msmtp-1.8.19/doc/msmtpd.1 2021-11-04 08:35:22.000000000 +0100 @@ -55,7 +55,8 @@ .IP "\-\-log=\fInone\fP|\fIsyslog\fP|\fIfilename\fP Set logging: none (default), syslog, or logging to the given file. .IP "\-\-command=\fIcmd\fP -Pipe mails to \fIcmd\fP instead of msmtp +Pipe mails to \fIcmd\fP instead of msmtp. +Make sure to end this command with \-\- to separate options from arguments. .IP "\-\-auth=\fIuser\fP[,\fIpasswordeval\fP] Require authentication with this user name. The password will be retrieved from the given \fIpasswordeval\fP command (this works diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/doc/stamp-vti new/msmtp-1.8.19/doc/stamp-vti --- old/msmtp-1.8.18/doc/stamp-vti 2021-10-22 17:45:39.000000000 +0200 +++ new/msmtp-1.8.19/doc/stamp-vti 2021-11-04 08:42:29.000000000 +0100 @@ -1,4 +1,4 @@ -@set UPDATED 4 October 2021 -@set UPDATED-MONTH October 2021 -@set EDITION 1.8.18 -@set VERSION 1.8.18 +@set UPDATED 4 November 2021 +@set UPDATED-MONTH November 2021 +@set EDITION 1.8.19 +@set VERSION 1.8.19 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/doc/version.texi new/msmtp-1.8.19/doc/version.texi --- old/msmtp-1.8.18/doc/version.texi 2021-10-22 17:45:39.000000000 +0200 +++ new/msmtp-1.8.19/doc/version.texi 2021-11-04 08:42:29.000000000 +0100 @@ -1,4 +1,4 @@ -@set UPDATED 4 October 2021 -@set UPDATED-MONTH October 2021 -@set EDITION 1.8.18 -@set VERSION 1.8.18 +@set UPDATED 4 November 2021 +@set UPDATED-MONTH November 2021 +@set EDITION 1.8.19 +@set VERSION 1.8.19 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/po/de.po new/msmtp-1.8.19/po/de.po --- old/msmtp-1.8.18/po/de.po 2021-10-22 17:45:41.000000000 +0200 +++ new/msmtp-1.8.19/po/de.po 2021-11-04 08:42:29.000000000 +0100 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: msmtp 1.8.14\n" "Report-Msgid-Bugs-To: mar...@marlam.de\n" -"POT-Creation-Date: 2021-10-22 17:45+0200\n" +"POT-Creation-Date: 2021-11-04 08:15+0100\n" "PO-Revision-Date: 2020-12-23 22:43+0100\n" "Last-Translator: Mario Bl??ttermann <mario.blaetterm...@gmail.com>\n" "Language-Team: German <translation-team...@lists.sourceforge.net>\n" @@ -443,7 +443,7 @@ #: src/msmtp.c:2169 #, fuzzy, c-format #| msgid "" -#| "Copyright (C) 2021 Martin Lambers and others.\n" +#| "Copyright (C) 2020 Martin Lambers and others.\n" #| "This is free software. You may redistribute copies of it under the terms " #| "of\n" #| "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" @@ -455,7 +455,7 @@ "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" -"Copyright (C) 2021 Martin Lambers und andere.\n" +"Copyright (C) 2020 Martin Lambers und andere.\n" "Dieses Programm ist freie Software. Sie d??rfen Kopien davon weitergeben " "gem????\n" "der GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" Binary files old/msmtp-1.8.18/po/eo.gmo and new/msmtp-1.8.19/po/eo.gmo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/po/eo.po new/msmtp-1.8.19/po/eo.po --- old/msmtp-1.8.18/po/eo.po 2021-10-22 17:45:41.000000000 +0200 +++ new/msmtp-1.8.19/po/eo.po 2021-11-04 08:42:29.000000000 +0100 @@ -1,14 +1,14 @@ # Esperanto translations for msmtp package. # Copyright (C) 2020 Martin Lambers <mar...@marlam.de> # This file is distributed under the same license as the msmtp package. -# Keith Bowes <zoop...@gmail.com>, 2020. +# Keith Bowes <zoop...@gmail.com>, 2020, 2021. # msgid "" msgstr "" -"Project-Id-Version: msmtp 1.8.14\n" +"Project-Id-Version: msmtp 1.8.18\n" "Report-Msgid-Bugs-To: mar...@marlam.de\n" -"POT-Creation-Date: 2021-10-22 17:45+0200\n" -"PO-Revision-Date: 2020-12-24 13:29-0500\n" +"POT-Creation-Date: 2021-11-04 08:15+0100\n" +"PO-Revision-Date: 2021-10-24 12:15-0400\n" "Last-Translator: Keith Bowes <zoop...@gmail.com>\n" "Language-Team: Esperanto <translation-team...@lists.sourceforge.net>\n" "Language: eo\n" @@ -19,26 +19,24 @@ "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: src/aliases.c:121 -#, fuzzy, c-format -#| msgid "line longer than %d characters" +#, c-format msgid "line %d: longer than %d characters" -msgstr "linio pli longa ol %d signoj" +msgstr "linio %d: pli longa ol %d signoj" #: src/aliases.c:138 #, c-format msgid "line %d: single ':' delimiter expected" -msgstr "" +msgstr "linio %d: atendata unuopa ':' kiel disigilo" #: src/aliases.c:146 -#, fuzzy, c-format -#| msgid "line %d: invalid argument %s for command %s" +#, c-format msgid "line %d: invalid alias '%s'" -msgstr "linio %d: nevalida argumento %s por komando %s" +msgstr "linio %d: nevalida alinomo '%s'" #: src/aliases.c:153 #, c-format msgid "line %d: duplicate alias '%s'" -msgstr "" +msgstr "linio %d: duobligita alinomo '%s'" #: src/aliases.c:178 src/conf.c:1070 src/stream.c:63 #, c-format @@ -48,7 +46,7 @@ #: src/aliases.c:283 #, c-format msgid "Too many redirects when expanding alias %s." -msgstr "" +msgstr "Tro da alidirektoj dum etendi alinomon %s." #: src/conf.c:806 src/conf.c:821 #, c-format @@ -436,13 +434,7 @@ msgstr "agordo-dosiernomo de uzanto: %s\n" #: src/msmtp.c:2169 -#, fuzzy, c-format -#| msgid "" -#| "Copyright (C) 2021 Martin Lambers and others.\n" -#| "This is free software. You may redistribute copies of it under the terms " -#| "of\n" -#| "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" -#| "There is NO WARRANTY, to the extent permitted by law.\n" +#, c-format msgid "" "Copyright (C) %d Martin Lambers and others.\n" "This is free software. You may redistribute copies of it under the terms " @@ -450,8 +442,8 @@ "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" -"Kopirajto (C) 2021 Martin Lambers kaj aliuloj.\n" -"??i tio estas libera programo. Vi rajtas distribui ekzemplojn de ??i la?? la " +"Kopirajto (C) %d Martin Lambers kaj aliuloj.\n" +"??i tio estas libera programo. Vi rajtas distribui ekzemplerojn de ??i la?? la " "kondi??oj de\n" "la ??enerala Publika Permesilo de GNU <http://www.gnu.org/licenses/gpl." "html>.\n" @@ -1632,7 +1624,7 @@ #: src/password.c:214 #, c-format msgid "password for %s at %s: " -msgstr "" +msgstr "pasvorto por %s ??e %s: " #: src/password.c:252 #, c-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/po/fr.po new/msmtp-1.8.19/po/fr.po --- old/msmtp-1.8.18/po/fr.po 2021-10-22 17:45:41.000000000 +0200 +++ new/msmtp-1.8.19/po/fr.po 2021-11-04 08:42:29.000000000 +0100 @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: msmtp 1.8.14\n" "Report-Msgid-Bugs-To: mar...@marlam.de\n" -"POT-Creation-Date: 2021-10-22 17:45+0200\n" +"POT-Creation-Date: 2021-11-04 08:15+0100\n" "PO-Revision-Date: 2020-12-30 21:34+0100\n" "Last-Translator: St??phane Aulery <lk...@free.fr>\n" "Language-Team: French <tra...@traduc.org>\n" @@ -446,7 +446,7 @@ #: src/msmtp.c:2169 #, fuzzy, c-format #| msgid "" -#| "Copyright (C) 2021 Martin Lambers and others.\n" +#| "Copyright (C) 2020 Martin Lambers and others.\n" #| "This is free software. You may redistribute copies of it under the terms " #| "of\n" #| "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" @@ -458,7 +458,7 @@ "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" -"Copyright (C) 2021 Martin Lambers (entre autres).\n" +"Copyright (C) 2020 Martin Lambers (entre autres).\n" "Ce programme est libre, vous pouvez le redistribuer et/ou le modifier selon " "les termes \n" "de la Licence Publique G??n??rale GNU <https://www.gnu.org/licenses/gpl." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/po/msmtp.pot new/msmtp-1.8.19/po/msmtp.pot --- old/msmtp-1.8.18/po/msmtp.pot 2021-10-22 17:45:41.000000000 +0200 +++ new/msmtp-1.8.19/po/msmtp.pot 2021-11-04 08:15:03.000000000 +0100 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: msmtp 1.8.18\n" +"Project-Id-Version: msmtp 1.8.19\n" "Report-Msgid-Bugs-To: mar...@marlam.de\n" -"POT-Creation-Date: 2021-10-22 17:45+0200\n" +"POT-Creation-Date: 2021-11-04 08:15+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/po/pt_BR.po new/msmtp-1.8.19/po/pt_BR.po --- old/msmtp-1.8.18/po/pt_BR.po 2021-10-22 17:45:41.000000000 +0200 +++ new/msmtp-1.8.19/po/pt_BR.po 2021-11-04 08:42:29.000000000 +0100 @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: msmtp 1.8.14\n" "Report-Msgid-Bugs-To: mar...@marlam.de\n" -"POT-Creation-Date: 2021-10-22 17:45+0200\n" +"POT-Creation-Date: 2021-11-04 08:15+0100\n" "PO-Revision-Date: 2020-12-25 08:32-0300\n" "Last-Translator: Rafael Fontenelle <rafae...@gnome.org>\n" "Language-Team: Brazilian Portuguese <ldpbr-translation@lists.sourceforge." @@ -443,7 +443,7 @@ #: src/msmtp.c:2169 #, fuzzy, c-format #| msgid "" -#| "Copyright (C) 2021 Martin Lambers and others.\n" +#| "Copyright (C) 2020 Martin Lambers and others.\n" #| "This is free software. You may redistribute copies of it under the terms " #| "of\n" #| "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" @@ -455,7 +455,7 @@ "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" -"Copyright (C) 2021 Martin Lambers e outros.\n" +"Copyright (C) 2020 Martin Lambers e outros.\n" "Este programa ?? software livre; voc?? pode redistribu??-lo e/ou modific??-lo " "sob\n" "os termos da Licen??a P??blica Geral GNU <http://www.gnu.org/licenses/gpl." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/po/sr.po new/msmtp-1.8.19/po/sr.po --- old/msmtp-1.8.18/po/sr.po 2021-10-22 17:45:41.000000000 +0200 +++ new/msmtp-1.8.19/po/sr.po 2021-11-04 08:42:29.000000000 +0100 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: msmtp 1.8.14\n" "Report-Msgid-Bugs-To: mar...@marlam.de\n" -"POT-Creation-Date: 2021-10-22 17:45+0200\n" +"POT-Creation-Date: 2021-11-04 08:15+0100\n" "PO-Revision-Date: 2021-01-12 07:12+0200\n" "Last-Translator: ???????????????? ?????????????? <miroslavniko...@rocketmail.com>\n" "Language-Team: Serbian <(nothing)>\n" @@ -437,7 +437,7 @@ #: src/msmtp.c:2169 #, fuzzy, c-format #| msgid "" -#| "Copyright (C) 2021 Martin Lambers and others.\n" +#| "Copyright (C) 2020 Martin Lambers and others.\n" #| "This is free software. You may redistribute copies of it under the terms " #| "of\n" #| "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" @@ -449,7 +449,7 @@ "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" -"???????????????? ?????????? ?? 2021. ???????????? ?????????????? ?? ??????????.\n" +"???????????????? ?????????? ?? 2020. ???????????? ?????????????? ?? ??????????.\n" "?????? ???? ???????????????? ??????????????. ???????????? ???? ?????????????????????????? ???????????? ?????????????? ?????? " "????????????????\n" "???????????? ?????????? ?????????? ?????????????? <http://www.gnu.org/licenses/gpl.html>.\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/po/ta.po new/msmtp-1.8.19/po/ta.po --- old/msmtp-1.8.18/po/ta.po 2021-10-22 17:45:41.000000000 +0200 +++ new/msmtp-1.8.19/po/ta.po 2021-11-04 08:42:29.000000000 +0100 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: msmtp 1.8.8rc2\n" "Report-Msgid-Bugs-To: mar...@marlam.de\n" -"POT-Creation-Date: 2021-10-22 17:45+0200\n" +"POT-Creation-Date: 2021-11-04 08:15+0100\n" "PO-Revision-Date: 2020-04-07 18:54+0530\n" "Last-Translator: Arun Isaac <arunis...@systemreboot.net>\n" "Language-Team: Tamil <ta...@systemreboot.net>\n" @@ -427,7 +427,7 @@ #: src/msmtp.c:2169 #, fuzzy, c-format #| msgid "" -#| "Copyright (C) 2021 Martin Lambers and others.\n" +#| "Copyright (C) 2020 Martin Lambers and others.\n" #| "This is free software. You may redistribute copies of it under the terms " #| "of\n" #| "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" @@ -439,7 +439,7 @@ "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" -"Copyright (C) 2021 Martin Lambers and others.\n" +"Copyright (C) 2020 Martin Lambers and others.\n" "????????? ????????????????????? ??????????????????????????????. ????????? ????????????????????? GNU General Public License\n" "<http://gnu.org/licenses/gpl.html> ????????????????????? ?????????????????????????????? ???????????? ???????????????????????????????????? ???????????????????????????.\n" "?????????????????????????????? ????????????????????????????????????????????? ???????????????????????? ???????????? ???????????????????????????????????? ???????????????.\n" @@ -1345,6 +1345,7 @@ #: src/mtls-libtls.c:59 #, fuzzy, c-format +#| msgid "cannot initialize networking: %s" msgid "cannot initialize libtls" msgstr "?????????????????????????????? ?????????????????? ???????????????????????????: %s" @@ -1359,6 +1360,7 @@ #: src/mtls-libtls.c:288 #, fuzzy +#| msgid "could not send mail" msgid "could not parse protocols" msgstr "???????????? ?????????????????? ???????????????????????????" Binary files old/msmtp-1.8.18/po/uk.gmo and new/msmtp-1.8.19/po/uk.gmo differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/po/uk.po new/msmtp-1.8.19/po/uk.po --- old/msmtp-1.8.18/po/uk.po 2021-10-22 17:45:41.000000000 +0200 +++ new/msmtp-1.8.19/po/uk.po 2021-11-04 08:42:29.000000000 +0100 @@ -2,13 +2,13 @@ # Copyright (C) 2018 Martin Lambers <mar...@marlam.de> # This file is distributed under the same license as the msmtp package. # -# Yuri Chornoivan <yurc...@ukr.net>, 2018, 2019, 2020. +# Yuri Chornoivan <yurc...@ukr.net>, 2018, 2019, 2020, 2021. msgid "" msgstr "" -"Project-Id-Version: msmtp 1.8.14\n" +"Project-Id-Version: msmtp 1.8.18\n" "Report-Msgid-Bugs-To: mar...@marlam.de\n" -"POT-Creation-Date: 2021-10-22 17:45+0200\n" -"PO-Revision-Date: 2020-12-23 18:16+0200\n" +"POT-Creation-Date: 2021-11-04 08:15+0100\n" +"PO-Revision-Date: 2021-10-23 19:08+0300\n" "Last-Translator: Yuri Chornoivan <yurc...@ukr.net>\n" "Language-Team: Ukrainian <trans...@lists.fedoraproject.org>\n" "Language: uk\n" @@ -18,29 +18,27 @@ "X-Bugs: Report translation errors to the Language-Team address.\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -"X-Generator: Lokalize 20.11.70\n" +"X-Generator: Lokalize 20.12.0\n" #: src/aliases.c:121 -#, fuzzy, c-format -#| msgid "line longer than %d characters" +#, c-format msgid "line %d: longer than %d characters" -msgstr "?????????????? ?????????? ?????????????????? %d ????????????????" +msgstr "?????????????? ?????????? %d ?????????????????? %d ????????????????" #: src/aliases.c:138 #, c-format msgid "line %d: single ':' delimiter expected" -msgstr "" +msgstr "?????????? %d: ???????? ???????? ?????????????????????? ???????? ???????? ???????????????????? ??:??" #: src/aliases.c:146 -#, fuzzy, c-format -#| msgid "line %d: invalid argument %s for command %s" +#, c-format msgid "line %d: invalid alias '%s'" -msgstr "?????????? %d: ?????????????????????? ???????????????? %s ?????????????? %s" +msgstr "?????????? %d: ???????????????????? ?????????????????????????? ?????????? ??%s??" #: src/aliases.c:153 #, c-format msgid "line %d: duplicate alias '%s'" -msgstr "" +msgstr "?????????? %d: ???????????????????? ???????????????????????????? ?????????? ??%s??" #: src/aliases.c:178 src/conf.c:1070 src/stream.c:63 #, c-format @@ -50,7 +48,7 @@ #: src/aliases.c:283 #, c-format msgid "Too many redirects when expanding alias %s." -msgstr "" +msgstr "???????????????? ???????????????????????????? ?????? ?????????????????????? ???????????????????????????? ?????????? %s." #: src/conf.c:806 src/conf.c:821 #, c-format @@ -439,13 +437,7 @@ msgstr "?????????? ?????????? ?????????????????????? ??????????????????????: %s\n" #: src/msmtp.c:2169 -#, fuzzy, c-format -#| msgid "" -#| "Copyright (C) 2021 Martin Lambers and others.\n" -#| "This is free software. You may redistribute copies of it under the terms " -#| "of\n" -#| "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" -#| "There is NO WARRANTY, to the extent permitted by law.\n" +#, c-format msgid "" "Copyright (C) %d Martin Lambers and others.\n" "This is free software. You may redistribute copies of it under the terms " @@ -453,7 +445,7 @@ "the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\n" "There is NO WARRANTY, to the extent permitted by law.\n" msgstr "" -"?? Martin Lambers ???? ????????, 2021.\n" +"?? Martin Lambers ???? ????????, %d.\n" "???? ???????????? ?????????????????? ????????????????????????. ???? ???????????? ???????????????????? ???????? ?????????? ???? ???????? " "????????????????????\n" "?????????????????? ?????????????????????? ???????????????? GNU <http://www.gnu.org/licenses/gpl.html>.\n" @@ -1656,7 +1648,7 @@ #: src/password.c:214 #, c-format msgid "password for %s at %s: " -msgstr "" +msgstr "???????????? ???? %s ???? %s: " #: src/password.c:252 #, c-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/scripts/Makefile.in new/msmtp-1.8.19/scripts/Makefile.in --- old/msmtp-1.8.18/scripts/Makefile.in 2021-10-22 17:45:37.000000000 +0200 +++ new/msmtp-1.8.19/scripts/Makefile.in 2021-11-04 08:14:58.000000000 +0100 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2021 Free Software Foundation, Inc. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/src/Makefile.in new/msmtp-1.8.19/src/Makefile.in --- old/msmtp-1.8.18/src/Makefile.in 2021-10-22 17:45:37.000000000 +0200 +++ new/msmtp-1.8.19/src/Makefile.in 2021-11-04 08:14:58.000000000 +0100 @@ -1,4 +1,4 @@ -# Makefile.in generated by automake 1.16.4 from Makefile.am. +# Makefile.in generated by automake 1.16.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2021 Free Software Foundation, Inc. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/msmtp-1.8.18/src/msmtpd.c new/msmtp-1.8.19/src/msmtpd.c --- old/msmtp-1.8.18/src/msmtpd.c 2021-09-30 08:00:41.000000000 +0200 +++ new/msmtp-1.8.19/src/msmtpd.c 2021-11-03 08:47:35.000000000 +0100 @@ -53,7 +53,7 @@ static const int MAX_ACTIVE_SESSIONS = 16; static const int AUTH_DELAY_SECONDS = 1; static const int AUTH_DELAY_EXPIRATION_SECONDS = 60; -static const char* DEFAULT_COMMAND = BINDIR "/msmtp -f %F"; +static const char* DEFAULT_COMMAND = BINDIR "/msmtp -f %F --"; static const size_t SMTP_BUFSIZE = 1024; /* must be at least 512 according to RFC2821 */ static const size_t CMD_BLOCK_SIZE = 4096; /* initial buffer size for command */ static const size_t CMD_MAX_BLOCKS = 16; /* limit memory allocation */ @@ -170,11 +170,14 @@ if ((*p >= 'a' && *p <= 'z') || (*p >= 'A' && *p <= 'Z') || (*p >= '0' && *p <= '9') - || *p == '.' || *p == '@' || *p == '_' || *p == '-' - || *p == '+' || *p == '/') { + || (p > outbuf && *p == '-') /* must not start with hyphen */ + || *p == '.' || *p == '@' || *p == '_' + || *p == '+' || *p == '/' + || *p == '=') { /* Character allowed. Note that this set is very restrictive; * more characters might be added to the whitelist if the need - * arises */ + * arises. But beware: mail addresses will be part of the + * mail pipe command line and therefore will be passed to a shell. */ continue; } else { /* Invalid character */