Next: , Previous: Aliasing, Up: Reading Mail


Replying

mail [address...]
m [address...]
Switches to compose mode. After composing the message, sends messages to the specified addresses.
reply [msglist]
respond [msglist]
r [msglist]
For each message in msglist, switches to compose mode and sends the composed message to the sender and all recipients of the message.
Reply [msglist]
Respond [msglist]
R [msglist]
Like reply, except that the composed message is sent only to originators of the specified messages.

Notice, that setting mail variable flipr (see Mail Variables) swaps the meanings of the two above commands, so that reply sends the message to the sender and all recipients of the message, whereas Reply sends it to originators only.

followup [msglist]
fo [msglist]
Switches to compose mode. After composing, sends the message to the originators and recipients of all messages in msglist.
Followup [msglist]
F [msglist]
Similar to followup, but reply message is sent only to originators of messages in msglist.

To determine the sender of the message mail uses the list of sender fields (see Controlling Sender Fields). The first field from this list is looked up in message headers. If it is found and contains a valid email address, this address is used as the sender address. If not, the second field is searched and so on. This process continues until a field is found in the headers, or the sender field list is exhausted, whichever happens first.

If the previous step did not determine the sender address, the address from SMTP envelope is used.

Let's illustrate this. Suppose your mailbox contains the following:

     

U 1 block@helsingor.org Fri Jun 30 18:30 8/245 Re: The Sa & Print 1 From: Antonius Block <block@helsingor.org> To: Smeden Plog <plog@helsingor.org> Date: Tue, 27 Apr 2004 13:23:41 +0300 Reply-To: <root@helsingor.org> Subject: News Hi

Now, you issue the following commands:

     

& sender mail-followup-to reply-to from & reply To: <root@helsingor.org> Subject: Re: News

As you see, the value of Reply-To field was taken as the sender address.

Now, let's try the following command sequence:

     # Clear the sender list
     & nosender
     # Set new sender list
     & sender From

Now, the From address will be taken:

     

& reply To: Antonius Block <block@helsingor.org> Subject: Re: News