annotate tests/localhost-stdin/makefile @ 246:4cff8638dd9b

SMTP client: tries EHLO now always first Changed the behavior of the SMTP client. Now always an EHLO greeting is sent, no matter what kind of greeting text the server had sent. If the EHLO failed, an HELO greeting is tried as fall back. This is the behavior RFC 2821 requires (section 3.2). This change will fix setups that were not possible to sent to a server because that requires AUTH but hadn't said ``ESMTP'' in its greeting message. See also: Debian bug #349211 Thanks to Steffen (inne)
author markus schnalke <meillo@marmaro.de>
date Thu, 28 Oct 2010 16:40:02 -0300
parents 0379789a847b
children 60bb2dbe2866
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
1 # Makefile by markus schnalke <meillo@marmaro.de>
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
2 # heavily based on Makefile.am written by oliver kurth
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
3
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
4 all: test.conf
46
3cb6f383f07e fixed tests/local.sh
meillo@marmaro.de
parents: 6
diff changeset
5 mkdir -p ./input ./lock
6
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
6
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
7 test.conf: test.conf.tpl
46
3cb6f383f07e fixed tests/local.sh
meillo@marmaro.de
parents: 6
diff changeset
8 # fails if the current path contains `^'.
64
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
9 sed "s/SMTP_HOST/`hostname`/; s^PWD^`pwd`^" $< >$@
6
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
10
c9bce6bb2a5d switched tests dir to ordinary Makefile
meillo@marmaro.de
parents:
diff changeset
11 clean:
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
12 rm -f test.conf
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
13
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
14 realclean: clean
46
3cb6f383f07e fixed tests/local.sh
meillo@marmaro.de
parents: 6
diff changeset
15 rm -rf ./input ./lock
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 46
diff changeset
16 rm -f *.log `logname`