postfix 3.88 gpl

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

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?

Here is the output (SL61)

-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
EDCBA6A1429     5480 Mon Oct 10 18:06:59  MAILER-DAEMON
       (connect to advertise.net[111.111.111.11]:25: Connection timed out)
                                         admin@advertise-bz.net

F52AE6A1228     5631 Tue Oct 11 00:07:04  MAILER-DAEMON
       (connect to advertise.net[111.111.111.111]:25: Connection timed out)
                                         admin@advertise.net

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?

Webmin doesn't show anything at webmin - servers - postfix - mail queue server. Or is there any other link I overlooked?

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?

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.

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.

Automatically closed -- issue fixed for 2 weeks with no activity.