Did sendmail -q -v  and mailq
The 15 deferred emails are still there deferred.

So let me change my question from
Is there a way to clear this email from sendmail?
To
Is there a way to FORCE  DELETE this deferred email from sendmail?

-----Original Message-----
From: Matthew Seaman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 12:58 PM
To: JJB
Cc: [EMAIL PROTECTED] ORG
Subject: Re: Sendmail deferred email?

On Tue, Mar 23, 2004 at 12:46:32PM -0500, JJB wrote:
> I see in mail log some deferred email being held.
> Is there a way to clear this email from sendmail?

You can process the mail queue manually by:

    # /usr/sbin/sendmail -q -v

or

    # /usr/sbin/sendmail -Ac -q -v

for the clientmqueue stuff.

(-v means verbose -- you can omit that, but it's kind of amusing to
watch)

> Maybe so sendmail sub command?

If your mail system is set up correctly, there should be a process
that runs regularly (every 30min is usual) to flush the queue.  If
you:

    # cat /var/run/sendmail.pid

or

    # cat /var/spool/clientmqueue/sm-client.pid

the second line shows the arguments used to startup sendmail.  There
should be something like '-q30m' in there.

Messages can get stuck in the mail queue for valid reasons --
destination site is down, DNS fubarred, loss of network connectivity
etc.  Use:

    # mailq -v

or

    # mailq -Ac -v

to see the status of all messages in the mail queue or the client
mail
queue.

        Cheers,

        Matthew

--
Dr Matthew J Seaman MA, D.Phil.                       26 The
Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7
1TH UK

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to