Hi Ralph,

Indeed you are right I am running Post-Xim :-))

[root@mx ~]# ls -l /usr/bin/mailq
/usr/bin/mailq -> /usr/sbin/sendmail
[root@mx ~]# ls -l /etc/alternatives/mta-mailq
/etc/alternatives/mta-mailq -> /usr/bin/mailq.exim
[root@mx ~]#

I've investigated more, because is very unusual configuration. Someone before me, installed postfix compilling it by hand. Postfix i started and running (exim is stopped) but mailq and mta-mailq is pointing to exim binaries. Now I would like to link mailq and /etc/alternatives/mta-mailq to point to correct sendmail.postfix installation but I cannot find it. Where should I look for it?

Digging around I found that postfix has been installed by hand 19 March 2009
[root@mx ~]# ls -l /usr/sbin/postsuper
-rwxr-xr-x 1 root root 331463 Mar 17  2009 /usr/sbin/postsuper
[root@mx ~]#

In usr sbin, I have (files dated with 17 march 2009)
-rwxr-xr-x 1 root root     324K Mar 17  2009 postsuper
-rwxr-sr-x 1 root postdrop 514K Mar 17  2009 postqueue
-rwxr-xr-x 1 root root     469K Mar 17  2009 postmap
-rwxr-xr-x 1 root root     276K Mar 17  2009 postlog
-rwxr-xr-x 1 root root     297K Mar 17  2009 postlock
-rwxr-xr-x 1 root root     305K Mar 17  2009 postkick
-rwxr-xr-x 1 root root     273K Mar 17  2009 postfix
-rwxr-sr-x 1 root postdrop 473K Mar 17  2009 postdrop
-rwxr-xr-x 1 root root     557K Mar 17  2009 postconf
-rwxr-xr-x 1 root root     305K Mar 17  2009 postcat
-rwxr-xr-x 1 root root     493K Mar 17  2009 postalias

To what binary should point now: /usr/bin/mailq and /etc/alternatives/mta-mailq. If matter, I am on centos-5.5.

Regards,
Alx

----- Original Message ----- From: "Ralf Hildebrandt" <ralf.hildebra...@charite.de>
To: <postfix-users@postfix.org>
Sent: Wednesday, April 20, 2011 4:25 PM
Subject: Re: how to flush frozen email from queue


* Alex <li...@vfemail.net>:
See below last 3 lines of mailq output:

[root@mx postfix]# mailq
...
2h  1.6K 1QCSdu-0001X3-Gl <> *** frozen ***
         r...@mx.mydoom.com

86m  1.6K 1QCTZz-0003iI-Iz <> *** frozen ***
         r...@mx.mydoom.com

26m  1.6K 1QCUW0-000605-PD <> *** frozen ***
         r...@mx.mydoom.com

That's not postfix.

I am running postfix! exim exist on system but is not running.

Yes it is running. See above. That's exim output.
Your mailq binary uses exim instead of postfix.

--
Ralf Hildebrandt
 Geschäftsbereich IT | Abteilung Netzwerk
 Charité - Universitätsmedizin Berlin
 Campus Benjamin Franklin
 Hindenburgdamm 30 | D-12203 Berlin
 Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
 ralf.hildebra...@charite.de | http://www.charite.de




-------------------------------------------------
This message sent via VFEmail.net
http://www.vfemail.net
$14.95 Lifetime accounts!  15GB disk!  No bandwidth quotas!

Reply via email to