> From:  Dan Harkless <[EMAIL PROTECTED]>
> Date:  Fri, 03 Mar 2000 11:14:01 -0800
>
> Well, not as such, since it uses a '+' character, not a '-' character.  I
> have very little experience with qmail -- does it already provide a facility
> for tacking on the '-<string>' extensions for you?  
> 
> sendmail does not provide any special way to add the '+<string>'s, so it's
> appropriate for nmh to handle it.  If qmail handles it for you, though, we'
> d
> have to worry about both nmh and qmail each appending a copy and getting an
> address like "dan-nmh-nmh" (in case you're wondering, my "dan-nmh" address
> is just a plain old manual sendmail alias to "dan" on my machine).
> 
> If qmail does not provide a facility to add the extensions, though, I'd be
> happy to put it into nmh.  Neil, did you say a while back that there was
> another mail client that also used the $USERPLUS environment variable?  If
> so, and it's some kind of ad-hoc standard, I wouldn't want to rename it to
> remove the word "PLUS".  In this case, we could add another environment
> variable called something like $USER_EXTENSION ($USEREXTENSION?) and tack on
> the value with a '-'.

When you send mail via qmail it eventually goes through qmail-inject, which 
respects these environment variables:

ENVIRONMENT VARIABLES
       For  the  convenience of users who do not run qmail-inject
       directly, qmail-inject takes many options through environ�
       ment variables.

       The  user  name  in  the  From  header  field  is  set  by
       QMAILUSER, MAILUSER, USER,  or  LOGNAME,  whichever  comes
       first.

       The  host  name is normally set by the defaulthost control
       but can be overridden with QMAILHOST or MAILHOST.

       The personal name is QMAILNAME, MAILNAME, or NAME.

       The default envelope sender address is  the  same  as  the
       default From address, but it can be overridden with QMAIL�
       SUSER and QMAILSHOST.  It may also be modified  by  the  r
       and  m  letters  described below.  Bounces will be sent to
       this address.

       If QMAILMFTFILE is set, qmail-inject reads a list of mail�
       ing  list  addresses,  one  per  line, from that file.  If
       To+Cc includes one of those addresses (without  regard  to
       case), qmail-inject adds a Mail-Followup-To field with all
       the To+Cc addresses.  qmail-inject does not add  Mail-Fol�
       lowup-To to a message that already has one.

       The  QMAILINJECT  environment  variable can contain any of
       the following letters:

       c      Use address-comment style for the From field.  Nor�
              mally qmail-inject uses name-address style.

       s      Do  not  look  at  any  incoming Return-Path field.
              Normally, if Return-Path is supplied, it  sets  the
              envelope sender address, overriding all environment
              variables.  Return-Path is deleted in any case.

       f      Delete any incoming From field.  Normally, if  From
              is supplied, it overrides the usual From field cre�
              ated by qmail-inject.

       i      Delete any incoming Message-ID field.  Normally, if
              Message-ID is supplied, it overrides the usual Mes�
              sage-ID field created by qmail-inject.

       r      Use a per-recipient VERP.  qmail-inject will append
              each  recipient  address  to the envelope sender of
              the copy going to that recipient.

       m      Use a per-message VERP.  qmail-inject  will  append
              the  current  date  and  process ID to the envelope
              sender.

So clearly it provides for overriding the name, but not for simply adding an 
extension.  I think adding this functionality to nmh would be useful.

I would then also be able to repackage my spam-proof addresses in a way that 
I wouldn't be embarrassed to share with others.

Chris

-- 
Chris Garrigues                 virCIO
http://www.DeepEddy.Com/~cwg/   http://www.virCIO.Com
+1 512 432 4046                 +1 512 374 0500
                                4314 Avenue C
O-                              Austin, TX  78751-3709
                                

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

    Nobody ever got fired for buying Microsoft,
      but they could get fired for relying on Microsoft.


PGP signature

Reply via email to