1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170
|
commit 9ee76c2e61a201346646594f4e74f3a7cdce6646
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-10-08 06:33:05 +0200
Send SMTPUTF8 keyword only when envelope addresses contain non-ASCII domain parts
SMTPUTF8 can cause problems when servers do not implement it, or do not
implement it correctly. This does not only affect the SMTP server that msmtp
talks to directly, but also servers down the line.
In theory, since msmtp does not inspect the mail before transmission, it should
always send SMTPUTF8 if supported since the message headers or body may require
it.
But in practice this is probably not necessary. For example, postfix always
supports UTF8 in mail header and body, and in envelope address local parts.
Therefore msmtp now only sends the SMTPUTF8 keyword with MAIL FROM when at least
one of the envelope addresses (recipients or sender) contain a non-ascii domain
part.
This should fix (or rather, workaround) the problems reported in Github issue #197.
src/smtp.c | 25 +++++++++++++++++++++++--
src/tools.c | 27 +++++++++++++++++++++++++++
src/tools.h | 8 ++++++++
3 files changed, 58 insertions(+), 2 deletions(-)
commit c6baa5b39e811ea4459a35ae0de88163f65bf8a2
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-09-25 23:26:10 +0200
Fix header encoding when building with --disable-nls.
With disabled NLS, msmtp now assumes that UTF-8 is the current codeset,
which is a better guess than ASCII, which is what nl_langinfo() returns.
This fixes github issue #203.
src/tools.c | 6 ++++++
1 file changed, 6 insertions(+)
commit e63aebfe3943324a357a30f857509bfe866cb1ff
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-09-06 13:42:11 +0200
Bump version to 1.8.31
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7e5b5c12991e3792cc5f6062fc513ca9f4d65a30
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-09-06 13:41:24 +0200
Update translations
po/de.po | 56 +++++++++++++++++++++++++++++++-------------------------
po/eo.po | 77 +++++++++++++++++++++++++++++++++++++----------------------------------------
po/es.po | 66 ++++++++++++++++++++++++++++++++++++------------------------------
po/fr.po | 66 ++++++++++++++++++++++++++++++++++++------------------------------
po/pt_BR.po | 70 ++++++++++++++++++++++++++++++++++++++--------------------------------
po/ro.po | 68 ++++++++++++++++++++++++++++++++++++++------------------------------
po/ru.po | 68 +++++++++++++++++++++++++++++++++++++-------------------------------
po/sr.po | 66 ++++++++++++++++++++++++++++++++++++------------------------------
po/sv.po | 70 ++++++++++++++++++++++++++++++++++++++--------------------------------
po/ta.po | 54 +++++++++++++++++++++++++++++-------------------------
po/uk.po | 68 +++++++++++++++++++++++++++++++++++++-------------------------------
po/zh_CN.po | 76 +++++++++++++++++++++++++++++++++++++++++-----------------------------------
12 files changed, 434 insertions(+), 371 deletions(-)
commit 9078783d6158a61f2f5120a617d14299130479ad
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-09-06 13:40:44 +0200
Update NEWS
NEWS | 3 +++
1 file changed, 3 insertions(+)
commit a4134e543d0f43cced7e31c423896b6295835f6e
Merge: 1306702 b8b99d6
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-09-06 13:29:23 +0200
Merge branch 'TobiasSchaffner-tobsch/increase_smtp_maxcmdlen'
commit b8b99d6087462661ece150ca03c58ce883774e68
Author: Tobias Schaffner <tobias.schaffner@siemens.com>
Date: 2025-09-04 11:17:03 +0200
smtp: enlarge SMTP_MAXCMDLEN for larger OAuth tokens
Certain OAuth authentication methods now produce longer tokens,
resulting in SMTP commands that exceed the previous buffer size.
Increase SMTP_MAXCMDLEN to ensure the full command fits into the
output buffer.
Signed-off-by: Tobias Schaffner <tobias.schaffner@siemens.com>
src/smtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 1306702be862804780ac398ae338025a00f9c865
Merge: b9ee219 fce1dfe
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-08-13 20:53:32 +0200
Merge branch 'gabifalk-fix-tests-without-msmtpd'
commit fce1dfefd7af8175708deabc3e55f8682d181d22
Author: Gabi Falk <gabifalk@gmx.com>
Date: 2025-08-13 09:00:00 +0000
tests: skip msmtpd-dependent tests if msmtpd is not built
Link: https://bugs.gentoo.org/948087
tests/test-auth-plain.sh | 8 +++++++-
tests/test-header-handling.sh | 8 +++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
commit b9ee219e3daa9ce93d2f7f321cfb9f8f00cd7c93
Author: Raed Rizqie <raed.rizqie@gmail.com>
Date: 2025-08-10 21:48:19 +0200
Add missing parentheses
src/tools.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 6114a38243b4474185ce9cc8750b4824a518b7a8
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-08-10 16:18:54 +0200
Replace static LOCALEDIR with get_localedir() on all systems.
This is a followup to b4438a7e63c302f8f81002c964d3f38bc065631f
that hides the MinGW-specific get_parentdir() from other systems
and uses get_localedir() on all systems, to reduce #ifdefs in msmtp.c.
This is currently untested.
src/msmtp.c | 20 ++------------------
src/tools.c | 47 +++++++++++++++++++++++++++++++++++++++--------
src/tools.h | 19 +++++++++++--------
3 files changed, 52 insertions(+), 34 deletions(-)
commit b3103d848358bf9d31e1331b85bcbb0e015a318c
Merge: f74b7b2 e2ae3b8
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-08-10 16:04:04 +0200
Merge branch 'raedrizqie-mingw-path'
commit e2ae3b8be62157cf2901a5c37c13f9d47fd0f9dd
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-08-10 14:33:50 +0200
Make msmtpd handle null bytes in the input correctly.
This replaces calls to fgets() with stream_gets(), which is the same
that msmtp uses.
Fixes github issue #199.
src/Makefile.am | 10 +++++++++-
src/msmtpd.c | 16 +++++++++++-----
2 files changed, 20 insertions(+), 6 deletions(-)
commit f34af20c98f5f19f2ec6336eafcb5f57328095c4
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-07-12 17:46:22 +0200
Rearrange check for envelope from address
src/msmtp.c | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
commit fe203b3bac2f27ab74e1933c258c76525e18492d
Author: Ursus Wigger <wigger.ursus@gmail.com>
Date: 2025-07-09 18:38:56 +0200
Print error if no from header found using --read-envelope-from
src/msmtp.c | 7 +++++++
1 file changed, 7 insertions(+)
commit f74b7b2ffd98bedbed9d635da62810bd6164502a
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-08-10 14:33:50 +0200
Make msmtpd handle null bytes in the input correctly.
This replaces calls to fgets() with stream_gets(), which is the same
that msmtp uses.
Fixes github issue #199.
src/Makefile.am | 10 +++++++++-
src/msmtpd.c | 16 +++++++++++-----
2 files changed, 20 insertions(+), 6 deletions(-)
commit b4438a7e63c302f8f81002c964d3f38bc065631f
Author: Raed Rizqie <raed.rizqie@gmail.com>
Date: 2025-07-06 13:28:18 +0800
Use relative path on MinGW
configure.ac | 2 +-
src/msmtp.c | 18 +++++++++++++++++-
src/password.c | 2 +-
src/tools.c | 36 +++++++++++++++++++++++++++++++++++-
src/tools.h | 7 +++++++
5 files changed, 61 insertions(+), 4 deletions(-)
commit 31b03a9598387fe0a21558d81a46e1f111facba5
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-07-12 17:46:22 +0200
Rearrange check for envelope from address
src/msmtp.c | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
commit d98e997643dddc6c46ee28d6f01d29c432a302ae
Merge: 965b7e0 da612e5
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-07-12 17:46:07 +0200
Merge branch 'Ursus-GIT5805-master'
commit da612e51a595dda32b9bdec21a1707833b8c7ebf
Author: Ursus Wigger <wigger.ursus@gmail.com>
Date: 2025-07-09 18:38:56 +0200
Print error if no from header found using --read-envelope-from
src/msmtp.c | 7 +++++++
1 file changed, 7 insertions(+)
commit 965b7e0da4cbf413ea98803c1a8e5e23da03ab76
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-06-01 23:11:15 +0200
Bump version to 1.8.30
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9ccd339f459ba7330b54b70968361bc62dbf4180
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-06-01 23:11:07 +0200
Update NEWS
NEWS | 3 +++
1 file changed, 3 insertions(+)
commit 182a25b3db6f074bb96244a21b17d1301ef59e74
Author: Adam Sampson <ats@offog.org>
Date: 2025-05-30 15:02:48 +0100
Avoid double-free of envelope_from
When read_envelope_from is enabled, the extracted address was being
freed both at the end of main and in account_free, causing a crash in
the "Testing address extraction" test. xstrdup the string to avoid this.
src/msmtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 64abad7a320dae80634e233fa39df1924f527f59
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-05-29 15:37:54 +0200
Update gettext files via gettextize -f
Makefile.am | 2 ++
build-aux/config.rpath | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
configure.ac | 2 +-
po/Makefile.in.in | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------
po/Makevars.template | 4 ++--
po/Rules-quot | 24 ++++++++++++++----------
po/boldquot.sed | 11 +++++++++++
po/en@boldquot.header | 10 ++++++++++
po/en@quot.header | 10 ++++++++++
po/insert-header.sed | 31 +++++++++++++++++++++++++++++++
po/quot.sed | 11 +++++++++++
11 files changed, 280 insertions(+), 64 deletions(-)
commit 778ba93c45ca6395179cfa1a389f58833dda0396
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-05-29 15:32:23 +0200
Bump version to 1.8.29
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 6cd9137c42065a8a839b90c3c1ae003d08f82c98
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-05-29 15:31:22 +0200
Update translations
po/LINGUAS | 1 +
po/de.po | 427 ++++++++++++++++++++++---------------------
po/eo.po | 430 +++++++++++++++++++++----------------------
po/es.po | 429 +++++++++++++++++++++----------------------
po/fr.po | 432 ++++++++++++++++++++++----------------------
po/pt_BR.po | 497 +++++++++++++++++++++++++-------------------------
po/ro.po | 435 ++++++++++++++++++++++----------------------
po/ru.po | 434 ++++++++++++++++++++++----------------------
po/sr.po | 429 +++++++++++++++++++++----------------------
po/sv.po | 426 ++++++++++++++++++++++---------------------
po/ta.po | 398 ++++++++++++++++++++--------------------
po/uk.po | 425 ++++++++++++++++++++++---------------------
po/zh_CN.po | 1721 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
13 files changed, 4130 insertions(+), 2354 deletions(-)
commit 67090dfe58157389e746688bb5810f1543893cc7
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-05-29 15:30:19 +0200
Update NEWS
NEWS | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
commit 540768dfc8b8feaeda5f4089307e12e3c7faaa1a
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-05-05 09:21:54 +0200
Merge the old 'undisclosed_recipients' setting into the new 'set_to_header' setting
doc/msmtp.1 | 27 +++++++++++----------------
doc/msmtp.texi | 32 +++++++++++---------------------
src/conf.c | 51 +++++++++++++++++++++++++--------------------------
src/conf.h | 14 ++++++--------
src/msmtp.c | 67 +++++++++++++++++++++++++++++++++----------------------------------
5 files changed, 86 insertions(+), 105 deletions(-)
commit 7986f3a0a1b728eb967de0ef006397f0dc458aa8
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-05-04 19:45:25 +0200
Improve handling of set_to_header / --set-to-header arguments
This make it more consistent with existing set_*_header settings.
doc/msmtp.1 | 2 +-
doc/msmtp.texi | 4 ++--
src/conf.c | 2 +-
src/msmtp.c | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
commit edcbff808623d615da2a424b8d344a2d7dc814d1
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-05-04 18:28:14 +0200
Update NEWS
NEWS | 5 +++++
1 file changed, 5 insertions(+)
commit 0ca7746bacaba26ddd7456bc4b3a93c1bc5c36ae
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-05-04 18:26:03 +0200
Add set_to_header and --set-to-header
doc/msmtp.1 | 11 +++++++++++
doc/msmtp.texi | 15 +++++++++++++++
src/conf.c | 26 ++++++++++++++++++++++++++
src/conf.h | 16 +++++++++-------
src/msmtp.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++----
5 files changed, 108 insertions(+), 11 deletions(-)
commit 6f06d7e44c18d3026ffecfc0ae7cfae3d3c2ae49
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-05-04 16:27:08 +0200
Bump year in copyright message
src/msmtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c4d43d27dc6761380d097010a321f933bee87054
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-05-04 16:26:03 +0200
Remove obsolete comments on temporary files from man page
doc/msmtp.1 | 7 -------
1 file changed, 7 deletions(-)
commit 3d25637eafa54fcad993be936e208d8d6ce8a488
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-05-04 16:23:22 +0200
Replace %F in 'from' to the address extracted from the From header.
This should fix Github issue #117.
doc/msmtp.1 | 8 ++++++--
doc/msmtp.texi | 7 +++++--
src/conf.c | 64 ++++++++++++++++++++++++++++------------------------------------
src/conf.h | 4 ++--
src/msmtp.c | 8 +++++---
5 files changed, 46 insertions(+), 45 deletions(-)
commit 730e781af0f894b4154be8b0190c45e945e99d99
Author: Enno <Konfekt@users.noreply.github.com>
Date: 2025-03-19 06:59:40 +0100
reenable error tracing
See https://github.com/marlam/msmtp/pull/188#issuecomment-2729468027
scripts/msmtpq/msmtpq | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 4a62a8ce2735540867e8552fe9b8b3da1edaa147
Merge: 64d8750 05b04c4
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-03-16 21:42:34 +0100
Merge branch 'c-alpha-msmtpq-macos'
commit 05b04c43228ca8bef8292c118e2b070689b83e42
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-02-24 17:01:24 +0100
msmtpq - run_queue() verbosely errors with empty queue
Setting the errtrace option causes the script to emit an error trace
in run_queue() when the queue is empty. This can cause problems when
called from other scripts which capture stdout and/or stderr.
scripts/msmtpq/msmtpq | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit f863e119174418b5558884f49ef2625d1beb88c6
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-02-24 16:54:01 +0100
msmtpq - MSMTPQ_LOG empty string value
The description of MSMTPQ_LOG suggests that having it unset, and
having it set to the empty string were two different cases. The check
in line 162 was not able to distinguish these two cases, however. The
updated check will match when MSMTPQ_LOG is unset only.
In a similar vein, the subsequent check for existence of the log file
directory would try to create a directory even if MSMTPQ_LOG was set
to the empty string, or unset. Added a new if guard to prevent log
directory creation unless a log file will actually be created.
scripts/msmtpq/msmtpq | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
commit 64d87503b23477c94306745f01e7289e662ea82a
Merge: 152fb5e e9ef010
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-03-16 21:41:29 +0100
Merge branch 'c-alpha-msmtpq-chatty-run_queue'
commit e9ef0102791b664f2f6189b3c257c39cd9fc128e
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-02-24 16:54:01 +0100
msmtpq - MSMTPQ_LOG empty string value
The description of MSMTPQ_LOG suggests that having it unset, and
having it set to the empty string were two different cases. The check
in line 162 was not able to distinguish these two cases, however. The
updated check will match when MSMTPQ_LOG is unset only.
In a similar vein, the subsequent check for existence of the log file
directory would try to create a directory even if MSMTPQ_LOG was set
to the empty string, or unset. Added a new if guard to prevent log
directory creation unless a log file will actually be created.
scripts/msmtpq/msmtpq | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
commit 7d1f1a1c19a41995df8e3c038eb69738069a975d
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-03-12 15:13:06 +0100
Revert "Silence errtrace When Queue Empty"
This reverts commit 069369a261083254dc828cfab597407d80315706.
scripts/msmtpq/msmtpq | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
commit dcc4e41e5c9da6d4b091e2aaeaa1e3dad60a41ab
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-03-12 15:12:49 +0100
Reapply "Silence errtrace When Queue Empty"
This reverts commit 054d4103c67805e490b496f0badca7df13592fe3.
scripts/msmtpq/msmtpq | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
commit 054d4103c67805e490b496f0badca7df13592fe3
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-03-12 15:11:46 +0100
Revert "Silence errtrace When Queue Empty"
This reverts commit 069369a261083254dc828cfab597407d80315706.
scripts/msmtpq/msmtpq | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
commit 86101f106f1fa63824c224393ffb1e05be741554
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-03-12 15:06:13 +0100
Silence errtrace When Queue Empty
"ls -A" prints a backtrace when the queue directory is empty due to
the errtrace shell option. This commit replaces the call to "ls -A"
with a pure bash function which checks the queue directory for any
message files, and will not trigger a backtrace even when the errtrace
option is set.
(cherry picked from commit 069369a261083254dc828cfab597407d80315706)
scripts/msmtpq/msmtpq | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
commit 069369a261083254dc828cfab597407d80315706
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-03-12 15:06:13 +0100
Silence errtrace When Queue Empty
"ls -A" prints a backtrace when the queue directory is empty due to
the errtrace shell option. This commit replaces the call to "ls -A"
with a pure bash function which checks the queue directory for any
message files, and will not trigger a backtrace even when the errtrace
option is set.
scripts/msmtpq/msmtpq | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
commit 6f2ae664567aa6a9192eee12a4ff12d9232c6b72
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-03-10 18:22:33 +0100
Revert "Fix the Fix..."
This reverts commit 2683f37127055865fbfd4031e4c1e21e126c2ab1.
scripts/msmtpq/msmtpq | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2683f37127055865fbfd4031e4c1e21e126c2ab1
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-03-10 15:54:08 +0100
Fix the Fix...
scripts/msmtpq/msmtpq | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c47230b1ad1c13a78c2c2951aefc6519316f5651
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-03-10 13:35:00 +0100
Fix bash version check
scripts/msmtpq/msmtpq | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit b7296636976059fe2395c0ba871e58cf5cb298b9
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-03-10 00:00:48 +0100
Explicit check for inherit_errexit shell option availability
scripts/msmtpq/msmtpq | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
commit 1886291752b781491e9b1c1f606360f3b8e6cc94
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-02-24 17:01:24 +0100
msmtpq - run_queue() verbosely errors with empty queue
Setting the errtrace option causes the script to emit an error trace
in run_queue() when the queue is empty. This can cause problems when
called from other scripts which capture stdout and/or stderr.
scripts/msmtpq/msmtpq | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 152fb5e52572c3005e91802b37ef5aae26eb760c
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-02-24 16:54:01 +0100
msmtpq - MSMTPQ_LOG empty string value
The description of MSMTPQ_LOG suggests that having it unset, and
having it set to the empty string were two different cases. The check
in line 162 was not able to distinguish these two cases, however. The
updated check will match when MSMTPQ_LOG is unset only.
In a similar vein, the subsequent check for existence of the log file
directory would try to create a directory even if MSMTPQ_LOG was set
to the empty string, or unset. Added a new if guard to prevent log
directory creation unless a log file will actually be created.
scripts/msmtpq/msmtpq | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
commit 1feeeb45f710410c968933202bb183d98fa33e4d
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-02-24 16:26:17 +0100
msmtpq - Re-remove unneeded exports
scripts/msmtpq/msmtpq | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit c83e8dd62873ed24d81fd07f2bb77449e702fd99
Author: Alexander Adolf <c-alpha@users.noreply.github.com>
Date: 2025-02-24 16:12:47 +0100
macOS portability
The shopt builtin of the bash which ships with macOS does not support
the inherit_errexit option. Hence make sure the statement in line 81
does not fail even if the shopt option is not available.
Similarly, as macOS is a 4.4BSD, and hence its ping's command line
parameters are subtly different from Linux's. The connect_test()
function must make sure to use the appropriate ones.
scripts/msmtpq/msmtpq | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
commit 2bc356e3c10fdc6caada1280e025ea7e54d163b6
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-01-13 20:55:39 +0100
Update config.rpath
build-aux/config.rpath | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 593be401ec47b85a7eaa4c8f711828d981b3215c
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-01-13 20:54:54 +0100
Build with libgsasl by default, if found
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 1d87e631b4abb8c145582020d69e948d1288d02b
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-01-13 20:45:57 +0100
Bump version to 1.8.28
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit dcdcacecc2d4a05780fd091f6d25563b0f3a2ecd
Author: Martin Lambers <marlam@marlam.de>
Date: 2025-01-13 20:44:55 +0100
Update translations
po/de.po | 378 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/eo.po | 378 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/es.po | 378 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/fr.po | 378 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/pt_BR.po | 378 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/ro.po | 378 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/ru.po | 378 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/sr.po | 391 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
po/sv.po | 378 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/ta.po | 378 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/uk.po | 378 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
11 files changed, 2107 insertions(+), 2064 deletions(-)
commit dfe868a7f111bd200183bf4cbbfb2d053775467e
Author: Santiago Vila <sanvila@debian.org>
Date: 2025-01-13 20:41:48 +0100
Fix build with gettext 0.23
Bug-Debian: https://bugs.debian.org/1092233
configure.ac | 1 +
1 file changed, 1 insertion(+)
commit 6ca7e5e289b409f25d421d56208d15a9d2873bb7
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-12-26 08:27:59 +0100
Update NEWS
NEWS | 1 +
1 file changed, 1 insertion(+)
commit 26bab17b32f34a6cff4005f48df946bc4fa8890a
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-12-26 08:22:18 +0100
Make description of SMTPUTF8 more general
src/msmtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 47be50e5f8b1fb97cc2218e89ca00478fdd40895
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-12-26 08:22:00 +0100
Update Copyright year list
src/smtp.c | 2 +-
src/smtp.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit e230b290472c94907c22dee58c47da43616eb9ca
Author: Mikhail Titov <mlt@gmx.us>
Date: 2024-10-28 12:23:37 -0500
Include SMTPUTF8 in MAIL command when supported
src/smtp.c | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
commit 62e54d55d4a839e9fe0c9782a60ada516cf885a5
Author: Mikhail Titov <mlt@gmx.us>
Date: 2024-10-26 13:37:57 -0500
Recognize SMTPUTF8 server capability
src/msmtp.c | 5 +++++
src/smtp.c | 4 ++++
src/smtp.h | 1 +
3 files changed, 10 insertions(+)
commit 527c8554d58854275dd20771ee77cf8307660129
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-12-12 19:16:13 +0100
Improve documentation of CRL vs OCSP
doc/msmtp.1 | 4 ++--
doc/msmtp.texi | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
commit 64e06bfc2d61efdbcd79833f73ee3d0f22fb6c38
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-12-12 19:12:22 +0100
Require libgsasl >= 2.1, for GNUTLS_CB_TLS_EXPORTER
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit ca3c90e2c1ce03c32360d7f497bd05cb787bb2c9
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-22 18:13:58 +0200
Add documentation of OCSP behavior, which replaces CRL files.
doc/msmtp.1 | 5 +++++
doc/msmtp.texi | 6 +++++-
2 files changed, 10 insertions(+), 1 deletion(-)
commit 4ee4284b752a8787787256b3f68b6035eb8d4324
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-17 21:55:13 +0200
Remove obsolete entry for TMPDIR in the documentation
This became irrelevant with the switch to tmpfile() instead of a custom
tempfile() function in commit ed32c31da42b730b1e49033328d13d8d6ae2a65a.
doc/msmtp.1 | 3 ---
doc/msmtp.texi | 4 ----
2 files changed, 7 deletions(-)
commit 12771233fa2e08d8670b3e2e946cd2170b511849
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-10-16 07:44:05 +0200
remove brittle check for $(WAYLAND_)DISPLAY if notify-send used
as kindly pointed out by @vimpostor at [0]
___
[0]: https://github.com/marlam/msmtp/pull/171#pullrequestreview-2370728566
scripts/msmtpq/msmtpq | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
commit 9eecae978338d0a5fb4a5acbeb41472aed605637
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-10-15 08:16:45 +0200
refactor err() and log -e to use $NOTIFY_SEND_VERBOSE to notify-send all messages
scripts/msmtpq/msmtpq | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------
1 file changed, 68 insertions(+), 47 deletions(-)
commit d6fb690a9102e29689664d2eb5e086f9e6f21f3e
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-10-13 22:32:23 +0200
notify-send errors but other messages only if desired
Tries to address [0]
___
[0]: https://github.com/marlam/msmtp/pull/167#issuecomment-2409091668
scripts/msmtpq/msmtpq | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
commit 8a60c703e75df08a85e21fbfbcbb79d3696bfb4c
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-17 20:45:54 +0200
Build with libidn2 when possible, to enable IDN support for --configure
NEWS | 1 +
configure.ac | 27 +--------------------------
2 files changed, 2 insertions(+), 26 deletions(-)
commit eecdea7046cde72df2775db5e7304913fff06569
Author: Mikhail Titov <mlt@gmx.us>
Date: 2024-10-14 13:53:34 -0500
Respect IDN in configure
src/net.c | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
commit 02da6f85160fd5605d2627ade4b1f653317b6f9d
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-17 20:26:58 +0200
Add special value 'none' to logfile_time_format to suppress time output.
This is not ideal: an empty argument should define an empty time format string
instead, but that would be an incompatible change.
Closes Github issue #174.
NEWS | 3 +++
doc/msmtp.1 | 3 ++-
doc/msmtp.texi | 3 ++-
src/msmtp.c | 29 ++++++++++++++++++-----------
4 files changed, 25 insertions(+), 13 deletions(-)
commit 09f413a6d053b160cd62441c2e4f07ca78352241
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-15 18:21:13 +0200
Fix building with MinGW
configure.ac | 2 +-
src/tools.c | 18 +++++++++++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)
commit d342473fdd8acf99bc5f5d3a2e381be98f105411
Merge: 45e6baf 8f367b1
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-13 11:14:56 +0200
Merge branch 'Konfekt-msmtpq'
commit 8f367b1148518c4f148ac12d59ccc1c05136b61e
Author: David Cantrell <dcantrell@burdell.org>
Date: 2024-10-11 11:39:05 -0400
tests: Use 'cmp -s' in test-header-handling.sh
The -s option on cmp(1) is compatible across BSD and Linux systems.
The --quiet option is specific to GNU cmp.
Signed-off-by: David Cantrell <dcantrell@burdell.org>
tests/test-header-handling.sh | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
commit 45e6bafb5e957ebe37e12e53ecac00c9e4f55ad2
Author: David Cantrell <dcantrell@burdell.org>
Date: 2024-10-11 11:39:05 -0400
tests: Use 'cmp -s' in test-header-handling.sh
The -s option on cmp(1) is compatible across BSD and Linux systems.
The --quiet option is specific to GNU cmp.
Signed-off-by: David Cantrell <dcantrell@burdell.org>
tests/test-header-handling.sh | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
commit f8af3dfcfa730fd4bef082884b295151cb2441bc
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-10-11 08:32:10 +0200
simplify setting default value of $NOTIFY_SEND
-v instead of -z would be more accurate but has been
implemented in Bash only in 2011
scripts/msmtpq/msmtpq | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
commit 71fa6b582f04f0ed31838920a090fa6ea5791256
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-10-08 22:37:11 +0200
quiet email queue by default
scripts/msmtpq/msmtpq | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 2534708a094d5ee18876d31a0c9d856a0e15a3fe
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-07 23:35:00 +0200
Distribute tests, and clean up after them.
This allows 'make distcheck' to succeed.
tests/Makefile.am | 8 ++++++++
tests/test-header-handling.sh | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
commit 7e8cad281bf9c2adf1ef302d41322e9dbe5d7896
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-06 14:24:27 +0200
Bump version to 1.8.27
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit a889d6517e1be480581400c37a12deda88e8e667
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-06 14:24:16 +0200
Update translations
po/LINGUAS | 1 +
po/de.po | 121 ++++++------
po/eo.po | 119 ++++++------
po/es.po | 1792 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
po/fr.po | 140 +++++++-------
po/pt_BR.po | 108 +++++------
po/ro.po | 128 ++++++-------
po/ru.po | 121 ++++++------
po/sr.po | 108 +++++------
po/sv.po | 121 ++++++------
po/ta.po | 108 +++++------
po/uk.po | 122 ++++++------
12 files changed, 2388 insertions(+), 601 deletions(-)
commit 459ed87f9ea88c668eb3029762e01aedea6c9bf2
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-06 14:23:56 +0200
Update NEWS
NEWS | 1 +
1 file changed, 1 insertion(+)
commit a6e15043e4b2398d4e047bac9b8333645b267cf0
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-06 14:20:59 +0200
Fix scripts/Makefile.am to distribute all relevant files
scripts/Makefile.am | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
commit 0fcfdaeea55d1c87c8374b4394482800d1726af6
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-06 14:17:22 +0200
Update NEWS
NEWS | 4 ++++
1 file changed, 4 insertions(+)
commit 75f1efb3b2b9dcd2d2b340ff4440594d84d059af
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-06 14:14:38 +0200
Add testing infrastructure for 'make check'
This is just a starting point and covers a few basics
.gitignore | 1 +
Makefile.am | 2 +-
configure.ac | 2 +-
tests/Makefile.am | 4 ++++
tests/test-auth-plain.sh | 23 +++++++++++++++++++++++
tests/test-basic.sh | 7 +++++++
tests/test-header-handling.sh | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7 files changed, 126 insertions(+), 2 deletions(-)
commit f1bbdbc8949a5f9a392cec6aa6f1cb2327d6c97d
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-10-05 12:08:02 +0200
Fix -F overriding the full name in the configuration file
This fixes Github issue #165
src/msmtp.c | 1 +
1 file changed, 1 insertion(+)
commit 3989581c97ba330799e9dab807458278c95fe3fc
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-09-28 14:57:21 +0200
Remove unnecessary strdup/free in encode_for_header()
src/tools.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
commit 06ab0ba7e8d17030be60129e559fcc9eb2d32b90
Merge: 648cb20 d4e9326
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-09-28 13:16:22 +0200
Merge branch 'Konfekt-patch-1'
commit d4e93269f280a57863f55f30a910afabaf424c24
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-09-28 13:13:37 +0200
Properly encode non-ASCII strings in the From header
This fixes Github issue #162.
src/msmtp.c | 4 +++-
src/tools.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/tools.h | 8 ++++++++
3 files changed, 67 insertions(+), 1 deletion(-)
commit 648cb20737af7171ca3323ecc5088e2104479d87
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-09-28 13:13:37 +0200
Properly encode non-ASCII strings in the From header
This fixes Github issue #162.
src/msmtp.c | 4 +++-
src/tools.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/tools.h | 8 ++++++++
3 files changed, 67 insertions(+), 1 deletion(-)
commit 73de4213cf88eac7ed690a6d92bd3c6d800c2d5f
Author: Enno <Konfekt@users.noreply.github.com>
Date: 2024-09-26 05:31:27 +0200
msmtpq: name parameter correctly
Somehow got mixed up
scripts/msmtpq/msmtpq | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 066adb03953f06b88ce5e3d0085b5acd40bb2724
Merge: 1d7e512 523f5fd
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-09-17 19:54:08 +0200
Merge branch 'Konfekt-msmtpq'
commit 523f5fde479f56bb021f777dc49c9ba8bb500d0b
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-08-30 08:02:35 +0200
let user override toggle for desktop notification message
scripts/msmtpq/msmtpq | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
commit f7b38cff585d711243ade4f9273886e6c22675f6
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-09-13 18:56:33 +0200
fix inappropriate notification of incomplete queue
scripts/msmtpq/msmtpq | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 1d7e51270633e9a1f5942144fcf8b56d325371d9
Merge: 4ea740f 9ecf918
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-09-01 13:43:38 +0200
Merge branch 'Konfekt-master'
commit 9ecf918d9eb85b6d82792b5e2a8ca836749be11a
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-08-30 08:02:35 +0200
let user override toggle for desktop notification message
scripts/msmtpq/msmtpq | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
commit 4ea740fd059af872f9965f4be65634d4cca0d1c0
Merge: 37f811a 75fedf6
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-08-29 14:00:26 +0200
Merge branch 'Konfekt-msmtpq'
commit 75fedf65fc470d11a5455a4fdd3fe5743540a839
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-08-25 15:51:42 +0200
grep: do not exit script if no match found
scripts/msmtpq/msmtpq | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b4534e94fb36b74e2d1d22eb50f53060a8f28e70
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-08-25 15:36:53 +0200
msmtpq: replace hacks giving error messages due to stricter bash env
scripts/msmtpq/msmtpq | 36 ++++++++++++++++--------------------
1 file changed, 16 insertions(+), 20 deletions(-)
commit 37f811a4139698de17f62dc072524f3275f32526
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-08-01 12:10:01 +0200
Improve documentation of the token_in_string() function.
src/tools.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit df98041c0fb9b9f7df4e7626c60012fbfd2bd2a6
Author: Michaël Cadilhac <michael@cadilhac.name>
Date: 2024-08-01 12:08:53 +0200
Fix token_in_string() to allow \r\n at the end of the string.
This fixes detection of server capabilities, and fixes Github issue #14.
src/tools.c | 1 +
1 file changed, 1 insertion(+)
commit c1af6ffcda8e8c6a2ba4c2ffa15317f8310966b9
Merge: 280e772 a8b6425
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-05-31 08:52:00 +0200
Merge branch 'Konfekt-notify'
commit a8b6425c8a79bdf390b8ef063125e70e8a3e41d9
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-05-05 14:27:38 +0200
vim: detect new path of msmtp config file
scripts/vim/ftdetect/msmtp.vim | 1 +
1 file changed, 1 insertion(+)
commit 51111b9cfaf148eea6926b809c3177eacf441cb0
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-05-05 14:26:57 +0200
vim: add keyword program to show documentation of msmtprc option
This was added by https://github.com/bronzehedwick/msmtp-syntax.vim/commit/8bc486466ad71667a1083a32803f575b8bd6fd01
scripts/vim/ftplugin/msmtp.vim | 21 +++++++++++++++++++++
scripts/vim/{ => syntax}/msmtp.vim | 0
2 files changed, 21 insertions(+)
commit d0b67c8f278ec9b7a30fbb7bdda8235637b9a6b3
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-05-24 09:13:48 +0200
Bump minimum GnuTLS version to 3.7.2 to get GNUTLS_CB_TLS_EXPORTER
This fixes Github issue #151.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 280e7725f79d19aa274bcea8bd061da722d1a5d7
Merge: 67549d9 bf8904f
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-05-31 08:50:16 +0200
Merge branch 'Konfekt-vim'
commit bf8904f74753bfcdf8231b41188a5dba010bce3a
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-05-24 09:13:48 +0200
Bump minimum GnuTLS version to 3.7.2 to get GNUTLS_CB_TLS_EXPORTER
This fixes Github issue #151.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 67549d983dde077226f8204fbaeb58f413cd2b5b
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-05-24 09:13:48 +0200
Bump minimum GnuTLS version to 3.7.2 to get GNUTLS_CB_TLS_EXPORTER
This fixes Github issue #151.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 43f0fb9e652a5fc466d7e91a1bd03e9b7e127380
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-05-06 08:43:28 +0200
soften up strict mode
unset variables and using spaces as a delimiter are so common
that removing all occurrences of them not worth the trouble for now
scripts/msmtpq/msmtpq | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 354626420892d91604270c19be484c356bb1138a
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-05-06 08:40:42 +0200
improve error checking to avoid early exit on error
scripts/msmtpq/msmtpq | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
commit 32eaad1ffba2b8ebbbe77d2b5ee548343bbd2a40
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-05-05 13:39:11 +0200
if no terminal output and on X, then show messages as notifications
This is in particular helpful if the script is run as background process and would never work
again without manual intervention, for example at
[ -z "$LKD" ] && \
err '' "cannot use queue $MSMTPQ_Q : waited $MAX seconds for"\
" lockdir [ $LOK ] to vanish ; giving up"\
'if you are certain that no other instance of this script'\
" is running, then 'rmdir' the lock dir manually" '' # lock file still there, give up
scripts/msmtpq/msmtpq | 41 +++++++++++++++++++++++++++++++++++------
1 file changed, 35 insertions(+), 6 deletions(-)
commit ac9d4d85f0cf31e93d9b4d81a3091406467a7123
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-05-05 14:27:38 +0200
vim: detect new path of msmtp config file
scripts/vim/ftdetect/msmtp.vim | 1 +
1 file changed, 1 insertion(+)
commit 1ec1887d172f1761e9934abc279e1d9dbc2236f2
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-05-05 14:26:57 +0200
vim: add keyword program to show documentation of msmtprc option
This was added by https://github.com/bronzehedwick/msmtp-syntax.vim/commit/8bc486466ad71667a1083a32803f575b8bd6fd01
scripts/vim/ftplugin/msmtp.vim | 21 +++++++++++++++++++++
scripts/vim/{ => syntax}/msmtp.vim | 0
2 files changed, 21 insertions(+)
commit d6cfc74a531822684efaa223e9e0e92eddb47228
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: 2024-05-05 11:09:08 +0200
remove superfluous variable
whose definition was removed in 921d3c4
scripts/msmtpq/msmtpq | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 8b2f0e4cdbea887840e486e7758cc46d577285f1
Merge: 0896ad7 cf82584
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-05-01 13:52:26 +0200
Merge branch 'master' of https://github.com/flyinggreenfrog/msmtp-mirror into flyinggreenfrog-master
commit 0896ad740cfb925191b789d5223f9df06d3f54d0
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-03-05 10:42:15 +0100
Update translations
po/de.po | 543 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------
po/eo.po | 515 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------
po/fr.po | 500 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------
po/pt_BR.po | 500 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------
po/ro.po | 514 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------
po/ru.po | 519 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/sr.po | 515 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------
po/sv.po | 515 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------
po/ta.po | 499 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------
po/uk.po | 515 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------
10 files changed, 2570 insertions(+), 2565 deletions(-)
commit ce366dd609f97f62995f03edd7f36575ca8e2de6
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-03-05 10:41:22 +0100
Bump version to 1.8.26
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 6fe8a821f240a3e9d250bdd030437630218a42c9
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-03-05 10:40:59 +0100
Update NEWS
NEWS | 2 ++
1 file changed, 2 insertions(+)
commit 659d503393e0f5de2398d73d8f81822c9ba30bd3
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-03-05 10:39:20 +0100
Bump year in copyright message
src/msmtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 134458bc8c45c37a19b23b306430a90370f384e0
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-03-05 10:35:20 +0100
Use Resent-From if present when --read-envelope-from is used
doc/msmtp.1 | 5 +++--
doc/msmtp.texi | 3 ++-
src/msmtp.c | 8 ++++++--
3 files changed, 11 insertions(+), 5 deletions(-)
commit f96a4ea91aa3c3e8dc802067a68adff151d1f05a
Author: Martin Lambers <marlam@marlam.de>
Date: 2024-01-01 16:18:19 +0100
Fix print_time_rfc2822()
Use strftime() because there is no way manual fiddling with time zones etc will
ever be correct.
This fixes github issue #141.
src/tools.c | 60 +++++++++++++++++-------------------------------------------
1 file changed, 17 insertions(+), 43 deletions(-)
commit f789ee168f5bf9aef7dd5d627d78f5756c528743
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-11-20 22:21:15 +0100
Fix compilation with libgsasl and without TLS
src/smtp.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
commit ad23abb87857b2f1b3977f40fc62da1e7906be21
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-11-19 21:07:41 +0100
Cleanup: unify the order of authentication methods in source and documentation
doc/msmtp.texi | 12 ++++++------
src/smtp.c | 24 ++++++++++++------------
src/smtp.h | 24 ++++++++++++------------
3 files changed, 30 insertions(+), 30 deletions(-)
commit e9ae256f457739b5995ad4784d92fadc05cdcef4
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-11-19 18:08:58 +0100
Add support for SCRAM-SHA-256-PLUS and SCRAM-SHA-1-PLUS, and prefer SCRAM
This adds support for the SCRAM-*-PLUS methods via libgsasl.
Channel binding is tls-unique for TLS <= 1.2 and tls-exporter for TLS >= 1.3.
The SCRAM methods are now preferred over PLAIN because of their superior
properties.
NEWS | 5 +++++
README | 2 +-
configure.ac | 2 +-
doc/msmtp.1 | 23 ++++++++++++++---------
doc/msmtp.texi | 28 ++++++++++++++++------------
scripts/vim/msmtp.vim | 2 +-
src/conf.c | 12 +++++++-----
src/msmtp.c | 84 ++++++++++++++++++++++++------------------------------------------------------------
src/mtls-gnutls.c | 33 ++++++++++++++++++++++++++++-----
src/mtls.c | 4 +++-
src/mtls.h | 10 +++++++++-
src/smtp.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------
src/smtp.h | 38 ++++++++++++++++++++------------------
src/tools.c | 33 ++++++++++++++++++++++++++++++++-
src/tools.h | 12 +++++++++++-
15 files changed, 238 insertions(+), 164 deletions(-)
commit 09c44c55210ceb85b4fa4ab010e86d91794bd411
Author: Devin J. Pohly <djpohly@gmail.com>
Date: 2023-11-10 13:27:08 -0600
Show invalid/empty SMTP replies in verbose mode
This makes it easier to troubleshoot invalid (or unexpected) replies by
printing them before erroring and exiting the function.
src/smtp.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
commit 19a5a44ad20d182bee82c33d47a3233061f8426a
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-10-29 17:57:15 +0100
Bump version to 1.8.25
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit aa3d05a58ab0bd369e8b3ea1845f492783291aef
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-10-29 17:57:02 +0100
Update NEWS
NEWS | 3 +++
1 file changed, 3 insertions(+)
commit dd802baeaf363039492ee07be6fec73be4402175
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-10-29 17:55:48 +0100
Update translations
po/LINGUAS | 1 +
po/de.po | 78 ++++----
po/eo.po | 78 ++++----
po/fr.po | 78 ++++----
po/pt_BR.po | 78 ++++----
po/ro.po | 1822 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
po/ru.po | 78 ++++----
po/sr.po | 78 ++++----
po/sv.po | 78 ++++----
po/ta.po | 73 ++++---
po/uk.po | 78 ++++----
11 files changed, 2179 insertions(+), 341 deletions(-)
commit b3500e2d51b23d7de140172c88abe69ff649a638
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-09-27 20:50:38 +0200
Remove unused variable
src/conf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f5a81eeff4583706614b119102970ae475144d25
Author: Jonathan Wakely <jwakely@fedoraproject.org>
Date: 2023-09-26 22:30:01 +0100
Fix find_account_by_envelope_from wildcard support
This restores support for wildcards when the envelope from address
contains a '+' symbol.
Fixes #132
src/conf.c | 50 ++++++++++++++++++++++++++------------------------
1 file changed, 26 insertions(+), 24 deletions(-)
commit fda4ade1465a32c28ae41963b453cc478a41bfec
Author: Jonathan Wakely <jwakely@fedoraproject.org>
Date: 2023-09-26 22:32:53 +0100
Fix typo in msgid.c
src/msgid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 0ff13447385a8c57419c209abc5914899e4bc826
Author: Jonathan Wakely <jwakely@fedoraproject.org>
Date: 2023-09-26 12:28:25 +0100
Remove stray text in msmtp man page copied from info page
This looks like a copy & paste error from the equivalent text in the texi file.
doc/msmtp.1 | 2 --
1 file changed, 2 deletions(-)
commit 527faf07fbd57c87b0c8f07386b3bb696b816c4f
Author: Jonathan Wakely <jwakely@fedoraproject.org>
Date: 2023-09-26 12:11:44 +0100
Fix typo in msmtp man page
doc/msmtp.1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f7fc7869abef162441f7cad3b81b36286e286d06
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-09-07 16:43:56 +0200
Fix documentation of ignored options
This closes github issues #128 and #129
doc/msmtp.1 | 2 +-
doc/msmtp.texi | 2 +-
src/msmtp.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
commit 06aa09354a15b4f101c33d8c96ceab4980d40f87
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-08-12 16:31:14 +0200
vim syntax file: fix whitespace handling
This closes https://github.com/marlam/mpop-mirror/issues/13.
Patch submitted by an unknown Github user.
scripts/vim/msmtp.vim | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 9b5ddffcba273ab7208587cca9eeb0d29c780936
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-08-07 16:49:45 +0200
Improve Message-ID header generation
Previously, having the envlope from address as part of the Message-ID causes
rspamd to generate a SPAM point (for unknown reasons).
Now, the local part of the envelope from address is never part of the Message-ID,
and there is limited configurability of the domain part of the Message-ID.
doc/msmtp.1 | 25 +++++++++++++++++++------
doc/msmtp.texi | 22 +++++++++++++++-------
src/msgid.c | 52 +++++++++++++++++++++++++++++++++++++---------------
src/msgid.h | 11 ++++++++---
src/msmtp.c | 3 ++-
5 files changed, 81 insertions(+), 32 deletions(-)
commit a546261a594a82aaab45610daa5d8cc57d76b065
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-08-07 08:02:10 +0200
msmtpd: in AUTH PLAIN, accept and ignore non-empty authzid
This closes github issue #125.
src/msmtpd.c | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
commit 55847d7ef7d31bd7fd0b3d56a104dcd53ba3dc1e
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-06-29 22:03:50 +0200
Bump version to 1.8.24
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit ef62463e4d0dc1f8e7f1db4f8dd35650999c13f9
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-06-29 22:03:28 +0200
Update NEWS
NEWS | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit c493dd79a22e77b42e38cde5d9d581a7f675da87
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-06-29 21:56:49 +0200
Update translations
po/LINGUAS | 1 +
po/de.po | 177 +++++++++---------
po/eo.po | 177 +++++++++---------
po/fr.po | 177 +++++++++---------
po/pt_BR.po | 177 +++++++++---------
po/ru.po | 1782 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
po/sr.po | 177 +++++++++---------
po/sv.po | 298 +++++++++++++++--------------
po/ta.po | 177 +++++++++---------
po/uk.po | 177 +++++++++---------
10 files changed, 2562 insertions(+), 758 deletions(-)
commit 885a9879cfaae20b7965e03c7c40ee93b5668c53
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-06-20 09:27:46 +0200
Fix CRAM-MD5 for passwords with more than 64 characters
This fixes github issue #121.
Issue documented and patch written by Nikolay Vizovitin.
src/md5-apps.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
commit 17eabf3bb474c05ea1ef8b9233fac9e2761073ce
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-04-26 21:08:50 +0200
Fix allow_from_override command again
The logic prevented the envelope-from address to be taken from different
configuration file accounts (via inheritance, e.g. 'account default :
example'). However, the allow_from_override must only prevent taking the
envelope-from address from the --from option of the command line.
This fixes the second half of github issue #119
src/conf.c | 2 +-
src/msmtp.c | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
commit af851aa191b40103b469e9f57fb9919ff1374d85
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-04-22 19:22:33 +0200
Fix allow_from_override command: it was not properly inherited by accounts
This fixes github issue #119
src/conf.c | 9 ++++++---
src/conf.h | 1 +
2 files changed, 7 insertions(+), 3 deletions(-)
commit 67e854aff0f789405f8eb9345ba4fe98979680fb
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-04-22 19:09:08 +0200
Add a command from_full_name to set a full name for a From header (like -F).
This fixes github issue #118.
NEWS | 3 +++
doc/msmtp.1 | 13 ++++++++-----
doc/msmtp.texi | 9 ++++++---
scripts/vim/msmtp.vim | 2 +-
src/conf.c | 15 ++++++++++++++-
src/conf.h | 4 +++-
src/msmtp.c | 14 ++++++--------
7 files changed, 41 insertions(+), 19 deletions(-)
commit b4d2c3162744c4a17a74b06e3abed74ec243f2f7
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-04-22 17:56:54 +0200
Report temporary failure when getaddrinfo() returns EAI_AGAIN
This fixes msmtp Github issue #116.
src/net.c | 5 +++--
src/net.h | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
commit cf825846daecc1c9ba01ea39f1788aef117a374a
Author: Peter Hoffmann <hoffmann@b1-systems.de>
Date: 2023-02-18 08:16:33 +0100
Added support of config file for msmtpq script.
scripts/msmtpq/README.msmtpq | 7 +++++++
scripts/msmtpq/msmtpq | 4 ++++
2 files changed, 11 insertions(+)
commit c6addfa53d1948acc2b5d05cafa9084c0d008906
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-01-30 18:48:42 +0100
Update copyright year
src/msmtp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 2c689c1e7955ae148f2f3f7e592e01ba58f436d3
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-01-30 18:44:53 +0100
Bump version to 1.8.23
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit cfb8eab8da9d34077e5d13299e18752cbdc17550
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-01-30 18:44:46 +0100
Update NEWS
NEWS | 3 +++
1 file changed, 3 insertions(+)
commit c7f5f3ba0dcfe6356a84b0ef410021e8a1f89ada
Author: Martin Lambers <marlam@marlam.de>
Date: 2023-01-30 18:43:39 +0100
Update translations
po/LINGUAS | 1 +
po/de.po | 149 +++++++--------
po/eo.po | 125 ++++++-------
po/fr.po | 105 +++++------
po/pt_BR.po | 105 +++++------
po/sr.po | 119 ++++++------
po/sv.po | 1756 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
po/ta.po | 105 +++++------
po/uk.po | 119 ++++++------
9 files changed, 2163 insertions(+), 421 deletions(-)
commit 7e5e2345c3052e1b9aaa3c57ddd821b33c1d382f
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-10-01 23:21:05 +0200
Add allow_from_override to msmtp_print_conf()
This fixes github issue #100, reported by Nick Briggs.
src/msmtp.c | 2 ++
1 file changed, 2 insertions(+)
commit ad05e370a8e78aa85dd8fa78518571ed3bae4a1d
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-09-02 10:37:31 +0200
Document that alias expansion does not affect mail headers
doc/msmtp.1 | 3 +++
doc/msmtp.texi | 2 ++
2 files changed, 5 insertions(+)
commit c6ec6d5df4375f18f30830234b6cf1f74cf9cc26
Author: Jason Yundt <jason@jasonyundt.email>
Date: 2022-08-25 16:00:25 -0400
msmtpq: don’t use log() before it’s defined
To fix this bug, I created a new function called log_later(). I
also considered moving the function definition for log() to before the
variable declarations, moving the variable declarations to underneath
the function declarations and moving the “"$MSMTP" --version” to the
script’s “entry point”. In the end I decided to create log_later() in
order to stay consistent with how the script was already written.
Fixes #93.
scripts/msmtpq/msmtpq | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit 0c7e374ffa5418e9f96b8e3835d76eba1b1013c7
Author: Jason Yundt <jason@jasonyundt.email>
Date: 2022-08-25 08:02:08 -0400
Fix msmtpq failing when $MSMTP contains spaces
The problem was that there was a line of code that didn’t quote $MSMTP,
so for consistency, I decided to make sure that every use of the MSMTP
variable was quoted (even if the quotes weren’t necessary).
Fixes #92.
scripts/msmtpq/msmtpq | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 1f3f4bfd098dc29923a150b7a6b6740a58adc9ed
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-08-25 08:10:01 +0200
Send XOAUTH2 in two lines, required by Microsoft servers
Reported, analyzed and fixed by Michaël Cadilhac for POP3/mpop;
according example SMTP sessions in the Microsoft documentation, this
also applies to SMTP.
src/smtp.c | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
commit 22319c306f0c0f3fccc15c9a06edcf1302eddb06
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-08-23 20:28:35 +0200
Document that eval commands are always evaluated.
doc/msmtp.1 | 3 +++
doc/msmtp.texi | 2 ++
2 files changed, 5 insertions(+)
commit 791053cfe0888449fed3ca63457d386883071a65
Author: Jason Yundt <jason@jasonyundt.email>
Date: 2022-08-14 21:18:53 -0400
msmtpq: rename LOG to MSMTPQ_LOG
Now that this variable is sharing a namespace with the rest of the
system, its name should reflect the fact that it’s an msmtpq-specific
variable (see the previous commit for details).
I used these scripts [1] to help me test the changes in this commit.
Thanks to Peter Hoeg for suggesting this change [2].
[1]: <https://gist.github.com/Jayman2000/849134cf5d224e864472f779af5050b7>
[2]: <https://github.com/marlam/msmtp-mirror/pull/86#discussion_r940283331>
scripts/msmtpq/README.msmtpq | 7 ++++---
scripts/msmtpq/msmtpq | 20 +++++++++++++-------
2 files changed, 17 insertions(+), 10 deletions(-)
commit 98ad6b90d0920867a4ffbc6cc11481dc4570c601
Author: Jason Yundt <jason@jasonyundt.email>
Date: 2022-08-12 12:22:21 -0400
msmtpq: rename Q to MSMTPQ_Q
8139cf6 (msmtpq: inherit MSMTP, Q and LOG from environment, 2022-08-06)
allowed the Q variable to be set from outside of the msmtpq script.
Before that change, Q was a reasonable name for that variable. Now that
that variable is sharing a namespace with the rest of the system, its
name should reflect the fact that it’s specific to the msmtpq script.
At the time of writing, there’s one release of msmtp (1.8.22) that
contains the changes from 8139cf6 (msmtpq: inherit MSMTP, Q and LOG from
environment, 2022-08-06). For backwards compatibility with that release,
this change makes the Q variable a deprecated alias of MSMTPQ_Q.
I used these scripts [1] to help me test the changes in this commit.
Thanks to Peter Hoeg for suggesting this change [2].
[1]: <https://gist.github.com/Jayman2000/09685f52f3a27450cd65391048b5dd53>
[2]: <https://github.com/marlam/msmtp-mirror/pull/86#discussion_r940283008>
scripts/msmtpq/README.msmtpq | 9 +++++----
scripts/msmtpq/msmtpq | 23 +++++++++++------------
2 files changed, 16 insertions(+), 16 deletions(-)
commit 05a3349b31ab4ad7e5362bdb4b710aba2e36bcbb
Merge: 921d3c4 38aa1e0
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-08-22 20:37:03 +0200
Merge branch 'msmtpq-always-check-exe' of https://github.com/Jayman2000/msmtp-mirror-pr into j
commit 921d3c49d08c9f9e9dd7808684a7d747701782e5
Author: Jason Yundt <jason@jasonyundt.email>
Date: 2022-08-09 10:31:09 -0400
msmtpq: fix errors when $Q contains spaces
I also decided to quote some variable expansions that didn’t need to be
quoted but just happened to be on some of the lines that I modified in
this commit. I want to set a precedent: quote your variables unless
there’s a reason not to.
Fixes #87.
scripts/msmtpq/msmtpq | 55 +++++++++++++++++++++++++++++++++----------------------
1 file changed, 33 insertions(+), 22 deletions(-)
commit 38aa1e02b27ba9264a54b7a6f264695f3fd2f268
Author: Jason Yundt <jason@jasonyundt.email>
Date: 2022-08-10 07:00:12 -0400
msmtpq: always test the value of MSMTP
Before this change, msmtpq would only make sure that $MSMTP was valid if
the user had customized it. Even if MSMTP is left at its default value,
it’s still a good idea to make sure that the default value is valid.
This change was suggested by Peter Hoeg:
<https://github.com/marlam/msmtp-mirror/pull/86#issuecomment-1208742887>
scripts/msmtpq/msmtpq | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
commit 8ee1b0e42f4a735c547caed35775cfe858e69d40
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-08-07 17:46:54 +0200
Update NEWS
NEWS | 3 +++
1 file changed, 3 insertions(+)
commit c354eecde02affc601aaba365a9bb37d86c70b00
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-08-07 17:46:11 +0200
Bump version to 1.8.22
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c7ec6d484ec458d75b9b00427f0fec8f081d0ce0
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-08-07 17:45:20 +0200
Fix missing symbols when linking while building with libgsasl
This fixes guthub issue #85, reported by jpalus. Thanks!
src/Makefile.am | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
commit 43f0e4bece87950fbde90f15d6b74b9b15c2d1dd
Author: Jason Yundt <jason@jasonyundt.email>
Date: 2022-08-06 10:38:26 -0400
msmtpq: create parent dirs for $Q and $LOG
When I first tried to use msmtpq, I was a little bit confused by the
behavior of the Q and LOG variables. README.msmtpq does say that the
directories for those variables should be created before you run msmtpq,
but I didn’t notice that when I was first skimming through it.
This change makes msmtpq more resilient in those situations. Now, msmtpq
will not only create a directory for $Q and a directory for $LOG but
also create parent directories for those directories if necessary.
This change was inspired by a patch that was included in a nixpkgs PR:
<https://github.com/NixOS/nixpkgs/pull/185343/commits/f8e3437ef22573db03e0eb3612373e0e9f2a9257#diff-db16f24325854530247bb84d212795a677d9477a0507fb9aa174f561653c5138R12>
scripts/msmtpq/msmtpq | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 8139cf62076e79b38c441150f6295a03c9d41045
Author: Jason Yundt <jason@jasonyundt.email>
Date: 2022-08-06 10:29:53 -0400
msmtpq: inherit MSMTP, Q and LOG from environment
When a user is installing msmtpq simply by copying it to a location on
their PATH, it it perfectly reasonable to ask the user to edit msmtpq
before using it. However, when installing msmtpq via a package manager,
editing the msmtpq executable itself is not a good idea. In general,
files installed by a package manager should only be modified by that
package manager (unless the file is a configuration file).
Additionally, recommending that users to edit a script before it is used
creates friction when the script is updated. Every time the script is
updated, the user has to make those same changes again.
This change allows (and even encourages) the user to set the MSMTP, Q
and LOG variables from outside of the script. This allows users to
configure the location of the msmtp executable, msmtpq’s queue directory
and msmtpq’s log without modifying msmtpq itself.
This change was inspired by a patch that was included in a nixpkgs PR:
<https://github.com/NixOS/nixpkgs/pull/185343/commits/f8e3437ef22573db03e0eb3612373e0e9f2a9257#diff-db16f24325854530247bb84d212795a677d9477a0507fb9aa174f561653c5138R11>
scripts/msmtpq/README.msmtpq | 21 +++++++++------------
scripts/msmtpq/msmtpq | 25 +++++++++++++------------
2 files changed, 22 insertions(+), 24 deletions(-)
commit 91a5c7c43c5b351865ac1b0e44e2654a9de8bd69
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-08-07 12:42:27 +0200
Remove outdated passage from example user configuration
doc/msmtprc-user.example | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 6d9500f3faab3cc03b9c7db49ffde0cc309db77d
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-08-07 12:25:55 +0200
Update example system configuration
doc/msmtprc-system.example | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f44964c4ec5db9b74f974f42c4816394f75bd8cc
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-08-07 12:24:31 +0200
Update example user configuration
doc/msmtprc-user.example | 70 ++++++++++++++++++++++------------------------------------------------
1 file changed, 22 insertions(+), 48 deletions(-)
commit b0a39ce01ec32c104048c08adf212374cac6b41b
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-08-07 12:13:36 +0200
Bump version to 1.8.21
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 0defc098471ea152573c880b35faab9e52432d1e
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-08-07 12:13:13 +0200
Update translations
po/de.po | 445 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
po/eo.po | 444 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
po/fr.po | 444 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
po/pt_BR.po | 445 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
po/sr.po | 445 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
po/ta.po | 443 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
po/uk.po | 444 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
7 files changed, 1570 insertions(+), 1540 deletions(-)
commit f144a9be87c4dfa7d3750a76e3f288de0d8a8253
Author: Jason Yundt <jason@jasonyundt.email>
Date: 2022-08-04 17:19:15 -0400
msmtpq: Restore old default connection test
716e47e (New version of msmtpq script, 2013-02-14) added the
connect_test() function. By setting EMAIL_CONN_TEST, the user could
select how connect_test() would check for a working Internet connection.
If the user didn’t specify EMAIL_CONN_TEST, then connect_test() would
use ping by default.
0f794b7 (Update msmtpq scripts., 2015-03-12) added a line that sets
EMAIL_CONN_TEST to “n”. This means two things:
1. The default connection test is no longer the one that uses ping, but
the comments in connect_test() still say that it’s the default.
2. The only way to switch to a different connection test is to edit the
msmtpq script itself.
Considering the number of changes in that commit and its brief commit
message, it seems like that change was unintentional.
This commit makes the connection test that uses ping the default again
and allows users to choose a different test without modifying the msmtpq
script itself.
scripts/msmtpq/msmtpq | 1 -
1 file changed, 1 deletion(-)
commit 97ef25221dcf0bfe292cba79c98f2dca11fe5bd1
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-07-27 20:44:06 +0200
Update vim and emacs sybtax files
scripts/emacs/msmtp-config-mode.el | 10 +++++++---
scripts/vim/msmtp.vim | 12 ++++++++----
2 files changed, 15 insertions(+), 7 deletions(-)
commit 4051dbc9dca43b8b7c1cd2bed8b7729d32a864b0
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-07-27 01:31:21 +0200
msmtpd: improve Received header
src/msmtpd.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------
1 file changed, 52 insertions(+), 41 deletions(-)
commit 69c1e68fe041f65d00bcbe278e9020694f50eb03
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-07-26 23:23:29 +0200
msmtpd: improve sanity checks on EHLO argument
src/msmtpd.c | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
commit 98cc516aed2f56a722af6d6c830eb85ef248e72b
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-07-26 15:58:50 +0200
Use CLOCK_BOOTTIME in Message-ID generation, as intended
src/msgid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit a04922b1eba8a065dfe31bac76cb7c79659b6b3d
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-07-26 15:57:31 +0200
Add --help string for set_msgid_header
src/msmtp.c | 1 +
1 file changed, 1 insertion(+)
commit a62532648cf4c2e18cd582e8b5e4dafe243a08d4
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-07-26 15:47:19 +0200
msmtpd: add a Received header
NEWS | 1 +
src/msmtpd.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------
2 files changed, 73 insertions(+), 17 deletions(-)
commit c70cf49b9a3fa92dc15a89a8c3b27bc925fefb0b
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-07-26 15:35:05 +0200
Add set_msgid_header with default setting 'auto'
NEWS | 2 ++
doc/msmtp.1 | 8 ++++++++
doc/msmtp.texi | 12 +++++++++++
src/Makefile.am | 1 +
src/conf.c | 26 +++++++++++++++++++++++
src/conf.h | 14 +++++++------
src/msgid.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/msgid.h | 33 +++++++++++++++++++++++++++++
src/msmtp.c | 193 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------
9 files changed, 333 insertions(+), 29 deletions(-)
commit 2583739d0463aa2d84cea9108ac0e9c0c7a8fac9
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-07-26 15:26:29 +0200
man page: fix argument list of set_date_header
doc/msmtp.1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e16c5d9d42d2e6c84f55f3dadab0e841fb358fe6
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-06-25 16:58:24 +0200
remove password_eval() which moved to eval()
src/password.c | 63 ---------------------------------------------------------------
src/password.h | 9 ---------
2 files changed, 72 deletions(-)
commit 8778f7c5beb1f07db02f0952bc7ca63d7a52e2dd
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-06-25 16:45:17 +0200
read_conffile: handle the eval command first
src/conf.c | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
commit 6865777eb007deba4b8313f44b986c843084890f
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-06-25 12:40:03 +0200
Add new command eval.
NEWS | 5 +++++
doc/msmtp.1 | 27 +++++++++++++++++++--------
doc/msmtp.texi | 23 +++++++++++++++++------
src/Makefile.am | 3 ++-
src/conf.c | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------
src/eval.c | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/eval.h | 34 ++++++++++++++++++++++++++++++++++
src/msmtp.c | 4 ++--
src/msmtpd.c | 3 ++-
9 files changed, 244 insertions(+), 68 deletions(-)
commit c7d4aec45a5955c96f8b5023acf30265d0f1caa0
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-06-07 12:53:51 +0200
Don't expect host to never be NULL, part 2.
src/msmtp.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit ab23ba9a640d3c8f8999bc662109feafcc921d1d
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-06-07 12:08:25 +0200
Don't expect host to never be NULL.
When a socket name is given, the host name may be NULL, which was not yet
accepted everywhere and lead to a null pointer dereference (i.e. crash) in a
strlen() call when logging was active.
In addition to this strlen() call, several printf() calls were fixed, although
these just printed '(null)' instead of dereferencing the pointer.
Reportes as Github issue 79:
https://github.com/marlam/msmtp-mirror/issues/79
src/msmtp.c | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)
commit 36c3131c6807ad878dae996b478be7497ef3aea3
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-03-23 20:23:22 +0100
Update translations.
po/de.po | 54 +++++++++++++++++++++++++++---------------------------
po/eo.po | 54 +++++++++++++++++++++++++++---------------------------
po/fr.po | 86 +++++++++++++++++++++++++++++++++++++++-----------------------------------------------
po/pt_BR.po | 58 +++++++++++++++++++++++++++++-----------------------------
po/sr.po | 90 +++++++++++++++++++++++++++++++++++++++++-------------------------------------------------
po/ta.po | 54 +++++++++++++++++++++++++++---------------------------
po/uk.po | 58 +++++++++++++++++++++++++++++-----------------------------
7 files changed, 219 insertions(+), 235 deletions(-)
commit 73688b303a635b6695eb5d8ca3e1a5987e00a9f6
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-03-23 20:19:41 +0100
Bump version to 1.8.20
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit bebf7042ed62376f223a0e88fb557c6c4fbc77f8
Author: Martin Lambers <marlam@marlam.de>
Date: 2022-03-23 20:14:50 +0100
Bump Copyright year in --version output
src/msmtp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit ef3b001f9adce70396803c04a35580b7ea8963d0
Author: Magnus Groß <magnus.gross@rwth-aachen.de>
Date: 2022-03-18 12:09:09 +0100
msmtpq: Create queue directory automatically
If the queue directory is not present, there is no reason to complain as
we can just create it automatically.
This is a quality of life improvement so that people don't have to
remember to create ~/.msmtp.queue on new setups before this script
starts working.
Due to the previous "-d $Q" test, it is only called if the directory
does not exist yet, therefore the "-p" flag is not needed to prevent
mkdir from failing if the directory exists already.
With this patch, this script can finally run with zero prior
configuration.
scripts/msmtpq/msmtpq | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 77e7dba4d274a13265bbe1ac300623f0cbe1f217
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-11-07 11:52:15 +0100
Update documentation of set_from_header
doc/msmtp.1 | 6 +++++-
doc/msmtp.texi | 3 +++
2 files changed, 8 insertions(+), 1 deletion(-)
commit 9c9904961786e9aedb86d7f2480bfb06f0d47a03
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-11-07 11:49:03 +0100
Update msmtprc-system.example
doc/msmtprc-system.example | 4 ++++
1 file changed, 4 insertions(+)
commit 51e8622b436a792c650988274654f93d468783eb
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-11-07 11:44:42 +0100
Update msmtp.vim
scripts/vim/msmtp.vim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit bab38447729b5430e341abf6a5747c9ed6e9a914
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-11-06 12:13:37 +0100
Add new command allow_from_override
When off, the --from option does not override the envelope-from address anymore.
This should solve https://github.com/marlam/msmtp-mirror/issues/51
NEWS | 4 ++++
doc/msmtp.1 | 10 ++++++++--
doc/msmtp.texi | 12 +++++++++---
src/conf.c | 25 ++++++++++++++++++++++++-
src/conf.h | 3 ++-
5 files changed, 47 insertions(+), 7 deletions(-)
commit 58998f7d32615fab7c736f8d68ab4e576ce9cb7e
Author: Lonnie Abelbeck <lonnie@abelbeck.com>
Date: 2021-11-05 14:54:03 +0100
msmtpd documentation: add '--' to example pipe command lines
doc/msmtp.texi | 6 +++---
doc/msmtpd.1 | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
commit 0f8e1c49f7b915c0a70d204e2fd5ffb7979f11b6
Author: Martin Lambers <marlam@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 <marlam@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 <marlam@marlam.de>
Date: 2021-11-04 08:14:35 +0100
Update NEWS
NEWS | 7 +++++++
1 file changed, 7 insertions(+)
commit 77f987223282f7025ac8ceda0d552bfc41a6c366
Author: Martin Lambers <marlam@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 <marlam@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 <marlam@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 <marlam@marlam.de>
Date: 2021-10-22 17:45:03 +0200
Bump version to 1.8.18
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2862eed58f92a9b81fd974eee03839b75e5ef46d
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-10-12 16:53:43 +0200
Add aliases.c and password.c to po/POTFILES.in
po/POTFILES.in | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
commit 7f03f3767ee6b7311621386c77cb5575fcaa13d0
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-10-12 16:52:41 +0200
Link msmtpd with $(LIBINTL), required by password.c
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b01e5ff6b4f5db527e958b7397d79615b0c96ba9
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-10-04 20:03:25 +0200
Fix texinfo warnings about node names containing ':'
doc/msmtp.texi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 3e9949643a0813c0ed3f976c712208f59311f9a3
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-10-04 15:58:23 +0200
Replace year in translatable copyright message with %d
as requested by translationproject.org.
src/msmtp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 1266715d961d62d796ad1a1ee99c431d49b32116
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-10-03 12:33:51 +0200
manual: fix link to mpop documentation
doc/msmtp.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit cd8f9227b195bfe7e256ba647ec0b5c613a02a9c
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-10-03 12:10:20 +0200
configure.ac: apply autoupdate
configure.ac | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
commit 0e31b01bed90296a17b5ee706bfa229aa1938956
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-10-03 12:07:06 +0200
Bump version to 1.8.17
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 6999041d19a348bdd3d6692aa63f5f8cca5b6a2e
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-10-02 19:58:48 +0200
msmtpd: Update documentation
NEWS | 4 ++--
doc/msmtp.texi | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------
doc/msmtpd.1 | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------
3 files changed, 167 insertions(+), 48 deletions(-)
commit 17c15b43f17377dd1d83f56e2388fa30fc52656d
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-09-30 07:42:23 +0200
msmtpd: remove option --log-level because it's not currently useful
src/msmtpd.c | 27 ++++++---------------------
1 file changed, 6 insertions(+), 21 deletions(-)
commit f6fe1259e893269af29bee88827b22e43d1275f9
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-09-29 07:35:11 +0200
msmtpd: limit the maximum number of active sessions and improve measures against brute force attacks
src/msmtpd.c | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------
1 file changed, 106 insertions(+), 17 deletions(-)
commit a91f9a7a010b05c6594cb01cc3f542f99650e17e
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-09-27 20:22:04 +0200
msmtpd: improve handling of user/password data
src/msmtpd.c | 80 ++++++++++++++++++++++++++++++++++----------------------------------------------
1 file changed, 34 insertions(+), 46 deletions(-)
commit 0792849659b2361c0d83413e148dbdd76a55e075
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-09-27 16:01:02 +0200
msmtpd: add timestamp to log files
src/msmtpd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 12998894d9cfef5ffd1b0216b25de2ba5c2fbb84
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-09-27 14:59:08 +0200
include missing <errno.h>
src/password.c | 1 +
1 file changed, 1 insertion(+)
commit 66e0d4cfabd7deb97c98efbe0dbb07813f188f1f
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-09-27 12:35:46 +0200
msmtpd: add optional authentication for special use cases
src/Makefile.am | 3 ++-
src/msmtpd.c | 147 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
2 files changed, 137 insertions(+), 13 deletions(-)
commit db5ad243916af99e314954e532a714cbc7432f02
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-09-27 11:33:51 +0200
move get_password_eval() to password.c and rename to password_eval()
src/conf.c | 62 --------------------------------------------------------------
src/conf.h | 9 ---------
src/msmtp.c | 4 ++--
src/password.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/password.h | 9 +++++++++
5 files changed, 74 insertions(+), 73 deletions(-)
commit 72ad7c488ab6f6bb3e0630e2182bc9d07076f74a
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-09-27 11:28:38 +0200
password_get(): add flag that allows to disable .netrc
src/msmtp.c | 2 +-
src/password.c | 8 +++++---
src/password.h | 10 ++++++----
3 files changed, 12 insertions(+), 8 deletions(-)
commit 69fd87d42aff261e7da8b5c6b54d395ee424f18e
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-09-26 16:17:32 +0200
msmtpd: add logging capability and two new options --log and --log-level
NEWS | 4 ++++
doc/msmtp.texi | 6 +++++-
doc/msmtpd.1 | 8 ++++++--
src/msmtpd.c | 163 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
4 files changed, 170 insertions(+), 11 deletions(-)
commit bfdb80a198049a8d70423022616069a2ab82cad3
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-09-13 21:38:21 +0200
Update NEWS
NEWS | 7 +++++++
1 file changed, 7 insertions(+)
commit b582f39e21be1b248ed91f6508c756d26a846ecc
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-09-13 21:36:00 +0200
Bump version to 1.8.16
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 577330777afc29029026491a20d42e671bb4eaf6
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-08-31 07:09:36 +0200
Add support for account matching via fnmatch()
Based on ideas discussed in https://github.com/marlam/msmtp-mirror/issues/46
Using fnmatch() was originally suggested by Github user dkrm0. Thanks!
configure.ac | 2 +-
doc/msmtp.1 | 7 +++++++
doc/msmtp.texi | 12 ++++++++----
src/conf.c | 16 +++++++++++++++-
4 files changed, 31 insertions(+), 6 deletions(-)
commit 6622516bd7551ae1b6b9a5a39d7c960247df11eb
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-08-26 12:26:43 +0200
msmtpd: support sysexits.h error codes of the pipe command
This allows pipe commands to signal temporary errors (mainly by returning 75
EX_TEMPFAIL).
doc/msmtp.texi | 8 +++++++-
doc/msmtpd.1 | 10 ++++++++--
src/msmtpd.c | 24 +++++++++++++++++++++++-
3 files changed, 38 insertions(+), 4 deletions(-)
commit 3b9abef04387fe0790490206f9c2f3933da41966
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-05-27 20:57:17 +0200
Fix %M expansion for 'from' and 'domain': kill \n if necessary
src/conf.c | 4 ++++
1 file changed, 4 insertions(+)
commit c2c05f08eaadb36c32cbd43339e600e1b21f99ed
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-05-27 20:54:20 +0200
Add support for %H, %C, %M in the domain command
doc/msmtp.1 | 10 ++++++++++
doc/msmtp.texi | 10 +++++++++-
src/conf.c | 46 ++++++++++++++++++++++++++++++++++------------
src/conf.h | 11 +++++++++++
src/msmtp.c | 6 ++++++
5 files changed, 70 insertions(+), 13 deletions(-)
commit 06b18cf9b3f9fe1b42f2936a824966c4f5809bfc
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-05-27 20:04:04 +0200
mtls-libtls: fix tls_fingerprint
Let tls_fingerprint override *all* certificate checks, as documented.
src/mtls-libtls.c | 2 ++
1 file changed, 2 insertions(+)
commit c34a550feac58016bc3b47c8a212564681a3fe43
Author: Lonnie Abelbeck <lonnie@abelbeck.com>
Date: 2021-05-27 20:02:10 +0200
mtls-libtls: fix tls_certcheck=off
Disable *all* certificate checks when tls_certcheck=off, as documented.
src/mtls-libtls.c | 2 ++
1 file changed, 2 insertions(+)
commit 5ff9207795557ab0a843096385f4a7c275a2b06f
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-03-12 15:33:27 +0100
Update gettext to 0.21
build-aux/config.rpath | 2 +-
po/Makefile.in.in | 133 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------
po/Makevars.template | 4 ++++
po/Rules-quot | 6 +++++-
po/en@boldquot.header | 2 +-
po/en@quot.header | 2 +-
po/insert-header.sin | 5 +++++
po/remove-potcdate.sin | 8 +++++++-
src/gettext.h | 15 +++++++++++----
9 files changed, 115 insertions(+), 62 deletions(-)
commit d1efc9f3c8ea66dfdedf3bed6e4b01c63ea6962d
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-03-12 15:29:26 +0100
Update translations.
po/de.po | 458 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------
po/eo.po | 477 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------
po/fr.po | 500 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------
po/pt_BR.po | 455 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------
po/sr.po | 459 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------
po/ta.po | 439 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------
po/uk.po | 455 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------
7 files changed, 1608 insertions(+), 1635 deletions(-)
commit a64a5985bc6bdd6ad34e4211b39a97f5cf478b28
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-03-12 15:27:08 +0100
Bump version to 1.8.15.
configure.ac | 4 ++--
doc/msmtp.1 | 4 ++--
src/msmtp.c | 4 ++--
src/msmtpd.c | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
commit a4f09c8684103084b71ca8d2f89b86b97dc456b3
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-02-21 18:13:36 +0100
mtls-gnutls: ask GnuTLS for size when computing fingerprints
src/mtls-gnutls.c | 59 +++++++++++++++++++++++++++++++++++++++++++----------------
1 file changed, 43 insertions(+), 16 deletions(-)
commit a999c09684fd820a681a057cf2b4d774b0a41d3e
Author: Martin Lambers <marlam@marlam.de>
Date: 2021-02-18 07:31:23 +0100
msmtpd: reject empty arguments to command line options
This closes https://github.com/marlam/msmtp-mirror/issues/44
src/msmtpd.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
commit 99f9bd74a798f7079144ebcd19bb994d6eb5a501
Author: John Scott <jscott@posteo.net>
Date: 2021-01-20 11:23:45 +0100
Fix double fclose() when --from contains %M
src/conf.c | 1 -
1 file changed, 1 deletion(-)
commit c7f8b2c13431569baa4b48cbda15b5cc5e01a579
Author: Roman Bogorodskiy <bogorodskiy@gmail.com>
Date: 2021-01-01 11:00:09 +0400
Add missing sys/wait.h include
Build on FreeBSD fails with:
CCLD msmtpd
ld: error: undefined symbol: WIFEXITED
>>> referenced by msmtpd.c:299
>>> msmtpd.o:(msmtpd_session)
ld: error: undefined symbol: WEXITSTATUS
>>> referenced by msmtpd.c:302
>>> msmtpd.o:(msmtpd_session)
>>> referenced by msmtpd.c:303
>>> msmtpd.o:(msmtpd_session)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:431: msmtpd] Error 1
Before that, warnings "implicit declaration of functio" for WIFEXITED and
WEXITSTATUS are emitted.
Fix by including <sys/wait.h>.
src/msmtpd.c | 1 +
1 file changed, 1 insertion(+)
commit 30aadd071b5207f4aa5a38e628eec4ac5e72436c
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-26 09:49:37 +0100
Update README
README | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
commit 28c684c963432f62b757bdd6487f66971c27bdc4
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-26 09:45:57 +0100
Update NEWS
NEWS | 3 +++
1 file changed, 3 insertions(+)
commit 1e2c5628e0958c7a90b6bb113215759f58128c89
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-26 09:44:27 +0100
Update vim script
scripts/vim/msmtp.vim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 5249d7985c0d70e51e91c4356047d05d469c1792
Author: Simon Josefsson <simon@josefsson.org>
Date: 2020-12-23 20:51:04 +0100
Add support for SCRAM-SHA-256 via GNU SASL.
doc/msmtp.1 | 1 +
doc/msmtp.texi | 7 +++++--
src/conf.c | 1 +
src/msmtp.c | 8 ++++++++
src/smtp.c | 23 ++++++++++++++++++++---
src/smtp.h | 1 +
6 files changed, 36 insertions(+), 5 deletions(-)
commit 0b1254bc3cfb556bedd5d3240344dbfa3beb3dbe
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-23 15:17:27 +0100
Bump version to 1.8.14
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 5a46d42b83dcdfeffae60f8d93c833f436a6a421
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-23 15:17:15 +0100
Update translations
po/de.po | 853 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------
po/eo.po | 841 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
po/fr.po | 839 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/pt_BR.po | 843 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/sr.po | 838 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/ta.po | 794 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------
po/uk.po | 838 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
7 files changed, 2979 insertions(+), 2867 deletions(-)
commit 643853cc355e3c57d74a72e2711fac2593eedd3b
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-23 15:12:42 +0100
Update NEWS
NEWS | 3 +++
1 file changed, 3 insertions(+)
commit f39edc2fc5306f1bc4addd2974374ba4ef4963ac
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-23 14:44:40 +0100
libtls: avoid modification of the original priorities string in mtls_init()
src/mtls-libtls.c | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
commit e8d9542daf00aa11af7a6d5beeb37b6f16af49a9
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-22 10:49:27 +0100
Move the documentation of the deprecated --tls-min-dh-prime-bits to the end of the list
doc/msmtp.1 | 8 ++++----
doc/msmtp.texi | 12 ++++++------
2 files changed, 10 insertions(+), 10 deletions(-)
commit 71ae9b7fcd7deb491d09c471fba4cec57e217905
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-22 10:41:55 +0100
Move the documentation of the deprecated tls_min_dh_prime_bits to the end of the list
doc/msmtp.1 | 12 ++++++------
doc/msmtp.texi | 16 ++++++++--------
2 files changed, 14 insertions(+), 14 deletions(-)
commit 752174565f3f27f19185caa4457e4dddebf39fd3
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-22 10:40:59 +0100
Update documentation of tls_priorities
doc/msmtp.1 | 16 ++++++++++++----
doc/msmtp.texi | 15 +++++++++++----
2 files changed, 23 insertions(+), 8 deletions(-)
commit 777e46d2f87d413565d6ed7943cb96b8b0f4cfad
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-22 10:24:25 +0100
libtls: use tls_config_error() where possible when applying priorites
src/mtls-libtls.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
commit af96a79997f50b36ef005d34b88058636b9bc880
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-22 10:22:00 +0100
libtls: move variables into scope where they are used
src/mtls-libtls.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
commit d919be001bebd416c6fed83684fd4b3071918f65
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-22 10:14:16 +0100
libtls: in mtls_start(), create error string before deleting context
src/mtls-libtls.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 083667fe04f47aa7cb45aeaf6adc09e21e8a1e64
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: 2020-12-21 11:47:59 -0600
libtls: add tls_priorities implementation
src/mtls-libtls.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 54 insertions(+), 10 deletions(-)
commit afc226d306ac24b539d1f45c11ea47f49a89d6ac
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-16 21:56:09 +0100
mtls-libtls: set error string on initialization failure
src/mtls-libtls.c | 1 +
1 file changed, 1 insertion(+)
commit fd0ba36b7e71f28aa0322683cff40e07e68e5fed
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-16 21:52:59 +0100
mtls-libtls: catch unsupported configuration options
src/mtls-libtls.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
commit b8b40668800e33c746105560f5c4f21e938eba0b
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-16 21:52:37 +0100
mtls: document planned updates for the next stable series
src/mtls.h | 6 ++++++
1 file changed, 6 insertions(+)
commit 81ee853085d9416e003061171e9dfbc78b58b557
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-16 21:38:51 +0100
Mark the tls_min_dh_prime_bits command as deprecated.
doc/msmtp.1 | 11 ++++++-----
doc/msmtp.texi | 4 +++-
2 files changed, 9 insertions(+), 6 deletions(-)
commit c95d23896a28d086b810cfc6fd48bc1f2d64de00
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-16 21:05:09 +0100
include <sys/select.h> only on platforms that have it
configure.ac | 2 +-
src/net.c | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
commit 42d2f27079d58590bd0ef28c9ea4c47e2d297c2b
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-16 20:52:33 +0100
Add missing #includes and remove unused ones, part 2
src/aliases.c | 1 -
src/conf.c | 2 +-
src/conf.h | 2 ++
src/msmtp.c | 1 -
src/msmtpd.c | 2 --
src/smtp.c | 1 -
src/smtp.h | 1 -
7 files changed, 3 insertions(+), 7 deletions(-)
commit 19358e05f7976fe8fdf226f6d33ddeaaa41d72a7
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-16 20:51:21 +0100
Add missing #includes and remove unused ones
These were found with the include-what-you-use tool.
src/md5-apps.h | 2 ++
src/mtls-gnutls.c | 5 -----
src/mtls-libtls.c | 3 ---
src/mtls.c | 5 -----
src/net.c | 4 +---
src/net.h | 2 ++
src/tools.c | 1 -
src/tools.h | 1 +
src/xalloc.c | 1 -
9 files changed, 6 insertions(+), 18 deletions(-)
commit 2cde63540ec03829aaa0ab3c3610dc699fd108b9
Author: Michael Forney <mforney@mforney.org>
Date: 2020-12-16 18:11:49 +0100
libtls: avoid cast from const char * to char *
src/mtls-libtls.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
commit 69fc56f37ae0dd92835d9882e6795f92a064f693
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-15 08:14:17 +0100
mtls-libtls: fill in TLS parameter information string
src/mtls-libtls.c | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
commit 131de0c91493eeb11d62f119f08535467d57f94d
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-15 07:49:27 +0100
mtls: in cert info, rename 'owner' to 'subject' for consistency with everybody else
src/mtls-gnutls.c | 4 ++--
src/mtls-libtls.c | 2 +-
src/mtls-openssl.c | 4 ++--
src/mtls.c | 6 +++---
src/mtls.h | 2 +-
5 files changed, 9 insertions(+), 9 deletions(-)
commit 2391d09290f5499dbea15a1378ca661a8c547ab8
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-14 22:39:35 +0100
mtls: clean up certificate info handling
src/mtls-gnutls.c | 7 -------
src/mtls-libtls.c | 21 +++++++--------------
src/mtls-openssl.c | 9 ---------
src/mtls.c | 32 +++++++++++++++++++-------------
src/mtls.h | 7 -------
5 files changed, 26 insertions(+), 50 deletions(-)
commit ae13b4a5ae47498893a7e9149b7c8ec88d7a0240
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: 2020-12-13 21:15:37 -0600
tls: use short form subject/issuer info when printing debug info
src/mtls-gnutls.c | 50 ++++++++++++++++++++------------------------------
src/mtls-libtls.c | 16 ++++++++++++----
src/mtls-openssl.c | 30 ++----------------------------
src/mtls.c | 39 ++++++---------------------------------
src/mtls.h | 4 ++--
5 files changed, 42 insertions(+), 97 deletions(-)
commit 535ecebf4785cbedd044c247f60d43815b7a7ec3
Author: Michael Forney <mforney@mforney.org>
Date: 2020-12-13 15:14:41 -0800
Remove unnecessary check for sizeof(long long)
The C standard guarantees that the maximum value of long long is
at least 2^63-1, which is sufficient to store the largest ACC_*
flag (currently 2^37).
configure.ac | 1 -
src/conf.c | 4 ----
2 files changed, 5 deletions(-)
commit a62db7589deab1edfa549b0d2d764a0abf1f4ade
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-13 12:59:46 +0100
libtls: whitespace fixes
src/mtls-libtls.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
commit 2348243223922189393bb82dc7fb32c234363281
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-13 12:59:03 +0100
libtls: fill unused certificate info fields with zeroes for now
src/mtls-libtls.c | 11 +++++++++++
1 file changed, 11 insertions(+)
commit 8b23646a729852e1ad87bf5c4c0f315b23a775f6
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-13 12:53:04 +0100
libtls: add to translatable strings, and reuse translated strings where possible
po/POTFILES.in | 1 +
src/mtls-libtls.c | 67 ++++++++++++++++++++++++++++++++-----------------------------------
2 files changed, 33 insertions(+), 35 deletions(-)
commit fd819aa33df3d5518c6a014c2143d5eb5d0d162d
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-13 12:21:26 +0100
fix heading comment for mtls*.[ch]
src/mtls-gnutls.c | 2 +-
src/mtls-libtls.c | 4 ++--
src/mtls-openssl.c | 2 +-
src/mtls.c | 2 +-
src/mtls.h | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
commit 24f14d35ab0ba20f74a9d50a97c727aad182e94f
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: 2020-12-12 22:20:24 -0600
libtls support: make error messages more consistent
src/mtls-libtls.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
commit 20106af10705728482028862c31009e2acd312d0
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: 2020-12-12 22:20:23 -0600
libtls support: cleanup comments
src/mtls-libtls.c | 26 +++++++++++---------------
1 file changed, 11 insertions(+), 15 deletions(-)
commit a7b09e07c7d41b12df95241d15d9737554c99687
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: 2020-12-12 22:20:22 -0600
libtls support: handle 'system' trust properly
src/mtls-libtls.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
commit d9f30b5005cac0e17ed9ce1650d44d124d40651e
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-12 16:59:58 +0100
Revert "fix potential memory leak of mtls->internal"
This reverts commit a84cd139d05de39561e408d48f4980384fb1bce7.
In an uninitialized mtls_t, the 'internals' pointer is probably not NULL,
resulting in a free() on an invalid pointer on the first use of mtls_clear().
src/mtls.c | 4 ----
1 file changed, 4 deletions(-)
commit 18479dc620b0973f27b3ebb0c5103e65f8c8a4d7
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-12 13:38:43 +0100
gnutls, openssl: prevent double free of mtls->internals
src/mtls-gnutls.c | 1 +
src/mtls-openssl.c | 1 +
2 files changed, 2 insertions(+)
commit ddcedc67a9a1a5c129861943d68ab8eb90b40d78
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-12 13:28:32 +0100
libtls support: fix a few problems pointed out by gcc -Wall -Wextra
src/mtls-libtls.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
commit 02e03df2e77f5708c07a65260ebe06ae58362e1a
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-12 13:24:49 +0100
prevent double free of mtls->internals
src/mtls-libtls.c | 1 +
1 file changed, 1 insertion(+)
commit 4be5dd02d19c184d7269dd3915ee4f07ceb4bdfc
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: 2020-12-08 12:22:54 -0600
add libtls support
configure.ac | 30 ++++++++++--
src/Makefile.am | 3 ++
src/msmtp.c | 2 +
src/mtls-libtls.c | 453 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 485 insertions(+), 3 deletions(-)
commit a84cd139d05de39561e408d48f4980384fb1bce7
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: 2020-12-08 12:22:52 -0600
fix potential memory leak of mtls->internal
src/mtls.c | 4 ++++
1 file changed, 4 insertions(+)
commit a5126466a540378c7acfda544cef4bd9349b6aba
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: 2020-12-08 12:22:51 -0600
add missing include for time.h
src/mtls.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit a6e271086dd19770a327babfb49de0d15de33da4
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-12-06 10:42:08 +0100
Refactor TLS code to separate the different backends.
This moves each backend into its own file, as a cleanup and preparation
for libtls support.
configure.ac | 4 +-
po/POTFILES.in | 6 +-
src/Makefile.am | 8 +-
src/msmtp.c | 104 +++++-----
src/mtls-gnutls.c | 723 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/mtls-openssl.c | 1056 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/mtls.c | 260 +++++++++++++++++++++++
src/{tls.h => mtls.h} | 129 ++++++------
src/smtp.c | 32 +--
src/smtp.h | 6 +-
src/tls.c | 1833 -------------------------------------------------------------------------------------------------------------------------------------------------------------------
11 files changed, 2188 insertions(+), 1973 deletions(-)
commit 72975cea6b8401d58169c56409eebca1d1f62be6
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-11-13 16:14:06 +0100
Update translations.
po/de.po | 608 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------------
po/eo.po | 600 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------
po/fr.po | 606 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------
po/pt_BR.po | 602 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------
po/sr.po | 600 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------
po/ta.po | 573 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------
po/uk.po | 600 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------
7 files changed, 2028 insertions(+), 2161 deletions(-)
commit 92c1f38779ccef1938de82b08b418652f00914cd
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-11-13 16:04:30 +0100
Switch gettext files back to 0.19, which is still shipped with Debian unstable.
build-aux/config.rpath | 2 +-
po/Makefile.in.in | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------
po/Makevars.template | 4 ----
po/Rules-quot | 6 +-----
po/en@boldquot.header | 2 +-
po/en@quot.header | 2 +-
po/insert-header.sin | 5 -----
po/remove-potcdate.sin | 8 +-------
8 files changed, 57 insertions(+), 98 deletions(-)
commit 759db34f4a2c1f358c371a9edbde40b14e207d0e
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-11-13 16:02:54 +0100
Bump version to 1.8.13
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 6daf0e609e9c8b3afb42a7a4ac9237dbe671f33f
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-11-13 16:02:22 +0100
Update NEWS
NEWS | 3 +++
1 file changed, 3 insertions(+)
commit 71037c54c05fe69e8c8d19cbd495c62c6cd0b468
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-11-09 07:39:20 +0100
Remove obsolete configure check for IDN support in GnuTLS
configure.ac | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
commit e847af15d26d93fd311ff1ed6a18cb003e5ae99f
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-11-08 12:47:33 +0100
TLS: Update documentation on CRL files.
doc/msmtp.1 | 27 ++++++---------------------
doc/msmtp.texi | 21 ++++++---------------
doc/msmtprc-user.example | 6 +-----
3 files changed, 13 insertions(+), 41 deletions(-)
commit f495841be1d72c39101e7dd23d557d21452f3020
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-11-08 12:07:48 +0100
GnuTLS: update to verify_peers3 and remove manual checks that are now automatic
src/tls.c | 111 ++++++++++++---------------------------------------------------------------------------------------------------
1 file changed, 12 insertions(+), 99 deletions(-)
commit 80ae50b75197790135be60ab55242d6bb8df005b
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-11-08 11:54:22 +0100
GnuTLS: require version >= 3.4, and remove obsolete code for older versions
configure.ac | 2 +-
src/tls.c | 66 +++++++++++-------------------------------------------------------
2 files changed, 12 insertions(+), 56 deletions(-)
commit b688812791a7ecc4023f0b333c3d05382dcb04f5
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-11-04 10:46:19 +0100
passwordeval: read only the first line
This fixes an error when the output of the command ends with '\n': previously,
the function tried to read more but would hit EOF.
src/conf.c | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
commit 03e331a48cea05b868640661edef8aad14ae5351
Author: Roger Pau Monne <roger.pau@citrix.com>
Date: 2020-10-26 17:44:12 +0100
passwordeval: allow longer password
When passwordeval is used for oauth the returned token can be quite
large, quite likely more than 500 characters long. For reference the
token from Office 365 is almost 2000 characters long. Allow the
buffer to be increased in LINEBUFSIZE steps so it can accommodate the
full token.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
src/conf.c | 41 +++++++++++++++++------------------------
1 file changed, 17 insertions(+), 24 deletions(-)
commit 6d7ef91bed812e48c7f140ef94adabdca134bf4e
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-10-24 12:09:47 +0200
Revert "Attempt to solve gettext incompatibilities with the undocumented AM_GNU_GETTEXT_REQUIRE_VERSION."
This reverts commit 750a5f8898650140d1824d93b090a1fb28d4507e.
configure.ac | 1 -
1 file changed, 1 deletion(-)
commit 750a5f8898650140d1824d93b090a1fb28d4507e
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-10-23 20:57:21 +0200
Attempt to solve gettext incompatibilities with the undocumented AM_GNU_GETTEXT_REQUIRE_VERSION.
See also https://github.com/marlam/msmtp-mirror/issues/33
configure.ac | 1 +
1 file changed, 1 insertion(+)
commit 28a486a23f074bb1dc15aa93fcefbef6984b5a1f
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-10-04 15:55:54 +0200
Fix XOAUTH2 when libgsasl is used
src/smtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit a1bc7b13fe9d6d0a227d805ba29615a754ca420f
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-10-04 10:36:26 +0200
Add support for XOAUTH2 authentication.
Apparently it is still in use even though OAUTHBEARER is standardized now.
This should close github issue #30.
NEWS | 3 +++
doc/msmtp.1 | 5 +++--
doc/msmtp.texi | 4 ++--
scripts/vim/msmtp.vim | 2 +-
src/conf.c | 3 ++-
src/msmtp.c | 10 +++++++++-
src/smtp.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
src/smtp.h | 3 ++-
8 files changed, 112 insertions(+), 12 deletions(-)
commit 56113d319d22026b32e4cf7eb6633bcc12c453a1
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-08-21 09:12:29 +0200
Update NEWS
NEWS | 5 +++++
1 file changed, 5 insertions(+)
commit 61c3d19d282e50653b57f45b937e551710d1b8d2
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-08-21 09:09:20 +0200
Update translations
po/LINGUAS | 1 +
po/de.po | 76 ++++----
po/eo.po | 1782 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
po/fr.po | 75 ++++----
po/pt_BR.po | 75 ++++----
po/sr.po | 78 ++++----
po/ta.po | 60 +++---
po/uk.po | 78 ++++----
8 files changed, 1995 insertions(+), 230 deletions(-)
commit 325cef3a9ed17abf18494ef3f30f55d68f4c100d
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-08-21 09:06:53 +0200
Bump version to 1.8.12
configure.ac | 2 +-
doc/msmtp.1 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 7e1a2ec48e978eb206ce72e70cff373f3a6632fe
Author: Emmanuel Bouthenot <kolter@openics.org>
Date: 2020-08-21 08:40:17 +0200
Fix typo in man page and texinfo manual
doc/msmtp.1 | 2 +-
doc/msmtp.texi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 49926398db4b4005a6cded397551aa5e4a11066e
Author: Kian Kasad <kdkasad@gmail.com>
Date: 2020-07-12 00:07:28 -0700
escape '@' symbols in example emails in texinfo docs
doc/msmtp.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 81f12e0ebbd77beb0359a7de9cec72ce1b214701
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-06-22 13:18:05 +0200
Document subaddress handling in account matching.
doc/msmtp.1 | 3 +++
doc/msmtp.texi | 4 +++-
2 files changed, 6 insertions(+), 1 deletion(-)
commit 03fc9950ac1a1546a00650fc99af1d77795ab4a0
Author: Thomas Gardner <tmg@fastmail.com>
Date: 2020-06-22 13:06:06 +0200
Support subaddresses in automatic account matching
For example, an envelope from address user+detail@example.com will match
account user@example.com.
src/conf.c | 34 ++++++++++++++++++++++++++++++----
1 file changed, 30 insertions(+), 4 deletions(-)
commit 7d2222cfd522efc13fde4df448d834bc6ba2b205
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-06-22 12:50:00 +0200
msmtpd: make SMTP command parsing case insensitive
See RFC 5321. Reported by Rob Juurlink. Thanks!
src/msmtpd.c | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
commit 52561ec3e3c119e9ef609b667d025f4c7b94e1f8
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-06-14 12:23:47 +0200
msmtpd: update indentation / whitespace
src/msmtpd.c | 190 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------
1 file changed, 95 insertions(+), 95 deletions(-)
commit 5be3e2b1ee46da2101dfd79ff4a069bfdf32e8dd
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-06-14 12:21:49 +0200
msmtpd: minor simplification in SMTP session reuse support
src/msmtpd.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
commit 56a5ed9412a00f52facbce1341a880a4b56d1b5e
Author: Lonnie Abelbeck <lonnie@abelbeck.com>
Date: 2020-06-14 12:18:07 +0200
msmtpd: support SMTP session reuse
src/msmtpd.c | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
commit cb26a6630ebeba6184335b0469fccefdd0b1e317
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-06-03 21:46:22 +0200
Bump version to 1.8.11.
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit e6fb33be33ec26bc498550c8b06629f564b25f83
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-06-03 21:46:13 +0200
Update man page date.
doc/msmtp.1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9cdfe484f50aa65e7ebf497f0ec62a3b59fb8ba0
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-06-03 21:45:18 +0200
Update translations.
po/de.po | 384 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------
po/fr.po | 440 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------
po/pt_BR.po | 384 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------
po/sr.po | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------
po/ta.po | 378 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------
po/uk.po | 385 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------
6 files changed, 1215 insertions(+), 1141 deletions(-)
commit 714108d28c498bd80bfbc5a716cfae1b83104d71
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-06-03 21:43:18 +0200
Update NEWS.
NEWS | 9 +++++++++
1 file changed, 9 insertions(+)
commit 77a0b79c59358a7b51c9234a9f24c95bcc739bbb
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-06-02 14:35:41 +0200
Further improve temporary file creation on Windows in multi-process situations.
src/tools.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
commit d14307f2453d069737cbd36dceb22e47f3fe672e
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-06-02 14:09:22 +0200
Improve temporary file creation on Windows in multi-process situations.
Suggested by t5n in https://github.com/marlam/msmtp-mirror/issues/19
src/tools.c | 48 ++++++++++++++++++++++++++++++------------------
1 file changed, 30 insertions(+), 18 deletions(-)
commit 2a4d26cfa626123bd662ef320889398eb024b0a9
Author: Lonnie Abelbeck <lonnie@abelbeck.com>
Date: 2020-06-02 08:35:34 +0200
Print undisclosed_recipients setting in debug output
src/msmtp.c | 2 ++
1 file changed, 2 insertions(+)
commit f1699b50f8d6fd305d181a7a817f821c570f18d9
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-06-01 22:56:49 +0200
Add undisclosed_recipient option.
This replaces To, Cc, and Bcc with a single header line "To: undisclosed-recipients:;".
Based on ideas by Lonnie Abelbeck. Thanks!
doc/msmtp.1 | 9 +++++++++
doc/msmtp.texi | 12 ++++++++++++
scripts/emacs/msmtp-config-mode.el | 1 +
scripts/vim/msmtp.vim | 4 ++--
src/conf.c | 26 ++++++++++++++++++++++++++
src/conf.h | 8 +++++---
src/msmtp.c | 53 ++++++++++++++++++++++++++++++++++++++++++-----------
src/smtp.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++--------
src/smtp.h | 15 ++++++---------
9 files changed, 156 insertions(+), 33 deletions(-)
commit 4fc9ee7770d7f81e4f58f776b5da015eadf14aa2
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-05-22 20:55:49 +0200
Improve temporary file creation on Windows.
src/tools.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
commit eeaafccefbaf576e92c2b6a85a7c27be0f5901f4
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-05-18 21:02:28 +0200
Re-enable support for systems lacking vasprintf().
This partially reverts commit cda0755629cf662aae8f4de41727ceda3d932b00.
Fixes build on IBM i PASE, reported by Calvin Buckley.
configure.ac | 2 +-
src/xalloc.c | 19 ++++++++++++++++++-
2 files changed, 19 insertions(+), 2 deletions(-)
commit d18955a5a0bb7d732b03bc676e1cf4ea6d6a7a37
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-05-14 07:54:44 +0200
Only use temporary file for recipients if necessary.
src/msmtp.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------
1 file changed, 51 insertions(+), 47 deletions(-)
commit 1fe50d0a21ca835cc8344b7a418848ee65dd53f0
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-05-13 23:56:09 +0200
Add note to documentation that the passwordeval command must not mess with stdin
doc/msmtp.1 | 4 ++++
doc/msmtp.texi | 5 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
commit 34ed58681bf2aa04cccbfeeec7c40abc72eec943
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-05-13 23:32:55 +0200
Fix 'permission denied' on Windows when creating temporary files.
src/tools.c | 34 +++++++++++++++++++++++++++++++++-
src/tools.h | 10 +++++++++-
2 files changed, 42 insertions(+), 2 deletions(-)
commit f9dd8e7d36f95549f33b7db3d6d6b79ccf64d900
Author: Michael Weiss <dev.primeos@gmail.com>
Date: 2020-04-30 20:22:20 +0200
msmtpq: Use a better way to not show "headers" from the body in the list
scripts/msmtpq/msmtpq | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 822b09b3dfae67d57778687b291909fdca868836
Author: Michael Weiss <dev.primeos@gmail.com>
Date: 2020-04-28 20:53:57 +0200
msmtpq: Don't show "headers" from the body in the list
scripts/msmtpq/msmtpq | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit fcc5e11a3e57d364d09310d63abd4bce26a3c1c3
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-23 09:34:20 +0200
Bump version to 1.8.10
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit dfb39595a5cdf048db4dfc438333a2b8948c5296
Author: Peter Hoffmann <hoffmann@b1-systems.de>
Date: 2020-04-22 13:01:33 +0200
Fix removing all queue mail files after sending.
scripts/msmtpq/msmtpq | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b7ddb5652ec555ea203d296c2f2a57462fc9f35b
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-23 08:46:35 +0200
Bump version to 1.8.9
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit d9fd5ea457234c345b2b39be006b32197fe11d44
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-23 08:45:58 +0200
Update translations, including new sr.po
po/LINGUAS | 1 +
po/fr.po | 16 ++
po/sr.po | 1784 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 1801 insertions(+)
commit 8e89319bf1a079c36c914c858ca3b52f15897d30
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-23 08:40:17 +0200
Update NEWS.
NEWS | 3 +++
1 file changed, 3 insertions(+)
commit 482e67ecf8f99d26b208b02a2687f3f778286b33
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-22 14:47:15 +0200
Update gettext files from 0.20.2
ABOUT-NLS | 1380 +-----------------------------------------------------------------------------------------------------------------------------------------------------------------
build-aux/config.rpath | 2 +-
po/Makefile.in.in | 126 ++++++++-------
po/Makevars | 41 +++++
po/Makevars.template | 4 +
po/Rules-quot | 6 +-
po/en@boldquot.header | 2 +-
po/en@quot.header | 2 +-
po/insert-header.sin | 5 +
po/remove-potcdate.sin | 8 +-
src/gettext.h | 20 +--
11 files changed, 151 insertions(+), 1445 deletions(-)
commit c78f24347ec996c7a3830b48403bf3736afca071
Author: Stefan Dorosz <stefan@thaumazein.org>
Date: 2020-04-19 21:53:09 +0200
msmtpq: fix nuking files after message sent
scripts/msmtpq/msmtpq | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 63441f9011840d28ed8caab217d7a91a988199c0
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-12 14:25:18 +0200
Update translations.
po/de.po | 418 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------------------------
po/fr.po | 397 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------
po/pt_BR.po | 430 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------
po/ta.po | 401 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------
po/uk.po | 426 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
5 files changed, 1050 insertions(+), 1022 deletions(-)
commit 955d7a7a00d4f1b2f6862935f28a3be3e1bf0ff6
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-12 14:23:20 +0200
Bump version to 1.8.8.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit ce7d2768f6a47a94238c8f18e0dfab7e94b12d16
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-07 17:46:39 +0200
Update NEWS.
NEWS | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
commit 8ecafcae4960d49181400f36f20e4f7b05b3a713
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-06 21:38:47 +0200
Update --version message.
src/msmtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 1a4183fa5dd52a3471e383e8c12936a4e70eceb1
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-06 21:18:59 +0200
Add tls_host_override and --tls-host-override.
This closes https://github.com/marlam/mpop-mirror/issues/2
doc/msmtp.1 | 6 ++++++
doc/msmtp.texi | 10 ++++++++++
scripts/emacs/msmtp-config-mode.el | 1 +
scripts/vim/msmtp.vim | 2 +-
src/conf.c | 30 +++++++++++++++++++++++++++++-
src/conf.h | 24 +++++++++++++-----------
src/msmtp.c | 64 +++++++++++++++++++++++++++++++++++++++++-----------------------
7 files changed, 101 insertions(+), 36 deletions(-)
commit 03f17f6ff74bf3d234f2ab115c2d216402296673
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-03 22:21:31 +0200
Remove dead code.
src/msmtp.c | 4 ----
1 file changed, 4 deletions(-)
commit dde18421e1bcacd4e338f2006eb8fb5a1560c03c
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-03 17:06:38 +0200
Change options for From and Date headers.
- New command 'set_from_header [(auto|on|off)]' with corresponding option
- New command 'set_date_header [(auto|off)]' with corresponding option
- Old commands 'add_missing_*_header' still supported for compatibility
This amounts to a new feature given by 'set_from_header on': a From header is
always set, even if the mail originally contained one.
Fixes https://github.com/marlam/msmtp-mirror/issues/10
doc/msmtp.1 | 39 +++++++++++++++++++++++----------------
doc/msmtp.texi | 50 ++++++++++++++++++++++++++++++--------------------
scripts/emacs/msmtp-config-mode.el | 4 ++--
scripts/vim/msmtp.vim | 4 ++--
src/conf.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------
src/conf.h | 17 +++++++++--------
src/msmtp.c | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------
src/smtp.c | 68 ++++++++++++++++++++++++++++++++++++++++++++------------------------
src/smtp.h | 4 +++-
9 files changed, 264 insertions(+), 115 deletions(-)
commit 183c8dda9f8fcb678cf71177402a115afbaeb2f9
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-02 21:18:27 +0200
Update translations.
po/LINGUAS | 1 +
po/de.po | 528 ++++++++++++++++++++++++++-------------------------
po/fr.po | 528 ++++++++++++++++++++++++++-------------------------
po/pt_BR.po | 528 ++++++++++++++++++++++++++-------------------------
po/ta.po | 1785 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
po/uk.po | 528 ++++++++++++++++++++++++++-------------------------
6 files changed, 2866 insertions(+), 1032 deletions(-)
commit a5870426b5f276e73121df4b1b009c3b8b7c1703
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-02 20:12:23 +0200
Replace 'plain text' and 'clear.text' with 'cleartext'
doc/msmtp.1 | 22 +++++++++++-----------
doc/msmtp.texi | 22 +++++++++++-----------
doc/msmtprc-user.example | 2 +-
src/smtp.h | 6 +++---
4 files changed, 26 insertions(+), 26 deletions(-)
commit 62824981faa473665395016a1c44e146119fadf0
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-01 21:26:28 +0200
Add support for a 'socket' command and '--socket' option.
This adds support for connecting via local sockets.
doc/msmtp.1 | 9 +++++++--
doc/msmtp.texi | 10 +++++++++-
src/conf.c | 25 +++++++++++++++++++++++--
src/conf.h | 5 ++++-
src/msmtp.c | 26 ++++++++++++++++++++++----
src/net.c | 45 ++++++++++++++++++++++++++++++++++++++++++++-
src/net.h | 6 +++++-
src/smtp.c | 11 +++++++----
src/smtp.h | 8 +++++---
9 files changed, 126 insertions(+), 19 deletions(-)
commit 150e40fa482a8b78095b034be7302e93ec163ed2
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-04-01 17:08:43 +0200
Make source_ip work for proxy connections
src/net.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 69575601d60193567958685b17a6ac3554c3c10e
Author: Augustin Fabre <augustin@augfab.fr>
Date: 2020-03-17 08:07:49 +0100
Add config mode for emacs
Imported from https://git.augfab.fr/msmtp-config-mode/
scripts/emacs/LICENSE | 674 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
scripts/emacs/README.org | 32 ++++++++
scripts/emacs/msmtp-config-mode.el | 81 +++++++++++++++++++
3 files changed, 787 insertions(+)
commit d49d79fda665e2769c97d57a0dba61ca1ebdacb6
Author: Martin Lambers <marlam@marlam.de>
Date: 2020-03-16 11:12:18 +0100
Fix handling of empty From: headers with -t
This fixes https://github.com/marlam/msmtp-mirror/issues/8
src/msmtp.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
commit ac016f5f1595dc5242f5f0f8887e3e6b0f9148ba
Author: Rosen Penev <rosenp@gmail.com>
Date: 2020-03-10 21:27:27 -0700
msmtpq: run through shellcheck
Removed some bashisms
Signed-off-by: Rosen Penev <rosenp@gmail.com>
scripts/msmtpq/msmtpq | 61 +++++++++++++++++++++++++++++++++++++------------------------
1 file changed, 37 insertions(+), 24 deletions(-)
commit 3224e894c52ade1b7eb0d2d9bad094c505521a83
Author: Michael Forney <mforney@mforney.org>
Date: 2020-01-28 22:46:57 -0800
Explicitly cast `struct sockaddr_in[6] *` to `struct sockaddr *`
This prevents a couple warnings due to implicit conversion:
net.c:336:25: warning: passing argument 2 of 'bind' from incompatible pointer type [-Wincompatible-pointer-types]
net.c:344:29: warning: passing argument 2 of 'bind' from incompatible pointer type [-Wincompatible-pointer-types]
src/net.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 32e0c511b6530bc38ed8867f4fc258d9ccf8591c
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-12-24 10:13:56 +0100
Bump version to 1.8.7
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c7289be7c20586d1789935e573572ae5586d03fa
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-12-24 10:13:30 +0100
Update translations.
po/de.po | 310 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------
po/fr.po | 310 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------
po/pt_BR.po | 310 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------
po/uk.po | 310 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------
4 files changed, 620 insertions(+), 620 deletions(-)
commit 6c383c9755ba720953d91ea780e87dfa05ada0ba
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-12-22 19:45:24 +0100
Fix build problem for MinGW
src/tools.c | 1 +
1 file changed, 1 insertion(+)
commit 6e5182dee34b1ced5d1543abfdd9c7b8a4b436f1
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-12-22 19:43:44 +0100
Do not call gnutls_free() needlessly.
Since we never call gnutls_global_set_mem_functions(), it is always the default
free() function.
src/tls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f498ac0ac0777c33825476e43e2b975e5714235b
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-11-19 14:59:34 +0100
Add support for %U,%H,%C,%M in 'from'.
This makes the auto_from and maildomain commands obsolete.
doc/msmtp.1 | 62 ++++++++++++++++++++++++++++++++++++++++----------------------
doc/msmtp.texi | 73 +++++++++++++++++++++++++++++++++++++++++++------------------------------
doc/msmtprc-system.example | 5 ++---
src/conf.c | 149 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------
src/conf.h | 19 +++++++++++++++----
src/msmtp.c | 14 +++++++++++++-
src/net.c | 22 ++++++++++++++++------
src/net.h | 9 ++++++---
src/tools.c | 40 ++++++++++++++++++++++++++++++++++++++++
src/tools.h | 9 +++++++++
10 files changed, 307 insertions(+), 95 deletions(-)
commit 21311260f61cb16dd5312a86f6f5920b05c8ba21
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-09-27 14:45:45 +0200
Bump version to 1.8.6
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2d95a06b7c6a7cb6252b0697dbd6b52ab43daa50
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-09-27 14:45:32 +0200
Update NEWS
NEWS | 4 ++++
1 file changed, 4 insertions(+)
commit 695592672f2103a715709941da422e817538736d
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-09-27 14:44:32 +0200
Update translations from the translation project
po/de.po | 2 +-
po/fr.po | 2 +-
po/pt_BR.po | 7 ++++---
po/uk.po | 2 +-
4 files changed, 7 insertions(+), 6 deletions(-)
commit 139b31daed83adddb7e8ef6ca558b7829d57131a
Author: Justin Gassner <justin.gassner@mailbox.org>
Date: 2019-09-27 13:11:16 +0200
Add missing options to Vim syntax file
scripts/vim/msmtp.vim | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit cc22c932d815094f5c2285007399bcc3636b67b2
Author: Aurimas Fišeras <aurimas@members.fsf.org>
Date: 2019-08-13 17:38:32 +0200
Fix documentation: --read-envelope-from does work with multi-line From headers.
doc/msmtp.1 | 2 --
doc/msmtp.texi | 2 --
2 files changed, 4 deletions(-)
commit 7912c763ab25a1facde9804f00d3c824a885d6b2
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-08-11 14:48:00 +0200
Check for availability of ns_initparse(), to avoid link failure on Cygwin.
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 456e98d7356670c6eae027afe94e86457b616469
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-08-05 14:15:05 +0200
Update documentation of the 'aliases' command.
doc/msmtp.1 | 6 ++----
doc/msmtp.texi | 6 ++----
2 files changed, 4 insertions(+), 8 deletions(-)
commit 88104df8da1fd7b4881bd117dab05dd34174792c
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-08-05 14:12:26 +0200
Remove unused variable and function.
src/aliases.c | 6 ------
1 file changed, 6 deletions(-)
commit 75a5aab562f32b08e43ded5a56d9db1c5f270d79
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-08-05 14:11:17 +0200
Make additional error string translatable
src/aliases.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 95d5a9e09c21d5ed614a44e1eceba6dfcddde4d6
Author: Joe Nahmias <joe@nahmias.net>
Date: 2019-08-05 14:09:54 +0200
Expand aliases recursively
src/aliases.c | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------
src/aliases.h | 5 +++--
2 files changed, 58 insertions(+), 28 deletions(-)
commit de1f604d416fd79428bb69eeb724bc2961608874
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-07-12 09:09:47 +0200
Bump version to 1.8.5
configure.ac | 2 +-
doc/msmtp.1 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 68890d267bb8783542a03f50a6317e0e92f124dd
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-07-12 09:09:12 +0200
Update translations from the translation project
po/de.po | 1067 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------
po/fr.po | 909 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------
po/pt_BR.po | 1167 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------
po/uk.po | 1110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------
4 files changed, 2345 insertions(+), 1908 deletions(-)
commit 624695abb96bbd59ca6a812e39fedd099215b2c9
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-07-12 09:06:11 +0200
Update NEWS
NEWS | 5 +++++
1 file changed, 5 insertions(+)
commit 44842e27414a015ef84d0847c46a5a20ae418518
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-07-12 08:51:42 +0200
Fix building with libgsasl: base64 is now always needed (for OAUTHBEARER)
src/Makefile.am | 5 +++--
src/smtp.c | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
commit c1626f52ce8e6c2f76ccd10cc0275788f572f434
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-07-12 08:43:30 +0200
Fix OAUTHBEARER check for missing user name if libgsasl is not used.
src/smtp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 19859b26a955838032bd82187c0925d15f641494
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-07-12 08:32:43 +0200
Fix documentation of OAUTHBEARER
doc/msmtp.1 | 4 ++--
doc/msmtp.texi | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
commit bde445e5f5f5fff7defd1e49c3ec29f870bf3150
Merge: c346e91 1f1c3b0
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-07-12 08:27:16 +0200
Merge branch 'fix-oauthbearer' of https://github.com/dtor/msmtp-mirror into dtor-fix-oauthbearer
commit 1f1c3b0b33bc5b71877e4be72ec437e6232bf6f0
Author: Dmitry Torokhov <dtor@chromium.org>
Date: 2019-07-09 00:25:44 -0700
Fix OAUTHBEARER authentication
When using OAUTHBEARER we can't simply pass authentication token into
the AUTH command like XOAUTH2 allowed us to do, but we need to format
it as:
n,a=<username>,^Ahost=<hostname>^Aport=<port>
^Aauth=Bearer <token>^A^A
and base64-encode the resulting string before passing it to AUTH
OAUTHBEARER command.
src/msmtp.c | 6 ++++--
src/smtp.c | 40 +++++++++++++++++++++++++++++++++-------
src/smtp.h | 3 +++
3 files changed, 40 insertions(+), 9 deletions(-)
commit c346e91c73056cfae0afe47ff6d4727352d5fb36
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-07-11 14:39:36 +0200
Document TLS client certificates via smart cards.
doc/msmtp.1 | 9 ++++++++-
doc/msmtp.texi | 36 ++++++++++++++++++++++++++++++++----
2 files changed, 40 insertions(+), 5 deletions(-)
commit 9033126508074a574266c51250832ef895b779cc
Author: Martin Vahlensieck <martin@academicsolutions.ch>
Date: 2019-07-06 12:29:41 +0200
Add vim syntax highlighting for booleans
scripts/vim/msmtp.vim | 3 +++
1 file changed, 3 insertions(+)
commit c5f0b445d8adec49e09d06d5c3f35a1e88f52737
Author: Martin Vahlensieck <martin@academicsolutions.ch>
Date: 2019-07-06 12:26:43 +0200
Improve vim syntax highlighting for IPv4 addresses
scripts/vim/msmtp.vim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c602a1210a7121ba26e3fc4a6f4dbb6c3440808e
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-06-25 09:32:12 +0200
Restructure TLS initialization.
This allows to avoid setting e.g. a trust file when tls_certcheck=off.
src/msmtp.c | 27 ++++++++++++++++++---------
src/smtp.c | 11 +++++++----
src/smtp.h | 7 +++++--
src/tls.c | 64 ++++++++++++++++++++++++++++++++++++++++++----------------------
src/tls.h | 20 ++++++++++++--------
5 files changed, 84 insertions(+), 45 deletions(-)
commit 4e39c377258c66ab29c09499a871be8f964311d3
Author: Martin Vahlensieck <martin@academicsolutions.ch>
Date: 2019-06-13 20:19:46 +0200
Add vim syntax highlighting for IPv4 addresses
scripts/vim/msmtp.vim | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 5d9d77e9bd5b5f22b5affc268ddd89b502e2f118
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-06-11 15:12:45 +0200
Experimental support for TLS client certificates via PKCS11 devices
src/msmtp.c | 9 ++++++---
src/smtp.c | 4 ++--
src/smtp.h | 2 +-
src/tls.c | 32 +++++++++++++++++++++++++++++++-
src/tls.h | 7 +++++--
5 files changed, 45 insertions(+), 9 deletions(-)
commit f3a4d8556e8c6fe8737885c437dd0899e834969d
Author: Michael Forney <mforney@mforney.org>
Date: 2019-06-04 14:23:03 -0700
Avoid unnecessary VLA
We know the size statically, and VLAs are an optional feature in C11.
src/net.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
commit bc93013d99d9d756d67da28e3851e79b7cee594e
Author: Rosen Penev <rosenp@gmail.com>
Date: 2019-04-29 14:22:43 -0700
openssl: Fix compilation without deprecated OpenSSL APIs
src/tls.c | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
commit 5d1d368b01c2fd1f7ebe3d2b89fd116af04ab5d7
Author: Rosen Penev <rosenp@gmail.com>
Date: 2019-04-29 14:09:07 -0700
scripts: Run through shellcheck
Some of these scripts can be ran using regular sh. Don't mandate bash.
scripts/find_alias/find_alias_for_msmtp.sh | 18 +++++++++---------
scripts/msmtpq/msmtp-queue | 2 +-
scripts/msmtpq/msmtpq | 23 +++++++++++++----------
scripts/msmtpqueue/msmtp-enqueue.sh | 14 +++++++-------
scripts/msmtpqueue/msmtp-listqueue.sh | 4 ++--
scripts/msmtpqueue/msmtp-runqueue.sh | 16 ++++++++--------
scripts/set_sendmail/set_sendmail.sh | 6 +++---
7 files changed, 43 insertions(+), 40 deletions(-)
commit 176d61a9b3ab8681f4a4b72d70c82d4647e9bd7b
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-04-24 20:13:22 +0200
Update NEWS.
NEWS | 10 ++++++++++
1 file changed, 10 insertions(+)
commit ee62cc93aba0217bfb12e8a759552fc06905aafa
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-04-24 20:07:31 +0200
Bump version to 1.8.4
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 4c696b363d80da2e2a351ae0fdef80c23922ab77
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-04-06 06:02:13 +0200
Fix minor error in texinfo manual.
doc/msmtp.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 45d1ef320c7b4fab6a87da1b30a1fe3d82cc513e
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-04-06 05:47:19 +0200
Use OAUTHBEARER (RFC 7628) instead of the older XOAUTH2.
doc/msmtp.1 | 2 +-
doc/msmtp.texi | 4 ++--
scripts/vim/msmtp.vim | 2 +-
src/conf.c | 2 +-
src/msmtp.c | 10 +++++-----
src/smtp.c | 56 ++++++++++++++++++++++++++++++++++----------------------
src/smtp.h | 2 +-
7 files changed, 45 insertions(+), 33 deletions(-)
commit ebcbdb9b251f03189d9e8e51d3a5ee2091c36d86
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-04-05 15:34:35 +0200
Add XOAUTH2 support.
doc/msmtp.1 | 11 ++++++++---
doc/msmtp.texi | 7 ++++++-
scripts/vim/msmtp.vim | 2 +-
src/conf.c | 5 +++--
src/msmtp.c | 10 +++++++++-
src/smtp.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
src/smtp.h | 3 ++-
7 files changed, 107 insertions(+), 23 deletions(-)
commit 448236e3b080819143c757e01ae723e337969306
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-04-05 13:17:42 +0200
Recognize an empty From: header; do not add a second one.
Problem reported by Ralph Slooten.
src/msmtp.c | 6 ++++++
1 file changed, 6 insertions(+)
commit 146640b68f004170f29e5406ca5b705143785ae5
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-03-04 19:00:12 +0100
msmtp-runqueue.sh: eat options that would cause msmtp to return 0 without sending mail
Problem reported by Peter Seiderer.
scripts/msmtpqueue/msmtp-runqueue.sh | 13 +++++++++++++
1 file changed, 13 insertions(+)
commit f1fc72e1755858beccc44c8183acaab915a49817
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-02-14 16:29:43 +0100
Make tls_crl_file work also when tls_trust_file is "system"
src/tls.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
commit 232766492b4a88da60c89bdcf4511d8a3d5a92e0
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-02-11 20:31:38 +0100
Bump version to 1.8.3
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 76cc76ee8fd637f6906f2b10838d59e20158fe3b
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-02-11 20:30:43 +0100
Improve output for certificate verification failure.
src/tls.c | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
commit a81d0a5126304f9f8b29a75d058044dc67d07663
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-02-11 20:27:34 +0100
Fix GnuTLS certificate verification for special tls_trust_file 'system'.
src/tls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 51179e214669300e98b3e6af5b857092128d8c35
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-02-11 19:59:32 +0100
Implement special tls_trust_file 'system' for OpenSSL.
src/tls.c | 34 ++++++++++++++++++++--------------
1 file changed, 20 insertions(+), 14 deletions(-)
commit 9f9948732a0153a54f7324873fdb5cafbcd9d2d6
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-15 14:35:35 +0100
Fix misleading error message about account that is already defined.
This closes https://gitlab.marlam.de/marlam/msmtp/issues/26.
src/conf.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit 1590e2d705fbfb5b07836d2509e46b7a4a7c8417
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-12 17:20:06 +0100
Bump version to 1.8.2
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 3d8b2df4b598c1dd920792920eb1cdacbec4f51b
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-12 17:18:21 +0100
Update translations from translation project.
po/LINGUAS | 1 +
po/de.po | 1592 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------
po/fr.po | 1122 ++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------
po/pt_BR.po | 1981 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------
po/uk.po | 1645 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 4220 insertions(+), 2121 deletions(-)
commit 520b03d34f5f6a49f1a08c3491f23344d2505f8d
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-12 17:00:34 +0100
Fix uninitialized-value error, found by scan-build
src/msmtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 90cacf45ba15ad999131bc4074132d9c362f8432
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-12 16:52:42 +0100
Silence compiler warning.
src/password.c | 1 +
1 file changed, 1 insertion(+)
commit e1d3a7dd4ce45a69bbe3af83b6af3aec82a1b21f
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-11 19:49:53 +0100
Move password_get() to its own module to share it with mpop
src/Makefile.am | 3 ++-
src/msmtp.c | 165 ++-----------------------------------------------------------------------------------------------------------------------------
src/password.c | 221 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/password.h | 45 +++++++++++++++++++++++++++++++++++
4 files changed, 270 insertions(+), 164 deletions(-)
commit 457d5eb2ae2140e0e4cf35997c4daa480c0bf877
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-11 19:18:36 +0100
Move exit code helper function to modules shared with mpop
src/msmtp.c | 208 +++++++++++++++++++++++++++---------------------------------------------------------------------------------------------------------------------------------------------------
src/net.c | 28 ++++++++++++++++++++++++
src/net.h | 9 +++++++-
src/smtp.c | 31 +++++++++++++++++++++++++-
src/smtp.h | 9 +++++++-
src/tls.c | 29 ++++++++++++++++++++++++-
src/tls.h | 7 ++++++
src/tools.c | 48 ++++++++++++++++++++++++++++++++++++++++
src/tools.h | 7 ++++++
9 files changed, 196 insertions(+), 180 deletions(-)
commit dd4d66954ce270a2303de687c3487944a9970b1d
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-11 19:06:31 +0100
Move tls_print_info() to tls.c (shared with mpop)
src/msmtp.c | 89 +++++------------------------------------------------------------------------------------
src/tls.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/tls.h | 10 +++++++++-
src/tools.c | 2 +-
src/tools.h | 2 +-
5 files changed, 93 insertions(+), 87 deletions(-)
commit ed6d2262f410837edab1e08c05c1d7703cc3d158
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-11 18:55:33 +0100
Move print_fingerprint() to tools.c (shared with mpop)
src/msmtp.c | 25 +++++--------------------
src/tools.c | 20 ++++++++++++++++++++
src/tools.h | 9 +++++++++
3 files changed, 34 insertions(+), 20 deletions(-)
commit 60683f1f5e58e065be314e7ee31f7f79a7c84215
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-11 18:50:23 +0100
Whitespace changes
src/tools.c | 3 +++
src/tools.h | 3 ---
2 files changed, 3 insertions(+), 3 deletions(-)
commit 439dbcd6c467df5c2e5f05eb5b337ee4b9474f5c
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-11 18:47:11 +0100
Move sanitize_string() to tools.c (shared with mpop)
src/msmtp.c | 87 ++++++++++++++++++++++++++++++++-------------------------------------------------------
src/tools.c | 23 +++++++++++++++++++++++
src/tools.h | 7 +++++++
3 files changed, 62 insertions(+), 55 deletions(-)
commit 4e56b1fad5c68dadc25182ac0024ef5e98b14074
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-11 18:46:43 +0100
Remove unused variable.
src/tools.c | 1 -
1 file changed, 1 deletion(-)
commit 86c0c40ee20049fa6dd62c4651892df0a7bd2171
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-10 21:11:45 +0100
Move functions shared by msmtp and mpop to tools.c, and fix check_hostname_matches_domain()
src/msmtp.c | 66 +++++-------------------------------------------------------------
src/tools.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
src/tools.h | 21 ++++++++++++++++++++-
3 files changed, 92 insertions(+), 63 deletions(-)
commit d1a4dd7b6279f99993fc8f45e39345725427a880
Author: Simon Deziel <simon@sdeziel.info>
Date: 2019-01-08 19:44:13 -0500
Fix typo: s/occurence/occurrence
Signed-off-by: Simon Deziel <simon@sdeziel.info>
doc/msmtp.texi | 2 +-
doc/msmtpd.1 | 2 +-
src/msmtpd.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
commit a0d20d3d9ef8315c14b399f0e0ea1a4b6c2cb41f
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-04 21:58:41 +0100
Improve --help text
src/msmtp.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit 108028d14342ec44f21f62c06acf4d48c01f9274
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-04 11:09:18 +0100
Fix handling of realloc failure in msmtpd; found by cppcheck
src/msmtpd.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
commit 10196baa543ee0e71d03f5549aeb631c01096b4b
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-04 06:46:58 +0100
Add missing #include <limits.h>
src/net.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit 358994b44a997a0874470689313c8bf22a370232
Author: Matthias Strubel <>
Date: 2019-01-02 20:37:33 +0100
Fix misbehaviour of grep in find_alias_for_msmtp.sh
See https://gitlab.marlam.de/marlam/msmtp/issues/23
scripts/find_alias/find_alias_for_msmtp.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 0fb3ed9aaee0b9a63f4e5358c960fe39a6bb220c
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-02 20:29:28 +0100
Bump version to 1.8.2rc3
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit fedc654accbe04f5bdf12c11b8680677cb98acd1
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-02 20:28:56 +0100
Bump copyright year
doc/msmtp.1 | 4 ++--
doc/msmtp.texi | 2 +-
src/msmtp.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
commit 8d71f1e1d930e6892ad391badf391f25ea072777
Author: Martin Lambers <marlam@marlam.de>
Date: 2019-01-01 20:04:08 +0100
Tweak --configure output.
src/msmtp.c | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
commit 71a34b00db8979fa1c299d3da89e642388a7a8f0
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-31 15:29:15 +0100
Add a new option --configure for automatic configuration based on SRV records.
NEWS | 3 +++
configure.ac | 36 ++++++++++++++++++++++++++++++++++-
doc/msmtp.1 | 12 +++++++++++-
doc/msmtp.texi | 12 ++++++++++++
src/msmtp.c | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/net.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/net.h | 24 +++++++++++++++++++++++
7 files changed, 354 insertions(+), 2 deletions(-)
commit b910c7d49e69aa22acf5c6c1bdf5e0cb0a1979ad
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-16 16:50:11 +0100
Reactivate the pt_BR translation.
po/LINGUAS | 1 +
1 file changed, 1 insertion(+)
commit 1a1f73e1784cee71594cbfa1d293a94a139f2044
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-13 16:19:11 +0100
Bump version to 1.8.2r1
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7defbce020f7053039904356560b8c5c8af30877
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-13 16:03:51 +0100
Add TRANSLATORS comment pointing to mpop, and make sure it appears first.
po/POTFILES.in | 4 ++--
src/msmtp.c | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
commit 84982c9a699cb072cccfce95b96ebb521526ad11
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-13 15:49:28 +0100
Add a common comment to files shared by msmtp and mpop.
src/list.c | 2 +-
src/list.h | 2 +-
src/net.c | 2 +-
src/net.h | 2 +-
src/readbuf.c | 2 +-
src/readbuf.h | 2 +-
src/stream.c | 2 +-
src/stream.h | 2 +-
src/tools.c | 2 +-
src/tools.h | 2 +-
src/xalloc.c | 4 ++--
src/xalloc.h | 4 ++--
12 files changed, 14 insertions(+), 14 deletions(-)
commit 37371fa07729bfc11761b6d11befd7271528090d
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-13 10:20:08 +0100
Change tls_trust_file to have the new default value "system".
To simplify TLS setup, the tls_trust_file command has a new default value
'system' that selects the system default trust. Now you just need tls=on to
use TLS; the other TLS options are only required in special cases.
To make this work without breaking compatibility with older msmtp versions,
tls_fingerprint now overrides tls_trust_file, and tls_certcheck=off overrides
both (previously, you could not specify contradicting options).
NEWS | 8 ++++++++
doc/msmtp.1 | 44 ++++++++++++++++++++------------------------
doc/msmtp.texi | 42 +++++++++++++++++++-----------------------
doc/msmtprc-system.example | 1 -
doc/msmtprc-user.example | 15 +++++++--------
src/conf.c | 22 ----------------------
src/msmtp.c | 4 ++++
src/tls.c | 64 ++++++++++++++++++++++++++++++++++++++++++++--------------------
8 files changed, 102 insertions(+), 98 deletions(-)
commit 7946d7e8d4840590439f832cef7b30a9c7a6a35c
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-12 23:59:49 +0100
Sync ABOUT-NLS with latest gettext version
ABOUT-NLS | 1396 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 1379 insertions(+), 17 deletions(-)
commit 6df144cddf849651e47cdcbb3a964b1fb6ef9c71
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-12 23:51:10 +0100
Sync netrc code with latest fetchmail version
src/msmtp.c | 4 ++--
src/netrc.c | 189 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------
src/netrc.h | 51 ++++++++++++++++++++++++-----------------------
3 files changed, 165 insertions(+), 79 deletions(-)
commit 6f647cc26c5a75f967439a8fdf21a19840aac3b4
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-12 23:31:02 +0100
Sync gettext.h with latest gettext
src/gettext.h | 48 ++++++++++++++++++++++++++++++------------------
1 file changed, 30 insertions(+), 18 deletions(-)
commit bafa9a329762da875d683cd45f2b72402d8443c1
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-12 23:23:24 +0100
Sync md5 code with latest openwall version
src/md5.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------
src/md5.h | 2 +-
2 files changed, 53 insertions(+), 57 deletions(-)
commit 908b4c33d471eabc57e9370985e91d0148483d4d
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-12 23:15:05 +0100
Sync base64 code with latest gnulib version
src/base64.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++----------------
src/base64.h | 13 ++++++++++---
2 files changed, 56 insertions(+), 19 deletions(-)
commit 87d1bdafb843bc00c231dae34036f53683713539
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-11 19:13:21 +0100
Do not call gnutls_free() needlessly.
Since we never call gnutls_global_set_mem_functions(), it is always the default
free() function.
src/tls.c | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
commit 86e1513a182dbe14f0a2817cd95a2dbac48be846
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-10 23:11:50 +0100
Add TLS session parameters to printed TLS info
src/msmtp.c | 56 ++++++++++++++++++++++++++++++++++++--------------------
src/smtp.c | 4 ++--
src/smtp.h | 2 +-
src/tls.c | 19 ++++++++++++++++++-
src/tls.h | 7 +++++--
5 files changed, 62 insertions(+), 26 deletions(-)
commit 5599cfb51488928147f95e9d0926aa3538b305dc
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-10 22:26:30 +0100
Remove obsolete certificate verification flag that does nothing.
src/tls.c | 2 --
1 file changed, 2 deletions(-)
commit 0ac7eafb8336f048ec1c24e07a7b1ca7abcc675e
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-08 15:20:05 +0100
Bump version to 1.8.1
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3104d4ed1c0c3dde22f44631d394492b6bc4f32b
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-08 15:19:59 +0100
Update NEWS
NEWS | 3 +++
1 file changed, 3 insertions(+)
commit b8498d619db8a83ec3b5d16e222e6ea84babf7a3
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-08 11:44:50 +0100
Update documentation for Mac OS X keychain usage.
The example was provided by John Labovitz (thank you!)
doc/msmtp.1 | 7 ++++---
doc/msmtp.texi | 10 ++++++----
2 files changed, 10 insertions(+), 7 deletions(-)
commit ec043e5375d0ecd5ab987e53d0ebfecfc1de0858
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-12-08 11:22:52 +0100
Fix handling of GNUTLS_E_AGAIN in tls.c, for TLS 1.3 support.
GNUTLS_E_AGAIN was never handled correctly, but since GnuTLS never actually
returned that code before GnuTLS 3.6.x with TLS 1.3, this was never a problem.
Reported and analyzed by Florian Pritz (thank you!)
src/tls.c | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
commit ad3424b8135314a4c536cbaed0e5ee323d5cbfce
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-09-04 20:07:10 +0200
Bump version to 1.8.0.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 1f86751a3b3fafd7cbcb959264ddb3c964442206
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-09-04 20:05:02 +0200
Update NEWS.
NEWS | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit b9044064349d92da67190211a46094d7ec63d8b1
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-30 10:05:49 +0200
time(NULL) cannot fail, so remove some unnecessary error handling
src/msmtp.c | 9 +--------
src/tls.c | 14 ++------------
2 files changed, 3 insertions(+), 20 deletions(-)
commit 7fc99d50710d343a4e9e956adc44f2782f1ac0d4
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-30 10:01:11 +0200
Update german translation.
po/de.po | 356 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------
1 file changed, 185 insertions(+), 171 deletions(-)
commit 417f347518e8db1f34abea0399909d09ce9dcc8b
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-30 09:57:15 +0200
Update vim syntax file for msmtprc
scripts/vim/msmtp.vim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 0c931dfec8268b488cf713f3e68c8c89828450d8
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-30 09:53:53 +0200
Add new logfile_time_format command and corresponding option.
doc/msmtp.1 | 9 ++++++++-
doc/msmtp.texi | 14 +++++++++++++-
src/conf.c | 23 +++++++++++++++++++++++
src/conf.h | 2 ++
src/msmtp.c | 57 +++++++++++++++++++++++++++++++++++++++++----------------
5 files changed, 87 insertions(+), 18 deletions(-)
commit b4a044a3d10e3a33863deb228ed5396c882ce5b7
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-27 19:23:29 +0200
Disable msmtpd on Windows by default
configure.ac | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
commit 076fa3765992d619f62235d1d84f675847cec2ee
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-25 22:30:09 +0200
Add note about libraries to README
README | 11 +++++++++++
1 file changed, 11 insertions(+)
commit 25712b4d79387792d3ec5cac7ae8b7dbd8bc6343
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-22 08:08:50 +0200
Fix memory leak in msmtp_read_headers()
src/msmtp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit cda0755629cf662aae8f4de41727ceda3d932b00
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-21 08:44:48 +0200
Remove support for systems lacking vasprintf().
NEWS | 3 ++-
configure.ac | 2 +-
src/xalloc.c | 20 +-------------------
3 files changed, 4 insertions(+), 21 deletions(-)
commit 52993a4ae17e80990c221aff0f37c8506262fe9d
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-21 08:38:45 +0200
Update german translation
po/de.po | 543 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
1 file changed, 279 insertions(+), 264 deletions(-)
commit df22dccf9d1af06fcd09dfdd0d6a38e1372dd5e8
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-21 08:38:02 +0200
passwordeval: do not require terminating newline anymore, and translate error messages
src/conf.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
commit 87f637802b0a14d8161622fa1007d7896191fd03
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-20 21:22:03 +0200
Bump version to 1.8.0rc1.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e9286ec9ceb6bcebd37f656b02ad2e15564d2162
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-20 21:21:38 +0200
Update NEWS.
NEWS | 2 ++
1 file changed, 2 insertions(+)
commit 9534ed2729a8d4dada87bc82b9b4161f1d080516
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-20 20:07:04 +0200
Mark CRAM-MD5 as obsolete and insecure, and do not choose it automatically anymore
NEWS | 4 +++-
doc/msmtp.1 | 3 ++-
doc/msmtp.texi | 6 +++---
src/smtp.c | 40 ++++++++++++++++++++++++----------------
4 files changed, 32 insertions(+), 21 deletions(-)
commit 4415145286760768257c78100c62a3035447222d
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-20 08:22:23 +0200
Fix usage of '@' in texinfo documentation example
doc/msmtp.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c5cddae2e0d5f37802209354357c3ab7e751afbf
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-19 14:46:50 +0200
Update the system-wide config example to always use TLS
doc/msmtp.texi | 18 ++++++++++--------
doc/msmtprc-system.example | 16 +++++++++-------
2 files changed, 19 insertions(+), 15 deletions(-)
commit a490c4deda6a7e644d6b61b106fb6da7e8b8d120
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-19 14:37:03 +0200
Improve NEWS
NEWS | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
commit bc3420cdc948a80039c9ca356a3e185b7f5f29ec
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-18 22:53:37 +0200
msmtpd: include netinet/in.h for *BSD
src/msmtpd.c | 1 +
1 file changed, 1 insertion(+)
commit 4594dd58e9920f3979f5026e2feb347999f1c21c
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-18 22:44:10 +0200
Update README
README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 7c86935013e6e3905100ee1ce297ea096bd6cbc7
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-18 22:41:41 +0200
Update gettext files
ABOUT-NLS | 4 ----
po/Makefile.in.in | 26 +++++++++++++++++---------
po/Makevars.template | 6 ++++++
po/Rules-quot | 4 ++--
4 files changed, 25 insertions(+), 15 deletions(-)
commit fcfb9607aaa31902fc7c24a4e083131f39d5efd0
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-18 22:34:35 +0200
msmtpd: print msmtp version when --version is given
src/msmtpd.c | 1 +
1 file changed, 1 insertion(+)
commit 2fb2409dcaacde7be3db373b625b95a39bd509de
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-18 22:32:36 +0200
msmtpd: enable by default
NEWS | 4 ++++
configure.ac | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
commit 1644b42f264c57e4365ef2173c8ffb80b6a00912
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-18 22:25:57 +0200
Remove support for DJGPP (was last used ages ago).
src/msmtp.c | 18 +++++-------------
src/net.c | 2 +-
src/tools.c | 32 ++++----------------------------
3 files changed, 10 insertions(+), 42 deletions(-)
commit 0d8be2a35f0c7757d1f423e2d21f042626fec60e
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-18 22:12:25 +0200
Switch from libidn to libidn2
NEWS | 2 ++
configure.ac | 2 +-
src/Makefile.am | 4 ++--
src/net.c | 4 ++--
src/tls.c | 6 +++---
5 files changed, 10 insertions(+), 8 deletions(-)
commit d99f70d15b374d75a520aa63c80786c37cf500e9
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-18 21:58:14 +0200
Disable GNU SASL support by default since it is unnecessary most of the time
NEWS | 3 +++
configure.ac | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
commit 20bb5e0a51102168691d2afea7c0d116e4fb9cb2
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-18 21:41:50 +0200
Discourage use of OpenSSL; recommend GnuTLS.
NEWS | 4 ++++
configure.ac | 33 +++++++--------------------------
2 files changed, 11 insertions(+), 26 deletions(-)
commit f13e0cf553ff2ac3450e17c22500e81e58f72243
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-18 21:31:55 +0200
Remove Debian package name hints from configure.ac
It does not make sense to keep them current and we should not have distribution
bias in configure.ac.
configure.ac | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
commit e7713c1861f16e0c6f3e8d0082ec27de7bdeb024
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-18 21:02:05 +0200
msmtpd: tweak buffer sizes, to be consistent with msmtp and mpop
src/msmtpd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit f35dffee79a0027c67eb579c10b6c74765ea0c94
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-18 16:56:26 +0200
msmtpd: improve memory usage and remove limitation on number of recipients
src/msmtpd.c | 57 ++++++++++++++++++++++++++++++++++-----------------------
1 file changed, 34 insertions(+), 23 deletions(-)
commit 52dc298565de4d63db8d7dc265f444c41f85afa4
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-14 20:33:54 +0200
msmtpd: add start-stop-daemon example to documentation
doc/msmtp.texi | 8 ++++++++
doc/msmtpd.1 | 11 +++++++++++
2 files changed, 19 insertions(+)
commit 167f57080e24773a5336643ca9e0d6365dee4909
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-14 20:28:14 +0200
msmtpd: ignore SIGPIPE because we want to handle this error ourselves
src/msmtpd.c | 1 +
1 file changed, 1 insertion(+)
commit 65c81b414c5ce2329515c4d0bc2e6f484ef5fdc6
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-14 10:07:21 +0200
msmtpd: use exit codes according to LSB init script recommendations
This is recommended by the freedesktop.org new-style daemon recommendations.
src/msmtpd.c | 27 ++++++++++++++++-----------
1 file changed, 16 insertions(+), 11 deletions(-)
commit d741a7e913cb7a250395e37d97e7b45e8116dfb6
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-14 09:55:30 +0200
msmtpd: improve signal handling
src/msmtpd.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
commit e7660138673b46321b87675ad202f6f7f5f46b7b
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-14 09:43:53 +0200
msmtpd: call signal outside of loop so that we only do it once
src/msmtpd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit be550dc27dd7a02d73bf91ddf89cc8c5c82e380b
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-14 09:27:34 +0200
msmtpd: support C89 compilers
src/msmtpd.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit efad5819c0b7f90098b9847d44222f81e371db51
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-14 09:24:56 +0200
msmtpd: allow spaces before mail address in MAIL FROM and RCPT TO
src/msmtpd.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit 3e55e3c89865d68c59d6b2fa02edb7be103c4f90
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-14 00:37:57 +0200
msmtpd: properly clean up child processes
src/msmtpd.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
commit e0bc975fbfb8b26a6dfaac87ebc64d3f37ef1e36
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-13 20:46:56 +0200
Add msmtpd, a minimal SMTP server, currently experimental.
configure.ac | 7 +++
doc/Makefile.am | 3 ++
doc/msmtp.texi | 39 +++++++++++++++
doc/msmtpd.1 | 48 ++++++++++++++++++
src/Makefile.am | 7 ++-
src/msmtpd.c | 456 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 559 insertions(+), 1 deletion(-)
commit 09a1cb457a0a9986471ded779aaabfbe7ac1d319
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-07 14:16:05 +0200
Do not use getservbyname(). It offers no benefit.
configure.ac | 2 +-
src/msmtp.c | 33 ---------------------------------
2 files changed, 1 insertion(+), 34 deletions(-)
commit ed32c31da42b730b1e49033328d13d8d6ae2a65a
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-07 13:50:49 +0200
Remove support for systems that lack mkstemp() and/or tmpfile()
configure.ac | 2 +-
src/msmtp.c | 34 +++++++++++++++---------------
src/tools.c | 196 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
src/tools.h | 22 --------------------
4 files changed, 18 insertions(+), 236 deletions(-)
commit 80507c50174a72084326f84fbe1fdbf99cee2ed0
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-08-07 13:37:03 +0200
Fix building with ancient GnuTLS versions, e.g. on Ubuntu 14.04
src/tls.c | 4 ++++
1 file changed, 4 insertions(+)
commit 86e244b2544f98821d98729b1799f2bb5b03a591
Author: Roman Bogorodskiy <bogorodskiy@gmail.com>
Date: 2018-06-29 21:54:28 +0400
Fix build on FreeBSD
Build on FreeBSD fails with:
CC net.o
net.c:317:25: error: variable has incomplete type 'struct sockaddr_in6'
struct sockaddr_in6 sa6;
^
net.c:317:12: note: forward declaration of 'struct sockaddr_in6'
struct sockaddr_in6 sa6;
^
net.c:318:24: error: variable has incomplete type 'struct sockaddr_in'
struct sockaddr_in sa4;
^
net.c:318:12: note: forward declaration of 'struct sockaddr_in'
struct sockaddr_in sa4;
^
2 errors generated.
Need to include <netinet/in.h> to fix that.
configure.ac | 2 +-
src/net.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
commit fdc578cc0f47979167f67c174e9341ed5e7c607f
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-28 15:38:19 +0200
Bump version to 1.6.8.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 33426d567cc7bc63e72426c6baeaff639dd6814a
Author: Richard Genoud <richard.genoud@gmail.com>
Date: 2018-06-28 15:28:28 +0200
Update french translation
po/fr.po | 488 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
1 file changed, 251 insertions(+), 237 deletions(-)
commit fff0ffd66ef08324657d525108ae5352c39dded2
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-27 13:11:19 +0200
Fix minor problems in man page (taken from Debian patch)
doc/msmtp.1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 9709d9d37e650b920e5f5865024723e817734adc
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-27 11:58:44 +0200
Update NEWS
NEWS | 1 +
1 file changed, 1 insertion(+)
commit 606472e2065a0fc3d86224d8fe2718ecc3854edb
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-27 09:51:27 +0200
gnutls: avoid compiler warning by using a newer API
src/tls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 81cd34625e993408fa67a6339446836fd66745de
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-27 09:48:55 +0200
gnutls: enable SNI to get the right cert from servers using virtual hosting
src/tls.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit d89fed58af2fb73da89ef0fe8807cd9ffc8668f7
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-26 22:48:44 +0200
Fix spelling of 'occurrence' and 'occurred'.
po/de.po | 2 +-
po/fr.po | 2 +-
po/pt_BR.po | 2 +-
src/conf.c | 2 +-
src/msmtp.c | 6 +++---
src/smtp.h | 2 +-
src/tls.c | 2 +-
src/tools.h | 2 +-
8 files changed, 10 insertions(+), 10 deletions(-)
commit efd42654abafbbbe21e265a5fc4543ec3abb689c
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-26 13:28:59 +0200
Update NEWS
NEWS | 4 ++++
1 file changed, 4 insertions(+)
commit 1bda18fd310d4ec8645d5d6c47a1872b1dbe38b0
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-26 13:18:21 +0200
Update german translation.
po/de.po | 467 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------
1 file changed, 240 insertions(+), 227 deletions(-)
commit 18682a988edc9b6ef24d5f40c22cfbde79a58cf1
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-26 12:49:29 +0200
Add new command source_ip and option --source-ip to bind to a specific IP.
Should fix issue #2.
doc/msmtp.1 | 5 +++++
doc/msmtp.texi | 8 ++++++++
src/conf.c | 23 ++++++++++++++++++++++-
src/conf.h | 5 ++++-
src/msmtp.c | 28 +++++++++++++++++++++++-----
src/net.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
src/net.h | 5 ++++-
src/smtp.c | 8 ++++----
src/smtp.h | 5 +++--
9 files changed, 139 insertions(+), 17 deletions(-)
commit f0d4c3109491d5285439d1f5f155d22ff15a9663
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-26 12:39:31 +0200
Fix building for Windows >= 7 with latest MinGW
src/msmtp.c | 15 ++++++++++-----
src/net.c | 12 ++++++------
src/tools.c | 20 ++++++++++----------
3 files changed, 26 insertions(+), 21 deletions(-)
commit 5d6dce96aae86bd7db857673a6f78f49edaef112
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-26 12:35:30 +0200
Documentation: move timeout doc after proxy doc
doc/msmtp.1 | 10 +++++-----
doc/msmtp.texi | 22 +++++++++++-----------
2 files changed, 16 insertions(+), 16 deletions(-)
commit a81673f957f0fc9172dd48c3eddba926a60d2eaa
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-25 09:55:36 +0200
Make config file lookup work for both msmtp and mpop.
This fixes mpop issue #1, see mpop commit ed0d10dcaa6204d6854a84cde6c21bdb8ac1a0ca.
src/tools.c | 6 +++---
src/tools.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
commit 5d44e2593ac9eaeb55878f37221b89cd1ab7d5fd
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-15 16:58:57 +0200
Bump version to 1.6.7
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 664aae8342777c0066db18313f56f650c92202d4
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-15 14:08:22 +0200
Update year in copyright message.
po/de.po | 6 ++--
po/fr.po | 260 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------------------
src/msmtp.c | 2 +-
3 files changed, 134 insertions(+), 134 deletions(-)
commit d8421e3202475ff95ef22481a0634a00b3f1eae7
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-15 14:06:21 +0200
Update NEWS.
NEWS | 11 +++++++++++
1 file changed, 11 insertions(+)
commit a41588724f01ea25399a502258c3c02164f7ac9a
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-15 13:28:13 +0200
Update german translation.
po/de.po | 1054 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------------------
1 file changed, 456 insertions(+), 598 deletions(-)
commit af2f409da5c2659989f2a1520cac777f738226bb
Author: Mart <mart@martlubbers.net>
Date: 2018-06-13 22:27:28 +0200
Implement the XDG base spec, to allow config file $XDG_CONFIG_HOME/msmtp/config.
$XDG_CONFIG_HOME/msmtp/config will be used if it exists and ~/.msmtprc does not exist.
Otherwise, ~/.msmtprc is used.
doc/msmtp.1 | 10 ++++++----
doc/msmtp.texi | 12 ++++++------
src/msmtp.c | 12 +++---------
src/tools.c | 37 +++++++++++++++++++++++++++++++++++++
src/tools.h | 14 +++++++++++++-
5 files changed, 65 insertions(+), 20 deletions(-)
commit 5c1acb25eaba6678c775ccd07ebed30cd2551bd0
Author: Richard Genoud <richard.genoud@gmail.com>
Date: 2018-06-13 14:10:02 +0200
add fr_FR locale
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
po/LINGUAS | 1 +
po/fr.po | 1695 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 1696 insertions(+)
commit 861325dd0b73abc6f39de0bc502063dd9e56ee9d
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-12 20:37:22 +0200
Fix typo in documentation.
doc/msmtp.1 | 4 ++--
doc/msmtp.texi | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
commit 1356963ad9aca12fad86c8b2dd320f64e306c168
Author: Martin Lambers <marlam@marlam.de>
Date: 2018-06-12 20:00:01 +0200
Update homepage and contact information.
ABOUT-NLS | 2 +-
AUTHORS | 2 +-
README | 2 +-
configure.ac | 2 +-
scripts/find_alias/find_alias_for_msmtp.sh | 3 ++-
5 files changed, 6 insertions(+), 5 deletions(-)
commit cb30033f1daa187d3543760bf57340b079382e81
Author: Konst Mayer <cdlscpmv@gmail.com>
Date: 2018-06-11 20:54:16 +0200
Windows: implement timeout on connect()
src/net.c | 54 ++++++++++++++++++++++++++++++++++++++++++------------
1 file changed, 42 insertions(+), 12 deletions(-)
commit 1542baa0264790281a889f139d84200a2708620d
Author: Konst Mayer <cdlscpmv@gmail.com>
Date: 2018-06-11 20:51:23 +0200
Windows: properly close socket on errors
src/net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit d8280993e3c5d163178a03aba0b4b51f7526044d
Author: Konst Mayer <cdlscpmv@gmail.com>
Date: 2018-06-11 20:49:34 +0200
Windows: fix send/receive timeout handling
src/net.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 53f3b0b45739d1e1f0ce3ec464a2318611a107f5
Author: Jan Fuchs <fuky@asu.cas.cz>
Date: 2018-06-11 20:36:11 +0200
Fix command line handling of SHA256 TLS fingerprints.
See also Debian bug 888602.
src/msmtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 0665692b6807342bbd2de3fbc2e22e9ec2c1dbf2
Author: Roger Pau Monne <roger.pau@citrix.com>
Date: 2017-04-03 10:31:37 +0200
Ignore SIGPIPE; we handle write errors where they occur.
This fixes problems with killed msmtp processes at least on Mac OS X.
configure.ac | 4 ++--
src/msmtp.c | 9 ++++++++-
2 files changed, 10 insertions(+), 3 deletions(-)
commit 2fa66d2b7fd417b024f48addb2dae04324751875
Author: Martin Lambers <marlam@marlam.de>
Date: 2016-11-14 20:59:18 +0100
Bump version to 1.6.6
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e35a417cfd97914ff5b064bdd7980d55e0fd85a7
Author: Martin Lambers <marlam@marlam.de>
Date: 2016-11-14 20:53:43 +0100
Fix cross-build with x86_64-w64-mingw32
getservbyname() is available, but winsock2.h needs to be included.
src/msmtp.c | 5 +++++
1 file changed, 5 insertions(+)
commit 9eb17c779cfc7ee466fd9ff3822b8ddc45a1281d
Author: Martin Lambers <marlam@marlam.de>
Date: 2016-11-11 08:46:41 +0100
Include <stdint.h>, for uint16_t in the SOCKS code.
This is only necessary on platforms lacking <arpa/inet.h>, i.e. Windows, but
does not hurt on other platforms as <arpa/inet.h> includes this anyway.
src/net.c | 1 +
1 file changed, 1 insertion(+)
commit 7f3c8b83fb1d9d495b90034c5b121d6b17810596
Author: Martin Lambers <marlam@marlam.de>
Date: 2016-09-04 17:21:44 +0200
Fix a memory leak and a double-free in msmtp_read_headers().
Both problems were reported and analyzed by Felix Janda. Thanks a lot!
The double-free was triggered on read errors, e.g. "msmtp -t < /".
src/msmtp.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
commit 6c693ffea3dcc1ed6cc3f7a7ae1d5bf349909350
Author: Martin Lambers <marlam@marlam.de>
Date: 2016-05-31 20:51:19 +0200
Bump version to 1.6.5.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit a34a00a2eb2fb57027cf5aa24ca721a01e901f12
Author: Martin Lambers <marlam@marlam.de>
Date: 2016-04-09 22:13:05 +0200
Support SHA256 fingerprints for tls_fingerprint, and mark both SHA1 and MD5 as deprecated.
NEWS | 4 ++++
doc/msmtp.1 | 9 +++++----
doc/msmtp.texi | 13 +++++++------
src/conf.c | 43 +++++++++++++++++++++++++++++++++++++------
src/conf.h | 8 +++++---
src/msmtp.c | 37 +++++++++++++++++++++++++++----------
src/smtp.c | 5 +++--
src/smtp.h | 3 ++-
src/tls.c | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------
src/tls.h | 14 ++++++++------
10 files changed, 176 insertions(+), 63 deletions(-)
commit 6e2d4924c80e358142f6a7404676af0c4d5f58db
Author: Martin Lambers <marlam@marlam.de>
Date: 2016-02-01 20:26:17 +0100
Bump version to 1.6.4, update copyright messages.
configure.ac | 4 ++--
doc/msmtp.1 | 4 ++--
doc/msmtp.texi | 2 +-
src/msmtp.c | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
commit 3c5589a95b475cb239c1bf836c16463422abf3c7
Author: Martin Lambers <marlam@marlam.de>
Date: 2016-02-01 20:26:01 +0100
Update NEWS.
NEWS | 3 +++
1 file changed, 3 insertions(+)
commit 501b7a8e0887cbed9c3f1e398f4da35e56c1707d
Author: Niels de Vos <devos@fedoraproject.org>
Date: 2015-12-02 11:02:46 +0100
TLS: use system crypto policy by default
The last Fedora releases require applications to use the system policy
for SSL/TLS. If no --tls-priorities=... command line option is given,
instead of using the hardcoded priority string "NORMAL:-VERS-SSL3.0",
gnutls_set_default_priority() is called, which applies the system policy
to the TLS session.
URL: https://fedoraproject.org/wiki/Packaging:CryptoPolicies
BUG: https://bugzilla.redhat.com/1179321
src/tls.c | 53 ++++++++++++++++++++++++++++++-----------------------
1 file changed, 30 insertions(+), 23 deletions(-)
commit ea7e0de2776e141b937e258efaa6a7f4001bd5e6
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-11-27 21:42:56 +0100
Bump version to 1.6.3.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit a7b5ec9ce85c77c47cd28891210f6d87f82f9d90
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-11-27 21:42:10 +0100
Update NEWS.
NEWS | 4 ++++
1 file changed, 4 insertions(+)
commit 091b31fffdf4dc18f24d2cf938188c6df5265f73
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-11-02 10:32:38 +0100
SOCKS5: do not clobber the status byte reported by the server.
This prevented SOCKS support from working in certain cases.
Analyzed and reported by Russ Dill. Thanks!
src/net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit bb27fd6582231acee23759341864405e45db8a2f
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-09-07 22:34:22 +0200
Remove erroneous cast.
The cast was wrong and resulted in warnings from smart compilers. Reported and
fix suggested by Stefan Krüger. Thanks!
Note that the code accidentally worked on most machines with two-complement
integers and common compilers: casting -1 to size_t results in the largest
representable size_t, then adding +1 usually wraps around to zero, which is the
intended result.
src/conf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 38f9a2e89df2941c0dd947cdd001c309a4d378d9
Author: Emmanuel Bouthenot <kolter@openics.org>
Date: 2015-06-04 10:25:47 +0200
Fix various issues in manpage (spelling and formating errors)
doc/msmtp.1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 7f952bf19cef450b3d84971e96798742de5c7b60
Author: Emmanuel Bouthenot <kolter@openics.org>
Date: 2015-05-20 19:48:16 +0200
Fix handling of non-fatal errors in gnutls_handshake().
The fix consists in recalling gnutls_handshake() for ever until the error
returned is fatal (that's what the doc says[1] and that's how gnutls-cli is
implemented[2]).
[1] http://www.gnutls.org/manual/html_node/TLS-handshake.html
[2] https://gitlab.com/gnutls/gnutls/blob/master/src/cli.c#L1620
src/tls.c | 26 +++++++++-----------------
1 file changed, 9 insertions(+), 17 deletions(-)
commit 164d1d0a27c888c4424e79862ae72da06b946606
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-04-24 19:11:59 +0200
Bump version to 1.6.2
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit ed638d3fa37a7985c1186bb70e38aa7c5fe2c4dd
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-04-24 19:11:52 +0200
Update NEWS
NEWS | 4 ++++
1 file changed, 4 insertions(+)
commit 38bc299a2400b8cdfc2bfb1b83e4458ba58c127a
Author: Martin Küttler <cmd.cool@gmx.de>
Date: 2015-04-24 10:54:45 +0200
Fix removal of multiple consecutive Bcc headers.
Previously, only every second of multiple consecutive Bcc headers was removed.
src/smtp.c | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
commit 0f794b730a178b6ea7899b9f1484b8ae13f64e77
Author: Chris Gianniotis <namtok@gmx.net>
Date: 2015-03-12 15:59:19 +0100
Update msmtpq scripts.
scripts/msmtpq/README.msmtpq | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------
scripts/msmtpq/msmtp-queue | 2 +-
scripts/msmtpq/msmtpq | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------
3 files changed, 135 insertions(+), 55 deletions(-)
commit f52acb765262b05e4b1c9639ff08f4265cb71e3e
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-01-06 20:59:26 +0100
Fix --version output for IDN without libidn
src/msmtp.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit 0f7fc8cb83bd5e7a11443104c9b5c873ae00487f
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-01-05 08:55:32 +0100
Update NEWS.
NEWS | 4 ++++
1 file changed, 4 insertions(+)
commit 44cea37b194c754d9db377ac01e9f82c38243b20
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-01-04 12:22:24 +0100
Bump version to 1.6.1, and update copyright year
configure.ac | 5 +++--
doc/msmtp.1 | 5 +++--
src/msmtp.c | 4 ++--
3 files changed, 8 insertions(+), 6 deletions(-)
commit c44e1237d47ba51ba3d64ab9a5e94c8c421a69e7
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-01-04 12:17:29 +0100
configure: improve checks for IDN support
A runtime check is added to detect if getaddrinfo() accepts AI_IDN. For
cross-compilation, it is assumed that it does; the user is informed about
--disable-gai-idn.
configure.ac | 50 +++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 45 insertions(+), 5 deletions(-)
commit 888d45f747bbb657b080c11164250e476ca4b4f5
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-01-03 08:05:28 +0100
Allow an empty argument for proxy_host, as documented.
Bug reported by "PM" on mpop-users.
src/conf.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
commit cc57747a14e42fc5e5d243d4454bb3d9c5434a96
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-01-02 21:47:54 +0100
Provide --with-tls configure flag to replace --with-ssl (which remains supported for now)
configure.ac | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
commit 907916e8089ea9303a7c091b763087530c88a063
Author: Martin Lambers <marlam@marlam.de>
Date: 2015-01-02 21:32:16 +0100
Provide a --disable-gai-idn configure flag.
This is for systems that define AI_IDN for getaddrinfo(), but do not actually
support it and provide no way to detect this at compile time.
Example: glibc compiled without libidn support, as used by astlinux. Reported
and fix suggested by Lonnie Abelbeck
configure.ac | 62 ++++++++++++++++++++++++++++++++++++++------------------------
src/net.c | 6 ++++--
2 files changed, 42 insertions(+), 26 deletions(-)
commit 1efb6109ae07c19db493b8c2d8909ae527109fe1
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-30 20:49:44 +0100
Remove redundant and obsolete text from manual and man page
doc/msmtp.1 | 18 +++---------------
doc/msmtp.texi | 7 -------
2 files changed, 3 insertions(+), 22 deletions(-)
commit ba168849f78f0893f19d46e34c0220b9c23ff7c0
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-29 12:16:47 +0100
Bump version to 1.6.0
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit af1d7eca6b8a9adbdae3dba591899b1b89444f6e
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-29 12:12:56 +0100
Remove obsolete README.w32
Makefile.am | 2 +-
README.w32 | 33 ---------------------------------
2 files changed, 1 insertion(+), 34 deletions(-)
commit 670dfaa11dce79909a4e3952dc03559302651da7
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-29 12:02:15 +0100
Update README
README | 27 ++++++++++-----------------
1 file changed, 10 insertions(+), 17 deletions(-)
commit 10653a9793f087c5e864b982f90f85b5f6b656d9
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-29 10:01:42 +0100
Fix hyphen/minus problems in man page
doc/msmtp.1 | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
commit 9cb401189abb46dd926dda4c9d34b15e536610ae
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-28 14:33:27 +0100
Improve man page and manual.
doc/msmtp.1 | 502 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------
doc/msmtp.texi | 142 +++++++++++++++++++++++++------------------------
2 files changed, 333 insertions(+), 311 deletions(-)
commit ef617b9bc32e1a5900e0db40500d2f05846d99ca
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-28 09:36:31 +0100
Update the manual. Rework the TLS and Authentication sections.
doc/msmtp.texi | 632 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------
1 file changed, 277 insertions(+), 355 deletions(-)
commit c370cdf1dbdeeda804af36a7b6239c1ccc61f013
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-25 15:47:36 +0100
Update configuration file example
doc/msmtp.1 | 127 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------
doc/msmtp.texi | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------
doc/msmtprc-user.example | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
3 files changed, 272 insertions(+), 55 deletions(-)
commit 482efde0a0f6b0e6d0e1adb51a768a6ed52a3ef9
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-25 13:54:46 +0100
Update documentation of password retrieval.
doc/msmtp.1 | 17 ++++++-----------
doc/msmtp.texi | 25 +++++++++++--------------
2 files changed, 17 insertions(+), 25 deletions(-)
commit 2c47b65a9f879291073a1dac7bfbe064befadaba
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-25 13:31:55 +0100
Check keyring for password before checking .netrc.
The .netrc method is obsolete, and users using keyrings should not pay the
performance price of testing ~/.netrc and /etc/netrc.
src/msmtp.c | 69 +++++++++++++++++++++++++++++++++++++--------------------------------
1 file changed, 37 insertions(+), 32 deletions(-)
commit af258212f1aa97324aeb1737956595377a23436e
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-25 13:15:52 +0100
Remove obsolete Mutt+msmtp.txt file
doc/Makefile.am | 1 -
doc/Mutt+msmtp.txt | 49 -------------------------------------------------
2 files changed, 50 deletions(-)
commit 9218a83ef6525082910c07f8e305bb35bea343f7
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-17 22:32:24 +0100
Update configuration file example
doc/msmtprc-user.example | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit d7e784214954a02da72f58915ee7f636674e50d5
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-17 21:57:21 +0100
Bump version to 1.6.0rc3
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7c32e9b38f74a52552f42755f5a6c33d5348edb0
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-17 21:56:59 +0100
Update NEWS in preparation of 1.6.0
NEWS | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
commit 3256391d660078cc77b3f3db1c9184774d681656
Author: Felix Janda <felix.janda@posteo.de>
Date: 2014-12-14 18:32:01 +0100
tools.h: Include <time.h> for time_t
Fixes compilation with musl libc
src/tools.h | 2 ++
1 file changed, 2 insertions(+)
commit 0864c46b3d308b1900564c529a86e4df24ffb80e
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-11 13:29:38 +0100
Fix potential free() with invalid pointer.
Found by clang.
src/smtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit d782ff4fbdaf2db9cd21bae786bd8d50c414d666
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-11 13:29:26 +0100
Update vim syntax file.
scripts/vim/msmtp.vim | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
commit c7190366cb0c7c3c84af109ec45ca2f7e185785e
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-11 06:16:47 +0100
Improve libsecret support.
doc/msmtp.1 | 6 +++---
doc/msmtp.texi | 6 +++---
src/msmtp.c | 8 ++++----
3 files changed, 10 insertions(+), 10 deletions(-)
commit 05a0fa4c09861fcf16720098532805c542f46006
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-11 06:02:33 +0100
Update documentation on authentication.
doc/msmtp.1 | 21 ++++++++++-----------
doc/msmtp.texi | 50 ++++++++++++++++++++++++--------------------------
2 files changed, 34 insertions(+), 37 deletions(-)
commit 62897c4392a89d3598c0c04aa90d6c9a9c903f4d
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-10 07:17:07 +0100
Change order of auth methods reported in --version.
The previous patch was for --serverinfo output; the commit message was wrong.
src/msmtp.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 24bd6cf01ea3b06812c8cb5fcfe9cc8717164a87
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-10 07:12:00 +0100
Change order of auth methods reported in --version.
src/msmtp.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 1e58569dc63e18140c22faa460cf5165eace6561
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-09 21:26:02 +0100
Bump version to 1.6.0rc2
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9c2cc91b906685796f3445485abb7ee1869915f4
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-09 21:02:00 +0100
Allow password management with secret-tool from libsecret.
NEWS | 4 +++-
doc/msmtp.1 | 16 ++++++++-----
doc/msmtp.texi | 16 ++++++++-----
scripts/Makefile.am | 4 +---
scripts/msmtp-gnome-tool/README | 1 -
scripts/msmtp-gnome-tool/msmtp-gnome-tool.py | 175 ---------------------------------------------------------------------------------------------------------------------------------------------
src/msmtp.c | 30 ++++++++++++++++++++++++-
7 files changed, 55 insertions(+), 191 deletions(-)
commit 51a6e7c3e51907807b6055d85a7fccc6e2afc54b
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-09 20:24:04 +0100
Only check configuration file permissions if the file contains secrets (passwords).
NEWS | 3 +++
src/conf.c | 40 ++++++++++++++++++++--------------------
2 files changed, 23 insertions(+), 20 deletions(-)
commit 662e167b5b9818ce7e243a876bbd7d45ee2d5d51
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-09 20:13:38 +0100
Replace the keepbcc command and corresponding option with remove_bcc_headers.
The old names are still available for backward compatibility, but are not
documented anymore.
NEWS | 2 ++
doc/msmtp.1 | 11 +++++------
doc/msmtp.texi | 20 ++++++++++----------
src/conf.c | 69 +++++++++++++++++++++++++++++++++++++++++++++------------------------
src/conf.h | 48 ++++++++++++++++++++++++------------------------
src/msmtp.c | 136 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------
6 files changed, 166 insertions(+), 120 deletions(-)
commit 595280fd8314bcfb4db18e1aa92e4454939404b8
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-09 19:52:41 +0100
Fix whitespace.
src/msmtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 4aef8a4d746ec8e6982c81fb1dc0e0571ae14acd
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-09 19:51:36 +0100
Add new commands add_missing_from_header and add_missing_date_header, and corresponding options.
NEWS | 3 ++-
configure.ac | 3 ++-
doc/msmtp.1 | 24 ++++++++++++++---
doc/msmtp.texi | 30 ++++++++++++++++++---
src/conf.c | 62 ++++++++++++++++++++++++++++++++++++++++---
src/conf.h | 69 ++++++++++++++++++++++++++----------------------
src/msmtp.c | 248 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------------------
7 files changed, 285 insertions(+), 154 deletions(-)
commit b347dd5563f7eb4d809d8495d8437630731411af
Author: Martin Lambers <marlam@marlam.de>
Date: 2014-12-01 23:16:00 +0100
Fix automatic generation of ChangeLog file
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
|