wow. we do use XCLIENT already.
but I did not consider it for testing purpose.

you made my day :)

вт, 2 окт. 2018 г. в 12:46, Patrick Ben Koetter <p...@sys4.de>:

> * Илья Шипицин <chipits...@gmail.com>:
> > вт, 2 окт. 2018 г. в 4:24, Wietse Venema <wie...@porcupine.org>:
> >
> > > ???? ???????:
> > > > Hello,
> > > >
> > > > we have pretty complicated setup. when we change something, we can
> break
> > > > something else.  however, we can describe "what must work".
> > >
> > > In the case of email, this is usually tested by sending email and
> > > monitoring one or more destination mailboxes, to determine if the
> > > message is delivered in the expected time and with the expected
> > > content.
> > >
> > > > is there a way of describing configuration testing like
> > > >
> > >
> https://openresty.gitbooks.io/programming-openresty/content/testing/test-nginx.html
> > > > ?
> > >
> > > SMTP is a store-and-forward protocol, therefore server responses
> > > alone cover only a small part of a complete email transaction.
> > >
> >
> > I understand that HTTP and SMTP are different (while HTTP borrowed a lot
> > from SMTP, like return status codes).
> > what I did already is "sendmail -bt" (become test) mode. it allows to
> test
> > some aspects of smtp rules (not many, mostly address manipulation).
> >
> > what I would like to test are
> >
> > 1) some IP are allowed to relay, some are not allowed (i'd like to
> specify
> > several IP addresses and see "relay allowed" or "relay not allowed")
> > 2) some domains should be delivered via LMTP, i.e. locally (I'd like to
> > specify both local and remote addresses and see what happens)
> > 3) DKIM signature is added to certain domains (via milter), I'd like to
> > send test messages and see
> >
> > well, at least "3)" can be tested via real use letters. not clear how to
> > test "1)" and "2)"
>
> For 1) and 2) read into XCLIENT. We use it for functional testing all the
> time. For 3) send the message to another (local) instance and let it
> verify,
> then parse the log.
>
>
> p@rick
>
>
>
> --
> [*] sys4 AG
>
> https://sys4.de, +49 (89) 30 90 46 64
> Schleißheimer Straße 26/MG,80333 München
>
> Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
> Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
> Aufsichtsratsvorsitzender: Florian Kirstein
>
>

Reply via email to