Have you tried with no space between -tf and the argument?
# qmHandle '[email protected]'
That's the only other thing I've thought of short of looking at the source code.
--
-Eric 'shubes'

On 02/04/2011 10:22 AM, Adrian Ramirez wrote:
Hi, I've tried other ways, getting the same result

[root@mail2 ~]# qmHandle -tf '[email protected] <mailto:[email protected]>'
Calling system script to terminate qmail...
Stopping qmail-toaster: svscan qmail logging.
Message matching "From: -tf" not found in the queue!
Qmail is already running again, so it won't be restarted.

[root@mail2 ~]# qmHandle -tf "[email protected] <mailto:[email protected]>"
Calling system script to terminate qmail...
Stopping qmail-toaster: svscan qmail logging.
Message matching "From: -tf" not found in the queue!
Qmail is already running again, so it won't be restarted.

[root@mail2 ~]# qmHandle -tf "mail.com <http://mail.com>"
Calling system script to terminate qmail...
Stopping qmail-toaster: svscan qmail logging.
Message matching "From: -tf" not found in the queue!
Qmail is already running again, so it won't be restarted.

I will try to analyze the qmHandle code, there may be some error.

Any suggestions?

Thanks.

--
Adrian Ramirez



2011/2/3 Eric Shubert <[email protected] <mailto:[email protected]>>

    The @ character has a special meaning to bash. I would try putting
    single quotes around the address.
    --
    -Eric 'shubes'


    On 02/03/2011 09:34 AM, Adrian Ramirez wrote:

        Hi, with qmHandle I try to delete the messages sent by the same
        sender.
        When I run the command I get this error, its a sintax error?

        # qmHandle -tf [email protected] <mailto:[email protected]>
        <mailto:[email protected] <mailto:[email protected]>>

        Calling system script to terminate qmail...
        Stopping qmail-toaster: svscan qmail logging.
        Message matching "From: -tf" not found in the queue!
        Qmail is already running again, so it won't be restarted.

        With "qmHandle -l" I found that there are queued messages that
        correspond to my search.

        qtp-whatami v0.3.7 jue feb  3 13:21:09 PYST 2011
        DISTRO=Red Hat Enterprise
        OSVER=5.5
        QTARCH=x86_64
        QTKERN=2.6.18-194.8.1.el5
        BUILD_DIST=cnt5064
        BUILD_DIR=/usr/src/redhat
        This machine's OS is supported, but this version/arch has not
        been tested.

        Could you help me?

        Thanks.

        --
        Adrian Ramirez




    
---------------------------------------------------------------------------------
    Qmailtoaster is sponsored by Vickers Consulting Group
    (www.vickersconsulting.com <http://www.vickersconsulting.com>)
       Vickers Consulting Group offers Qmailtoaster support and
    installations.
         If you need professional help with your setup, contact them today!
    
---------------------------------------------------------------------------------
        Please visit qmailtoaster.com <http://qmailtoaster.com> for the
    latest news, updates, and packages.
             To unsubscribe, e-mail:
    [email protected]
    <mailto:[email protected]>
        For additional commands, e-mail:
    [email protected]
    <mailto:[email protected]>






---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to