On Thursday 05 December 2002 06:16, Franklin Maurer wrote:
Hi all, I just started to use Kmail, I had been using evolution, and i left the default outgoing account as sendmail, which i believe can only handle local mail. Because of this oversight there are 2 or 3 messages that were undeliverable and have yet to be returned. I just get a message every so often stating ...
"A message that you sent has not yet been delivered to one or more of its recipients after more than 48 hours on the queue on linux.local."
is there away to delete these messages from the queue?
Yup there is.
If so, where is the queue?
/var/spool/postfix
and how can I delete them?
The easiest way that I have found is to run "mailq" to get a list of emails in the queue. After that you can run the following: find /var/spool/postfix -name <queue-id> -print | xargs rm Where <queue-id> would be replaced with the messages id that you find using mailq. After the xargs is "rm"... this can also be replaced with pretty much any other Linux file-related command (ie. cat, more, head, tail, etc...) So that you can see first that the email is the correct one to delete.
i now they'll go away on their own but i'd like to learn how to get rid of them manually.
Hope that helps :) Justin T
Thanks -- Franklin Maurer <nebbish@sprynet.com>