From: <abe...@us...> - 2012-08-25 22:43:50
|
Revision: 5640 http://astlinux.svn.sourceforge.net/astlinux/?rev=5640&view=rev Author: abelbeck Date: 2012-08-25 22:43:42 +0000 (Sat, 25 Aug 2012) Log Message: ----------- msmtp, version bump to 1.4.28, add new variable SMTP_HOST_DOMAIN which when defined sets the hostname used by the SMTP EHLO (or LMTP LHLO) command, the default is to use 'localhost'. Modified Paths: -------------- branches/1.0/package/msmtp/msmtp.init branches/1.0/package/msmtp/msmtp.mk branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf Modified: branches/1.0/package/msmtp/msmtp.init =================================================================== --- branches/1.0/package/msmtp/msmtp.init 2012-08-25 20:07:23 UTC (rev 5639) +++ branches/1.0/package/msmtp/msmtp.init 2012-08-25 22:43:42 UTC (rev 5640) @@ -19,10 +19,6 @@ DOMAIN="$SMTP_DOMAIN" fi - if [ -n "$SMTP_HOSTNAME" ]; then - HOSTNAME="$SMTP_HOSTNAME" - fi - PORT="${SMTP_PORT:-25}" # MSMTP config generate... @@ -34,6 +30,10 @@ timeout 30 maildomain $DOMAIN" > /tmp/etc/msmtprc + if [ -n "$SMTP_HOST_DOMAIN" ]; then + echo "domain $SMTP_HOST_DOMAIN" >> /tmp/etc/msmtprc + fi + if [ -n "$SMTP_FROM" ]; then echo "auto_from off from $SMTP_FROM" >> /tmp/etc/msmtprc Modified: branches/1.0/package/msmtp/msmtp.mk =================================================================== --- branches/1.0/package/msmtp/msmtp.mk 2012-08-25 20:07:23 UTC (rev 5639) +++ branches/1.0/package/msmtp/msmtp.mk 2012-08-25 22:43:42 UTC (rev 5640) @@ -4,9 +4,9 @@ # ############################################################# -MSMTP_VERSION = 1.4.27 +MSMTP_VERSION = 1.4.28 MSMTP_SOURCE = msmtp-$(MSMTP_VERSION).tar.bz2 -MSMTP_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/msmtp/ +MSMTP_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/msmtp MSMTP_DEPENDENCIES = openssl MSMTP_CONF_OPT += \ Modified: branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf =================================================================== --- branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2012-08-25 20:07:23 UTC (rev 5639) +++ branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2012-08-25 22:43:42 UTC (rev 5640) @@ -347,9 +347,11 @@ ## The from domain of SMTP messages. #SMTP_DOMAIN="mysite.com" ## -## SMTP_HOSTNAME -## The from hostname of SMTP messages. -#SMTP_HOSTNAME="pbx" +## SMTP_HOST_DOMAIN +## Not required in most cases, the default is to use 'localhost'. +## Try changeing the default if mails get rejected due to anti-SPAM measures. +## Defines the hostname used by the SMTP EHLO (or LMTP LHLO) command. +#SMTP_HOST_DOMAIN="pbx.astlinux.org" ## ## SMTP_FROM ## Not required in most cases, generated automatically if not defined This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |