On 3/29/2012 5:51 PM, Wietse Venema wrote:
> Wietse Venema:
>> Ralf Hildebrandt:
>>> * Reindl Harald <h.rei...@thelounge.net>:
>>>> Hi
>>>>
>>>> i really love "smtpd_reject_footer" to put contact informations
>>>> and a hint that SMTP auth is needed in the response
>>>>
>>>> would it not make sense to add the content of "smtpd_reject_footer"
>>>> to the default-answer instead in a seperated line which can be
>>>> easily achieved by put \n at the begin
>>>>
>>>> i noticed that some software out there seems to handle it
>>>> wrong and display ONLY the reject footer at all or whatever
>>>> is the last response line
>>>
>>> Indeed. I received several error messages that had the
>>> smtpd_reject_footer reduced to what you observed.
>>
>> That is clear. However, smtpd_reject_footer is part of the stable
>> release, so it cannot be changed.
>>
>> Hence, my request for suggestions how we would document this. Maybe
>> we can use a name similar, but not identical, to "smtpd_reject_footer".
> 
> Another option is to extend smtpd_reject_footer's feature set,
> so that
> 
>       smtpd_reject_footer = \c Text to append
> 
> Will append the text without starting a new line. All other
> smtpd_reject_footer features would work as before.
> 
>       Wietse


I like this as the least disruptive change.

Docs could be something like:

Use the two character sequence \c at the beginning of the text to
signal a single-line response.  This is a compatibility aid for mail
clients that only present one line of the server response to the
user.   The \c feature is available with postfix 2.10 and later.

Example:

/etc/postfix/main.cf:
    smtpd_reject_footer = \c For assistance, call 800-555-0101.

Server response:

    550-5.5.1 <user@example> Recipient address rejected: User
unknown; For assistance, call 800-555-0101.





Reply via email to