Submitted by helpmin on Mon, 10/10/2011 - 16:24
I recently checked my logs (SL61) and noticed that postfix tried to deliver repeatedly a message to an incorrect email address (connection timeout).
Oct 10 13:58:14 mail postfix/smtp[4804]: 4BCD26B1927: to= ... timed out
In webmin - servers - postfix - mail queue server
nothing is listed. But with mailq
or postqueue -p
I can see four messages. Shouldn't Virtualmin show the same?
I am not sure whether this could be a bug?
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 10/13/2011 - 00:01 Comment #1
Sounds like a bug in Webmin's parsing of the postfix mail queue.
Could you post the output from the command
postqueue -p
on your system?Submitted by helpmin on Thu, 10/13/2011 - 00:07 Comment #2
Here is the output (SL61)
Submitted by JamieCameron on Thu, 10/13/2011 - 00:11 Comment #3
That actually looks OK to me ... but those messages don't show up in the Postfix module on the Mail Queue page?
Does Webmin show any messages at all in the mail queue?
Submitted by helpmin on Thu, 10/13/2011 - 00:21 Comment #4
Webmin doesn't show anything at
webmin - servers - postfix - mail queue server
. Or is there any other link I overlooked?Submitted by JamieCameron on Thu, 10/13/2011 - 13:03 Comment #5
If you go to the Postfix module and click on the Module Config link in the top left, then navigate to the "System configuration" section, what is in the "Mail queue display command" field?
Submitted by helpmin on Thu, 10/13/2011 - 18:35 Comment #6
I think we found the problem. For whatever reason I get the following now:
Full path to Postfix queue management command (postqueue) /usr/sbin/postqueue
Mail queue display command /usr/bin/postqueue -p
the sbin version is the correct one.
It looks like there is bug? In the previous rhel5 system it was
/usr/bin/mailq
. After the upgrade to rhel6/vm388 it was converted to/usr/bin/postqueue -p
(without sbin).PS feature request: if virtualmin can not find a command, because of incorrect path for example, it should display an error message.
Submitted by JamieCameron on Thu, 10/13/2011 - 19:11 Comment #7
Thanks for catching this ... Webmin is indeed using the wrong path to postqueue.
I will fix this in the next release, and add a warning if the command is missing.
Submitted by helpmin on Sun, 10/16/2011 - 16:12 Comment #8
Thanks for fixing!
Submitted by Issues on Sun, 10/30/2011 - 16:17 Comment #9
Automatically closed -- issue fixed for 2 weeks with no activity.