I can't get rid of my mailq

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

I can't get rid of my mailq

John Fabiani-2
I can't seem to get rid of an email.   I have tried
mailq|grep ''| postsuper -d -

postsuper: warning: invalid mail queue id: (host 127.0.0.1[127.0.0.1] said:
421 4.3.2 Service shutting down, closing channel (in reply to end of DATA
command))
postsuper: warning: invalid mail queue id:                                          
[hidden email]
postsuper: warning: invalid mail queue id:
postsuper: warning: invalid mail queue id: -- 14359 Kbytes in 2 Requests.

However mailq reports:
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
714BF368CADA*    1334 Fri Jun  6 07:32:47  [hidden email]
                                         [hidden email]

A44A8368CAD7  7351243 Tue Jun  3 08:14:46  [hidden email]
(host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing
channel (in reply to end of DATA command))
                                         [hidden email]

A80A0368C002  7351434 Mon Jun  2 11:17:16  [hidden email]
(host 127.0.0.1[127.0.0.1] said: 421 4.3.2 Service shutting down, closing
channel (in reply to end of DATA command))
                                         [hidden email]


--
John Fabiani
Reply | Threaded
Open this post in threaded view
|

Re: I can't get rid of my mailq

/dev/rob0
On Fri June 6 2008 09:33:20 johnf wrote:
> I can't seem to get rid of an email.   I have tried
> mailq|grep ''| postsuper -d -

Read "man postsuper" a bit more, until you get to where it mentions
"ALL". Is that what you want? If you just want to get rid of a single
mail from the queue, "postsuper -d <queueID>".
--
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header
Reply | Threaded
Open this post in threaded view
|

Re: I can't get rid of my mailq

John Fabiani-2
On Friday 06 June 2008 07:40:41 am /dev/rob0 wrote:
> On Fri June 6 2008 09:33:20 johnf wrote:
> > I can't seem to get rid of an email.   I have tried
> > mailq|grep ''| postsuper -d -
>
> Read "man postsuper" a bit more, until you get to where it mentions
> "ALL". Is that what you want? If you just want to get rid of a single
> mail from the queue, "postsuper -d <queueID>".

Thanks I got it done.

However, I don't get anything from "man postsuper".  Does anyone know how I
can get man to work?

--
John Fabiani
Reply | Threaded
Open this post in threaded view
|

Re: I can't get rid of my mailq

mouss-2
johnf wrote:

> On Friday 06 June 2008 07:40:41 am /dev/rob0 wrote:
>  
>> On Fri June 6 2008 09:33:20 johnf wrote:
>>    
>>> I can't seem to get rid of an email.   I have tried
>>> mailq|grep ''| postsuper -d -
>>>      
>> Read "man postsuper" a bit more, until you get to where it mentions
>> "ALL". Is that what you want? If you just want to get rid of a single
>> mail from the queue, "postsuper -d <queueID>".
>>    
>
> Thanks I got it done.
>
> However, I don't get anything from "man postsuper".  Does anyone know how I
> can get man to work?
>  

You can read it on
    http://www.postfix.org/postsuper.1.html
eventhough this may not match the version installed on your system.
Reply | Threaded
Open this post in threaded view
|

Re: I can't get rid of my mailq

Jorey Bump
In reply to this post by John Fabiani-2
johnf wrote, at 06/06/2008 10:56 AM:

> However, I don't get anything from "man postsuper".  Does anyone know how I
> can get man to work?

If you have a properly updated (s)locate, run this command to find out
where the Postfix manpages might be:

   locate postsuper.1

Then check your own MANPATH:

   echo $MANPATH

You might need to adjust it (let's assume the desired manpages are in
/usr/local/man for this example):

   export MANPATH=/usr/local/man:$MANPATH

To make the change permanent, add (or edit) that statement wherever you
want to set your environment at login (/etc/profile, ~/.profile,
~/.bashrc, etc.).

Alternatively, if you are compiling your own Postfix, you can set
document paths when you install and match your existing $MANPATH:

make install \
   html_directory=/usr/local/doc/postfix/html \
   manpage_directory=/usr/local/man \
   readme_directory=/usr/local/doc/postfix

I believe there is also an interactive prompt for this, if you don't set
the paths on the command line. However, if you are using a package
(noninteractive), you may want to adjust the source package to use the
desired paths.

Reply | Threaded
Open this post in threaded view
|

Re: I can't get rid of my mailq

John Fabiani-2
On Friday 06 June 2008 08:30:56 am Jorey Bump wrote:

> johnf wrote, at 06/06/2008 10:56 AM:
> > However, I don't get anything from "man postsuper".  Does anyone know how
> > I can get man to work?
>
> If you have a properly updated (s)locate, run this command to find out
> where the Postfix manpages might be:
>
>    locate postsuper.1
>
> Then check your own MANPATH:
>
>    echo $MANPATH
>
> You might need to adjust it (let's assume the desired manpages are in
> /usr/local/man for this example):
>
>    export MANPATH=/usr/local/man:$MANPATH
>
> To make the change permanent, add (or edit) that statement wherever you
> want to set your environment at login (/etc/profile, ~/.profile,
> ~/.bashrc, etc.).
>
> Alternatively, if you are compiling your own Postfix, you can set
> document paths when you install and match your existing $MANPATH:
>
> make install \
>    html_directory=/usr/local/doc/postfix/html \
>    manpage_directory=/usr/local/man \
>    readme_directory=/usr/local/doc/postfix
>
> I believe there is also an interactive prompt for this, if you don't set
> the paths on the command line. However, if you are using a package
> (noninteractive), you may want to adjust the source package to use the
> desired paths.

Cool that worked!!!!!!!!!!!!!
Thanks


--
John Fabiani