Need help on a sendmail contrib, qtool.pl

N

Ninou

Hi all,

I need some help with the contrib program 'qtool'. (sun solaris 8,
sendmail)

I'm trying to use 'qtool' with those parameters :
../qtool.pl -e '$msg->{message} = Deferred' /var/spool/mqueueold
/var/spool/mqueue

and it doesn't work of course, I obtain this output:


Global symbol "$msg" requires explicit package name at (eval 1) line 1.
Bareword "Deferred" not allowed while "strict subs" in use at (eval 1)
line
2.
Bareword "Deferred" not allowed while "strict subs" in use at (eval 2)
line
2.
Bareword "Deferred" not allowed while "strict subs" in use at (eval 3)
line
2.
Bareword "Deferred" not allowed while "strict subs" in use at (eval 4)
line
2.
Bareword "Deferred" not allowed while "strict subs" in use at (eval 5)
line
2.

..... and so on

and only this message:
Global symbol "$msg" requires explicit package name at (eval 1) line 1.
if I use:
perl qtool.pl -e '$msg->{message} = Connection timed out with'
/var/spool/mqueueold /var/spool/mqueue


Could somebody help me?

Thank you very much.
Ninou
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top