Thanks Tarry,
You really helped me. This is the proper command.
Code:
Pi message_number "clamscan -"
Or you can probably use the following option
Code:
Pi message_number "clamscan --scan-mail=yes -"
Note that you must use Pi (not pi) in order to pipe all parts of message including attachments.
I will post my .nailrc when I check man pages.