[comp.mail.mush] Having problems with carbon copies and aliases using v7.2.0

ccandrew@brolga.cc.uq.oz.au (Andrew Vellnagel) (02/13/91)

	I will start with a bit of background.  I, until recently, had been 
using VMS mail as my mailer but have now, due to the fact that I am increasingly using UNIX, am having my mail forwarded to that UNIX machine and have deceided
to use MUSH as my mailer.  The version that I am using is v7.2.0.  I have set
up an alias => alias mush mush -C -S.  I am rather new to the UNIX operating
system and even newer to MUSH.  

	Now to my actual problems.  The first one is with carbon copies.  I
have tried to acheive CC to myself in three ways.  The first is I type mush and due to my alias for mush go into cursors mode.  I then type m to send a mail
message.  At the To: prompt I type name1 <CR> then the subjet line.  I then 
enter a ~c to carbon copy and enter name2 <CR>.  When I go to send the message I
get the following response:-
     submit: (USER) Unknown user name in ""name1 name2"".  submit: message 
submission aborted.

	The second method I use is when I first enter mush I type MUSH -c name1
and then follow through the above steps to send a message (except of course
~c).  This sends the message to the correct reciepent but I do not get a carbon
copy.

	The third method that I have tried is that after entering mush I type
:mail -c name1.  After going through the above steps on trying to send the
message I get the same outcome as method 1.

	My second problem is with setting up mail aliases.  In .mushrc if I set
up a mail alias such as => alias test1 address1 and then send mail to test1 it
works fine.  However, if I try to set up a distrubtion list (a alias to send
to more than one person) such as => alias test2 address1 address2 ... and
send mail to test2 I get the message
    submit: Unable to parse address
    submit: message submission aborted.

	When setting up my distrubtion list I have also tried
     alias test2 'address1 address2....'
                 'address1,address2....'
      		 adress1,address2....
		 "adress1 adrress2...."
		 "adress1,adress2...." 
all these giving me basically the same error mesage as above.

	This is beginning to frustrate me no ends and I am considering changing
to mh.  Could anyone please offer any assists.

	Thanks in advance,
	Andrew Vellnagel.

Internet: ccandrew@brolga.cc.uq.oz.au                  Phone: +61 7 365 4115
  Postal: Andrew Vellnagel, Prentice Computer Centre
          The University of Queensland, St Lucia, QLD Australia 4072.

P.S. Below is a copy of my .mushrc file


if hdrs_only
    set hdr_format='%28a %M %-2N  %.33s'
    exit
else
    set hdr_format='%28a %M %-2N (%3.5l li) %.25s'
endif

set prompt="(%T) %f: #%m of %t> "

#my_hdr Reply-to:ccandrew@brolga.cc.uq.oz.au

set newline

set ask verify warning
set ignoreeof="echo 'Use "'"'quit'"'" to quit.'"

ignore message-id received

set nonobang

set history = 100

set unix

source $HOME/.mailrc

set pager=less

set wrapcolumn=75

set autosign = ~/.sig

set pre_indent_str='On %M %N, %T, %.50n wrote:\n} Subject: %.65s'
set indent_str='> '     # actual message text is preceded by a ">"
set post_indent_str='}-- End of excerpt from %.50n\n'

set in_reply_to='%f\n\t"%s" (%d)'

set curses_help
bind \n display
bind e macro "[line-mode]edit\n"
bind p macro "[line-mode]Print\n"
bind R macro "[line-mode]reply -ei "
bind l macro "[line-mode]Pipe enscript -G -Plps40\n"
bind L macro "[line-mode]Pipe enscript -G -Palw\n"
bind P macro "[line-mode]Pipe lpr" 
bind m macro "[line-mode]mail -e\n"

cmd dq 'd \!*; q'
cmd unread 'flags \!* u o'
cmd : curses

#
# basic variable settings
#
set cmd_help=cmd_help
set home=/h/u1/ccandrew
set hostname='brolga brolga.cc.uq.oz.au'
set realname='Andrew Vellnagel'
#
# aliases
#
alias and ccandrew@uqvax.cc.uq.oz.au 
alias ops 'ccjeff@uqvax.cc.uq.oz.au ccmark@uqvax.cc.uq.oz.au ccpeterc@uqvax.cc.uq.oz.au ccglenda@uqvax.cc.uq.oz.au ccxavier@uqvax.cc.uq.oz.au ccandrew@uqvax.cc.uq.oz.au ccshellie@uqvax.cc.uq.oz.au ccyamini@uqvax.cc.uq.oz.au'
alias glenu flexmang@jasper.ucq.edu.au
alias glenv flexmang@topaz.ucq.edu.au
#
# curses mode key bindings
#
bind 'n' display-next
#bind 'p' display
bind 't' display
bind 'T' top
bind '.' display
#bind 'm' mail
bind 'M' mail-flags
bind 'r' reply -i
#bind 'R' reply-all
bind 'j' next-msg
bind 'J' next-msg
bind 'k' back-msg
bind 'K' back-msg
bind '+' next-msg
bind '-' back-msg
bind '\n' next-msg
bind '\CK' back-msg
bind '^' first-msg
bind '$' last-msg
bind '{' top-page
bind '}' bottom-page
bind 'g' goto-msg
bind 'c' copy
bind 'C' copy-list
bind 'd' delete
bind 'D' delete-list
bind 'f' folder
bind 's' save
bind 'S' save-list
bind 'u' undelete
bind 'U' undelete-list
bind 'w' write
bind 'W' write-list
bind '*' mark
bind '\CP' preserve
bind '\CU' update
bind 'q' quit
bind 'Q' quit!
bind 'x' exit
bind 'X' exit!
bind 'o' sort
bind 'O' sort-reverse
bind '/' search-next
bind '\C_' search-back
bind '\CN' search-again
bind 'z' screen-next
bind 'Z' screen-back
bind '\CL' redraw
bind '\CR' reverse-video
bind 'a' alias
bind 'b' bind
bind 'B' unbind
bind 'h' my-hdrs
bind 'i' ignore
bind 'v' variable
bind '&&' bind-macro
bind '&:' map
bind '&!' map!
bind '(' source
bind ')' saveopts
bind ':' line-mode
bind '!' shell-escape
bind '|' lpr
bind '%' chdir
bind 'V' version
bind '?' help
-- 


Internet: ccandrew@brolga.cc.uq.oz.au                  Phone: +61 7 365 4114 
  Postal: Andrew Vellnagel, Prentice Computer Centre

argv@turnpike.Eng.Sun.COM (Dan Heller) (02/13/91)

In article <1991Feb13.033910.7606@brolga.cc.uq.oz.au> ccandrew@brolga.cc.uq.oz.au (Andrew Vellnagel) writes:
>   The version that I am using is v7.2.0.

Ok, now which kind of UNIX are you using?  And, more importantly,
what kind of MTA are you using?  Let me guess:

> get the following response:-
>      submit: (USER) Unknown user name in ""name1 name2"".  submit: message 
> submission aborted.

"submit" gives it away.  You're running MMDF, right?  If not, I'm
lost... So, let's say you are.  You need to recompile Mush with
-DMMDF defined and perhaps other things as well.  The README file
has a set of things to do if you are using MMDF.  Once you do that
stuff, you should be set.

However, I am confused about something.  If you have been using
Mush that didn't have MMDF defined, you shouldn't have been able
to use it at all.  It sounds, from your other comments, that you
can sometimes send mail ok and you are certainly reading mail
without any problems.

Keep this discussion on the net -- don't mail me about it -- I
don't know all there is to know about MMDF and I think that
others will be able to help and others still will learn something
from it.

--
Dan Heller
------------------------------------------------
O'Reilly && Associates 		      Zyrcom Inc
Senior Writer			       President
argv@ora.com			argv@zipcode.com

ccandrew@brolga.cc.uq.oz.au (Andrew Vellnagel) (02/14/91)

	Firstly let me apologize for my original posting.  It was written with
much haste.

argv@turnpike.Eng.Sun.COM (Dan Heller) writes:

>In article <1991Feb13.033910.7606@brolga.cc.uq.oz.au> ccandrew@brolga.cc.uq.oz.au (Andrew Vellnagel) writes:
>>   The version that I am using is v7.2.0.

>Ok, now which kind of UNIX are you using?  And, more importantly,
>what kind of MTA are you using?  Let me guess:

	I am using Sun OS v4.1 and my MTA is MMDF.
>> get the following response:-
>>      submit: (USER) Unknown user name in ""name1 name2"".  submit: message 
>> submission aborted.

>"submit" gives it away.  You're running MMDF, right?  If not, I'm
>lost... So, let's say you are.  You need to recompile Mush with
>-DMMDF defined and perhaps other things as well.  The README file
>has a set of things to do if you are using MMDF.  Once you do that
>stuff, you should be set.

	Unfortunately I have not yet been able to find out with what 
paremeters mush was originally compiled with.

	I have managed to work a fix for my carbon copy problem.  I used the
set record = filename command to make a copy of everything that I post out.
Which of course is in effect what I was really trying to achieve.  However, my
problem with seting up a distrubtion list using alias is still outstanding.

	Andrew Vellnagel

Internet: ccandrew@brolga.cc.uq.oz.au                  Phone: +61 7 365 4115
  Postal: Andrew Vellnagel, Prentice Computer Centre
          The University of Queensland, St Lucia, QLD Australia 4067. 
-- 


Internet: ccandrew@brolga.cc.uq.oz.au                  Phone: +61 7 365 4114 
  Postal: Andrew Vellnagel, Prentice Computer Centre