Discussion:
Can someone help me with postcat please.
(too old to reply)
Kevin W. Gagel
2004-06-23 22:06:53 UTC
Permalink
I'm trying to see what is in my queue using postcat but I'm not having any
success.

I'm issuing a postqueue -p to see what items are in the queue. I see for
example:
19CCA61AB1 1843 Wed Jun 23 14:38:30 MAILER-DAEMON
(connect to mx2.godspeedhosting.com[209.247.220.153]: Connection
refuesed)
***@godspeedhosting.com

So I try:
postcat -q deferred 19CCA61AB1
and get:
postcat: fatal: open queue file deffered: No such file or directory

A find for 19CCA61AB1 tells me its located at:
/var/spool/postfix/deferred/1/19CCA61AB1
/var/spool/postfix/defer/1/19CCA61AB1

When I try these locations the results are:
postcat -q /var/spool/postfix/deferred/ 19CCA61AB1
bad mail queue ID:
postcat -q /var/spool/postfix/deferred/1 19CCA61AB1
bad mail queue ID:
postcat -q /var/spool/postfix/defer 19CCA61AB1
bad mail queue ID:
postcat -q /var/spool/postfix/defer/1 19CCA61AB1
bad mail queue ID:

How do I tell postcat where to look?

====================
Kevin W. Gagel
Network Administrator
(250) 561-5848 local 448
(250) 562-2131 local 448

--------------------------------------------------------------
The College of New Caledonia, Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
--------------------------------------------------------------
Noel Jones
2004-06-23 22:19:22 UTC
Permalink
Post by Kevin W. Gagel
I'm issuing a postqueue -p to see what items are in the queue. I see for
19CCA61AB1 1843 Wed Jun 23 14:38:30 MAILER-DAEMON
(connect to mx2.godspeedhosting.com[209.247.220.153]: Connection
refuesed)
postcat -q deferred 19CCA61AB1
postcat: fatal: open queue file deffered: No such file or directory
"postcat -q" expects to have just the queueid as an argument. try:
postcat -q 19CCA61AB1

as an alternative, you can give postcat an absolute pathname:
postcat /var/spool/postfix/deferred/19CCA61AB1 (no spaces)
--
Noel Jones

-
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:***@postfix.org?body=unsubscribe%20postfix-users>
Matt
2004-06-23 22:22:10 UTC
Permalink
Post by Kevin W. Gagel
postcat -q deferred 19CCA61AB1
How do I tell postcat where to look?
postcat -q 19CCA61AB1

Matt

Loading...