view tests/localhost-stdin/README @ 284:4869321aa7bf

recognize the program name `newaliases' too We still simply exit in this mode, but now we can create a link called `newaliases' to masqmail instead of needing a script to call `masqmail -bi'. `ln /bin/true /usr/bin/newaliases' would be a fancy way too, but letting the MTA handle it is probably the safer approach.
author markus schnalke <meillo@marmaro.de>
date Tue, 07 Dec 2010 17:09:07 -0300
parents 49ca781e1503
children
line wrap: on
line source

localhost-stdin
---------------

Three mails are sent, using different options, to <you@localhost>.
local.sh sends mail accepted from stdin and sends them to a fake local
mailbox, using your login name. If it works, there should be a file
named with your login name with the mails. You can look at it with cat
or less, or with an ordinary mail program.

Two log files, masqmail.log and debug.log will also be created within
this directory. They may give some information if anything went wrong.

Run them from within this directory, preferably NOT as root, but you
got to have write permission for this directory.