Re: How to find out if sendmail has queued mail to forward.
The command "mailq" should be on your system. It essentially runs
"sendmail -bp" which prints the queue. You may wish to use "mailq | head"
or "mailq | less" depending on the size of the current queue.
Hint: read up on sendmail timeouts and how to move mail to a separate
queue. I had to test my strategies this weekend when master.debian.org
was unreachable and I had >1400 mail messages stored on my machine (I'm
the first MX for debian.org after master.debian.org).
Pete Templin
templin@bucknell.edu
On 30 Jun 1997, Chris Brown wrote:
>
> I am trying to test some portions of an email system and want to
> determine weather one of my mail servers is picking up mail to
> forward. The recieving host is currently off and there is a MX route
> to my server so mail should be queued there right now. All I need to
> do is check the queue. What is the appropriat means of doing this
> for mail to be forwarded?
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . Trouble?
e-mail to templin@bucknell.edu .
Reply to: