Re: Flushing SMTPD's queue

2017-10-18 Thread Damian McGuckin

On Sat, 2 Sep 2017, Daniel Jakots wrote:


'smtpctl schedule all' should suit your need


This normally works.

Nothing budges email today.

The above command does nothing.

Any suggestions??

Thanks - Damian

# mailq
2c1b72365a0463cd|inet4|mta||scan@DOMAIN|USER@DOMAIN|USER@DOMAIN|1508367927|1508713527|1508381212|4|inflight|170|Connection
 closed unexpectedly
b92ce0855a5a19d3|inet4|mta||scan@DOMAIN|USER@DOMAIN|USER@DOMAIN|1508370233|1508715833|1508381212|3|inflight|170|Connection
 closed unexpectedly
e737b975f7929cbb|local|mta|auth|root@fire1.DOMAIN|USER@DOMAIN|USER@DOMAIN|1508380862|1508726462|1508381212|0|inflight|170|
# find . -mtime -1 -type f -ls 
43398284 -rw---1 _smtpq   wheel 384 Oct 19 13:10 ./queue/b9/b92ce085/b92ce0855a5a19d3

4339834 13792 -rw---1 _smtpq   wheel 7038282 Oct 19 10:44 
./queue/b9/b92ce085/message
43398644 -rw---1 _smtpq   wheel 384 Oct 19 12:28 
./queue/2c/2c1b7236/2c1b72365a0463cd
4339825 21088 -rw---1 _smtpq   wheel10765025 Oct 19 10:05 
./queue/2c/2c1b7236/message
43398694 -rw---1 _smtpq   wheel 348 Oct 19 13:41 
./queue/e7/e737b975/e737b975f7929cbb
43398714 -rw---1 _smtpq   wheel 436 Oct 19 13:41 
./queue/e7/e737b975/message
# date
Thu Oct 19 13:49:56 AEDT 2017
# smtpctl schedule all 
0 envelope scheduled
# rcctl restart smtpd 
smtpd(ok)

smtpd(ok)
# find . -mtime -1 -type f -ls 
43398284 -rw---1 _smtpq   wheel 384 Oct 19 13:10 ./queue/b9/b92ce085/b92ce0855a5a19d3

4339834 13792 -rw---1 _smtpq   wheel 7038282 Oct 19 10:44 
./queue/b9/b92ce085/message
43398644 -rw---1 _smtpq   wheel 384 Oct 19 12:28 
./queue/2c/2c1b7236/2c1b72365a0463cd
4339825 21088 -rw---1 _smtpq   wheel10765025 Oct 19 10:05 
./queue/2c/2c1b7236/message
43398694 -rw---1 _smtpq   wheel 348 Oct 19 13:41 
./queue/e7/e737b975/e737b975f7929cbb
43398714 -rw---1 _smtpq   wheel 436 Oct 19 13:41 
./queue/e7/e737b975/message
# mailq
2c1b72365a0463cd|inet4|mta||scan@DOMAIN|USER@DOMAIN|USER@DOMAIN|1508367927|1508713527|1508381418|4|inflight|14|Connection
 closed unexpectedly
b92ce0855a5a19d3|inet4|mta||scan@DOMAIN|USER@DOMAIN|USER@DOMAIN|1508370233|1508715833|1508381418|3|inflight|14|Connection
 closed unexpectedly
e737b975f7929cbb|local|mta|auth|root@fire1.DOMAIN|USER@DOMAIN|USER@DOMAIN|1508380862|1508726462|1508381418|0|inflight|14|


Regards - Damian

Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Flushing SMTPD's queue

2017-09-02 Thread Damian McGuckin

On Sat, 2 Sep 2017, Daniel Jakots wrote:


'smtpctl schedule all' should suit your need


Thanks. Silly me.

Regards - Damian

Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Flushing SMTPD's queue

2017-09-02 Thread Thomas Bohl
> 
> How does one achieve the equivalent of
> 
> sendmail -q
> 
> i.e. rescan the queue and try and send traffic.

# smtpctl schedule all


-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Flushing SMTPD's queue

2017-09-02 Thread Damian McGuckin


How does one achieve the equivalent of

sendmail -q

i.e. rescan the queue and try and send traffic.

The need for this might occur if for some reasons, access to the internet 
and even external DNS has disappeared and the queue is full of stuff which 
had experienced


Temporary failure in MX lookup

and SMTPD is waiting around to retry sending again.

Thanks - Damian

Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org