• Patch: Elm ME+ 2.5 PLalpha51 -> Elm ME+ 2.5 PLalpha52 [1/7] (3/5)

    From Kari Hurtta@21:1/5 to All on Mon Jun 8 19:45:13 2020
    [continued from previous message]

    *** 5693,5743 ****
    esac

    test_it=n
    ! case "$d_dsn" in
    ! "$define") dflt=y
    ! test_it=y
    ! ;;
    ! "$undef") dflt=n;;
    ! *)
    ! case "$sendmail_version" in
    ! 8.*|9.*|10.*)
    ! test_it=y
    ! ;;
    ! *)
    ! dflt=n
    ! rp="Can I test if your mailer supports DSN options: -N -R -V? [$dflt]" ! $echo $n "$rp $c"
    ! . myread
    ! case "$ans" in
    ! y*)
    ! test_it=y
    ! ;;
    ! esac
    ! ;;
    ! esac

    ! if $test $test_it = y ; then
    ! echo " "
    ! echo "Testing if your mailer supports DSN options: -N -R -V ..."

    ! $cat >test.mailer <<EOF
    Subject: Testing $mailer

    Running $mailer -N success -R hdrs -V zzz $mailer_test_pattern
    EOF

    ! if $mailer -N success -R hdrs -V zzz $mailer_test_pattern >/dev/null <test.mailer
    ! then
    ! echo "Yup. Options -N succees -R hdrs -V zzz perhaps works."
    ! dflt=y
    ! else
    ! echo "Seems that options -N succees -R hdrs -V zzz does not work."
    ! dflt=n
    ! fi
    ! rm test.mailer
    fi
    - ;;
    - esac

    if $test $test_it = y ; then
    cat <<EOF
    --- 5805,5857 ----
    esac

    test_it=n
    ! if $test "$mailer" != none; then
    ! case "$d_dsn" in
    ! "$define") dflt=y
    ! test_it=y
    ! ;;
    ! "$undef") dflt=n;;
    ! *)
    ! case "$sendmail_version" in
    ! 8.*|9.*|10.*)
    ! test_it=y
    ! ;;
    ! *)
    ! dflt=n
    ! rp="Can I test if your mailer supports DSN options: -N -R -V? [$dflt]"
    ! $echo $n "$rp $c"
    ! . myread
    ! case "$ans" in
    ! y*)
    ! test_it=y
    ! ;;
    ! esac
    ! ;;
    ! esac

    ! if $test $test_it = y ; then
    ! echo " "
    ! echo "Testing if your mailer supports DSN options: -N -R -V ..."

    ! $cat >test.mailer <<EOF
    Subject: Testing $mailer

    Running $mailer -N success -R hdrs -V zzz $mailer_test_pattern
    EOF

    ! if $mailer -N success -R hdrs -V zzz $mailer_test_pattern >/dev/null <test.mailer
    ! then
    ! echo "Yup. Options -N succees -R hdrs -V zzz perhaps works."
    ! dflt=y
    ! else
    ! echo "Seems that options -N succees -R