#327 Add a smtpd::configure -banner callback

closed
smtpd (3)
5
2011-04-11
2011-03-26
No

The first thought using the smtpd package is that the first response the smtpd does to an accepted client connection is to put up a "banner" reply to the client shouldnt be hardcoded by the smtpd package.

This line is hardcoded in the source as : Puts $channel "220 $options(serveraddr) tcllib smtpd $version; [timestamp]" .
Developping your own smtpd application using the smtpd package as of now leaves you having no way to set your own banner relevant to your own implementation.

I suggest that there should be something like smtpd::configure -banner callback

Discussion

  • Andreas Kupries

    Andreas Kupries - 2011-04-11

    Accepted. Although the option will take the text of the banner, and not be a callback.
    Note that some parts of the banner stay hardwired, namely status code (220), server-address, and the timestamp.

     
  • Andreas Kupries

    Andreas Kupries - 2011-04-11
    • assigned_to: nobody --> andreas_kupries
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks