LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   queue mail (https://www.linuxquestions.org/questions/linux-server-73/queue-mail-672062/)

Gran_Maestre 09-24-2008 09:28 AM

queue mail
 
Hi

I have 30 mail in queue to send, mailq show this mails but the command /usr/sbin/sendmail -q -v -C/etc/mail/sendmail.cf do not force the send ... restart Mailscanner and nothing, the 30 mails are in queue

Code:

[root@server ~]# /usr/sbin/sendmail -q -v -C/etc/mail/sendmail.cf
[root@server ~]#

but

Code:

[root@server ~]# mailq
                /var/spool/mqueue (30 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
m8ODSP1Z007327X  182110 Wed Sep 24 09:29 <xxx@yyy>
                                        <xxx@yyy>
m8ODhOk5008429X    1990 Wed Sep 24 09:43 <xxx@yyy>
                                        <xxx@yyy>
.
.
.
.
.
.
                Total requests: 30

how can force with other command to sendmail send this mails queue?

linuxgurusa 09-26-2008 12:04 AM

If you do just

sendmail -q on its own, and then check mailq again to see if it is processing it ?

Gran_Maestre 09-29-2008 11:48 AM

nothing

Code:

[root@server ~]# /usr/sbin/sendmail -q
[root@server ~]# mailq
                /var/spool/mqueue (4 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
m8TGfpEP010210*  11609 Mon Sep 29 12:42 <xxx@yyy.cl>
                                        <xxx@yyy.cl>
                                        <xxx@yyy.cl>
m8TGg7En010226*  49259 Mon Sep 29 12:42 <xxx@yyy.cl>
                                        <xxx@yyy.cl>
m8TGXnEV009684X  385703 Mon Sep 29 12:34 <xxx@yyy.cl>
                                        <xxx@yyy.cl>
                                        <xxx@yyy.cl>
                                        <xxx@yyy.cl>
                                        <xxx@yyy.cl>
                                        <xxx@yyy.cl>
m8TGXlmq009682X  385703 Mon Sep 29 12:34 <xxx@yyy.cl>
                                        <xxx@yyy.cl>
                                        <xxx@yyy.cl>
                                        <xxx@yyy.cl>
                                        <xxx@yyy.cl>
                                        <xxx@yyy.cl>
                Total requests: 4


linuxgurusa 09-30-2008 12:28 AM

Well your queue is now down to 4, so it is processing

Plus, the * after each id shows it is processing the mail

m8TGfpEP010210* < - this star

Gran_Maestre 09-30-2008 03:14 PM

I have to stop sendmail and force send the queue mail .... 6 to 10 time for day restart MailScanner and sendmail to force send queue mail, I don't know for what reason the mail is queue and not send (other mails send ok on first time).


All times are GMT -5. The time now is 10:30 PM.