From: <abe...@us...> - 2012-01-30 03:26:19
|
Revision: 5425 http://astlinux.svn.sourceforge.net/astlinux/?rev=5425&view=rev Author: abelbeck Date: 2012-01-30 03:26:13 +0000 (Mon, 30 Jan 2012) Log Message: ----------- testmail, new command to test SMTP settings and report basic settings Modified Paths: -------------- branches/1.0/package/msmtp/msmtp.mk Added Paths: ----------- branches/1.0/package/msmtp/testmail.sh Modified: branches/1.0/package/msmtp/msmtp.mk =================================================================== --- branches/1.0/package/msmtp/msmtp.mk 2012-01-29 04:34:32 UTC (rev 5424) +++ branches/1.0/package/msmtp/msmtp.mk 2012-01-30 03:26:13 UTC (rev 5425) @@ -21,6 +21,7 @@ $(INSTALL) -m 0755 -D package/msmtp/msmtp.init $(TARGET_DIR)/etc/init.d/msmtp $(INSTALL) -m 0755 -D package/msmtp/msmtpqueue.sh $(TARGET_DIR)/usr/sbin/msmtpqueue $(INSTALL) -m 0755 -D package/msmtp/sendmail.sh $(TARGET_DIR)/usr/sbin/sendmail + $(INSTALL) -m 0755 -D package/msmtp/testmail.sh $(TARGET_DIR)/usr/sbin/testmail $(INSTALL) -m 0755 -D package/msmtp/mime-pack.sh $(TARGET_DIR)/usr/sbin/mime-pack ln -sf /tmp/etc/msmtprc $(TARGET_DIR)/etc/msmtprc endef @@ -30,6 +31,7 @@ rm $(TARGET_DIR)/etc/init.d/msmtp rm $(TARGET_DIR)/usr/sbin/msmtpqueue rm $(TARGET_DIR)/usr/sbin/sendmail + rm $(TARGET_DIR)/usr/sbin/testmail rm $(TARGET_DIR)/usr/sbin/mime-pack rm $(TARGET_DIR)/etc/msmtprc endef Added: branches/1.0/package/msmtp/testmail.sh =================================================================== --- branches/1.0/package/msmtp/testmail.sh (rev 0) +++ branches/1.0/package/msmtp/testmail.sh 2012-01-30 03:26:13 UTC (rev 5425) @@ -0,0 +1,50 @@ +#!/bin/sh + +# testmail +# +# Usage: testmail TO_email_address [ FROM_email_address ] +# +# Utility to test email server settings +# + +. /etc/rc.conf + +TO="$1" + +FROM="$2" + +if [ -z "$TO" ]; then + echo "Usage: testmail TO_email_address [ FROM_email_address ]" + exit 1 +fi + +if [ -z "$FROM" -a -n "$SMTP_DOMAIN" ]; then + FROM="noreply@$SMTP_DOMAIN" +fi + +( + echo "To: ${TO}${FROM:+ +From: $FROM} +Subject: Test Email from '$HOSTNAME' + +Test Email from '$HOSTNAME' + +[Generated at $(date "+%H:%M:%S on %B %d, %Y")] +" + echo "Hostname: $HOSTNAME" + echo "System Time: $(date)" + echo "IPv4 Address: $(ip -o addr show dev "$EXTIF" 2>/dev/null | \ + awk '$3 == "inet" { split($4, field, "/"); print field[1]; }')" + if [ -f /etc/astlinux-release ]; then + if [ -x /usr/sbin/asterisk ]; then + echo "AstLinux Release: $(cat /etc/astlinux-release) - $(/usr/sbin/asterisk -V)" + else + echo "AstLinux Release: $(cat /etc/astlinux-release)" + fi + fi + if [ -f /oldroot/cdrom/ver ]; then + echo "Runnix Release: $(cat /oldroot/cdrom/ver)" + fi + +) | sendmail -t + Property changes on: branches/1.0/package/msmtp/testmail.sh ___________________________________________________________________ Added: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2014-12-31 18:38:51
|
Revision: 6889 http://sourceforge.net/p/astlinux/code/6889 Author: abelbeck Date: 2014-12-31 18:38:44 +0000 (Wed, 31 Dec 2014) Log Message: ----------- msmtp, version bump to 1.6.0, with a ignore-AI_IDN patch Modified Paths: -------------- branches/1.0/package/msmtp/msmtp.mk Added Paths: ----------- branches/1.0/package/msmtp/msmtp-ignore-AI_IDN.patch Added: branches/1.0/package/msmtp/msmtp-ignore-AI_IDN.patch =================================================================== --- branches/1.0/package/msmtp/msmtp-ignore-AI_IDN.patch (rev 0) +++ branches/1.0/package/msmtp/msmtp-ignore-AI_IDN.patch 2014-12-31 18:38:44 UTC (rev 6889) @@ -0,0 +1,13 @@ +--- msmtp-1.6.0/src/net.c.orig 2014-12-31 12:21:15.000000000 -0600 ++++ msmtp-1.6.0/src/net.c 2014-12-31 12:22:55.000000000 -0600 +@@ -620,9 +620,7 @@ + hints.ai_addr = NULL; + hints.ai_next = NULL; + port_string = xasprintf("%d", port); +-#ifdef AI_IDN +- hints.ai_flags |= AI_IDN; +-#elif defined(HAVE_LIBIDN) ++#ifdef HAVE_LIBIDN + idna_to_ascii_lz(hostname, &idn_hostname, 0); + #endif + error_code = getaddrinfo(idn_hostname ? idn_hostname : hostname, Modified: branches/1.0/package/msmtp/msmtp.mk =================================================================== --- branches/1.0/package/msmtp/msmtp.mk 2014-12-30 15:04:18 UTC (rev 6888) +++ branches/1.0/package/msmtp/msmtp.mk 2014-12-31 18:38:44 UTC (rev 6889) @@ -4,8 +4,8 @@ # ############################################################# -MSMTP_VERSION = 1.4.32 -MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.bz2 +MSMTP_VERSION = 1.6.0 +MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.xz MSMTP_SITE = http://downloads.sourceforge.net/project/msmtp/msmtp/$(MSMTP_VERSION) MSMTP_DEPENDENCIES = openssl This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2015-01-01 14:29:50
|
Revision: 6890 http://sourceforge.net/p/astlinux/code/6890 Author: abelbeck Date: 2015-01-01 14:29:47 +0000 (Thu, 01 Jan 2015) Log Message: ----------- msmtp, cosmetic build fix (Thanks Michael), and simplify the ignore-AI_IDN patch Modified Paths: -------------- branches/1.0/package/msmtp/msmtp-ignore-AI_IDN.patch branches/1.0/package/msmtp/msmtp.mk Modified: branches/1.0/package/msmtp/msmtp-ignore-AI_IDN.patch =================================================================== --- branches/1.0/package/msmtp/msmtp-ignore-AI_IDN.patch 2014-12-31 18:38:44 UTC (rev 6889) +++ branches/1.0/package/msmtp/msmtp-ignore-AI_IDN.patch 2015-01-01 14:29:47 UTC (rev 6890) @@ -1,13 +1,11 @@ ---- msmtp-1.6.0/src/net.c.orig 2014-12-31 12:21:15.000000000 -0600 -+++ msmtp-1.6.0/src/net.c 2014-12-31 12:22:55.000000000 -0600 -@@ -620,9 +620,7 @@ +--- msmtp-1.6.0/src/net.c.orig 2015-01-01 08:15:57.000000000 -0600 ++++ msmtp-1.6.0/src/net.c 2015-01-01 08:17:22.000000000 -0600 +@@ -620,7 +620,7 @@ hints.ai_addr = NULL; hints.ai_next = NULL; port_string = xasprintf("%d", port); -#ifdef AI_IDN -- hints.ai_flags |= AI_IDN; --#elif defined(HAVE_LIBIDN) -+#ifdef HAVE_LIBIDN ++#if 0 && defined(AI_IDN) + hints.ai_flags |= AI_IDN; + #elif defined(HAVE_LIBIDN) idna_to_ascii_lz(hostname, &idn_hostname, 0); - #endif - error_code = getaddrinfo(idn_hostname ? idn_hostname : hostname, Modified: branches/1.0/package/msmtp/msmtp.mk =================================================================== --- branches/1.0/package/msmtp/msmtp.mk 2014-12-31 18:38:44 UTC (rev 6889) +++ branches/1.0/package/msmtp/msmtp.mk 2015-01-01 14:29:47 UTC (rev 6890) @@ -13,7 +13,7 @@ --with-ssl=openssl \ --without-libgsasl \ --without-libidn \ - --without-gnome-keyring \ + --without-libsecret \ --sysconfdir=/etc define MSMTP_INSTALL_TARGET_CMDS This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2015-01-05 14:11:27
|
Revision: 6905 http://sourceforge.net/p/astlinux/code/6905 Author: abelbeck Date: 2015-01-05 14:11:17 +0000 (Mon, 05 Jan 2015) Log Message: ----------- msmtp, version bump to 1.6.1 Modified Paths: -------------- branches/1.0/package/msmtp/msmtp.mk Removed Paths: ------------- branches/1.0/package/msmtp/msmtp-ignore-AI_IDN.patch Deleted: branches/1.0/package/msmtp/msmtp-ignore-AI_IDN.patch =================================================================== --- branches/1.0/package/msmtp/msmtp-ignore-AI_IDN.patch 2015-01-05 05:26:01 UTC (rev 6904) +++ branches/1.0/package/msmtp/msmtp-ignore-AI_IDN.patch 2015-01-05 14:11:17 UTC (rev 6905) @@ -1,11 +0,0 @@ ---- msmtp-1.6.0/src/net.c.orig 2015-01-01 08:15:57.000000000 -0600 -+++ msmtp-1.6.0/src/net.c 2015-01-01 08:17:22.000000000 -0600 -@@ -620,7 +620,7 @@ - hints.ai_addr = NULL; - hints.ai_next = NULL; - port_string = xasprintf("%d", port); --#ifdef AI_IDN -+#if 0 && defined(AI_IDN) - hints.ai_flags |= AI_IDN; - #elif defined(HAVE_LIBIDN) - idna_to_ascii_lz(hostname, &idn_hostname, 0); Modified: branches/1.0/package/msmtp/msmtp.mk =================================================================== --- branches/1.0/package/msmtp/msmtp.mk 2015-01-05 05:26:01 UTC (rev 6904) +++ branches/1.0/package/msmtp/msmtp.mk 2015-01-05 14:11:17 UTC (rev 6905) @@ -4,16 +4,17 @@ # ############################################################# -MSMTP_VERSION = 1.6.0 +MSMTP_VERSION = 1.6.1 MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.xz MSMTP_SITE = http://downloads.sourceforge.net/project/msmtp/msmtp/$(MSMTP_VERSION) MSMTP_DEPENDENCIES = openssl MSMTP_CONF_OPT += \ - --with-ssl=openssl \ + --with-tls=openssl \ --without-libgsasl \ --without-libidn \ --without-libsecret \ + --disable-gai-idn \ --sysconfdir=/etc define MSMTP_INSTALL_TARGET_CMDS This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2015-11-28 17:10:10
|
Revision: 7356 http://sourceforge.net/p/astlinux/code/7356 Author: abelbeck Date: 2015-11-28 17:10:08 +0000 (Sat, 28 Nov 2015) Log Message: ----------- msmtp, version bump to 1.6.3, and add system architecture string to 'testmail' script Modified Paths: -------------- branches/1.0/package/msmtp/msmtp.mk branches/1.0/package/msmtp/testmail.sh Modified: branches/1.0/package/msmtp/msmtp.mk =================================================================== --- branches/1.0/package/msmtp/msmtp.mk 2015-11-28 16:43:13 UTC (rev 7355) +++ branches/1.0/package/msmtp/msmtp.mk 2015-11-28 17:10:08 UTC (rev 7356) @@ -4,7 +4,7 @@ # ############################################################# -MSMTP_VERSION = 1.6.2 +MSMTP_VERSION = 1.6.3 MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.xz MSMTP_SITE = http://downloads.sourceforge.net/project/msmtp/msmtp/$(MSMTP_VERSION) MSMTP_DEPENDENCIES = openssl Modified: branches/1.0/package/msmtp/testmail.sh =================================================================== --- branches/1.0/package/msmtp/testmail.sh 2015-11-28 16:43:13 UTC (rev 7355) +++ branches/1.0/package/msmtp/testmail.sh 2015-11-28 17:10:08 UTC (rev 7356) @@ -65,9 +65,9 @@ fi if [ -f /etc/astlinux-release ]; then if [ -x /usr/sbin/asterisk ]; then - echo "AstLinux Release: $(cat /etc/astlinux-release) - $(/usr/sbin/asterisk -V)" + echo "AstLinux Release: $(cat /etc/astlinux-release) $(uname -m) - $(/usr/sbin/asterisk -V)" else - echo "AstLinux Release: $(cat /etc/astlinux-release)" + echo "AstLinux Release: $(cat /etc/astlinux-release) $(uname -m)" fi fi if [ -f /oldroot/cdrom/ver ]; then This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |