fermi-ad / controls

Central repo for reporting bugs, making feature requests, managing RFCs, and requesting seminar topics.
https://www-bd.fnal.gov/controls/
2 stars 0 forks source link

Dabbel mail bug #25

Closed awattsFNAL closed 8 months ago

awattsFNAL commented 8 months ago

Describe the bug

Initially reported by Bill Sullivan:

I don't know if this is the right place to ask this, but it seamed like a good guess. Whenever I run dabbel I get this message, I'm not sure what to do with it, but my commands seem to work based on D80. What do I do to get rid of it?

Your DABBEL input was processed without error.
s-nail: Send options without primary recipient specified.
mailx (s-nail v14.9.22): send and receive Internet mail
Send-only mode: send mail "to-addr"(ess) receiver(s):
  mailx [-DdEFinv~#] [-: spec] [-A account] [:-C "field: body":]
        [:-a attachment:] [:-b bcc-addr:] [:-c cc-addr:]
        [-M type | -m file | -q file | -t] [-r from-addr] [:-S var[=value]:]
        [-s subject] [-T "arget: addr"] [:-X/Y cmd:] [-.] :to-addr:
"Receive" mode, starting on [-u user], primary *inbox* or [$MAIL]:
  mailx [-DdEeHiNnRv~#] [-: spec] [-A account] [:-C "field: body":]
        [-L spec] [-r from-addr] [:-S var[=value]:] [-u user] [:-X/Y cmd:]
"Receive" mode, starting on -f (secondary $MBOX or [file]):
  mailx [-DdEeHiNnRv~#] [-: spec] [-A account] [:-C "field: body":] -f
        [-L spec] [-r from-addr] [:-S var[=value]:] [:-X/Y cmd:] [file]
. -d sandbox, -:/ no .rc files, -. end options and force send-mode
. -a attachment[=input-charset[#output-charset]]
. -b, -c, -r, -T, to-addr: ex@am.ple or '(Lovely) Ex <am@p.le>'
. -M, -m, -q, -t: special input (-t: template message on stdin)
. -e only mail check, -H header summary; both: message specification via -L
. -S (un)sets variable, -X/-Y execute commands pre/post startup, -#: batch mode
. Features via "$ mailx -Xversion -Xx"; there is --long-help
. Bugs/Contact via "$ mailx -Sexpandaddr=shquote '\$contact-mail'"
DABBEL: mail_send() of log_warn failed(1) (%SYSTEM-F-ABORT).

To Reproduce

Bill was looking at Z:BSTSWITCH initially on clx50, but now reports this error message regardless of clx node or device or Dabbel command. Bill does report that according to D80, his changes to appear to be working in Dabbel despite the error message.

Other users are reporting this issue with any Dabbel command on any clx node.

Affected system

awattsFNAL commented 8 months ago

@charlieking65 reports that @huaji168 is currently the keeper of Dabbel.

awattsFNAL commented 8 months ago

@bshendricks reports a fix to this bug, which turned out to be an issue with mail_send_message() in ul_clib under a special case. Unclear why this hasn't shown up before.