Re: send-hook and procmailrc
On 2004-03-01, Lukas Ruf <ruf@xxxxxxxxx> wrote:
> Dear all,
>
> I would like to configure a send-hook such that I can take an
> action if and only if an email was sent to a single email
> address.
>
> For example, the send-hook should be triggered if the email goes to
> john.doe@xxxxxxxxx only but not if there are other email addresses in
> the To:, Cc:, or Bcc: field.
>
> Is there any way to specify such an expression for a send-hook?
Take a look at section 4.2.1 of the mutt manual, Pattern Modifier,
and see if that does what you want. E.g.,
send-hook '^~C ^john.doe@xxxxxxxxx$' ...
HTH,
Gary
--
Gary Johnson | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA