[comp.mail.elm] reply-to features

kandall@nsg.sgi.com (Michael Kandall) (06/09/91)

Our company has two domain addresses: nsg.sgi.com and sgi.co.jp.

When users send to .jp, they want a different Reply-to than
when they send to .com.  Of course, if they send to someone
on .jp and CC someone else who's address is in the .com domain,
it becomes problematic.

So, we added this to ELM 2.3-P11.

  # reply-to processing
  askrt = ON
  # default
  replytodefault = kandall@nsg.sgi.com
  # reply to map with ed-style regular expresions
  replytomap = \.jp kandall@sgi.co.jp  \.com kandall@nsg.sgi.com

The Reply-to map is used as follows. It is a series of pattern-value
pairs.  When the user enters the To field, the contents of the To
field are check against the replytomap for a match.  If matched the
associated value becomes the Reply-To string.

I do not know if it is adequate for general use, but it works for us.

Added file rt_utils.c and slight mods to mailmsg1.c and readrc.c.
Maybe someone would be interested in developing the idea more, and
adding some Reply-To feature.

If there is interest in adding this to ELM, let me know, and I will
make the source available.


Mike
----
Michael Kandall 
Nihon Silicon Graphics