Quoting "Ralf Hildebrandt" <ralf.hildebra...@charite.de>:

* 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.


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 is started and running (exim is stopped) but mailq and mta-mailq is pointing to exim binaries.

[root@mx ~]# lsof -i4 |grep smtp
master    17757    root   12u  IPv4 161740442       TCP *:smtp (LISTEN)
smtpd     20341 postfix    6u  IPv4 161740442       TCP *:smtp (LISTEN)
smtpd 20341 postfix 9u IPv4 163035328 TCP 192.168.21.5:smtp->info.returnpath.net:15450 (ESTABLISHED) smtpd 20341 postfix 19u IPv4 163035478 UDP 192.168.21.5:47010->ns2.rdsnet.ro:domain smtpd 20341 postfix 20u IPv4 163035576 UDP 192.168.21.5:40566->ns1.netvisiontelecom.ro:domain smtpd 20341 postfix 21u IPv4 163035612 UDP 192.168.21.5:40210->ns2.netvisiontelecom.ro:domain
[root@mx ~]#

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




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

Reply via email to