procmail
[Top] [All Lists]

Re: Forwarding mail from user+foo to foo

1997-12-12 17:57:18

On December 9, 1997, Philip Guenther <guenther(_at_)gac(_dot_)edu> said:
      # If it's not a special case, forward to the part after the plus.
      # The "--" keep someone from slipping an argument to sendmail
      # by mailing to, say, <rsr+-bs(_at_)your-machine(_dot_)where(_dot_)ever>
      :0
      ! -- "$ARG"

Hmm, wait a second -- we're not checking whether $ARG is anything,
so if I send it to just rsr, the above is still matched, and
sendmail tries to mail to a blank address ...

-roy
           Roy S. Rapoport / rsr(_at_)macromedia(_dot_)com / 415-252-2215
                         Save the Mac, kill Apple