[comp.mail.misc] comments in .forward ?

jeske@src.dec.com (Steve Jeske) (06/24/91)

I'm not a mail wizard, I don't read this group, so I hope it is an
appropriate one to ask this question to.  We're running Ultrix (3.1
or 4.x).  I'm not sure what program looks at my .forward, (is it
sendmail?) but it doesn't matter, my question is am I allowed to have
a comment line in my .forward, perhaps started by a #
sharp/pound/octothorpe sign, have it be ignored somehow?  Thanks.
	--Steve		jeske@src.dec.com	...!decwrl!jeske

rickert@mp.cs.niu.edu (Neil Rickert) (06/24/91)

In article <1991Jun23.220420.2718@src.dec.com> jeske@src.dec.com (Steve Jeske) writes:
>or 4.x).  I'm not sure what program looks at my .forward, (is it
>sendmail?) but it doesn't matter, my question is am I allowed to have

  Yes.  It is sendmail.

>a comment line in my .forward, perhaps started by a #

  Comments not allowed in standard version of sendmail.  However the address
itself could contain a comment as in:

  "comment" <address>


-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert@cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940

reich@magnus.acs.ohio-state.edu (A Minor Diety) (06/25/91)

In article <1991Jun24.161225.9285@mp.cs.niu.edu> rickert@mp.cs.niu.edu (Neil Rickert) writes:
|In article <1991Jun23.220420.2718@src.dec.com> jeske@src.dec.com (Steve Jeske) writes:
|  Comments not allowed in standard version of sendmail.  However the address
|itself could contain a comment as in:
|
|  "comment" <address>

What about:

  "comment" | <program>

Would this also work?
-- 
  DDDDDD             k                | reich@magnus.acs.ohio-state.edu
  D     D  `   cccc  k  kk   (^8      | Dick C. Reichenbach
  D     D  i  c      kkk              | "Humans have a way of showing up when
  DDDDDD   i   cccc  k  kk  WAS HERE  | you least expect them." - Denise Crosby

rickert@mp.cs.niu.edu (Neil Rickert) (06/25/91)

In article <1991Jun25.031543.21790@magnus.acs.ohio-state.edu> reich@magnus.acs.ohio-state.edu (A Minor Diety) writes:
>
>What about:
>
>  "comment" | <program>
>
>Would this also work?

 I don't believe so.  But you could use

 "comment" <|"program">

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert@cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940

fair@Apple.COM (Erik E. Fair) (06/25/91)

Your best bet is actually to enclose your comment in parens, e.g.

user@do.main (hello there, this is a comment),
user@dom.ain (and yet more here),

etc.

	Erik E. Fair	apple!fair	fair@apple.com

a3@rivm39.rivm.nl (Adri Verhoef) (06/25/91)

And what about multiple lines in your .forward file,
how are they handled?
  If just one line is read by sendmail, you could put
comments on a separate line.

  If you want to forward mail to multiple addresses,
do you put them all on one line, or can there be a trailing
backslash, should they be comma-separated or just white spaced?