cvs notify setup sending incorrect emails

Ranjith <[email protected]> Wed, 15 Feb 2012 05:43:20 -0800 (PST)
Newsgroups gmane.comp.version-control.cvs.general
Organization http://groups.google.com
Message-ID <08412cd6-f8ee-4bef-af7d-f1c3b3e8a199@y10g2000vbn.googlegroups.com>
I have set up mail notification using `CVSROOT/notify` and `CVSROOT/
users` files. The operating system is AIX 5.3
What I ahve in `notify` file is a line such as :

ALL mail -S "CVS update notification" %s

So, I am getting email alerts from CVS, but at the same time the email
is incorrect.
It somehow treats -s and "CVS update notification" as "to:" user ids
and sends the mail to :
"-s", "cvs update notification" and then the user represented by %s.
This obviously leads to server side sendmail error as well as null
email subject.
So the email looks like:

    > From: cvs software ID <[email protected]>
    > To: [email protected], [email protected],
    > [email protected], [email protected],
    > Date: 02/14/2012 03:00 PM
    > Subject:

Has anyone faced this issue ? Is there some pointers?