[EMAIL PROTECTED] root]# egrep "26A3E33AA9" /var/log/maillog | less
Sep  3 18:29:15 mailgw1 postfix/cleanup[31657]: 26A3E33AA9: message-id=<[EMAIL 
PROTECTED]>
Sep  3 18:29:15 mailgw1 postfix/nqmgr[30046]: 26A3E33AA9: from=<>, size=4893, nrcpt=1 
(queue active)
Sep  3 18:29:15 mailgw1 postfix/smtp[31663]: 26A3E33AA9: to=<[EMAIL PROTECTED]>, 
relay=none, delay=0, status=deferred (Name
service error for earthl
ink.net: Host not found, try again)
Sep  3 18:53:12 mailgw1 postfix/nqmgr[30046]: 26A3E33AA9: from=<>, size=4893, nrcpt=1 
(queue active)
Sep  3 18:53:12 mailgw1 postfix/smtp[31687]: 26A3E33AA9: to=<[EMAIL PROTECTED]>, 
relay=none, delay=1437, status=deferred (Name
service error for ear
thlink.net: Host not found, try again)



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Len Conrad
Sent: 3. september 2003 11:02
To: [EMAIL PROTECTED]
Subject: [IMGate] Re: mail in mailq




>just wondering why is this in my queue ?
>CDB0433AA4     6864 Wed Sep  3 16:45:03  MAILER-DAEMON
>                  (Name service error for yahoo.com: Host not found, try 
> again)
>                                          [EMAIL PROTECTED]
>
>A257A33AAB     5088 Wed Sep  3 16:22:03  MAILER-DAEMON
>                   (Name service error for yahoo.ca: Host not found, try 
> again)
>                                          [EMAIL PROTECTED]
>
>D811033AA5     6698 Wed Sep  3 16:47:07  MAILER-DAEMON
>                   (Name service error for juno.com: Host not found, try 
> again)
>                                          [EMAIL PROTECTED]
>
>26A3E33AA9     4893 Wed Sep  3 18:29:15  MAILER-DAEMON
>              (Name service error for earthlink.net: Host not found, try 
> again)
>                                          [EMAIL PROTECTED]
>
>
>the servers im running here is only for incomming mail and not relaying 
>outgoing
>none of the above domains are on my inside..

egrep "26A3E33AA9" /var/log/maillog | less

>whats the easiest way to clen this up

there is  mailq-onleline.pl and cleanq.sh which you can put together to put 
the mailq entries on one line, pipe through a filter to select the msg ID's 
you want into a file, then loop over the file deleting the IDs

It's best to stop postfix when you clean the queue since postfix assume it 
has exclusive permission to play with queue files.

Len




Reply via email to