From bed5496e767e993b8791ba0f608582ec17af7a1a Mon Sep 17 00:00:00 2001 From: twittner Date: Tue, 25 Dec 2007 16:35:57 +0000 Subject: [PATCH] - added $MAILER instead of /usr/sbin/sendmail with commented out suggestion how to use this script with msmtp Changed files: fetchsrc_request -> 1.18 --- fetchsrc_request | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fetchsrc_request b/fetchsrc_request index 6084983..4183399 100644 --- a/fetchsrc_request +++ b/fetchsrc_request @@ -1,11 +1,16 @@ #!/bin/sh # $Id$ # +# Sending by +MAILER='/usr/sbin/sendmail' +# MAILER='/usr/bin/msmtp' # Sending via VIA="SENDMAIL" #VIA="localhost" VIA_ARGS="" #VIA_ARGS="some additional flags" +# e.g. for msmtp: +# VIA_ARGS='-a gmail' # # DISTFILES EMAIL DMAIL="distfiles@pld-linux.org" @@ -45,8 +50,8 @@ if [[ "$SPEC" != *.spec ]]; then fi if [ "$VIA" = "SENDMAIL" ]; then - echo >&2 "Requesting $SPEC:$BRANCH via sendmail${VIA_ARGS:+ ($VIA_ARGS)}" - cat <&2 "Requesting $SPEC:$BRANCH via $MAILER ${VIA_ARGS:+ ($VIA_ARGS)}" + cat < Subject: fetchsrc_request notify -- 2.44.0