1. system information
        dspam-3.6.8_2
        FreeBSD 7.0
Configuration parameters: --sysconfdir=/usr/local/etc --with-logdir=/ var/log/dspam --with-dspam-home=/var/db/dspam --with-dspam-home- owner=root --with-dspam-home-group=mail --with-dspam-home-mode=0770 -- with-dspam-owner=root --with-dspam-group=mail --enable-syslog --enable- debug --enable-clamav --with-storage-driver=hash_drv --enable-homedir --with-dspam-mode=4510 --prefix=/usr/local --mandir=/usr/local/man -- infodir=/usr/local/info/ --build=i386-portbld-freebsd7.0

2. Addresses of the form "xxx xxx"[EMAIL PROTECTED] when passed to the mail delivery program get split into extra arguments. For example there are 2 arguments passed for the above address: the first is xxx and the second is [EMAIL PROTECTED] This tends to break the getopt calls in the delivery agents since they stop with the first argument without a -. Here is another example from the delivery program from a crash dump immediately after the getopt processing:

(gdb) p argv[0]
$4 = 0xbfbfef0c "/usr/local/bin/tmda"
(gdb) p argv[1]
$5 = 0xbfbfef20 "-r"
(gdb) p argv[2]
$6 = 0xbfbfef23 "\"freeman"
(gdb) p argv[3]
$7 = 0xbfbfef2c "A."
(gdb) p argv[4]
$8 = 0xbfbfef2f "Robert"
(gdb) p argv[5]
$9 = 0xbfbfef36 "\"@yahoo.com"
(gdb) p argv[6]
$10 = 0xbfbfef42 "-h"
(gdb) p argv[7]
$11 = 0xbfbfef45 ".mail"
(gdb) p argv[8]
$12 = 0xbfbfef4b "-d"
(gdb) p argv[9]
$13 = 0xbfbfef4e "bobrian"
(gdb) p argv[10]
$15 = 0xbfbfef56 "-j"
(gdb) p argv[11]
$17 = 0xbfbfef59 "zoon.lafn.org"
(gdb) p argv[12]
$18 = 0xbfbfef67 "-i"
(gdb) p argv[13]
$19 = 0xbfbfef6a "m39IYSgd022349"
(gdb) p argv[14]
$20 = 0xbfbfef79 "-p"
(gdb) p argv[15]
$21 = 0xbfbfef7c "22389"
(gdb) p argv[16]
$22 = 0xbfbfef82 "-e"
(gdb) p argv[17]
$23 = 0xbfbfef85 ""
(gdb) p argv[18]
$24 = 0x0

Reply via email to