Please read on if you are good with postfix
program. Otherwise kindly ignore this mail.

I am not good with postfix. But I will read on nevertheless :)


Kindly tell me if command postcat requires root priviledge. Also I am not able to use this command properly. I have checked man pages. Is it like: $ postcat <queueID>

On my (default redhat 9) system, postcat is in /usr/sbin. Commands in /usr/sbin/ generally need root privileges. But I feel postcat can be used by non root user as long as the mail spool is accessible.


man postcat says :

postcat [-v] [files...] where "files" are postfix queue files. Nowhere does it mention that we can give the queue id directly.

where queueID is the ID of the message you get from output of mailq command.
This isn't working. Please tell me if something is wrong. I want to view the mail message that is currently present in mail queue
(command mailq gives that info).


- get the queue id from mailq - search for a file named queueid in /var/spool/postfix - postcat filename

But this seems like a hackish way to do it. There must be a better way.

It would be great if you can give a sample of the output of postcat command.

[EMAIL PROTECTED] maildrop]# postcat CF92E9C348 *** ENVELOPE RECORDS CF92E9C348 *** ...

-- Swapnil
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([EMAIL PROTECTED])
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to