nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mhmail

2012-06-12 12:58:55
Norm wrote:

Maybe mhmail needs a '-server servername' option and perhaps
some other send options as well.

Perhaps, though is that necessary?  It seems that mhmail was
intended to be lean.  The man page recommends using comp and
send for interactive use.  For scripts, a different mts.conf
could be used by setting MHMTSCONF, e.g.,

  $ cat /tmp/mts.conf 
  servers: localhost

  $ MHMTSCONF=/tmp/mts.conf mhmail levine \
    -from guesswho@localhost -subject test -body hello

Note that mhmail uses post, not send.  And it doesn't read
the user's profile or aliases.  And I think that -from is
now required when sending, so we'll have to update that in
the man page.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>