Multi-line error messages: possible? how?

Multi-line error messages: possible? how?

Post by David Le » Thu, 18 Jun 1998 04:00:00

(sendmail 8.9.0, Solaris 2.6)

We use the "virtusertable" FEATURE to map incoming e-mail names, entries
of the form;

At the end of the table, we put a general entry:

All this basically works well using a "dbm" map for the virtusertable:
that is, mail to unregistered users is caught by this "catch-all".

But we would like the text (that is, "No such user") to be a multi-line
message.  Is this possible?  (I have tried a few experiments with no
success, and also had a quick look at the source code, including that of
"makemap", and the solution, if any, doesn't seem obvious.)

(a) is it technically possible with the HELO/EHLO dialogue to handle
a multiline message?

(b) if so, how can I do it?

Thanks in advance.


:  David Lee                                I.T. Service          :
:  Systems Programmer                       Computer Centre       :
:                                           University of Durham  :
:  Phone:    +44 191 374 2882 (ddi)         South Road            :
:  Fax:      +44 191 374 7759               Durham                :