masqmail
diff tests/relay-to-localhost-mta/README @ 63:49ca781e1503
reworked the test cases completely
they are split into four independent tests now
and each one is tested to work with the current version
author | meillo@marmaro.de |
---|---|
date | Sun, 30 May 2010 16:05:49 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/relay-to-localhost-mta/README Sun May 30 16:05:49 2010 +0200 1.3 @@ -0,0 +1,24 @@ 1.4 +relay-to-localhost-mta 1.5 +---------------------- 1.6 + 1.7 +Send three mails, using different options, to stdin of masqmail, which 1.8 +relays it per STMP to a local MTA listening at localhost:25. 1.9 + 1.10 +So use it only if you have an MTA running on your box (sendmail, 1.11 +exim, qmail or whatever, or masqmail when you have it already 1.12 +installed). 1.13 + 1.14 +If it works, you should get three mails. 1.15 +Two log files, masqmail.log and debug.log will also be created within 1.16 +this directory. They may give some information if anything went wrong. 1.17 + 1.18 +The scripts assume that your login name corresponds to your mailbox 1.19 +(quite probable) and that your MTA listens on port 25 with the 1.20 +interface which corresponds to the hostname as returned by the shell 1.21 +command "hostname" (without quotes...), also very probable. 1.22 + 1.23 +If the log files reveal that your MTA is not willing to relay, you may 1.24 +have to qualify the hostname. You might want to do this in a way 1.25 +similar to: 1.26 + 1.27 + sed 's/RECV_HOST/foo.example.org/' test.tpl >test