[comp.mail.mush] Commas in TO: fields

jipping@cs.hope.edu (Mike Jipping) (07/19/90)

I'm having trouble with commas in the TO: field of mail messages from
Mush.

Whenever I send to multiple recipients, or to one recipient with a Cc: to
someone, Mush makes a list for sendmail that is separated by commas.  My
sendmail gags on this, giving me errors on all recipients except the last
one, which has no comma appended.  This happens whether I put commas
between multiple recipients or not.

I've tried defining and not defining NO_COMMAS in config.h, but either
way has no effect [this is predicted by the comments in config.h].

What can I do?  Have I done something wrong in constructing the software?

My configuration: SPARCstation-1 running SunOS 4.1 with Mush 7.1.1. The
sendmail version is 4.61.

      Mike Jipping                        Internet: jipping@cs.hope.edu
      Hope College                          BITNET: JIPPING@HOPE
      Department of Computer Science         Voice: Hey!

schaefer@ogicse.ogc.edu (Barton E. Schaefer) (07/20/90)

In article <1990Jul19.122647.23304@cs.hope.edu> jipping@cs.hope.edu (Mike Jipping) writes:
} 
} Whenever I send to multiple recipients, or to one recipient with a Cc: to
} someone, Mush makes a list for sendmail that is separated by commas.  My
} sendmail gags on this, giving me errors on all recipients except the last
} one, which has no comma appended.
} 
} I've tried defining and not defining NO_COMMAS in config.h, but either
} way has no effect [this is predicted by the comments in config.h].

Defining NO_COMMAS should have worked.  I suspect that you didn't recompile
all the necessary .o files.  Actually, the only one that needs recompiling
is mail.o.  Define NO_COMMAS in config.h, remove mail.o, and recompile.
If you still get commas in the list passed to sendmail, doublecheck your
config.h to make sure that the definition of NO_COMMAS is really happening,
that is, that it is not inside the false part of some #if/#else.

Patch #2 included a fix to congif.h-dist to use NO_COMMAS for SunOS4.1.
-- 
Bart Schaefer						schaefer@cse.ogi.edu