Tcl Library Source Code

View Ticket
Login
2026-11-16
00:06 • Ticket [1dd19ccd14] SMTPd Delivery Callback Error status still Open with 3 other changes artifact: 5d8de90b9d user: serhiy.storchaka
2026-11-15
23:39
Fix [1dd19ccd14]: the smtpd -deliver callback worked only with a single-word command. Call it as a command prefix with {*}. Add smtpd.test. leaf check-in: e3ea101883 user: serhiy.storchaka tags: smtpd-deliver-command-prefix
2022-06-30
13:06 • Ticket [1dd19ccd14] SMTPd Delivery Callback Error status still Open with 4 other changes artifact: f5c81be320 user: AaronM
13:06 • New ticket [1dd19ccd14]. artifact: 99f89a200b user: AaronM

Ticket UUID: 1dd19ccd149660d0a8ac9816d14e649d1fb15147
Title: SMTPd Delivery Callback Error
Type: Patch Version: tcl86 tcllib1.18
Submitter: AaronM Created on: 2022-06-30 13:06:11
Subsystem: smtpd Assigned To:
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2026-11-16 00:06:14
Resolution: None Closed By: nobody
    Closed on:
Description:
Line 530 of smtpd.tcl tries to eval a command but does not use eval. Line should be:

if {[catch {eval $deliver [state $channel from] \

not

if {[catch {$deliver [state $channel from] \
User Comments: serhiy.storchaka added on 2026-11-16 00:06:14:

Proposed fix in branch smtpd-deliver-command-prefix: -deliver is called as a command prefix with {*}. The eval suggested in the ticket would break on message data with spaces. Adds smtpd.test.